I downloaded Gunz's source, compiled it, removed xtrap and that serialkey validation, I can start the game, but in the login screen, I can't type neither my username nor my password.
What could possibly be wrong? (I never played Gunz before)
Printable View
I downloaded Gunz's source, compiled it, removed xtrap and that serialkey validation, I can start the game, but in the login screen, I can't type neither my username nor my password.
What could possibly be wrong? (I never played Gunz before)
you maybe have the password wrong and the mysql, just take a chill pill
Maybe interface xml bug?
It happened to me before, cuz i did something wrong in the ChatInput.
What do you mean by interface xml bug?
This helps?
Spoiler:
This sounds like a client problem not a runnable problem
You need to post mlog info and give us more information such as what client you are using (im assuming phoenix repack 2 eh?)
You can see in my previous post the mlog and my first post tells you which client I am using, the client compiled in dawson released source.
Ahh get phoenix client and replace your interface folder. May be u having problem with Default.mrs and loading.mrs . Just replace those two files :)
this one? http://forum.ragezone.com/f245/gunz-...client-701737/
@edit
It didnt work, mlog:
Spoiler:
What I am curious about is why you just didnt take the 5 min to remove MEF and use these client files.
(If you aren't aware of how to remove it, a simple search will bring you up a dozen topics describing how to do it)
MEF is fairly useless now days since it isn't secure so it just becomes a pain updating each xml. If you want protection just write your own file system.
You meant there are no labels to put your ID and Password?
Open Up your gunz source, go to Gunz >> Game >> ZGlobal.cpp. CTRL + F (make sure its on "Current Project) and search for "ShowWidget("Login_Logo", false);" (Without The "") then do the following.
Find This Code
Replace WithCode:#if defined(_DEBUG) || defined(_RELEASE)
ShowWidget("Login_Logo", false);
ShowWidget("Label_ID", false);
ShowWidget("LoginID", false);
ShowWidget("Label_Password", false);
ShowWidget("LoginPassword", false);
#else
ShowWidget("Login_Logo", false);
ShowWidget("Label_ID", false);
ShowWidget("LoginID", false);
ShowWidget("Label_Password", false);
ShowWidget("LoginPassword", false);
ShowWidget("LabelServerIP", false);
ShowWidget("ServerAddress", false);
ShowWidget("ServerPort", false);
Hope This HelpedCode:#if defined(_DEBUG) || defined(_RELEASE)
ShowWidget("Login_Logo", false);
ShowWidget("Label_ID", true);
ShowWidget("LoginID", true);
ShowWidget("Label_Password", true);
ShowWidget("LoginPassword", true);
#else
ShowWidget("Login_Logo", false);
ShowWidget("Label_ID", true);
ShowWidget("LoginID", true);
ShowWidget("Label_Password", true);
ShowWidget("LoginPassword", true);
ShowWidget("LabelServerIP", false);
ShowWidget("ServerAddress", false);
ShowWidget("ServerPort", false);
Yeah don't use the 2008 files as you are using the 1.5 source.
OK. I downloaded Phoenix client 1.5 and compiled the game in english release mode. But the game wont start, mlog follows:
I guess there is some file missing!Quote:
GUNZ 1,0,0,290 launched. build (Jun 3 2012 12:42:43)
Log time (06/03/12 12:44:30)
CPU ID = GenuineIntel ( family = 518 , model = 10 , stepping = 7 ) @ 2195 MHz
Display Device = NVIDIA GeForce GT 540M ( vendor=10de device=df4 subsys=9089104d revision=a1 )
Display Driver Version = 8.17.0012.9610
Windows = 6.1 Build 7600 , (4194303KB) : ..
Cannot open system/locale.xml file.
Error!! - StringTable Initalize Failed
Cannot open (null) file.
Invalid Locale
Remove Mef and that should solve ur prob
I already followed this guide(http://forum.ragezone.com/f311/mef-824542/) but still, mlog says invalid locale.
Yes thats wrong, do this:
Crtl F type += ".mef"
then above of that you will see
#ifdef _MEF
if you did it 15 times then its correct
After that crtl + h find xml.mef and replace it with xml
VS doesnt find #ifdef _MEF in any files in my solution, I only found xml.mef, removed the .mef and recompiled, still, mlog says invalid locale...
no, search for += ".mef" and then above that you will see #ifndef _DEBUG and change to #ifdef _MEF
Seems like it is fixed, but it is still not working. mlog:
Quote:
GUNZ 1,0,0,290 launched. build (Jun 3 2012 13:46:47)
Log time (06/03/12 14:21:22)
CPU ID = GenuineIntel ( family = 518 , model = 10 , stepping = 7 ) @ 2195 MHz
Display Device = NVIDIA GeForce GT 540M ( vendor=10de device=df4 subsys=9089104d revision=a1 )
Display Driver Version = 8.17.0012.9610
Windows = 6.1 Build 7600 , (4194303KB) : ..
Load XML from memory : system/locale.xml- SUCCESS
Country : (USA), Language : (USA)
Load Config from file : config.xml- SUCCESS
Load XML from memory : system/system.xml- SUCCESS
Load XML from memory : system/strings.xml(0x0009) - SUCCESS
Load XML from memory : system/cserror.xml(0x0009) - SUCCESS
Load XML from memory : system/messages.xml(0x0009) - SUCCESS
Load XML from memory : system/gametypecfg.xml
Compile with KOR_Release_Publish and open system.mrs and open locale.xml and change USA to KOR and compile and test
OK, changed everything, now a web page is being opened and the game closes. mlog:
Quote:
GUNZ 1,0,0,290 launched. build (Jun 3 2012 14:07:54)
Log time (06/03/12 14:53:29)
CPU ID = GenuineIntel ( family = 518 , model = 10 , stepping = 7 ) @ 2195 MHz
Display Device = NVIDIA GeForce GT 540M ( vendor=10de device=df4 subsys=9089104d revision=a1 )
Display Driver Version = 8.17.0012.9610
Windows = 6.1 Build 7600 , (4194303KB) : ..
Load XML from memory : system/locale.xml- SUCCESS
Country : (KOR), Language : (KOR)
Load Config from file : config.xml- SUCCESS
Load XML from memory : system/system.xml- SUCCESS
Load XML from memory : system/strings.xml(0x0012) - SUCCESS
Load XML from memory : system/cserror.xml(0x0012) - SUCCESS
Load XML from memory : system/messages.xml(0x0012) - SUCCESS
Load XML from memory : system/gametypecfg.xml
LOCALE:KOREA
Netmarble Certification Failed. Shutdown.
Routed to Website
Announcements : Log into the ijji.com GUNZ home page first and Click Play live to launch GunZ.
Open gunz source again, open Gunz >> Game >> ZGlobal.cpp, CTRL + F search for "Netmarble Certification Failed. Shutdown. " (without the "") underneath that you will see this code:
Replace With ThisCode:mlog( "Netmarble Certification Failed. Shutdown. \n");
return true;
}
After that, build source again and it will work..Code:mlog( "Netmarble Certification Failed. Shutdown. \n");
return false;
}
Hope it all helped
I managed to get it to work, but as soon as I open the game and it finish loading, I get one error: "cannot access server"
shouldnt I be able to see at least the login screen?
Ur matchserver is different, you must build the matchserver from your source
I build the match server and started it, log:
MatchAgent log:Quote:
Match-Server Log
[06/03/12 22:05:24] DBMS connected
[06/03/12 22:05:24] Command registeration completed
[06/03/12 22:05:25] Release Date : Jun 3 2012
[06/03/12 22:05:25] X-Trap Off
[06/03/12 22:05:25] MD5 Check Off
[06/03/12 22:05:25] Loop Log Save On - Time Gap : (3600)
[06/03/12 22:05:25] Server Country : BRAZIL
[06/03/12 22:05:25] Command version : (58)
[06/03/12 22:05:25] Event usable state : (false)
[06/03/12 22:05:25] Load event size : (0)
[06/03/12 22:05:25] FileCRCCheckSum usable state : (false)
[06/03/12 22:05:25] FileCRC size : (1)
[06/03/12 22:05:25] Country Code Filter usalbe state : (false)
[06/03/12 22:05:25] Accept Invalied IP state : (true)
[06/03/12 22:05:25] Keeper IP : (5.90.92.207)
[06/03/12 22:05:25] Monitor IP : (255.255.255.255)
[06/03/12 22:05:25] Ticket use : 0
[06/03/12 22:05:25] Match Server Created (Port:6000)
[06/03/12 22:05:32] Start agent Register (CommUID 0:10) IP:127.0.0.1, TCPPort:5100, UDPPort:7778
[06/03/12 22:05:32] Agent Added (UID:010)
[06/03/12 22:05:32] Agent Registered (CommUID 0:10) IP:127.0.0.1, TCPPort:5100, UDPPort:7778
I already opened system.xml and changed all the ips to 127.0.0.1 but still I get the same error.Quote:
Agent-Server Log
[06/03/12 22:05:32] Command registeration completed
[06/03/12 22:05:32] Release Date : Jun 3 2012
[06/03/12 22:05:32] Match Agent Created (Port:5100)
[06/03/12 22:05:32] Request Connect to matchserver ip(127.0.0.1), port(6000).
Alright, first MEF is completely secure, all you need to do is change the private key in MEncrypt before you encrypt the XML files.
Second, you can't use a normal MRS decompresser to extract the files since the MEF files will "deflate" to 0KB, use ThievingSix's MRS decompiler BETA (found in these forums) since it will preserve those files.
Third, MatchServer must be opened before MatchAgent so MatchAgent can connect (still haven't fixed that, MAIET?!). Also, what's up with your Monitor IP? You must also change the IP's in MatchServer, MatchAgent and Locator.
(Note; Locator is used to display the servers, MatchAgent fixes the NAT issues and MatchServer is the main server for the game)
I already opened Locator from the source, compiled it in release mode, it says:
Max Server Count -> 1
Current Server Count-> Run:1, Dead:0
Stop Server ID-> nothing
But sill I cant even go to the login screen to type my username and password, it says cant access server...
@OP, did you follow the basic steps to creating a server? If this is your first time you could refer to *LINK*, although some things are outdated, it is the same basic setup as is with the 2011 files
Completely secure is going a little far, but I agree I worded that wrong ;D.
This is what I should have said:
"The MEF encryption system for xmls will be useless now days unless you change the key from what MAIET currently uses. You could further your protection by just writing your own file system."
Have you made any additional changes to the source? I've never heard of a case where GunZ automatically attempts to connect to a server (excluding Locator).
Bruteforcing a long numerical and alphabetical key protected with RSAES_xxx (xxx = I can't remember lol) from the CryptoPP library is not easy, which is why the MEF files (such as the ones in IJJI's) were never "reversed"/"decompiled", but rather dumped from GunZ's internal memory. Writing your own would NOT be more secure, Lucas. :P Unless of course you specialize in that certain area, but the most you could gain is a small performance increase during loading; along with several headaches and weeks spent lol
No, I havent made any changes in the source. Could you send me a client, already compiled, not the same as the one from the source, just so I can test with another client... and what is a "runnable"?
SheenBR add me on my MSN and i will get your server working, chrismiskin1@hotmail.co.uk
Closed, I found a new client that works. :): Thank you all.