SA-MP Forums Archive
Gamemode error. - 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: Gamemode error. (/showthread.php?tid=473097)



Gamemode error. - FaZeRs - 01.11.2013

PHP код:
----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3x-R2, (C)2005-2013 SA-MP Team
[15:28:14filterscripts ""  (string)
[
15:28:14
[
15:28:14Server Plugins
[15:28:14] --------------
[
15:28:14]  Loading pluginstreamer.dll
[15:28:14
*** 
Streamer Plugin v2.6.1 by Incognito loaded ***
[
15:28:14]   Loaded.
[
15:28:14]  Loading pluginsscanf.dll
[15:28:14
[
15:28:14]  ===============================
[
15:28:14]       sscanf plugin loaded.     
[
15:28:14]    (c2009 Alex "******" Cole
[15:28:14]    0.3d-R2 500 Players "dnee"
[15:28:14]  ===============================
[
15:28:14]   Loaded.
[
15:28:14]  Loading pluginaudio.dll
[15:28:14
*** 
Audio Plugin v0.5 R2 by Incognito loaded ***
[
15:28:14]   Loaded.
[
15:28:14]  Loaded 3 plugins.
[
15:28:14
[
15:28:14Filterscripts
[15:28:14] ---------------
[
15:28:14]   Loaded 0 filterscripts.
[
15:28:14onfoot_rate 40  (intread-only)
[
15:28:14incar_rate 40  (intread-only)
[
15:28:14weapon_rate 40  (intread-only)
[
15:28:14] *** Audio PluginStarted TCP server on port 7777
[15:28:14] *** Audio_SetPackAudio pack set to "default_pack" (transferable and automated)
[
15:28:14]   <dmapDMap 0.3 // © 2008 DracoBlue // http://www.dracoblue.net
[15:28:14]   <dmapLoading ...
[
15:28:14]   <dmap> .. done!
[
15:28:14] [script3DTEXTDRAW LIMIT1024 (Static, non-streamed) | 3DTEXTDRAW COUNT127
[15:28:14] [scriptPICKUP LIMIT4096 (Static, non-streamed) | PICKUP COUNT18
[15:28:14] [scriptOBJECT LIMIT1000 (Static, non-streamed) | OBJECT COUNT15167
[15:28:14]  
[
15:28:14] -------------------------------------------
[
15:28:14Loading...
[
15:28:14Welcome to My Roleplay
[15:28:14] -------------------------------------------
[
15:28:14]  
[
15:28:14Number of vehicle models83
[15:28:26onfoot_rate 40  (intread-only)
[
15:28:26incar_rate 40  (intread-only)
[
15:28:26weapon_rate 40  (intread-only)
[
15:28:27] *** Audio_SetPackAudio pack set to "default_pack" (transferable and automated)
[
15:28:27]   <dmapDMap 0.3 // © 2008 DracoBlue // http://www.dracoblue.net
[15:28:27]   <dmapLoading ...
[
15:28:27]   <dmap> .. done!
[
15:28:27] [script3DTEXTDRAW LIMIT1024 (Static, non-streamed) | 3DTEXTDRAW COUNT127
[15:28:27] [scriptPICKUP LIMIT4096 (Static, non-streamed) | PICKUP COUNT18
[15:28:27] [scriptOBJECT LIMIT1000 (Static, non-streamed) | OBJECT COUNT15167
[15:28:27]  
[
15:28:27] -------------------------------------------
[
15:28:27Loading...
[
15:28:27Welcome to My Roleplay
[15:28:27] -------------------------------------------
[
15:28:27]  
[
15:28:27Number of vehicle models83
[15:28:38onfoot_rate 40  (intread-only)
[
15:28:38incar_rate 40  (intread-only)
[
15:28:38weapon_rate 40  (intread-only)
[
15:28:39] *** Audio_SetPackAudio pack set to "default_pack" (transferable and automated)
[
15:28:39]   <dmapDMap 0.3 // © 2008 DracoBlue // http://www.dracoblue.net
[15:28:39]   <dmapLoading ...
[
15:28:39]   <dmap> .. done!
[
15:28:39] [script3DTEXTDRAW LIMIT1024 (Static, non-streamed) | 3DTEXTDRAW COUNT127
[15:28:39] [scriptPICKUP LIMIT4096 (Static, non-streamed) | PICKUP COUNT18
[15:28:39] [scriptOBJECT LIMIT1000 (Static, non-streamed) | OBJECT COUNT15167
[15:28:39]  
[
15:28:39] -------------------------------------------
[
15:28:39Loading...
[
15:28:39Welcome to My Roleplay
[15:28:39] -------------------------------------------
[
15:28:39]  
[
15:28:39Number of vehicle models83 
Someone can explain why my gamemode isn't running? It is starting all over again for many times and not showing in public and cant connect.


Re: Gamemode error. - DanishHaq - 01.11.2013

Could possibly be something to do with this:

Quote:

[15:28:39] [script] OBJECT LIMIT: 1000 (Static, non-streamed) | OBJECT COUNT: 15167

as it's the last thing that happens. Or there might be a gmx timer in your script.


Re: Gamemode error. - FaZeRs - 01.11.2013

PHP код:
    printf("[script] 3DTEXTDRAW LIMIT: %d (Static, non-streamed) | 3DTEXTDRAW COUNT: %d"1024CountDynamic3DTextLabels() );
    
printf("[script] PICKUP LIMIT: %d (Static, non-streamed) | PICKUP COUNT: %d"MAX_PICKUPSCountDynamicPickups() );
    
printf("[script] OBJECT LIMIT: %d (Static, non-streamed) | OBJECT COUNT: %d"MAX_OBJECTSCountDynamicObjects() ); 
I found these lines, but MAX_OBJECTS is not defined, but it says max is 1000.


Re: Gamemode error. - FaZeRs - 02.11.2013

Nobody can help?


Re: Gamemode error. - Beckett - 02.11.2013

You have more than 1000 objects in your Gamemode?


Re: Gamemode error. - FaZeRs - 02.11.2013

Yes, but i fixed that

PHP код:
----------
Loaded log file"server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x-R2, (C)2005-2013 SA-MP Team

[14:20:57filterscripts ""  (string)
[
14:20:57
[
14:20:57Server Plugins
[14:20:57] --------------
[
14:20:57]  Loading pluginstreamer.dll
[14:20:57

*** 
Streamer Plugin v2.6.1 by Incognito loaded ***

[
14:20:57]   Loaded.
[
14:20:57]  Loading pluginsscanf.dll
[14:20:57

[
14:20:57]  ===============================

[
14:20:57]       sscanf plugin loaded.     

[
14:20:57]    (c2009 Alex "******" Cole

[14:20:57]    0.3d-R2 500 Players "dnee"

[14:20:57]  ===============================

[
14:20:57]   Loaded.
[
14:20:57]  Loading pluginaudio.dll
[14:20:57

*** 
Audio Plugin v0.5 R2 by Incognito loaded ***

[
14:20:57]   Loaded.
[
14:20:57]  Loaded 3 plugins.

[
14:20:57
[
14:20:57Filterscripts
[14:20:57] ---------------
[
14:20:57]   Loaded 0 filterscripts.

[
14:20:57OnGameo
[14:20:57onfoot_rate 40  (intread-only)
[
14:20:57incar_rate 40  (intread-only)
[
14:20:57weapon_rate 40  (intread-only)
[
14:20:57] *** Audio PluginStarted TCP server on port 7777
[14:20:57] *** Audio_SetPackAudio pack set to "default_pack" (transferable and automated)
[
14:20:57]   <dmapDMap 0.3 // © 2008 DracoBlue // http://www.dracoblue.net
[14:20:57]   <dmapLoading ...
[
14:20:57]   <dmap> .. done!
[
14:20:57] [script3DTEXTDRAW LIMIT1024 (Static, non-streamed) | 3DTEXTDRAW COUNT127
[14:20:57] [scriptPICKUP LIMIT4096 (Static, non-streamed) | PICKUP COUNT18
[14:20:57] [scriptOBJECT LIMIT20000 (Static, non-streamed) | OBJECT COUNT15521
[14:20:57]  
[
14:20:57] -------------------------------------------
[
14:20:57Loading...
[
14:20:57Welcome to My Roleplay
[14:20:57] -------------------------------------------
[
14:20:57]  
[
14:20:57Number of vehicle models83
[14:21:09OnGameo
[14:21:09onfoot_rate 40  (intread-only)
[
14:21:09incar_rate 40  (intread-only)
[
14:21:09weapon_rate 40  (intread-only)
[
14:21:10] *** Audio_SetPackAudio pack set to "default_pack" (transferable and automated)
[
14:21:10]   <dmapDMap 0.3 // © 2008 DracoBlue // http://www.dracoblue.net
[14:21:10]   <dmapLoading ...
[
14:21:10]   <dmap> .. done!
[
14:21:10] [script3DTEXTDRAW LIMIT1024 (Static, non-streamed) | 3DTEXTDRAW COUNT127
[14:21:10] [scriptPICKUP LIMIT4096 (Static, non-streamed) | PICKUP COUNT18
[14:21:10] [scriptOBJECT LIMIT20000 (Static, non-streamed) | OBJECT COUNT15521
[14:21:10]  
[
14:21:10] -------------------------------------------
[
14:21:10Loading...
[
14:21:10Welcome to My Roleplay
[14:21:10] -------------------------------------------
[
14:21:10]  
[
14:21:10Number of vehicle models83 
Now the GM is just reloading and not running.


Re: Gamemode error. - DanishHaq - 02.11.2013

Did you check for timers that restart the server? Check all filterscripts / include files. Are you using a host? Try and load it on your localhost. Ask a friend from a different house to try and load it up.


Re: Gamemode error. - FaZeRs - 02.11.2013

Im running it on my PC.

Im not using filterscripts and how can be problem in include files? And where to see those timers?

Other GameModes are running fine.


Re: Gamemode error. - Beckett - 02.11.2013

So bascially the gamemode keeps restarting when you load it?

Can you list me all the includes that are in your main .pwn file?


Re: Gamemode error. - FaZeRs - 02.11.2013

FIXED, can be closed

Scriptfiles were missing, thanks Konstantinos.