I'm trying to make a GunZ Private Server but I'm stuck on the Hex Editing your launcher, if someone can help me, by teamviewer, or telling me how to do it, then please do.
I've used many tuts but I don't really understand whats going on..
Printable View
I'm trying to make a GunZ Private Server but I'm stuck on the Hex Editing your launcher, if someone can help me, by teamviewer, or telling me how to do it, then please do.
I've used many tuts but I don't really understand whats going on..
What part are you getting stuck in the launcher (Hex)?
PM me.
You're most likely copy and pasting your IP over where you're supposed to type it. When you hex edit after searching for HTTP (Text String) you need to click before 127 (Click before the 1) and type in your IP over the existing. You will run into the /Launcher/Start text, so just re-type it that's what the ... at the end are for.
"http://127.0.0.1/Launcher/start.html. . . . . . . . . . . . . ."
Say your IP is 12.345.678.9
http://12.345.678.9/Launcher/start.html. . . . . . .
Starting at the 8 you will now be going over /Launcher so it would look like "http://12.345.678.9auncher/start.html" so just click after the 9 and type /Launcher/start.html
I can't recommend you a good tutorial because I don't know what type of server you'd like, but here's the one that I tend to use. (Only because I like to start with small clients and build them up, plus I know 110% this tutorial works)
http://forum.ragezone.com/f497/tut-m...server-602568/
If that doesn't work here are 2 others;
http://forum.ragezone.com/f497/guide...-based-632661/
http://forum.ragezone.com/f497/br-ja...client-444565/
This is my best options for me since I'm doing 2007 files: http://forum.ragezone.com/f497/br-ja...client-444565/
Thanks, both you guys :)
Here's 2008 server repack: http://forum.ragezone.com/f245/gunz-...client-701737/
Never tried this because it never worked for me, but it might work for you.
Ugh.. I hate hex edit I can never find the http thing.. it takes about 10 hours.. can you guys help me locate it?
search gunzweb
My Wan IP = 66.56.56.218 I did http://66.56.56.218/Launcher/start.htm
Is there anything else I have to add? Because I launch my server, start my launcher, then my launcher closes automatically.
Upload your Default Launcher and PM me it, I'll Hex it for you.
GunzLauncher.exe
EDIT : I can't PM because of post count.
Alright let me download the Hex Editor and I'll have it done in a minute. (I'll edit this post with the new one) I have one question though, did you edit the Launcher with PE Explorer?
Alright so I don't have to PE Edit it since you already did, good because my download speed is horrid atm. Just got done installing Hex Editor going to Download the launcher and start on it now.
EDIT: This Launcher already is Hex'd with your IP, I need the Default one before you Hex edited it. Also your launcher could be closing due to other reasons as-well, if you have any Crash logs or a mlog post it in [code] tags
Ok I'll get default, do you want it PE Edited?
Nope just upload the Default one, not Hex or PE Edited :) Also don't forget to post any Crash logs/mlog.txt (Would be in your Gunz folder)
GunzLauncher.exe --- Default GunZLauncher
Load XML from memory : system/locale.xml- SUCCESS
Country : (BRZ), Language : (BRZ)
Load XML from memory : system/gametypecfg.xml
Load Config from file : config.xml- SUCCESS
Cannot open system/system.xml file.
Error!! - StringTable Initalize Failed
Check notify.xml
EDIT : How do i use code tags?
Hmm, Decompile your System.mrs and post your System.xml before I do anything with the launcher because according to this Log the problem is in your System.xmlQuote:
Cannot open system/system.xml file.
Error!! - StringTable Initalize Failed
Check notify.xml
To use Code tags put [code] your text [ /code] (take out the space before the /)
Code:<?xml version="1.0" encoding="UTF-8" ?>
<XML>
<XMLHEADER>version="1.0" encoding="UTF-8"</XMLHEADER>
<SKIN>Default</SKIN>
<DEFFONT>Arial</DEFFONT>
<IME>true</IME>
<BAREPORT>
<ADDR>www.battlearena.com</ADDR>
<DIR>incoming/gunz_global</DIR>
</BAREPORT>
<HOMEPAGE>
<URL>http://www.gunzonline.com</URL>
<TITLE>GunZ the Dual</TITLE>
</HOMEPAGE>
<EMBLEM_URL>http://gunzonline.com/emblems/</EMBLEM_URL>
<TEMBLEM_URL>http://gunzonline.com/emblems/</TEMBLEM_URL>
<LOCATORLIST>
<LOCATOR id="1" IP="66.56.56.218 (or NO-IP Address if you have a dynamic IP)" />
</LOCATORLIST>
<TLOCATORLIST>
<LOCATOR id="1" IP="66.56.56.218 (or NO-IP Address if you have a dynamic IP)" />
</TLOCATORLIST>
</XML>
Does your actual System.xml include the (or NO-IP Address)? If so remove that re-compile and try again with your Hex'd Launcher. (Although to my knowledge/personal experience I never had to Hex edit my Launcher to get my server to work)
Btw I have to go eat so my replies may take a little longer but I'll still try to help
This is how my system.xml looks like, gunzlauncher still closes... hmm
Code:<?xml version="1.0" encoding="UTF-8" ?>
<XML>
<XMLHEADER>version="1.0" encoding="UTF-8"</XMLHEADER>
<SKIN>Default</SKIN>
<DEFFONT>Arial</DEFFONT>
<IME>true</IME>
<BAREPORT>
<ADDR>www.battlearena.com</ADDR>
<DIR>incoming/gunz_global</DIR>
</BAREPORT>
<HOMEPAGE>
<URL>http://www.gunzonline.com</URL>
<TITLE>GunZ the Dual</TITLE>
</HOMEPAGE>
<EMBLEM_URL>http://gunzonline.com/emblems/</EMBLEM_URL>
<TEMBLEM_URL>http://gunzonline.com/emblems/</TEMBLEM_URL>
<LOCATORLIST>
<LOCATOR id="1" IP="66.56.56.218 />
</LOCATORLIST>
<TLOCATORLIST>
<LOCATOR id="1" IP="66.56.56.218 />
</TLOCATORLIST>
</XML>
Well your Launcher you originally uploaded was correct, your System.xml is correct so I'm not sure what the problem could be :\ Have you edited any other files recently?
Nope......
EDIT : If I compiled does the system folder get deleted and the system.mrs get updated?
Because the system folder is still there, just wondering
Yes when you decompile System.mrs it just makes a Folder for all the files inside of System.mrs. When you Decompile a file make sure you click and drag the original Mrs onto your Desktop as a Backup, after you Compile the folder delete the Folder so that all that's left is System.mrs and no System folder.
Okay, the launcher works now, there are no channels though, do I need to create one or something?
Go into your Matchserver folder and post what your Channel.xml says
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<XML id="channel">
<DEFAULTCHANNELNAME name="STR:CHANNEL_DEFAULT_NAME"/>
<DEFAULTRULENAME name="novice"/>
<CHANNEL name="STR:CHANNEL_NOVICE_NAME_1" maxplayers="200" rule="novice"/>
<CHANNEL name="STR:CHANNEL_NOVICE_NAME_2" maxplayers="200" rule="novice"/>
<CHANNEL name="STR:CHANNEL_NEWBIE_NAME_1" maxplayers="200" rule="newbie" levelmin='1' levelmax='10'/>
<CHANNEL name="STR:CHANNEL_NEWBIE_NAME_2" maxplayers="200" rule="newbie" levelmin='1' levelmax='10'/>
<CHANNEL name="STR:CHANNEL_NEWBIE_NAME_3" maxplayers="200" rule="newbie" levelmin='1' levelmax='10'/>
<CHANNEL name="STR:CHANNEL_ROOKIE_NAME_1" maxplayers="200" rule="rookie" levelmin='11' levelmax='20'/>
<CHANNEL name="STR:CHANNEL_ROOKIE_NAME_2" maxplayers="200" rule="rookie" levelmin='11' levelmax='20'/>
<CHANNEL name="STR:CHANNEL_MASTERY_NAME_1" maxplayers="200" rule="mastery" levelmin='21'/>
<CHANNEL name="STR:CHANNEL_MASTERY_NAME_2" maxplayers="200" rule="mastery" levelmin='21'/>
<CHANNEL name="STR:CHANNEL_ELITE_NAME_1" maxplayers="200" rule="elite" levelmin='35'/>
<CHANNEL name="STR:CHANNEL_ELITE_NAME_2" maxplayers="200" rule="elite" levelmin='35'/>
</XML>
Try using this Channel.xml, just replace the Channel Name with w.e you want it to be.
Code:<?xml version="1.0" encoding="UTF-8" ?>
<XML id="channel">
<DEFAULTCHANNELNAME name="STR:Canal 1"/>
<DEFAULTRULENAME name="elite"/>
<CHANNEL name="Free Channel 1" maxplayers="200" rule="elite"/>
<CHANNEL name="Free Channel 2" maxplayers="200" rule="elite"/>
<CHANNEL name="Event Channel" maxplayers="200" rule="elite"/>
<CHANNEL name="Staff Channel" maxplayers="200" rule="elite" levelmin='2' levelmax="1"/>
</XML>
Still no servers to log into
EDIT : IF you thought I meant ingame channels, then no, I meant the servers that you login to like the "North America Server 500/1000" That was an example
Oh, well in that case post your Locator.ini, AgentConfig.xml and Server.ini. Also make sure you have everything edited right in your SQL (ServerStatus.dbo etc.) And since you're using your WAN IP instead of Localhost make sure that you've Port-Forwarded correctly.
Code:[DB]
DNS="GunzDB"
USERNAME="sa"
PASSWORD="sa"
[NETWORK]
IP="66.56.56.218"
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"
Code:[DB]
DNS="GunzDB"
USERNAME="sa"
PASSWORD="sa"
[SERVER]
MAXUSER=500
SERVERID=1
SERVERNAME="MatchServer1"
FREELOGINIP="66.56.56.218"
KEEPERIP="66.56.56.218"
MONITORIP="127.0.0.1"
MONITORPORT=9000
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"
Alright well change MatchServer1 to your Gunz name (Make sure it's the same one you put in ServerStatus.dbo) Also post your AgentConfig.xml and make sure your Ports are forwarded correctly.
Code:<?xml version="1.0" encoding="euc-kr"?>
<XML>
<AGENTCONFIG>
<NAME>MatchServer1</NAME>
<MAXCLIENT>200</MAXCLIENT>
<MATCHSERVERADDRESS ip="127.0.0.1" tcpport="6000"/>
<ADDRESS ip="66.56.56.218 (or NO-IP Address if you have a dynamic IP)" tcpport="7777" udpport="5100"/>
</AGENTCONFIG>
</XML>
---------- Post added at 12:14 AM ---------- Previous post was at 12:09 AM ----------
Check if I port forwarded correctly portforward.bmp
Alright change the MatchServer1 to the name of your GunZ (Make sure that every field that says NAME or Server Name or anything like that all have the same Name, including in your SQL) IP's are right, so are the Ports.. Hmm...
Download and run this to see if your ports are open, Open Port Check - PortForward.com
Also did you setup odbcad32 correctly?
If they are all open and it still doesn't work, and you have odbcad32 setup correctly, try changing every IP to Localhost (127.0.0.1) instead of your WAN. Make sure you have the TCP/IP Protocols turned on in MySQL Server Management Studio Express (It will be under the same tab as Microsoft SQL Server 2005 in your Startup>Accessories)
If it still isn't working I don't know what else to tell you besides maybe tomorrow I could set everything up for you over Teamviewer. But so far everything is correct according to my knowledge and all the Tutorial's. I think you might have the same problem as I did a while back, Port's are all forwarded right and are open, everything else is setup but still no server. If that's the case it's a problem with your Router, I had to order a new Router that I was 100% sure was completely compatible with running a server, and now it works.
Well, for some reason my ODBC won't open... When you ODBC it does it have to be with the changed "MatchServer1"?
EDIT : I just checked all the ports, said they were port forwarded correctly..
EDIT EDIT : Now, when I try to login to MYSQL I getCode:"A network or related or instance-specific error occured while establishing a connection to SQL Server. The server was not found or accessible. Verify that instance name is correct and that SQL Server is configured to allow remote connections.(provider: Shared Memory Provider, error:40
Could not open a connection to SQL Server)(Microsoft SQL Server, Error: 2
Hmm, I'm not sure why odbcad won't open, I've never had problems with it.. For the MySQL problem click Options within the Login panel and make sure the Protocol is TCP/IP and in your Microsoft SQL Server Management Studio Express make sure that the TCP/IP Protocol is set as Running
How do I set the TCP/IP Protocol to running? Still getting error, also I finally got ODBC to open, after running as adminstrator.
Alright did you follow the tutorial in the GunZ Server Tut on how to set odbcad up? Well I don't have anything related to SQL installed on my computer so I'm just going from vague memory here, but there are 2 places that you need to change. In the Login panel for MySQL click Options, and there should be a couple drop-down options. If I remember it's under the "Protocol" Tab you click the Drop-Down and select TCP/IP. After that go to Start > Accessories > Your SQL Tab > Microsoft SQL Server Studio Management Express (I think, I can't remember the exact name) but it's under Microsoft SQL Server 2005 or w.e after that it should take a couple seconds to load and you should see like 4 or 5 different uh, 'rows' I guess. But they'll say TCP/IP and a couple others, right click each one and make sure they are set to running. If that's not correct then you'll have to wait until I install SQL stuff onto my CPU so I can make sure what I'm saying is 100% correct but as of now I'm just going by Vague memory.
If you want help privately (via TeamViewer or MSN or whatever), don't post here. You might want to read the rules once again ; http://forum.ragezone.com/f311/gunz-...please-703084/