 |
 |
 |
 |
| Author |
Message |
Lagoon
Joined: 05 Mar 2006 Posts: 118 Location: Italy
|
Posted: Sat Sep 16, 2006 5:36 pm Post subject: quest gump freezes the character |
|
|
I have an hook which is fired at quest gump pression, does something and returns 1
When I hit the quest gump, the hook is run correctly, but the character then is like "freezed". I can't move it, if I try to move it the animation remains still with a walk (or run) frame and there's no way to move the character any more. Tha client continues to work in part (I can move gumps, write texts and so on), but any communication with the server seems to be impossible. It's like if the client is blocked waiting for some reply from the server which never arrives...
Nothing changes if I replace return 1 with return 0 in the button hook
If I remove the hook, everything works fine and the console writes
| Code: |
Undefined message type d7
Unexpected message type d7, 10 bytes (IP:127.0.0.1, Account:admin)
0000: d7 00 0a 00 00 00 01 00 28 0a ........ (....... |
The character has "ML" set as UOExpansion and servspecopt.cfg has UOFeatureEnable=0x1a0
No idea if this is a true bug or if it's me who should add some SendPackect() in the hook to reply to the quest button click |
|
 |
|
|
 |
 |
|
 |
 |
|
 |
 |
|
 |
 |
| Author |
Message |
Lagoon
Joined: 05 Mar 2006 Posts: 118 Location: Italy
|
Posted: Sat Sep 16, 2006 6:33 pm Post subject: |
|
|
Here is the package with the script, it's really simple
http://kabal.rpg-x.com/kabalbutton.rar
I did further testing and I have to say the client isn't completely freezed. It still receives the sysmessages coming from other running script, and in general the behaviour is very strange. After I hit the quests button, the other open gumps stop to send the result back to the server. If I have an open gump and hit a button, the gump closes and the server receives no result. And if I try to issue a command, I can write it, but when I hit "enter", nothing happens. And the character can't move. This lasts about 10-15 seconds. After this time has passed, the character is still blocked, but the other things work again: gumps return their values and I can issue commands. If I issue a .tele command, I can target a location and teleport there and now I can move my character again. Hope this helps
edit: in short the behaviour seems to be the following: client to server communication is blocked for 10-15 seconds, but server to client communication isn't affected |
|
 |
|
|
 |
 |
|