kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
346 stars 332 forks source link

Error in AutoSmurf (autosmurf.js #2234) greiz is undefined #1102

Open ggsatoss opened 5 years ago

ggsatoss commented 5 years ago

I don't know that is 'Error in AutoSmurf (autosmurf.js #2234) greiz is undefined'

plz help me

default

DarkHorseDre commented 5 years ago

Did you put that greiz = getUnit(1, 3031) line in at 2233? seems redundant to me.. (I assume the if could only evaluate if greiz was set)

ypj95 commented 4 years ago

Actually this error is a programming typo. just replace "greiz" with "griez" i.o. to make this work. But careful, only greiz between "" to griez. (string != variable)

DarkHorseDre commented 4 years ago

I've never used smurf and never checked the spelling - great catch @satubus

mf022 commented 4 years ago

https://github.com/blizzhackers/autosmurf/commit/f23dfe0e9de0a04c16c1e5a4c6139db4c8be75e9