Unknown code
#1

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
Reply
#2

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?
Reply
#3

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
Reply
#4

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
Reply
#5

Try lowering your array sizes, as it appears you arent using some portion of it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)