I already followed this guide(http://forum.ragezone.com/f311/mef-824542/) but still, mlog says invalid locale.
Printable View
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."