Server won't start anymore!
#1

Hey,
I just added something new in my gamemode. When I compile I do not get any errors. But when I start the server it auto-closes. Here is the server log:

Quote:

SA-MP Dedicated Server
----------------------
v0.3b R2, ©2005-2010 SA-MP Team

[14:55:19]
[14:55:19] Server Plugins
[14:55:19] --------------
[14:55:19] Loading plugin: Whirlpool
[14:55:19]
[14:55:19] ==================
[14:55:19]
[14:55:19] Whirlpool loaded
[14:55:19]
[14:55:19] ==================
[14:55:19]
[14:55:19] Loaded.
[14:55:19] Loading plugin: streamer
[14:55:19]

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

[14:55:19] Loaded.
[14:55:19] Loading plugin: irc
[14:55:19]

*** IRC Plugin v1.3.6 by Incognito loaded ***


[14:55:19] Loaded.
[14:55:19] Loaded 3 plugins.

[14:55:19]
[14:55:19] Ban list
[14:55:19] --------
[14:55:19] Loaded: samp.ban
[14:55:19]
[14:55:19]
[14:55:19] Filter Scripts
[14:55:19] ---------------
[14:55:19] Loading filter script 'BamAdmin.amx'...
[14:55:19] BAdmin System has loaded!
[14:55:19] Loading filter script 'backweapon.amx'...
[14:55:19] Loading filter script 'irc.amx'...
[14:55:19] Loaded 3 filter scripts.

I have tested some other gamemodes and those work. I restarted my pc, but no result, I removed my added part and still no result.

here is the server.cfg:
Quote:

echo Executing Server Config...
lanmode 0
rcon_password 123456789
maxplayers 20
port 1995
hostname [BETA]COD-VIII / killstreaks! / low-life
gamemode0 CODVIII
filterscripts BamAdmin backweapon irc
announce 1
query 1
weburl www.cod-viii.co.nr/
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
plugins Whirlpool streamer irc
include streamer

What to do <.<,

help me please
Reply
#2

It's probably the gamemode. Remove what you've made and try it again.
Or, give us the code of the (part of the) GM
Reply
#3

I did removed that part, and I don't want to release it, any suggestions?
Reply
#4

If other scripts work than its scriptbase (only to clarify that)

And than we know that main doesnt got executed because there is no text about the gamemode

Than it must be before the prints in main which mostly is nothing or in OnGameModeInit which gets executed before main

just add in each line of OnGameModeInit

pawn Код:
print("Test");
than run the mode again and post the line after the last "Test"
Reply
#5

except the objects and vehicles? Nero? Do I have to rename "test" each line?

edit:

nvm, I saw the problem! In the timer I didn't had a space between ""...
Reply
#6

Quote:
Originally Posted by timothyinthehouse
Посмотреть сообщение
nvm, I saw the problem! In the timer I didn't had a space between ""...
Nice ^^ but an empty timer parameter? strange

pawn Код:
SetTimer("funcname", 1000, true); //all parameter needed
SetTimerEx("funcname", 1000, true, ""); //Use the normal timer for that ^^"
Quote:
Originally Posted by timothyinthehouse
Посмотреть сообщение
except the objects and vehicles? Nero? Do I have to rename "test" each line?
No its just an easy debug methode, you put between each line a print "Test"
pawn Код:
print("Test");
Hello();
print("Test");
SetTimer(...);
print("Test");
CallMe();
print("Test");
Now if start your server again and check the log
And you only find two "Test" than you know that SetTimer crashed the server, easy, isnt it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)