Page 1 of 1

player.Class1 error

Posted: Mon Mar 10, 2014 7:43 pm
by ZZZZZ
I sometimes get this error after a loading screen. In this case I got it after a round in dreamland, but I have had it on alts doing their daily quests + mini's run. Happens only after a loading screen, so I guess it could be some issue in the player:update() or such.

Code: Select all

Checking for missed Loot... completed.
Deleting: Ruins Heavy Crossbow
Inventory cleaned out
Waiting for next area to appear
Player address changed: 0x263B9100
The game client did not crash.
11:39am - undefined player.Class1 in settings.lua

Re: player.Class1 error

Posted: Mon Mar 10, 2014 9:35 pm
by lisa
high ping or slow PC?
My guess is it leaves the loadingscreen and then tries to update a little to soon afterwards.
Although it does show the new address so not sure, maybe increase the rest in waitforloadingscreen and test it out.

It has this in functions.lua around line 1478

Code: Select all

	rest(2000)
	player:update()
	return true
maybe increase it to 3000?

Re: player.Class1 error

Posted: Tue Mar 11, 2014 12:49 am
by rock5
Or, if you don't want to edit the bot function, just add a rest after the wait.

Code: Select all

waitForLoadingScreen()
rest(1000)
player:update()

Re: player.Class1 error

Posted: Tue Mar 11, 2014 1:31 am
by ZZZZZ
Fast comp, standard ping for somebody from Australia on Nexon or US (250-400). I changed the rest(2000) to rest(4000) months ago, which stopped it from thinking the character was dead after a loadingscreen, but do sometimes get this error.

Re: player.Class1 error

Posted: Tue Mar 11, 2014 1:57 am
by lisa
I had 4 chars farming KS (nexon) non stop for around 4 days and never got this issue, 2 were doing the ksfrogs which does a lot of loadingscreens. An ok PC and just enough connection speed, so yeah not sure what it could be then.