2 errors to fix but i don't know what to do

Results 1 to 13 of 13
  1. #1
    Member Raizoku is offline
    MemberRank
    Jan 2009 Join Date
    50Posts

    2 errors to fix but i don't know what to do

    Hi everyone,

    I would build my sources but i have 2 little errors that i don't understand.

    Could someone help me to correct them ? I will really thank you all guys.

    Here we go :



  2. #2
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: 2 errors to fix but i don't know what to do

    Next time, post your errors in English please, would really help a lot.

    Find:
    Code:
    if (bind(m_Socket, (struct sockaddr*)&LocalAddress, sizeof(LocalAddress)) == SOCKET_ERROR)
    Replace with:
    Code:
    if ((::bind(m_Socket, (struct sockaddr*)&LocalAddress, sizeof(LocalAddress))) == SOCKET_ERROR)
    Find:
    Code:
    nRet = bind(m_sdListen, (struct sockaddr *)&si_addrlocal, sizeof(si_addrlocal));
    Replace with:
    Code:
    nRet = ::bind(m_sdListen, (struct sockaddr *)&si_addrlocal, sizeof(si_addrlocal));

  3. #3
    Member Raizoku is offline
    MemberRank
    Jan 2009 Join Date
    50Posts

    Re: 2 errors to fix but i don't know what to do

    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 ;)

  4. #4
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: 2 errors to fix but i don't know what to do

    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.

  5. #5
    Member Raizoku is offline
    MemberRank
    Jan 2009 Join Date
    50Posts

    Re: 2 errors to fix but i don't know what to do

    Ok now i succeed in compiling Gunz.exe (renamed in theduel.exe) bt when i try to launch the game it doesn't start.

  6. #6
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: 2 errors to fix but i don't know what to do

    Quote Originally Posted by Raizoku View Post
    Ok now i succeed in compiling Gunz.exe (renamed in theduel.exe) bt when i try to launch the game it doesn't start.
    Post your mlog.txt

  7. #7
    Member Raizoku is offline
    MemberRank
    Jan 2009 Join Date
    50Posts

    Re: 2 errors to fix but i don't know what to do

    mlog.txt

    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
    hmmm i don't know why theduel doesn't read system.

    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.

  8. #8
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: 2 errors to fix but i don't know what to do

    Encrypt your client files with the same encryption as the source, that will fix your problem.

  9. #9
    Member Raizoku is offline
    MemberRank
    Jan 2009 Join Date
    50Posts

    Re: 2 errors to fix but i don't know what to do

    All the sources are compiled in BRZ_Release_Publish with the client of jur13n. I already compiled from another sources and it worked. Can it be this that causes the bug ? :


  10. #10
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: 2 errors to fix but i don't know what to do

    Encrypt your client.

  11. #11
    Member Raizoku is offline
    MemberRank
    Jan 2009 Join Date
    50Posts

    Re: 2 errors to fix but i don't know what to do

    Which software do i need to use to encrypt the files with the same encryption code in Mzip.cpp ?

  12. #12
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: 2 errors to fix but i don't know what to do

    GunnyCrypt

  13. #13
    Member Raizoku is offline
    MemberRank
    Jan 2009 Join Date
    50Posts

    Re: 2 errors to fix but i don't know what to do

    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.



Advertisement