Jump to content

OfflineShop time crash my core.


Recommended Posts

Hei dev , i change the time at offlineshop ,  i don`t know if this is the problem , but the core are crash with this error:

Spoiler

Program terminated with signal SIGSEGV, Segmentation fault.
#0  CEntity::GetDesc (this=<optimized out>) at entity.h:51
51      entity.h: No such file or directory.
[Current thread is 1 (LWP 100145)]
(gdb) bt full
#0  CEntity::GetDesc (this=<optimized out>) at entity.h:51
No locals.
#1  CHARACTER::ChatPacket (this=0x0, type=1 '\001',
    format=0x82fd800 <error: Cannot access memory at address 0x82fd800>)
    at char.cpp:3993
        d = <optimized out>
        chatbuf = "\000s|.\b\001\000\000\000\315\235\377\377\003", '\000' <repea               ts 27 times>, ",\344\357\375\000\240P/(\235\377\377N^\024\b\004\235\377\377\003\               251\027)\000\000\000\000xa\031)\204\235\377\377\000\020\000\000\360\235\377\377\               030\000\000\000\000\240P/\000\020\000\000\034T\036[N\000\000\000\000PiLxa\031),\               344\357\375\000\240P/\000\020\000\000\034T\036[\270\235\377\377\064Z\024\b\204\2               35\377\377\000\v[]\bQ\036[\000\020\000\000\034T\036[\360\235\377\377\030\000\000               \000\000\240P/xa\031),\344\357\375\210\235\377\377\000\240P/\030\000\000\000\360               \235\377\377\000\v[]\bQ\036"...
        args = 0x0
        len = <optimized out>
        pack_chat = {header = 0 '\000', size = 0, type = 0 '\000', id = 0,
          bEmpire = 0 '\000'}
        buf = {buf = 0x291bc09c, forceDelete = 168}
#2  0x081837d7 in CInputP2P::ChangeOfflineShopTime (this=0x3559c8f8,
    d=0x3559c500, c_pData=0x76d03000 "\037\003)") at input_p2p.cpp:478
        iTime = 1
---Type <return> to continue, or q <return> to quit---
 

 

The files where i change the time is offline_manager.cpp / char.cpp / input_p2p.cpp in :

Spoiler

case 1:
                    iTime = 2 * 60 * 60;
                    break;
                case 2:
                    iTime = 6 * 60 * 60;
                    break;
                case 3:
                    iTime = 12 * 60 * 60;
                    break;

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.