Crash Dump POL099-2013-09-03 x64

Bug reports and feature requests. New features can only be added to the current development version. Bug-fixes may be back-ported.

Current release: 099 / Current development: 100
Post Reply
Terciob
Master Poster
Posts: 90
Joined: Fri Nov 07, 2008 3:47 am

Crash Dump POL099-2013-09-03 x64

Post by Terciob »

I don't know what was the crash cause, i've tried reproduce but without success.


[09/30 22:21:09] Unhandled Exception! Writing Minidump file.
Post this file with explanation and last lines from log files on http://forums.polserver.com/tracker.php for the development team.
Saved dump file to 'POL099-2013-09-03 Break Everything Even Rudder-20130929231058-0.dmp'
Last Script: pkg/server core/tooltips/party_add.ecl PC: 5
[09/30 22:21:10] Logfile opened.
POL099-2013-09-03 Break Everything Even Rudder (VS.NET 2010 - 64bit) compiled on Sep 3 2013 23:41:26 running.
party_add.lst:

Code: Select all

Exported Functions:
   PC  Args  Name
    3     2  block_party_add
D:\Tercio\Pol099 Chaos Age\pkg\server core\tooltips\party_add.src, Line 9
program hook_party_add()
return 1;
0: 1L
1: progend
2: progend
D:\Tercio\Pol099 Chaos Age\pkg\server core\tooltips\party_add.src, Line 12
exported function block_party_add (who, byref packet)
3: makelocal
4: jmp userfunc @6
5: progend
6: pop param byref 'packet'
7: pop param 'who'
var sub_comando := packet.getint8 (5);
8: decl local #2
9: local #0
10: 5L
11: Call Method id getint8 (#59, 1 params)
12: :=
13: #
case (sub_comando)
party_add.src:

Code: Select all

use uo;
use os;
use file;
use util;

include "include/tercio";

program hook_party_add()
	return 1;
endprogram 	

exported function block_party_add (who, byref packet)

/*
	[0] -> comando
	[1-2] -> tamanho
	[3-4] -> sub comando
	[5] -> subsub comando
*/

	var sub_comando := packet.getint8 (5);

	case (sub_comando)
		1: sysmsgUC (who, "Para convidar alguém ao grupo, use o comando .party"); return 1;
		4: 
			var size := packet.GetSize();
			var msglen := (size - 7) / 2;
			logchat (who, packet.GetUnicodeString (6, msglen));
		6: sysmsgUC (who, "Esta opção esta desativada."); return 1;
	endcase
	
endfunction 

function logchat (who, texto)
	if (!logtofile ("::log/partychat/"+_datalog2()+".log", who.acctname +"|"+who.name+"|"+ CChrZ(texto)))
		createdirectory ("::log/partychat/");
		logtofile ("::log/partychat/"+_datalog2()+".log", who.acctname +"|"+who.name+"|"+ CChrZ(texto));
	endif
endfunction 

Code: Select all

SubPacket 0xBF
{
	SubCommandID 0x6
	ReceiveFunction party_add:block_party_add
}
User avatar
atreiu
Grandmaster Poster
Posts: 151
Joined: Mon May 24, 2010 1:08 pm

Re: Crash Dump POL099-2013-09-03 x64

Post by atreiu »

hi terci,

my srv catch this packet well without any errors and i have default pol99 "partysystem" pkg created by tekproxy for pol97
i mean your code of ReceiveFunction SubCommandID 0x6 and my is different mb you should use default partysystem pkg?

also the default code is handle sub_comando 1,2,3,4,6,8,9 but your just 1,4,6
qrak
Grandmaster Poster
Posts: 198
Joined: Sun Feb 05, 2006 4:35 pm

Re: Crash Dump POL099-2013-09-03 x64

Post by qrak »

Same problem here, random crashes, can't reproduce, dump in my topic included.
Post Reply