PDA

View Full Version : Add a pass in server


Raul_[BR]
07-30-2009, 11:16 AM
i dont knowadd a pas in server,i try al changed the setpass in main.lua i try all more dont work,plz reply, i need help:confused::confused::confused::confused::confu sed::confused:
:facepalm:

tuntis
07-30-2009, 11:23 AM
Well, show us what you put on the setPass...

iKlipse
07-30-2009, 11:24 AM
In the Main.Lua, you will see two dashes --

If those are infront of a line of text, Lua ignores the line of text. If they aren't there, Lua will use it. So try removing the -- from in front of SetServerPassword.

It should look like this:

setServerName("Your server name")
setServerPort(Your server port)
setModeName("Game mode")
setMaxPlayers(Max players)
setServerPassword("yourpassword") --SERVER_PASSWORD_HERE
--bindToIP("xxx.xxx.xxx.xxx")
announce(1)
--setVehicleRespawnDelay(300000)

[NoN]Bruno
07-31-2009, 11:54 AM
In the Main.Lua, you will see two dashes --

If those are infront of a line of text, Lua ignores the line of text. If they aren't there, Lua will use it. So try removing the -- from in front of SetServerPassword.

It should look like this:

setServerName("Your server name")
setServerPort(Your server port)
setModeName("Game mode")
setMaxPlayers(Max players)
setServerPassword("yourpassword") --SERVER_PASSWORD_HERE
--bindToIP("xxx.xxx.xxx.xxx")
announce(1)
--setVehicleRespawnDelay(300000)


Why do you even bother? he doesnt even speak english, he wont understand what you just said...here,let me:


Se esses estão em frente de uma linha de texto, Lua ignora a linha de texto. Se elas não existem, Lua irá utilizá-lo. Então, tente remover o - da frente de SetServerPassword.

Why do you even bother? he doesnt even speak english, he wont understand what you just said...here,let me:

No Main.Lua, você verá dois traços --

Se esses estão em frente de uma linha de texto, Lua ignora a linha de texto. Se elas não existem, Lua irá utilizá-lo. Então, tente remover o - da frente de SetServerPassword.[/QUOTE]

Why do you even bother? he doesnt even speak english, he wont understand what you just said...here,let me:

No Main.Lua, você verá dois traços --

Se esses estão em frente de uma linha de texto, Lua ignora a linha de texto. Se elas não existem, Lua irá utilizá-lo. Então, tente remover o - da frente de SetServerPassword

iKlipse
08-01-2009, 04:36 AM
Bruno;2034364']Why do you even bother? he doesnt even speak english, he wont understand what you just said

It does not matter if he understands it or not, Bruno. He spoke English in his post, even if it wasn't top notch. Trying is good enough, if you have a problem with that... Let us know :)


Now calm down and watch your attitude, you're a VC-O team member. A simple; "In case you don't understand English" would have been great and a much more professionalized post.

[NoN]Bruno
08-01-2009, 10:38 AM
Oh no, you miss understood me, what i ment that maybe he wont understand your english, as its good...so i google translated your message the his lenguage ^^

Raul_[BR]
08-06-2009, 09:29 AM
sorry, /setpass is a command can chnage player pass :/, my friend can add a pass in server, download my newedt map :)

http://www.easy-share.com/1907222439/Stunt Around VC.rar