Unknown code - 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)
+--- Thread: Unknown code (
/showthread.php?tid=572980)
Unknown code -
Shazwan - 03.05.2015
This code came out once i finish compile it, when i run the gamemode it fail to run, does this thing give a note about something?
Code:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 30832 bytes
Code size: 4735904 bytes
Data size: 33346340 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:38129460 bytes
Re: Unknown code -
Nenzittow - 03.05.2015
That code is normal... it was compiled with success, without any errors/warnings.
Can you post the server log? What appear when you run your gamemode?
Re: Unknown code -
Shazwan - 03.05.2015
This is the before
Code:
SA-MP Dedicated Server
----------------------
v0.3z-R4, ©2005-2014 SA-MP Team
[03/05/2015 22:49:47]
[03/05/2015 22:49:47] Server Plugins
[03/05/2015 22:49:47] --------------
[03/05/2015 22:49:47] Loading plugin: sscanf.dll
[03/05/2015 22:49:47]
[03/05/2015 22:49:47] ===============================
[03/05/2015 22:49:47] sscanf plugin loaded.
[03/05/2015 22:49:47] Version: 2.8.1
[03/05/2015 22:49:47] © 2012 Alex "******" Cole
[03/05/2015 22:49:47] ===============================
[03/05/2015 22:49:47] Loaded.
[03/05/2015 22:49:47] Loading plugin: streamer.dll
[03/05/2015 22:49:47]
*** Streamer Plugin v2.7.5.2 by Incognito loaded ***
[03/05/2015 22:49:47] Loaded.
[03/05/2015 22:49:47] Loaded 2 plugins.
[03/05/2015 22:49:47]
[03/05/2015 22:49:47] Filterscripts
[03/05/2015 22:49:47] ---------------
[03/05/2015 22:49:47] Loading filterscript 'all.amx'...
[03/05/2015 22:49:47] Loading filterscript 'buttons.amx'...
[03/05/2015 22:49:47] Loaded 2 filterscripts.
[03/05/2015 22:49:47] Gamemode started.
[03/05/2015 22:49:47] Gamemode started.
[03/05/2015 22:49:47] Gamemode started.
[03/05/2015 22:49:47] Turfwars loaded.
[03/05/2015 22:49:48] AirSoft 1 loaded
[03/05/2015 22:49:48] AirSoft 2 loaded
[03/05/2015 22:49:48] AirSoft 3 loaded
[03/05/2015 22:49:48] AirSoft 4 loaded
[03/05/2015 22:49:48] AirSoft 5 loaded
[03/05/2015 22:49:48] AirSoft 6 loaded
[03/05/2015 22:49:48] AirSoft 7 loaded
[03/05/2015 22:49:48] AirSoft 8 loaded
[03/05/2015 22:49:48] AirSoft 9 loaded
[03/05/2015 22:49:48] AirSoft 10 loaded
[03/05/2015 22:49:48] gates loaded.
[03/05/2015 22:49:48] gates2 loaded.
[03/05/2015 22:49:48] Gamemode Stuff Loaded.
[03/05/2015 22:49:48] objects loaded.
[03/05/2015 22:49:48] objects2 loaded.
[03/05/2015 22:49:48] Businesses loaded.
[03/05/2015 22:49:48] Grass loaded.
[03/05/2015 22:49:48] Dealership Stuff Loaded.
[03/05/2015 22:49:48] Group Stuff Loaded.
[03/05/2015 22:49:58] 3DTEXTDRAW LIMIT: 1024 | 3DTEXTDRAW COUNT: 1711
[03/05/2015 22:49:58] PICKUP LIMIT: 4096 | PICKUP COUNT: 1582
[03/05/2015 22:49:58] OBJECT LIMIT: 1000 | OBJECT COUNT: 10394
[03/05/2015 22:49:58]
[03/05/2015 22:49:58] -------------------------------------------
[03/05/2015 22:49:58] Connected To Horizontal Roleplay...
[03/05/2015 22:49:58] Welcome to Horizontal Roleplay memory
[03/05/2015 22:49:58] -------------------------------------------
[03/05/2015 22:49:58]
[03/05/2015 22:49:58] Number of vehicle models: 73
This is the after
Code:
SA-MP Dedicated Server
----------------------
v0.3z-R4, ©2005-2014 SA-MP Team
[03/05/2015 22:49:02]
[03/05/2015 22:49:02] Server Plugins
[03/05/2015 22:49:02] --------------
[03/05/2015 22:49:02] Loading plugin: sscanf.dll
[03/05/2015 22:49:02]
[03/05/2015 22:49:02] ===============================
[03/05/2015 22:49:02] sscanf plugin loaded.
[03/05/2015 22:49:02] Version: 2.8.1
[03/05/2015 22:49:02] © 2012 Alex "******" Cole
[03/05/2015 22:49:02] ===============================
[03/05/2015 22:49:02] Loaded.
[03/05/2015 22:49:02] Loading plugin: streamer.dll
[03/05/2015 22:49:02]
*** Streamer Plugin v2.7.5.2 by Incognito loaded ***
[03/05/2015 22:49:02] Loaded.
[03/05/2015 22:49:02] Loaded 2 plugins.
[03/05/2015 22:49:02]
[03/05/2015 22:49:02] Filterscripts
[03/05/2015 22:49:02] ---------------
[03/05/2015 22:49:02] Loading filterscript 'all.amx'...
[03/05/2015 22:49:02] Loading filterscript 'buttons.amx'...
[03/05/2015 22:49:02] Loaded 2 filterscripts.
[03/05/2015 22:49:02] Gamemode started.
[03/05/2015 22:49:02] Gamemode started.
[03/05/2015 22:49:02] Gamemode started.
[03/05/2015 22:49:02] Turfwars loaded.
[03/05/2015 22:49:02]
[03/05/2015 22:49:02] -------------------------------------------
[03/05/2015 22:49:02] Connected To Horizontal Roleplay...
[03/05/2015 22:49:02] Welcome to Horizontal Roleplay memory
[03/05/2015 22:49:02] -------------------------------------------
[03/05/2015 22:49:02]
[03/05/2015 22:49:02] Number of vehicle models: 0
Usually after the compile it doesn't show this
Code:
Header size: 30832 bytes
Code size: 4735904 bytes
Data size: 33346340 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:38129460 bytes
Re: Unknown code -
Konstantinos - 03.05.2015
Try optimizing your code. I couldn't find the thread since it had been deleted.
Also check:
https://sampwiki.blast.hk/wiki/Keywords:...ives#.23pragma -> dynamic
Re: Unknown code -
Macluawn - 03.05.2015
Try lowering your array sizes, as it appears you arent using some portion of it.