Cant read my Runnable after port to vs 2012

Results 1 to 7 of 7
  1. #1
    Valued Member ragezonezs is offline
    MemberRank
    Feb 2011 Join Date
    118Posts

    ! Cant read my Runnable after port to vs 2012

    Someone have experience like this? im porting national gunz source from visual studio 2003 to vs 2012 then after a successful build and putting to gunntcrypt and copying the encryption.exe to Client files rename to Gunz.exe and run it god it doesn't work.

    this is my mlog

    Cannot open system/locale.xml file.
    Error!! - StringTable Initalize Failed
    Cannot open system/gametypecfg.xml file.
    Invalid Locale


    Resolved! By changing encryption code
    Last edited by ragezonezs; 27-04-20 at 04:34 PM. Reason: Fixed


  2. #2
    Valued Member ragezonezs is offline
    MemberRank
    Feb 2011 Join Date
    118Posts

    Re: Cant read my Runnable after port to vs 2012

    When i login page and entering username and password and enter boom! its closed and gunz has stopped working someone can help me here?

    - - - Updated - - -

    GUNZ 1,0,0,290 launched. build (Apr 27 2020 22:39:43)
    Log time (04/27/20 22:52:37)
    CPU ID = GenuineIntel ( family = 518 , model = 10 , stepping = 7 ) @ 2494 MHz
    Display Device = Intel(R) HD Graphics 3000 ( vendor=8086 device=126 subsys=c606144d revision=9 )
    Display Driver Version = 9.17.0010.4229
    Windows = 6.2 Build 9200 , (2097151KB) : ..
    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
    InitializeNotify ok.
    WFog Enabled Device.
    device created.
    Video memory 693.500000
    shader initialize successful : 1
    main : RGetLenzFlare()->Initialize()
    BASIC GUNZ
    InitialLoading success.
    Fail to create Bitmap for Initial loading
    interface Initialize success
    ZApplication::OnCreate : begin
    0(Primary Sound Driver): Hardware Mixing Not Supported
    1(Speakers (2- High Definition Audio Device)): Hardware Mixing Not Supported
    [[[getMaxChannel32]]]]

    -------------------> Sound Engine Create : 0.669000

    sound engine create.
    Load XML from memory : System/tips.xml(0x0012)- SUCCESS
    start log bipmap
    end of load bitmaps2
    loading pictures : 1.645000
    warning : bitmap st1ge_labelbg.tga not found.
    warning : bitmap slot_head.tga not found.
    warning : bitmap slot_head.tga not found.
    warning : bitmap icon_gameroom.tga not found.
    warning : bitmap main_bg_t.png not found.
    warning : bitmap main_bg_b.png not found.
    IDLResource Loading Success!!
    IDL resources : 0.185000
    start InitInterface option
    Number of Display mode : 13
    Number of Display mode : 0
    end of InitInterface option ok
    Init maps : no Current ChannelRule
    Screen Effect Manager Create : 0.466000
    Screen effect manager create success.
    SFX/ef_hp ampulla.elu mesh Plane57 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_hp ampulla.elu mesh Plane50 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_hp ampulla.elu mesh Plane51 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_hp ampulla.elu mesh Plane52 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_hp ampulla.elu mesh Plane53 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_hp ampulla.elu mesh Plane54 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_hp ampulla.elu mesh Plane56 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_ap ampulla.elu mesh Plane50 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_ap ampulla.elu mesh Plane51 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_ap ampulla.elu mesh Plane52 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_ap ampulla.elu mesh Plane53 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_ap ampulla.elu mesh Plane54 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_ap ampulla.elu mesh Plane56 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_ap ampulla.elu mesh Plane57 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_haste ampulla.elu mesh Plane50 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_haste ampulla.elu mesh Plane51 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_haste ampulla.elu mesh Plane52 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_haste ampulla.elu mesh Plane53 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_haste ampulla.elu mesh Plane54 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_haste ampulla.elu mesh Plane56 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    SFX/ef_haste ampulla.elu mesh Plane57 node 2 face 0 point -> physique 3 °³ ÀÌ»ó
    Effect manager create success.
    Client create success.
    game interface create success.

    -------------------> GameInterface Create : 2.572000

    model/man/man-parts_shunter.elu mesh eq_chest_shunter node 34 face 0 point -> physique 3 °³ ÀÌ»ó
    model/man/man-parts_dryad.elu mesh eq_chest_dryad node 680 face 0 point -> physique 3 °³ ÀÌ»ó
    model/man/man-parts_gveteran.elu mesh eq_chest_gveteran node 6 face 2 point -> physique 3 °³ ÀÌ»ó
    model/man/man-parts_mummy.elu mesh eq_chest_mummy node 18 face 0 point -> physique 3 °³ ÀÌ»ó
    model/woman/woman-parts_blackdragon.elu mesh eq_legs_blackdragon node 301 face 1 point -> physique 3 °³ ÀÌ»ó
    model/woman/woman-parts_eskimo.elu mesh eq_chest_eskimo node 80 face 1 point -> physique 3 °³ ÀÌ»ó
    model/woman/woman-parts_bloodsuit.elu mesh eq_chest_bloodsuit node 129 face 0 point -> physique 3 °³ ÀÌ»ó
    model/woman/woman-parts_gveteran.elu mesh eq_chest_gveteran node 6 face 1 point -> physique 3 °³ ÀÌ»ó
    Load character.xml success,

    -------------------> Character Loading : 8.533000


    -------------------> WeaponMesh Loading : 1.414000

    Load weapon.xml success.

    -------------------> Worlditem Loading : 0.032000

    Load zitem info success.
    Load zBuff info success.
    Init world item manager success.
    Init map Descriptor success.
    Init channel rule manager success.
    Init abuse manager success.
    Init chatting filter. success

    -------------------> ETC .. : 2.473000

    BspObject open : begin interface/login/login.rs
    RBspObject::Open : Open_MaterialList
    RBspObject::Open : Open_LightList
    BspObject open object list : begin
    RBspObject::Open_ObjectList : size 5
    RBspObject::Open_ObjectList : end
    RBspObject::Open : OpenDescription
    RBspObject::OpenRs : file.Open
    RBspObject::OpenRs : file.Read(&header)
    RBspObject::OpenRs : file.Read(&nMaterial)
    RBspObject::OpenRs : Open_Nodes begin
    RBspObject::OpenRs : Open_Nodes end
    RBspObject::Open : OpenRs
    RBspObject::Open : OpenBsp
    BspObject load lightmap : file.Read(&header)
    BspObject load lightmap nCount = 1
    BspObject load lightmap 0
    BspObject load lightmap : file.Read(&m_nLightmap) done
    BspObject load lightmap : end
    RBspObject::Open : done
    Load smoke description mesh.
    Reset Device
    Video memory 693.500000
    shader initialize successful : 1
    main : OnCreate() done


    i dont see anything wrong with my mlog but why gunz stopped working?

  3. #3
    Proficient Member Pain is offline
    MemberRank
    Nov 2017 Join Date
    narutoverse lolLocation
    150Posts

    Re: Cant read my Runnable after port to vs 2012

    bump
    same error to me, later i port source, when i click to connect in login, gunz stop works

    someone can help?

  4. #4
    Account Upgraded | Title Enabled! suhil1 is offline
    MemberRank
    Apr 2010 Join Date
    310Posts

    Re: Cant read my Runnable after port to vs 2012

    this should fix your problem open CheckReturnCallStack.h replace with this
    #pragma once


    /*
    #ifdef _DEBUG
    #define CHECK_RETURN_CALLSTACK(FuncName) DWORD ret_ptr_dlrjsTmwlakdy = 0; \
    DWORD *dwI = NULL; \
    __asm {pushad} \
    __asm {mov eax, ebp} \
    __asm {add eax, 4} \
    __asm {mov eax, dword ptr ds:[eax]} \
    __asm {mov ret_ptr_dlrjsTmwlakdy, eax} \
    __asm {mov eax, FuncName} \
    __asm {mov dwI, eax} \
    __asm {popad}; \
    DWORD top = (DWORD)0x00401000 + 0x435000; \
    DWORD bottom = (DWORD)0x00401000; \
    if( (ret_ptr_dlrjsTmwlakdy <= bottom) || (ret_ptr_dlrjsTmwlakdy >= top) ) { \
    MCommand* pC=ZNewCmd(MC_REQUEST_GIVE_ONESELF_UP); ZPostCommand(pC); }
    #else
    #define CHECK_RETURN_CALLSTACK(FuncName)
    #endif


    // ÇÔ¼ö ÁøÀԽà ESP üũÇÏ·Á´Â Àǵµ·Î ¸¸µç µíÇÑ ¸ÅÅ©·Î (±×·¯³ª ¾ÆÁ÷ Á¦´ë·Î ±¸ÇöµÇ¾î ÀÖÁö ¾Ê´Ù)
    #ifdef _DEBUG
    #define CHECK_RETURN_CALLSTACK_ESP(FuncName) DWORD ret_ptr_dlrjsTmwlakdy = 0; \
    DWORD *dwI = NULL; \
    __asm {pushad} \
    __asm {mov eax, esp} \
    __asm {add eax, 4} \
    __asm {mov eax, dword ptr ds:[eax]} \
    __asm {mov ret_ptr_dlrjsTmwlakdy, eax} \
    __asm {mov eax, FuncName} \
    __asm {mov dwI, eax} \
    __asm {popad}; \
    DWORD top = (DWORD)0x00401000 + 0x435000; \
    DWORD bottom = (DWORD)0x00401000; \
    if( (ret_ptr_dlrjsTmwlakdy <= bottom) || (ret_ptr_dlrjsTmwlakdy >= top) ) { \
    MCommand* pC=ZNewCmd(MC_REQUEST_GIVE_ONESELF_UP); ZPostCommand(pC); }
    #else
    #define CHECK_RETURN_CALLSTACK_ESP(FuncName)
    #endif*/

    #define CHECK_RETURN_CALLSTACK(FuncName)
    #define CHECK_RETURN_CALLSTACK_ESP(FuncName)

    // mlog("callstack : 0x%X~0x%X, 0x%X\n", bottom, top, ret_ptr_dlrjsTmwlakdy ); \
    // mlog("func addr : 0x%x\n", dwI ); \
    // printf("callstack hack : 0x%X~0x%X, 0x%X\n", bottom, top, ret_ptr_dlrjsTmwlakdy ); \



    // #define CHECK_RETURN_CALLSTACK(FuncName) NULL;

  5. #5
    Valued Member ragezonezs is offline
    MemberRank
    Feb 2011 Join Date
    118Posts

    Re: Cant read my Runnable after port to vs 2012

    its working! thank you so much suhil1

  6. #6
    Account Upgraded | Title Enabled! suhil1 is offline
    MemberRank
    Apr 2010 Join Date
    310Posts

    Re: Cant read my Runnable after port to vs 2012

    Quote Originally Posted by ragezonezs View Post
    its working! thank you so much suhil1
    your welcome :)

  7. #7
    Valued Member ragezonezs is offline
    MemberRank
    Feb 2011 Join Date
    118Posts

    Re: Cant read my Runnable after port to vs 2012

    your the man suhil1 hehe my problem now is when i try to put to gunnycryp and putting code then copy the encrypted.exe rename to gunz.exe then run it doesn't ready my system.mrs



Advertisement