Page 1 of 1

Need help to fix a bug

Posted: Sat 16.01.2010, 14:49
by PowerWyrm
Ok... it seems that in 1.1.3 beta, teleport level is buggy and crashes the server. Unfortunately, I can only reproduce the problem on pwmangband.ath.cx... nothing happens when I use teleport level on my local server :(
So I compiled the server using BCB6 and now my local server is launched in DEBUG mode with BCB6... any crash will simply report the error and stop the server on the faulty line.
The only thing I need now is someone to connect to my server while it's up, pick up a few teleport level scrolls that are lying in the tavern, go to 100ft or so and read them. I hope this will help me find the problem...

Re: Need help to fix a bug

Posted: Sat 16.01.2010, 19:43
by PowerWyrm
Since it's probably related to packets being processed in the wrong order, I need someone outside of Europe (with at least 1* of lag). Don't forget to activate the "auto-scum" birth option (need to be level 1 to do so) before going in the dungeon (this will make the game scum for good levels instead of generating boring dungeons).

Re: Need help to fix a bug

Posted: Mon 18.01.2010, 14:16
by PowerWyrm
This can't be reproduced on my local server, even with someone connecting from the US. Since it happens on pwmangband.ath.cx, it would be easier to debug that server instead. For that:
- launch the server using WineDbg
- put some scrolls of teleport level in the tavern
- let people connect and read those scrolls
- wait for the crash
- report the error in this thread

Re: Need help to fix a bug

Posted: Tue 19.01.2010, 14:31
by Ace
I will try tonight connecting from estonia if that helps :)

Re: Need help to fix a bug

Posted: Tue 19.01.2010, 17:35
by serina
Estonia? - what're you doing in Estonia?

ZAL

Re: Need help to fix a bug

Posted: Wed 20.01.2010, 06:08
by Ace
wokring this week there :)

actually it got late yesterday and i slept in. working now so i postpone my offer by 24hrs :)

End of the week ill be home again..

Re: Need help to fix a bug

Posted: Sun 21.02.2010, 16:15
by PowerWyrm
Problem resolved!
In fact, this happens when someone tries to read a scroll of teleport level from the ground! The game first removes the scroll, then teleports the player out of the level... and then tries to delete the scroll again! of course, since there is no more scroll, the server crashes.