Jump to content

ds_aim

Banned
  • Posts

    442
  • Joined

  • Last visited

  • Days Won

    9
  • Feedback

    0%

Posts posted by ds_aim

  1. 38 minutes ago, wezt said:

    With new boos you may have problems, because of "boost::unordered_map<VID, size_t>::iterator iterTargetMap = rSkillUseInfo.TargetVIDMap.find(TargetVID);" in char_skill.cpp

    Fix for boost:

      Reveal hidden contents

     

    In char_skill.cpp:

    1) Find "boost::unordered_map<VID, size_t>::iterator iterTargetMap = rSkillUseInfo.TargetVIDMap.find(TargetVID);" replace with "boost::unordered_map<DWORD, size_t>::iterator iterTargetMap = rSkillUseInfo.TargetVIDMap.find((DWORD)TargetVID);"

    2) Find "rSkillUseInfo.TargetVIDMap.insert( std::make_pair(TargetVID, 1) );" replace with "rSkillUseInfo.TargetVIDMap.insert( std::make_pair((DWORD)TargetVID, 1) );"

    In char.h:

    Find "boost::unordered_map<VID, size_t> TargetVIDMap;" replace with "boost::unordered_map<DWORD, size_t> TargetVIDMap;"

     

     

    And if you want to compile game and/or with '-static' flag (with this you'll not need any libs on x64 operating systems), you have to change default setup config for devil. Also you'll need to include additional libs in game/src/Makefile 

    Check spoiler ;)

      Reveal hidden contents

    yqTGqhK.png

    n1wvzzS.png

     

    Regards.

    You can replace iterators with auto.. this solved problem for me

     

    auto iterTargetMap = rSkillUseInfo.TargetVIDMap.find(TargetVID);
    
  2. 1 minute ago, JachuPL said:

    It's not a source code problem since I've tried three versions: Source1 which is edited mainline, Source2 which is an extended fork of Source1 and clean mainline and each one is failing to launch. All the versions I've tried were also compiled on windows and worked without crash, so I think it's really not a source code problem. The funny thing is, the first launch after freebsd boots is always successfull (db works like a charm), but the next ones aren't. Same cores are working without a crash on my physical machine (configured circa September 2015), but not on a new virtual machine (Hyper-V).

    Yes,  i know.  The problem is charset set. :) confirmed. 

  3. 5 minutes ago, JachuPL said:

     

    already linking static with -static option in CFLAGS. Is this what you mean?

    Yes, if you say works on old machine seems to be a dependecy problem. If you already did with -static then can be a source code problem. :)

    Also in all db core is a problem with charset set. As i can show from syserr, the db stop at charset . It's easy to solve, you should know simple things like this since is a bug from 2014.

  4. 18 minutes ago, JachuPL said:

    Bumping this thread, because of the same problem. I use FreeBSD 9.3 i386 and db keeps crashing all the time. Important fact - this is probably NOT caused by source code, because I've tried two separate db cores and both has crashed. The funny thing is that everything works on machine that was configured before 2016, but not on a machine I created today (I've only installed git and mysql55-server). What's going on?

    Link static 

  5. 12 minutes ago, Metin2Place said:

    Fix it on 2089M but now I can't delete friends from my friend list. They dissapear for the moment but when I relog/ teleport they appear again. Any solution?

    Just update to 40k, why the fuck you guys still use 2089m  ... I can't understand.

×
×
  • 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.