PenUltima Online

It is currently Wed Aug 20, 2008 10:13 am

All times are UTC - 4 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: packethook crash dumps [24-05-2006 RC1]
PostPosted: Tue May 30, 2006 2:16 pm 
Offline

Joined: Sat Feb 04, 2006 9:49 pm
Posts: 732
Location: Chicago, IL USA
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 30, 2006 2:37 pm 
Offline
POL Core Developer

Joined: Mon Jan 30, 2006 1:28 pm
Posts: 292
Location: Germany, Bavaria
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 30, 2006 2:49 pm 
Offline

Joined: Sat Feb 04, 2006 9:49 pm
Posts: 732
Location: Chicago, IL USA
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 30, 2006 2:55 pm 
Offline
POL Core Developer

Joined: Mon Jan 30, 2006 1:28 pm
Posts: 292
Location: Germany, Bavaria
in this case is your hook ok. but there is a core bug - and that's why u have this crash.

Shinigami


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 4 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl