SA-MP Forums Archive
Server problem.... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: Server problem.... (/showthread.php?tid=182972)



Server problem.... - knackworst - 13.10.2010

i'm scripting, but when i save me newest script, i click on the server.exe and it closes imedtiately... it's the first time I have this, and I can't open the server.exe anymore!! help!!


Re: Server problem.... - sDAAw - 13.10.2010

You sure that there is no errors in your script?


Re: Server problem.... - huyguy - 13.10.2010

Check the "server_log.log" file.

Maybe you have forgotten to change the rcon password in the server.cfg.


Re: Server problem.... - knackworst - 13.10.2010

yes there are two errors in my script


Re: Server problem.... - knackworst - 13.10.2010

error 029: invalid expression, assumed zero
error 008: must be a constant expression; assumed zero

Idk how to fix those errors...

i'm new in scripting


Re: Server problem.... - huyguy - 13.10.2010

Quote:
Originally Posted by knackworst
Посмотреть сообщение
error 029: invalid expression, assumed zero
error 008: must be a constant expression; assumed zero

Idk how to fix those errors...

i'm new in scripting
Please post the lines of your script, that are causing these errors.


Re: Server problem.... - knackworst - 13.10.2010

when I click compile I get this:
C:\Users\William\Downloads\TI\Tropical Island Server\gamemodes\Tropical_Island.pwn(9 : error 029: invalid expression, assumed zero
C:\Users\William\Downloads\TI\Tropical Island Server\gamemodes\Tropical_Island.pwn(9 : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.



The things I changed in the script are the spawn places...


Re: Server problem.... - huyguy - 13.10.2010

Quote:
Originally Posted by knackworst
Посмотреть сообщение
when I click compile I get this:
C:\Users\William\Downloads\TI\Tropical Island Server\gamemodes\Tropical_Island.pwn( 98 ) : error 029: invalid expression, assumed zero
C:\Users\William\Downloads\TI\Tropical Island Server\gamemodes\Tropical_Island.pwn( 98 ) : error 008: must be a constant expression; assumed zero
Show us the line that you have changed.
Copy line 98 and post it here.


Re: Server problem.... - knackworst - 13.10.2010

new Float:gRandomPlayerSpawns[23][3] = {
{419.800018, 2531.705322, 16.157726}, //Desert Airstrip Spawnpoint
{419.800018, 2531.705322, 16.157726},
{419.800018, 2531.705322, 16.157726},
{419.800018, 2531.705322, 16.157726},
{419.800018, 2531.705322, 16.157726},
{419.800018, 2531.705322, 16.157726},
{419.800018, 2531.705322, 16.157726},
{419.800018, 2531.705322, 16.157726},
{419.800018, 2531.705322, 16.157726},
{146.09832763672,-2152.5739746094,17.721509933472}, //Tropicalisland spawnpoint
{146.09832763672,-2152.5739746094,17.721509933472},
{146.09832763672,-2152.5739746094,17.721509933472},
{146.09832763672,-2152.5739746094,17.721509933472},
{1861.2, -2656.3, 13.7}, //Los Santos Airport
{1861.2, -2656.3, 13.7},
{1861.2, -2656.3, 13.7},
{1861.2, -2656.3, 13.7},
{1861.2, -2656.3, 13.7},
{1861.2, -2656.3, 13.7},
{1861.2, -2656.3, 13.7},

97:
98. : };


Re: Server problem.... - X35B - 13.10.2010

see "146._____" That "." after the six is meant to be a comma i think