-
[Tut] Setting up a private server *no errors*
This tutorial is made by me daniel131605
Server.ini configuration
Quote:
[DB]
DNS="GunzDB"
USERNAME="sa"
PASSWORD="server password here"
[SERVER]
MAXUSER=500
SERVERID=1
SERVERNAME="Your Gunz name"
FREELOGINIP=""
KEEPERIP="127.0.0.1"
MONITORIP="127.0.0.1"
MONITORPORT=9000
MODE="clan"
MODE="test"
COUNTRY="BRZ"
LANGUAGE="BRZ"
USETICKET="0"
[LANGUAGE]
LANG_TYPE="eng"
[LOCALE]
DBAgentPort=5100
DBAgentIP=127.0.0.1
[FILTER]
USE="0"
ACCEPT_INVALID_IP="1"
[ENVIRONMENT]
USE_HSHIELD="0"
USE_XTRAP="0"
USE_EVENT="0"
USE_FILECRC="0"
USE_MD5="0"
Locator.ini configuration
Quote:
[DB]
DNS="GunzDB"
USERNAME="sa"
PASSWORD="Server password"
[NETWORK]
IP="vps/host ip"
PORT="8900"
[ENV]
ID="1"
LOCATOR_UID_HIGH="5"
LOCATOR_UID_LOW="0"
MAX_ELAPSED_UPDATE_SERVER_STATUS_TIME="1000"
UDP_LIVE_TIME="10000000"
MAX_FREE_RECV_COUNT_PER_LIVE_TIME="9"
BLOCK_TIME="0"
UPDATE_UDP_MANAGER_ELAPSED_TIME="3"
MARGIN_OF_ERROR_MIN="500000"
USE_COUNTRY_CODE_FILTER="no"
GMT_DIFF="-3"
ELAPSED_TIME_UPDATE_LOCATOR_LOG="3600000"
ELAPSED_TIME_UPDATE_LOCATOR_LOG="10000"
ELAPSED_TIME_UPDATE_COUNTRYCODEFILTER_LOG="10000"
UPDATE_COUNTRY_CODE="66 89 69 77 73 83 65 78 68"
TEST_SERVER="0"
Matchagent.xml Configuration
Quote:
<?xml version="1.0" encoding="euc-kr"?>
<XML>
<AGENTCONFIG>
<NAME>Your Gunz Name</NAME>
<MAXCLIENT>500</MAXCLIENT>
<MATCHSERVERADDRESS ip="127.0.0.1" tcpport="6000"/>
<ADDRESS ip="vps/host ip" tcpport="7777" udpport="5100"/>
</AGENTCONFIG>
</XML>
**note** you should open the server files in this order;
matchserver/clanserver.exe > locator.exe > matchagent.exe
Gunz Database set up
- Open Microsoft SQL Server Management Studio Express.
- Hit the little drop down arrow for "Server Name:" and hit "browse for more".
- Hit the little + sign on "Database Engine" and you should be able to select a server.
- Hit ok.
- Now log on, use "sa" as your user name and the password is what ever you made it when you installed microsoft SQL.
- Right click on "database" and hit "New Database".
- For "Database name:" put "GunzDB" without quotes.
- Hit "ok".
- Now open database and you will see GunzDB in there, right click on it and hit Tasks>Restore>Database.
- Check "From device" and load GunzDB.bak usually in C:/Database or C:/GunzServer/Database.
- Hit ok then ok and it should give me a success message.
- Now your database is set up.
Odbcad set up
- Hit start>run and type in odbcad32.
- Hit Add...
- Scroll down until you see "SQL Server" and select it and hit FINISH.
- For "Name:" put in GunzDB.
- For "Description:" put in anything you want.
- For "Server:" put in your server name that you selected when you logged onto microsoft SQL or you should be able to hit the little drop down arrow and select your server.
- Hit next.
- Check "With SQL Server authentication using a login ID and password entered by the user."
- For "Login ID:" put in sa.
- For "Password:" put in your database password.
- Hit next.
- Check "Change the default database to:" and change it to "GunzDB".
- Now hit next then finish.
- Hit Test Data Source... when it pops up and you should get a "tests completed successfully!" message.
- Hit ok and ok, now your done.
Making an account manually/automatically
Manually:
- Go to Database\GunzDB\Tabels in microsoft SQL
- Right click on "Account.dbo" and hit "open table"
- Fill in the information
- "UserID" is the username
- UGradeID and PGradeID are the same, 1=normal user; 2=jjang; 253=Banned user; 254=Invisible mod/normal name with powers; 255=Admin
- "RegDate" can be any time but it has to be in this format; 6/30/2010 11:44:06 AM
- "Name,Email,Regnum,Age,Sex,etc..." don't need to be filled in
- **Note** don't fill in "AID"
- Once your done filling in the information hit enter then hit the red exclamation mark next to "Change Type"
- Now hit the black X and scroll down until you find "Login.dbo"
- Right click on it and hit open table
- Fill in the same UserID
- Add a password
- For the AID make it the aid that you got once you were done making your account in "Account.dbo"
- Hit enter then the red exclamation mark
- Now close "Login.dbo" (the black X)
Automatically:
- Download "Register" and put it into your xampp,wamp, or easyphp folder
- Open the folder and open "register.php" with notepad
- Change
Quote:
$pass="password here";
so it will connect to your database - Search for "Gunz Register page:" and add your gunz name to it
- Go to the bottom of the file and find the copyright sign and change it to (C) your gunz name
**Note** i did not make this register page, i just edited it -- Credits to Wizkid!!
How to make an auto updating launcher!
- Make a new folder in your xampp,wamp, easyphp folder and name it: "gunzweb"
- Open "gunzweb" and make a new folder inside of it and name it: "GunzUpdate"
- Now put a whole copy of your gunz client into the folder
- Once done move zpatchbuilder.exe into the folder and run it, it will build your patch.xml **note** make sure your runable is named gunz.exe or the patch WILL fail! if you want it named something else you can open patch.xml and search for gunz.exe and rename it to something such as ProGunz.exe and rename gunz.exe in the folder ProGunz.exe and it will patch for ProGunz.exe and not Gunz.exe
- Now download "Launcher" and put it in your xampp,wamp,easyphp folder
- Now open "GunzLauncher.exe" in your client folder with hex workshop (right click on it and hit open with hex workshop)
- Hit ctrl+f and change type: to text string
- Now search for "Http://" and change the ip that is there to your ip
- Now search for gunzweb and change the ip adresses to yours
- Now close and save it, /gg you have an updating launcher :)
WHOOPS!
Setting up the server in Microsoft SQL
- Go to: Databases\GunzDB\Tables and open "LocatorStatus.dbo"
- Change the ip to the vps/hosts ip
- Hit the red exclamation mark then close (black X)
- Now open "ServerStatus.dbo" and change the ip to the vps/hosts ip
- Change the ServerName to your gunz name then hit the red exclamation mark
Editing your system.mrs to show the server
- Decompile your system.mrs in your client folder
- Open System.xml with notepad
- Change your locatorlist part to look like mine :)
Quote:
<LOCATORLIST>
<LOCATOR id="1" IP="vps/hosters ip" />
<LOCATOR id="2" IP="127.0.0.1" />
</LOCATORLIST>
<TLOCATORLIST>
<LOCATOR id="1" IP="vps/hosters ip" />
<LOCATOR id="2" IP="127.0.0.1" />
</TLOCATORLIST>
- now save it and right click on it and hit "properties" then Filehashes tab and copy the crc32 code
- Now open filelist.xml and scroll all the way down to the bottom until you find:
Quote:
<FILE NAME="system/system.xml" CRC32="97782238"/>
and replace the crc32 with the new one you just copied - Now save your filelist.xml and compile your system.mrs and replace it with your old one.
This is a pretty basic tut on how to set up your gunz server! very noob friendly. Thanks for taking the time to read this, i hope it helped for all of you, this will let the host be able to play too, tut made by me daniel131605 :thumbup:**note** to turn Quest+Clan on download clanserver.exe and put it in your matchserver folder and run that instead of matchserver.exe (if you followed my tut correctly it should work ^^)
-
Re: [Tut] Setting up a private server *no errors*
-
Re: [Tut] Setting up a private server *no errors*
Code:
<LOCATORLIST>
<LOCATOR id="1" IP="vps/hosters ip" />
<LOCATOR id="2" IP="vps/hosters ip" />
</LOCATORLIST>
<TLOCATORLIST>
<LOCATOR id="1" IP="vps/hosters ip" />
<LOCATOR id="2" IP="vps/hosters ip" />
</TLOCATORLIST>
All wrong actually, is right
-
Re: [Tut] Setting up a private server *no errors*
actually no its not >_> what i have is right
-
Re: [Tut] Setting up a private server *no errors*
-
Re: [Tut] Setting up a private server *no errors*
damn dude put them all in 1 file, not 500 fucking files, so annoying...
-
Re: [Tut] Setting up a private server *no errors*
Lol. Itll take forever for you to upload em'.
-
Re: [Tut] Setting up a private server *no errors*
good tut!!
keep-up the work :)
-
Re: [Tut] Setting up a private server *no errors*
please provide another link for : CLanServer.exe
as the link is not working :(
re-upload please!
-
Re: [Tut] Setting up a private server *no errors*
""# Check "From device" and load GunzDB.bak usually in C:/Database or C:/GunzServer/Database.
# Hit ok then ok and it should give me a success message.
# Now your database is set up.""
please helpe stuck in that problem!!
-
Re: [Tut] Setting up a private server *no errors*
Quote:
Originally Posted by
puneethjain
""# Check "From device" and load GunzDB.bak usually in C:/Database or C:/GunzServer/Database.
# Hit ok then ok and it should give me a success message.
# Now your database is set up.""
please helpe stuck in that problem!!
download the server files then go into mssql and right click and hit new database and name it GunzDB and hit ok then right click on it and find where the restore db is click on that then click select from device and select the database.bak after you extracted the server files to C:/ if it opens the folder but it won't show the files put the database.bak and the database.sql files in C:/ and then select it again then go to options and check replaces database which is the first check mark at the top then hit ok and it will work, next time please explain what you need help with >_>
-
Re: [Tut] Setting up a private server *no errors*
Dude my matchserver doesn't open up but locator and match agent does.
-
Re: [Tut] Setting up a private server *no errors*
Quote:
Originally Posted by
dean11
Dude my matchserver doesn't open up but locator and match agent does.
download the clanserver.exe and test that
-
Re: [Tut] Setting up a private server *no errors*
QQ Nice :) good for newbies
-
Re: [Tut] Setting up a private server *no errors*
dude...daniel i did what you said see the fucking result man!!
here's the pic
stuckk still what to do:??
Imageshack - problem1.png [ how i set it ]
Imageshack - problem2m.png [ what happens when i click ok]
-
Re: [Tut] Setting up a private server *no errors*
ok check the box thats under "Restore" then go to options tab on the top left and check overwrite existing database and then hit ok
-
Re: [Tut] Setting up a private server *no errors*
btw put the download links at the top :)
-
Re: [Tut] Setting up a private server *no errors*
Nice post from a thread 2 weeks old
Btw, i see no credits to me or GUNZ for the clanserver,
and tbh, you have alot of errors with your tutorial in
general....
If people can't read the normal tut and get it, then
they dont deserve to have a server. Dumbing it down
just takes away from the servers that actually are
made by people who can pass the fifth grade
-
Re: [Tut] Setting up a private server *no errors*
Quote:
Originally Posted by
Wucas
Nice post from a thread 2 weeks old
Btw, i see no credits to me or GUNZ for the clanserver,
and tbh, you have alot of errors with your tutorial in
general....
If people can't read the normal tut and get it, then
they dont deserve to have a server. Dumbing it down
just takes away from the servers that actually are
made by people who can pass the fifth grade
lol well yeah i guess your right but i think if they want a server they should learn and dumbing it up a bit makes it easier to understand :drool:
-
Re: [Tut] Setting up a private server *no errors*
i did everything but now when i try 2 log in it says server cannot access help pl0x?
-
Re: [Tut] Setting up a private server *no errors*
i dont think no one here wants Urban gunz launcher under
Gunz Launcher plz remove:ott1:
-
Re: [Tut] Setting up a private server *no errors*
Help!!
Odbcad set up
< im in step 6 .. i type my server ( btw im confused here should i put my Gunz name ? or my username ?
then i click next then check "With SQL Server authentication using a login ID and password entered by the user."
then type my username and password
then click next
( PROBLEM )
there's a dialog box appeared says :
Connection failed:
SQLState: '01000'
SQL Server Error : 53
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen(Connect()).
Connection failed:
SQLState: ' 08001
SQAL Server Error : 17
[Microsoft][ODBC SQL Server Driver][DBNETLIB]Server does not exist or access denied.
-
Re: [Tut] Setting up a private server *no errors*
Btw in Opening SQL
this is my format
Authentication : Windows Authentication
Because if i use SQL Server Authentication
and i type username : sa pass : **********
i cant connect it says :
Login failed for user sa
-
Re: [Tut] Setting up a private server *no errors*
My problem is now solve my last problem is
" I DONT HAVE SERVER " !! and btw
why i didnt use
HEX WORKSHOP ?
PE EXPLORER ?
WAMPP ?
Why there's no TUTORIAL about this is?
I DONT HAVE SERVER !!! HELP PLS
and i dont have any router ? how can i enter my username and password = for router?
-
Re: [Tut] Setting up a private server *no errors*
Damn nice tutorial.
I'll use this one when I go to make my test server.
-
Re: [Tut] Setting up a private server *no errors*
Quote:
Originally Posted by daniel131605
How to make an auto updating launcher!
Make a new folder in your xampp,wamp, easyphp folder and name it: "gunzweb"
Open "gunzweb" and make a new folder inside of it and name it: "GunzUpdate"
Now put a whole copy of your gunz client into the folder
Once done move zpatchbuilder.exe into the folder and run it, it will build your patch.xml **note** make sure your runable is named gunz.exe or the patch WILL fail! if you want it named something else you can open patch.xml and search for gunz.exe and rename it to something such as ProGunz.exe and rename gunz.exe in the folder ProGunz.exe and it will patch for ProGunz.exe and not Gunz.exe
Now download "Launcher" and put it in your xampp,wamp,easyphp folder
Now open "GunzLauncher.exe" in your client folder with hex workshop (right click on it and hit open with hex workshop)
Hit ctrl+f and change type: to text string
Now search for "Http://" and change the ip that is there to your ip
Now search for gunzweb and change the ip adresses to yours
Now close and save it, /gg you have an updating launcher :)
Well I did all the steps everything works ONLY when i update it will not work::::
Code:
Log start : Sat Oct 09 01:05:42 2010
Current Directory : C:\Users\Stann--\Desktop\BubbleGunz\BubbleClient
01:05:42:326 [APP] OS version : Professional (Build 7600)
01:05:42:358 [APP] Window created successfully.
01:05:44:538 [ZUpdate] Create.
01:05:44:538 [ZFileTransfer] Create.
01:05:44:538 [ZFileTransfer] Create successfully complete.
01:05:44:539 [ZFileTransfer] Open connection.
01:05:44:539 [ZFileTransfer] Open connection successfully complete.
01:05:44:539 [ZFileTransfer] Change directory.
01:05:44:539 [ZFileTransfer] Change directory successfully complete.
01:05:44:539 [ZUpdate] Create successfully compete.
01:05:44:541 [APP] Download patch info file
01:05:44:542 [ZUpdate] Start update.
01:05:44:543 [ZFileTransfer] Download file : ./patch.xml to ./patch.xml
01:06:05:551 [ZFileTransfer] ERROR : Kan geen verbinding met de server maken.
01:06:05:552 [ZUpdate] ERROR : Start update FAILED!!!
01:06:05:552 [APP] ERROR - Cannot download patch info file
01:06:05:552 [APP] Updater error message :
The update server is not responding or is not running right now.
[Tip] Please check your firewall.
[Tip] Please try again after a while.
01:06:05:552 [App] File transfer error message :
Kan geen verbinding met de server maken.
Kan geen verbind met de server maken = Can't make a connection with the server
[THIS IS MY PATCHLOG]
-
Re: [Tut] Setting up a private server *no errors*
Help !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
---------- Post added at 12:33 AM ---------- Previous post was at 12:07 AM ----------
I NEED FULL TUTORIAL PLS -_-
why i didnt use hex editor , xampp and PE EXPLORER ?
and i type my DEFAULT GATEWAY in web browser -- > and there's nothing
it says : cant connect/no connection !!
The connection was reset
The connection to the server was reset while the page was loading.
* The site could be temporarily unavailable or too busy. Try again in a few
moments.
* If you are unable to load any pages, check your computer's network
connection.
* If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.
-
Re: [Tut] Setting up a private server *no errors*
Answer me !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
Re: [Tut] Setting up a private server *no errors*
-
Re: [Tut] Setting up a private server *no errors*
Dun know :)
---------- Post added at 01:25 PM ---------- Previous post was at 01:07 PM ----------
I DONT KNOW HOW ? o.0 ?
-
Re: [Tut] Setting up a private server *no errors*
pff.... Use hamachi if u dont know ;)
-
Re: [Tut] Setting up a private server *no errors*
i dont want hamachi >.> i reset my database i follow max tutorial BYE ! :))
-
Re: [Tut] Setting up a private server *no errors*
-
Re: [Tut] Setting up a private server *no errors*
i have a problem in my launcher .. its says :
patch.xml failed
how can i fixed this ?
some ragezoner says : change Theduel.exe to Gunz.exe
i follow it but nothing's change ! HELP :(