[Crashinfo] SA-MP 0.3e
#1

1) It's happen, when I use OnDialogResponse (input big numbers)

Find reason: it's happen, when I use: new parameter = strval(inputtext);
pawn Код:
public OnDialogResponse(...)
{
    if(dialogid == 1)
    {
     new parameter = strval(inputtext); //<< this.
    .....
    }
    return 1;
}
It's sa-mp bug, or what?

Quote:

--------------------------

SA-MP Server: 0.3e



Exception At Address: 0x004721EC Module: (samp-server.exe)



Registers:

EAX: 0x465D8410 EBX: 0x0018EF9C ECX: 0x04550020 EDX: 0x41C89748

ESI: 0x01F17A20 EDI: 0x04F90B50 EBP: 0x0018F3DC ESP: 0x0018EF70

EFLAGS: 0x00010212



Stack:

+0000: 0x01F17A20 0x41C89748 0x00787369 0x6C506E4F

+0010: 0x72657961 0x6D6D6F43 0x54646E61 0x00747865

+0020: 0x02B2F008 0x01F17A20 0x00000031 0x00000000

+0030: 0x00000000 0x00000000 0x00000000 0x00000000

+0040: 0x00000000 0x00000000 0x00000000 0x00000000

+0050: 0x00000000 0x00000000 0x00000000 0x00000000

+0060: 0x00000000 0x00000000 0x00000000 0x00452993

+0070: 0x004529F6 0x0018F078 0x005DCE50 0x0018F16C

+0080: 0x00000000 0x00453E27 0x0018F089 0x000000A0

+0090: 0x00000001 0x00000003 0x00000002 0x0100007F

+00A0: 0x0000C701 0x00000000 0x00000000 0x00000000

+00B0: 0x005DCE50 0x0100007F 0x0045AC35 0x0018F078

+00C0: 0x00000001 0x00000003 0x00000002 0x0100007F

+00D0: 0x0000C701 0x00000000 0x0045615C 0x0018F078

+00E0: 0x00000001 0x00000003 0x00000002 0x0100007F

+00F0: 0x0000C701 0x00456263 0x00000000 0x00000001

+0100: 0x004ABE50 0x0100C701 0x000000A0 0x00000800

+0110: 0x00000000 0x0018F089 0x1D1B1801 0x00047E00

+0120: 0x00000000 0x00000000 0x00000000 0x00000000

+0130: 0x00000000 0x02000000 0x0018F3D8 0x0018F10C



--------------------------



Loaded Modules:

samp-server.exe A: 0x00400000 - 0x004EE000 (C:\server\samp-server.exe)

ntdll.dll A: 0x77BF0000 - 0x77D70000 (C:\Windows\SysWOW64\ntdll.dll)

kernel32.dll A: 0x767B0000 - 0x768C0000 (C:\Windows\syswow64\kernel32.dll)

KERNELBASE.dll A: 0x76990000 - 0x769D6000 (C:\Windows\syswow64\KERNELBASE.dll)

SHELL32.dll A: 0x754E0000 - 0x7612A000 (C:\Windows\syswow64\SHELL32.dll)

msvcrt.dll A: 0x76130000 - 0x761DC000 (C:\Windows\syswow64\msvcrt.dll)

SHLWAPI.dll A: 0x75480000 - 0x754D7000 (C:\Windows\syswow64\SHLWAPI.dll)

GDI32.dll A: 0x76720000 - 0x767B0000 (C:\Windows\syswow64\GDI32.dll)

USER32.dll A: 0x76270000 - 0x76370000 (C:\Windows\syswow64\USER32.dll)

ADVAPI32.dll A: 0x771A0000 - 0x77240000 (C:\Windows\syswow64\ADVAPI32.dll)

sechost.dll A: 0x768C0000 - 0x768D9000 (C:\Windows\SysWOW64\sechost.dll)

RPCRT4.dll A: 0x77240000 - 0x77330000 (C:\Windows\syswow64\RPCRT4.dll)

