PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
packethook crash dumps [24-05-2006 RC1]

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Bug Reports 096
Display posts from previous:   

Author Message
CWO



Joined: 04 Feb 2006
Posts: 685
Location: Chicago, IL USA

PostPosted: Tue May 30, 2006 2:16 pm    Post subject: packethook crash dumps [24-05-2006 RC1] Reply with quote

Had this problem pop out of nowhere but I have 2 crash dumps on a packethook for targeting that crash on the program's beginning? Nothing too unusual before the crash on the log.

Code:

[05/30 18:04:45] Unhandled Exception! Writing Minidump file.
This file with explanation and last lines from log files should be given to the development team.
Saved dump file to 'POL096-2006-05-24 RC Vestal Virg`-20060528235928-0.dmp'
Last Script: pkg/PacketHooks/targethook.ecl PC: 5


Code:

0: 1L
1: progend
2: progend
C:\pol096\pkg\PacketHooks\targethook.src, Line 12
exported function recvtarg(who, byref packet)
3: makelocal
4: jmp userfunc @6
5: progend
6: pop param byref 'packet'
7: pop param 'who

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Tue May 30, 2006 2:37 pm    Post subject: Reply with quote

I'm not sure how your hook is coded but it's inside core target handler... so I think u've used

Code:
Return (0);

or nothing in your code.

anyway, it's a known and fixed core handler bug (in both cases):

Code:
05-26 MuadDib
        Fixed : Crash on checking targetted players when target is not logged in.

Shinigami

Author Message
CWO



Joined: 04 Feb 2006
Posts: 685
Location: Chicago, IL USA

PostPosted: Tue May 30, 2006 2:49 pm    Post subject: Reply with quote

hmm..

Basically the only reason for this packethook is to stop the "out-of-sequence target cursor" message. All it does is sets a prop to them when the target is sent and erases it when its received. If the packethook receives the target and doesnt see the prop on the player that says a target has been sent, it will spam the message back to the player instead of spamming it to the console.

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Tue May 30, 2006 2:55 pm    Post subject: Reply with quote

in this case is your hook ok. but there is a core bug - and that's why u have this crash.

Shinigami

Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Bug Reports 096 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty