Need help to fix a bug

Issues, news, and discussion specific to the PWMangband variant.
Post Reply
PowerWyrm
Balrog
Posts: 1574
Joined: Sun 27.11.2005, 15:57

Need help to fix a bug

Post by PowerWyrm » Sat 16.01.2010, 14:49

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...

PowerWyrm
Balrog
Posts: 1574
Joined: Sun 27.11.2005, 15:57

Re: Need help to fix a bug

Post by PowerWyrm » Sat 16.01.2010, 19:43

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).

PowerWyrm
Balrog
Posts: 1574
Joined: Sun 27.11.2005, 15:57

Re: Need help to fix a bug

Post by PowerWyrm » Mon 18.01.2010, 14:16

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

Ace
Crystal Ooze
Posts: 368
Joined: Fri 15.02.2008, 12:50

Re: Need help to fix a bug

Post by Ace » Tue 19.01.2010, 14:31

I will try tonight connecting from estonia if that helps :)

serina
Crystal Ooze
Posts: 373
Joined: Sat 15.09.2007, 18:42

Re: Need help to fix a bug

Post by serina » Tue 19.01.2010, 17:35

Estonia? - what're you doing in Estonia?

ZAL

Ace
Crystal Ooze
Posts: 368
Joined: Fri 15.02.2008, 12:50

Re: Need help to fix a bug

Post by Ace » Wed 20.01.2010, 06:08

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..

PowerWyrm
Balrog
Posts: 1574
Joined: Sun 27.11.2005, 15:57

Re: Need help to fix a bug

Post by PowerWyrm » Sun 21.02.2010, 16:15

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.

Post Reply