SspiCli.dll A: 0x752D0000 - 0x75330000 (C:\Windows\syswow64\SspiCli.dll)

CRYPTBASE.dll A: 0x752C0000 - 0x752CC000 (C:\Windows\syswow64\CRYPTBASE.dll)

LPK.dll A: 0x76980000 - 0x7698A000 (C:\Windows\syswow64\LPK.dll)

USP10.dll A: 0x76C20000 - 0x76CBD000 (C:\Windows\syswow64\USP10.dll)

WSOCK32.dll A: 0x70840000 - 0x70847000 (C:\Windows\system32\WSOCK32.dll)

WS2_32.dll A: 0x765C0000 - 0x765F5000 (C:\Windows\syswow64\WS2_32.dll)

NSI.dll A: 0x76E80000 - 0x76E86000 (C:\Windows\syswow64\NSI.dll)

WINMM.dll A: 0x6F380000 - 0x6F3B2000 (C:\Windows\system32\WINMM.dll)

IMM32.DLL A: 0x76CC0000 - 0x76D20000 (C:\Windows\system32\IMM32.DLL)

MSCTF.dll A: 0x769E0000 - 0x76AAC000 (C:\Windows\syswow64\MSCTF.dll)

mysql.DLL A: 0x10000000 - 0x10013000 (C:\Users\Владимир\Desktop\LARP 0.3c\plugins\mysql.DLL)

LIBMYSQL.dll A: 0x02420000 - 0x02561000 (C:\Users\Владимир\Desktop\LARP 0.3c\LIBMYSQL.dll)

MSVCR90.dll A: 0x6CDC0000 - 0x6CE63000 (C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9 a1e18e3b_9.0.30729.4940_none_50916076bcb9a742\MSVC R90.dll)

MSVCP90.dll A: 0x6CA50000 - 0x6CADE000 (C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9 a1e18e3b_9.0.30729.4940_none_50916076bcb9a742\MSVC P90.dll)

NLAapi.dll A: 0x74840000 - 0x74850000 (C:\Windows\system32\NLAapi.dll)

napinsp.dll A: 0x74830000 - 0x74840000 (C:\Windows\system32\napinsp.dll)

pnrpnsp.dll A: 0x74810000 - 0x74822000 (C:\Windows\system32\pnrpnsp.dll)

mswsock.dll A: 0x73830000 - 0x7386C000 (C:\Windows\System32\mswsock.dll)

DNSAPI.dll A: 0x6EE40000 - 0x6EE84000 (C:\Windows\system32\DNSAPI.dll)

winrnr.dll A: 0x74800000 - 0x74808000 (C:\Windows\System32\winrnr.dll)

rasadhlp.dll A: 0x747B0000 - 0x747B6000 (C:\Windows\system32\rasadhlp.dll)

streamer.DLL A: 0x67660000 - 0x6769B000 (C:\Users\Владимир\Desktop\LARP 0.3c\plugins\streamer.DLL)

sscanf.DLL A: 0x003B0000 - 0x003BC000 (C:\Users\Владимир\Desktop\LARP 0.3c\plugins\sscanf.DLL)

MSVCR100.dll A: 0x675A0000 - 0x6765F000 (C:\Windows\system32\MSVCR100.dll)

MSVCP100.dll A: 0x674C0000 - 0x67529000 (C:\Windows\system32\MSVCP100.dll)

wshtcpip.dll A: 0x73820000 - 0x73825000 (C:\Windows\System32\wshtcpip.dll)

IPHLPAPI.DLL A: 0x707E0000 - 0x707FC000 (C:\Windows\system32\IPHLPAPI.DLL)

WINNSI.DLL A: 0x707D0000 - 0x707D7000 (C:\Windows\system32\WINNSI.DLL)



--------------------------

2) It's happen, when I reconnect to server after 3 times.
// Buttons doesn't work, game window freeze. Possible only 'print screen'.

Reply
#2

Never had this problem before, and i use the same kind of script that you do.
Maybe there are some invalid characters in the inputtext?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)