SA-MP Forums Archive
samp-server.exe problem.. - 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: samp-server.exe problem.. (/showthread.php?tid=394000)



samp-server.exe problem.. - GhostyXL - 20.11.2012

Hello people,

I am trying an given script, got rid of the error's only 7 warnings left, but those arent really important i think. Is that right? Does it make's sence when you ignore the warnings? Because i dont know what is up but when i try to launch samp-server.exe it shows up for like 1 sec and then its gone...

How to fix that?


Re: samp-server.exe problem.. - goviscrap - 20.11.2012

What warnings do you have? and What does it say in your Server.cfg?


Re: samp-server.exe problem.. - Konstantinos - 20.11.2012

Some of the warnings are not important, but it's good to compile with 0 error(s) and 0 warning(s). Some others cause problems.


Re: samp-server.exe problem.. - GhostyXL - 20.11.2012

Hey man,

Код:
warning 203: symbol is never used: "DFTeles"
warning 203: symbol is never used: "MoveglassesT"
warning 203: symbol is never used: "Objectmoved"
warning 203: symbol is never used: "RandMap"
warning 203: symbol is never used: "dplayers"
warning 203: symbol is never used: "dstarted"
warning 203: symbol is never used: "dstarter"
Thanks in advance!


Re: samp-server.exe problem.. - GhostyXL - 20.11.2012

Quote:
Originally Posted by Dwane
Посмотреть сообщение
Some of the warnings are not important, but it's good to compile with 0 error(s) and 0 warning(s). Some others cause problems.
Lol wtf?! I wanted to take a look at the warning's and it says that they are all in the same line (8847) but my script ends at 8846 lol..


Re: samp-server.exe problem.. - park4bmx - 20.11.2012

server.cfg doesn't say
its the server.log what your looking for

Also its telling you that these symbols are never used and are waiting to be used somewhere, because the compiler does know where your going to use them is pointing you to the last line of the script.


Re: samp-server.exe problem.. - Konstantinos - 20.11.2012

Okay, these warnings aren't so important. You can also prevent them by using under defines
pawn Код:
#pragma unused DFTeles
#pragma unused MoveglassesT
#pragma unused Objectmoved
#pragma unused RandMap
#pragma unused dplayers
#pragma unused dstarted
#pragma unused dstarter
It says that they are not in use and it always give the warnings at the last line + 1.
Don't worry about that!


Re: samp-server.exe problem.. - GhostyXL - 20.11.2012

Okay guys, thanks for the info! And thanks by Dwane for giving me 0 warnings now ^^

But still, the server doesnt shows up for longer than 1sec..


Re: samp-server.exe problem.. - park4bmx - 20.11.2012

show the server.log
so we can see what its crashing the server:X


Re: samp-server.exe problem.. - Konstantinos - 20.11.2012

Something is wrong. You can use [Plugin] nativechecker and [Plugin] crashdetect plugin v4.6 for this. Load these plugins, run your server and show us the server_log.txt
I'll try to help you why it's getting crash.