Next time, post your errors in English please, would really help a lot.
Find:
Replace with:Code:if (bind(m_Socket, (struct sockaddr*)&LocalAddress, sizeof(LocalAddress)) == SOCKET_ERROR)
Find:Code:if ((::bind(m_Socket, (struct sockaddr*)&LocalAddress, sizeof(LocalAddress))) == SOCKET_ERROR)
Replace with:Code:nRet = bind(m_sdListen, (struct sockaddr *)&si_addrlocal, sizeof(si_addrlocal));
Code:nRet = ::bind(m_sdListen, (struct sockaddr *)&si_addrlocal, sizeof(si_addrlocal));
Really thank you Chrisss for this and yes sorry for the code in another language than English. Do you know where can i just change the language in VS 2013 ?
Thanks You ;)
No problem,
To change the Language, go to Tools > Options > Environment > International Settings and you can change your Language from there.
EDIT: Found it.
Last edited by Chrisss; 20-11-13 at 12:31 AM.
Ok now i succeed in compiling Gunz.exe (renamed in theduel.exe) bt when i try to launch the game it doesn't start.
mlog.txt
hmmm i don't know why theduel doesn't read system.GUNZ 1,0,0,290 launched. build (Nov 20 2013 00:37:55)
Log time (11/20/13 00:39:50)
CPU ID = GenuineIntel ( family = 518 , model = 10 , stepping = 7 ) @ 2095 MHz
Display Device = NVIDIA GeForce 410M ( vendor=10de device=1055 subsys=908b104d revision=a1 )
Display Driver Version = 9.18.0013.2702
Windows = 6.2 Build 9200 , (4175724KB) : ..
Cannot open system/locale.xml file.
Error!! - StringTable Initalize Failed
Cannot open system/gametypecfg.xml file.
Check notify.xml
i used these sources and in the tut they explained that we need to edit Mzip.cpp because of key (maybe encryption ?) but i don't know how to remove if i had it that's why theduel.exe can't read system.mrs ?
sources : http://forum.ragezone.com/f245/auragunz-source-967952/
Last edited by Raizoku; 20-11-13 at 01:00 AM.
Encrypt your client files with the same encryption as the source, that will fix your problem.
Encrypt your client.
Which software do i need to use to encrypt the files with the same encryption code in Mzip.cpp ?
GunnyCrypt
Really thank you Chrisss for your help i've built Gunz project with key 3 13 13 13 13 13 (for example) then i opened GunnyCrypt then past theduel.exe, generate the MRS.exe with the key 3 13 13 13 13 13 but after i can't encrypt my files from the client.
Could you "learn" me how to do it one time then i'm gone i think.