Localhost
#1

I no longer have a host for my server, but I still want to edit my current script and see the changes and updates in-game. Is there a way I can play just on my own and somehow still use my script?
Reply
#2

Download this;

http://files.sa-mp.com/samp03x_svr_R1-2_win32.zip

Then add your script, then run and in your SAMP thingy, just add; 127.0.0.1:7777, then you should be able to play LocalHost
Reply
#3

click on start on your desktop

find RUN click that [you will see a black cmd box appear]

click inside that and type ipconfig & press enter on keyboard

it will start resolving your ip and list you with some

ive just done it and it gave me 192.168.0.6

it must start with 192.168 as this is your local area connection [ ie your computer]

then type what you see in the samp client

you will also need the SA-MP 0.3x Windows Server package [get it here] http://files.sa-mp.com/samp03x_svr_R1-2_win32.zip

extract that on your desktop in a new folder and rename it test server..

then you must open the file server.cfg [right click on it and choose open with text]

2 things you must do is

set the port

port 7777

& set the rcon password from changeme

rcon_password 111111

look at mine

echo Executing Server Config...
lanmode 0
rcon_password 111111
maxplayers 50
port 7777
hostname Call Of Duty: WarZone
gamemode0 wz 1
filterscripts LuxAdmin die
announce 1
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
plugins Whirlpool.dll
logtimeformat [%H:%M:%S]

then click on samp-server box in the test folder..

and go to your samp client and it should be there..

i hope i helped... ;p
Reply
#4

Thank you, but how do I add my script to the server file?
Reply
#5

Place it compiled into the Gamemode Folder, then on server.cfg on the Gamemode Line make it the name of your .amx.

for example if my gamemode was -> samp.amx

the gamemode line in server.cfg would be -> gamemode0 samp 1
Reply
#6

What's the 1 for?
Reply
#7

Quote:
Originally Posted by SAMP Wiki
gamemode(n) (N) (t) It's possible to set the gamemode that plays, how many times it plays and when it plays by editing the values here. To use this correctly you must understand how it works, (n) is the gamemode number, (N) is the gamemode name*, and (t) is the times played before switching onto the next mode. By default this area will look like this:
gamemode0 grandlarc 1
^^^^
Reply
#8

So I put the .amx file in the gamemode folder, and go into my server.cfg file and make my gamemode the name of my .amx with a 1 beside it?
Gamemode0 "AMX NAME" 1
Reply
#9

Quote:
Originally Posted by Ryan McDuff
Посмотреть сообщение
So I put the .amx file in the gamemode folder, and go into my server.cfg file and make my gamemode the name of my .amx with a 1 beside it?
Gamemode0 "AMX NAME" 1
Yes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)