Server shutting down
#1

I'm working on my server with my friend and we're going to test it out on our new Windows VPS. When we try turning on the VPS, it starts up perfectly and all. When we try entering the server, the cmd on the vps shuts down and the server shuts off. We tried starting up the server with the same files on my friend's computer, and we were able to enter the game perfectly. We tried it on my computer after, and the same thing happened to me that was happening with our VPS. Anybody know how to fix this? [Im a SA-MP Rookie]
Reply
#2

Does the server_log.txt say anything?

Any way to debug it? Does your gm use MySQL, or SQLite?
Reply
#3

echo Executing Server Config...
lanmode 0
maxplayers 5
password 871319
port 7777
hostname Johnson Roleplay
gamemode0 Majicjone
filterscripts
mapname San Andreas
plugins sscanf.dll streamer.dll
rcon 0
rcon_password ----
timestamp 0
weburl http://
maxnpc 0
announce 1
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300
stream_rate 1000
query 1
logqueries 1
die_on_error 0
Reply
#4

The server log stays like if I had connected recently, and no the server doesn't require any of that.



Incoming connection: 190.22.48.80:3880
[join] Magic_Johnson has joined the server (0:190.22.48.80)

>Ends here<
Reply
#5

No no, not server.cfg, I'm asking for server_log.txt.

Between, what kind of O.S. do you use in the VPS, 32/64 bits? Are you sure the plugins are compatible?

Actually, that happened to me too, but most of times it did because of the plugins, or a SQL syntax error.

Oh, try to put a print after each script action, when players connect. And I bet you'll find the error, you'll find the error, but you'll need some time. Then ask us again, or give us any kind of information and let's see what can we do.

I mean, imagine this is your script:
pawn Код:
public OnPlayerConnect (playerid) {
    SendClientMessage(playerid, -1, "i sent a message");
    print("Step 1 done");

    SendClientMessage(playerid, -1, "i sent another message");
    SendClientMessage(playerid, -1, "i sent another message");
    print("Step 2 done");
    return 1;
}
you'll find the results in server_log.txt.
Reply
#6

Try to install .NetFrameWork 3.5 And .NetFrameWork 4
it's usually work
Reply
#7

64 bits, Windows 2008
Reply
#8

Quote:
Originally Posted by tungki
Посмотреть сообщение
Try to install .NetFrameWork 3.5 And .NetFrameWork 4
it's usually work
Well, I'm not really sure, but I think that isn't the problem, an error should appear in server_log.txt.

PD: try with the "steps" way, which I said you before, that's what I do most of times when I can't find the error.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)