[Tutorial] How to Get Server Started(windows host)
#1

Hello SA-MP

This is my first tutorial.


In this tutorial i will teach you how to start a home server.(on windows)
I had problem doing so when i was a newbie so i hope itt will help ppl like me!


Ok so the first thing you need to Do is downlaod the SA-MP developer's Kit for windows from Here.

Now extract the Files to a location in your computer.
the folder shall contain the following files
Code:
-Filterscripts
-Gamemodes
-Includes
-NPCmodes
-Pawno
-plugins
-Scriptfiles
-Announce(.exe)
-Sa-mp license 
-samp-npc(.exe)
-Samp-server(.exe)
-Server(.cfg)
-Serevr readme(.txt)
Now you first need the Gamemode to start with


as you now look into the gameemodes folder you would see various pre loaded Gamemodes in there
You would need the amx version of the Gamemode to run the server
the pwn version is meant to script and is the REAL stuff. You can obtain the amx from compiling the PWN gamemodes


Now you will need all the Filterscripts used(in case any)


For the filterscript too you need amx (compiled ) version to run the server
the pwn is always used to edit the Filterscript ot GAmemode.

After you have done arranging your Filterscripts and Gamemodes
You now need to put in the includes.


these are the files you see in your gamemode as #include <name>
you need to gather all this incase you need to edit the script


now put the required Includes in the include folder(NOTE:You need them for editing the server)


Now you need to Get the right plugins used in the script

these are the folders with extension .dll(for windows) or .so (for linux server)
place these files in the Plugins folder
here you will need the ones wid the extension .dll


Now its time for you to edit the server configuration folder(server.cfg)
open this using a word editor or notepad
now you will see something like
Code:
echo Executing Server Config...
lanmode 0
rcon_password changeme
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 grandlarc 1
filterscripts gl_actions gl_realtime gl_property gl_mapicon ls_mall attachments skinchanger vspawner
announce 0
query 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
Note:the server.cfg initially doesent have a line for plugins you can just add them yourself
Code:
Plugins xyf.dll abc.dll
Edit the Gamemode and the filterscript lines as the names of your gamemode and filterscripts
do not seperate these with a "," u just neeed to put a spacebar between them

After you have done this you need to edit the rcon_password line


save the server.cfg file and now


click samp-server(.exe)
you will see a DoS Program POP up
now if there arent any errors in your server.cfg,GM , FS etc it will start running!!!




Now how do u connect to this Server


Now If you have a mordem and if it is portfowrarded
then you need to join the server with ip as
yourip:port in your server.cfg
ie
yourip:7777

Note:you can enjoy this server with your friends (ie others can join it)


To find your ip go to ****** and type my ip


Now if your mordem isnt port forwarded
well then open up the command prompt
type in cmd
then type in ipconfig
now enter the ip adress from that with the port
ie
ipadressinipconfig:port
or
ipadressinipconfig:7777 in this case




Now if you use Mobile Internet (dongle etc)
you smply need your ipadress and the port in your server.cfg
ie
ipadress:7777


Hope it helped!
If you have any questions please PM me or post them here
i will try to answer them all asap!!
Reply
#2

Really nice!!!
i would have +repped u if i had the required posts....
keep the good work going

Really helped me
Reply
#3

Quote:
Originally Posted by iTheScripter
View Post
Really nice!!!
i would have +repped u if i had the required posts....
keep the good work going

Really helped me
Thank you mate!
i am not doing this to gain any reputation...
i posted this cuz i had troubles doing so when i first started with samp since i didnt know what to do and how....
Reply
#4

Helpfull guide....
thanks mate!
nice effort and work....
Reply
#5

Quote:
Originally Posted by iNoBoDy
View Post
Helpfull guide....
thanks mate!
nice effort and work....
Thanks..
Reply
#6

Nice efford, good work mate-
Reply
#7

Quote:
Originally Posted by Galactic
View Post
Nice efford, good work mate-
Thanks A Lot Buddy
Reply
#8

Really nice it shure would help new members joining the samp community.
Reply
#9

Quote:
Originally Posted by Mckarlis
View Post
Really nice it shure would help new members joining the samp community.
Thank you!
Reply
#10

Well can u explain port forwarding in this too?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)