SA-MP Forums Archive
Warnings may be causing my crash. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Warnings may be causing my crash. (/showthread.php?tid=112575)



Warnings may be causing my crash. - CameronF91 - 08.12.2009

Код:
C:\Users\Cameron\Desktop\Test Server 0.3\gamemodes\SWR.pwn(34) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
C:\Users\Cameron\Desktop\Test Server 0.3\gamemodes\SWR.pwn(2278) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Users\Cameron\Desktop\Test Server 0.3\gamemodes\SWR.pwn(18580) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:      7748 bytes
Code size:      758560 bytes
Data size:     2844424 bytes
Stack/heap size:   16384 bytes; estimated max. usage=5093 cells (20372 bytes)
Total requirements: 3627116 bytes

3 Warnings.

Код:
--------------------------

Exception At Address: 0x0048011B



Registers:

EAX: 0x0012FD68	EBX: 0x02CF1E34	ECX: 0x00000000	EDX: 0x00405910

ESI: 0x00000000	EDI: 0x015DB280	EBP: 0x0012FD78	ESP: 0x0012FD50

EFLAGS: 0x00010286



Stack:

+0000: 0x015DB280  0x015DB280  0x02CF1E34  0xFFFFFFFF

+0010: 0x0012FD50  0x0012F974  0x0012FE24  0x00483C7C

+0020: 0x0049CF30  0xFFFFFFFF  0x02D96544  0x0040591D

+0030: 0x00000000  0x00401096  0x015DB280  0x02F5F6AC

+0040: 0x02DAB104  0x00402BB3  0x015DB280  0x00000007

+0050: 0x0012FDB8  0x02F5F6AC  0x004BB0C8  0x015DB280

+0060: 0x00000001  0x00000000  0x00000000  0x001B45A4

+0070: 0x001B45A8  0x001B4FF0  0x001B0FF4  0x001B4FCC

+0080: 0x001B0FF4  0x02CF1E34  0x02DAB104  0x00000000

+0090: 0x02CF0020  0x000B92D0  0x00461544  0x015DB280

+00A0: 0x0012FE00  0x00000047  0x01BE9B58  0xFFFFFFFF

+00B0: 0x00000047  0x01BE9B58  0x004789D8  0x004BB0C8

+00C0: 0x0049C481  0x01560C51  0xFFFFFFFF  0x00000000

+00D0: 0x015DB280  0x0012FEA4  0x00491B08  0xFFFFFFFF

+00E0: 0x00477E1F  0x00000001  0x00000000  0x00001771

+00F0: 0x0012FF88  0x7FFD4000  0x00004000  0x00010101

+0100: 0x00000032  0x00001E61  0x000000B0  0x00000398

+0110: 0x01BE9B58  0x656D6167  0x65646F6D  0x00003531

+0120: 0x004A6014  0x004A6010  0x7FFD4000  0x00491D80

+0130: 0x0012FE70  0x0012FE6C  0x0012FF78  0x00483C7C
Please help!


Re: Warnings may be causing my crash. - Emmet_ - 08.12.2009

Delete the OnPlayerInfoChange function in your script, and for the OnPlayerPrivmsg function, read this:

http://forum.sa-mp.com/index.php?topic=129766.0


Re: Warnings may be causing my crash. - CameronF91 - 08.12.2009

Done as he said!

Код:
C:\Users\Cameron\Desktop\Test Server 0.3\gamemodes\SWR.pwn(34) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
C:\Users\Cameron\Desktop\Test Server 0.3\gamemodes\SWR.pwn(2278) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Fixed the Private Messaege thing and I deleted OnPlayerInfoChange but I get this error and I think its to do with what i have done with my Private Message. I also have that warning, anyone know what it is and how to fix it?


Re: Warnings may be causing my crash. - Eazy_Efolife - 08.12.2009

OffTopic, Cammy, Check your Private messaging!


Re: Warnings may be causing my crash. - CameronF91 - 08.12.2009

[Off topic - I had to PM you on our forums, this wont let me ]


Re: Warnings may be causing my crash. - Eazy_Efolife - 08.12.2009

Quote:
Originally Posted by CameronF91
[Off topic - I had to PM you on our forums, this wont let me ]
ok,

ONTOPIC: goto pawno and press ctrl + f and search MAX_PICKUPS, then delete that line


Re: Warnings may be causing my crash. - CameronF91 - 09.12.2009

Код:
C:\Users\Cameron\Desktop\Test Server 0.3\gamemodes\SWR.pwn(2277) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Done, now one last error any ideas on how to fix it?


Re: Warnings may be causing my crash. - Eazy_Efolife - 09.12.2009

Quote:
Originally Posted by CameronF91
Код:
C:\Users\Cameron\Desktop\Test Server 0.3\gamemodes\SWR.pwn(2277) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Done, now one last error any ideas on how to fix it?
Press ctrl + g and type in the line 2277, then copy it here


Re: Warnings may be causing my crash. - CameronF91 - 09.12.2009

Код:
 public OnPlayerPrivmsg(playerid, recieverid, text[])



Re: Warnings may be causing my crash. - CameronF91 - 20.12.2009

This has not been replied to in like 2 weeks?