Two new questions

Results 1 to 3 of 3
  1. #1
    Valued Member wxk0248 is offline
    MemberRank
    Jan 2015 Join Date
    114Posts

    Two new questions

    1.How to modify the cooling time of entering single instance? Such as Hell Road(id 23933,23306).
    Using hell road as a template to modify the fast_team_build_config, and modify the task file appropriately, you can realize the entry of any instance without a team, which is an interesting mod, but there is a cooling time of 15 minutes after each entry, how to modify it?

    2.How to modify the maximum amount of money carried by character package?
    Only know that the maximum value is related to the role level,how to modify if you want to increase the upper limit of carrying money?




  2. #2
    Account Upgraded | Title Enabled! fazotron712 is offline
    MemberRank
    Jul 2012 Join Date
    -Location
    222Posts

    Re: Two new questions

    Quote Originally Posted by wxk0248 View Post
    1.How to modify the cooling time of entering single instance? Such as Hell Road(id 23933,23306).
    Using hell road as a template to modify the fast_team_build_config, and modify the task file appropriately, you can realize the entry of any instance without a team, which is an interesting mod, but there is a cooling time of 15 minutes after each entry, how to modify it?

    2.How to modify the maximum amount of money carried by character package?
    Only know that the maximum value is related to the role level,how to modify if you want to increase the upper limit of carrying money?


    1. gdeliveryd -> instanceman.cpp
    void InstanceManager::OpenSoloInstance(int64_t roleid, int lineid, int worldid)
    int timeout = Timer::GetTime() + 5 * 60;

    2. gs -> gmatrix.cpp
    gmatrix::gmatrix()
    ...
    for (int i = 1; i < 201; i++)
    {
    int64_t capacity = ((int64_t)(((int64_t)i*i*i*i*30+10000)*0.001)) *1000LL;
    if(capacity > 2000000000LL)
    {
    money_capacity[i] = 2000000000;
    }
    else
    {
    money_capacity[i] = (int)capacity;
    }

    }
    ...
    But there much more functions with fixed 2000000000 value. So u need to replace it everywhere.

  3. #3
    Valued Member wxk0248 is offline
    MemberRank
    Jan 2015 Join Date
    114Posts

    Re: Two new questions

    Quote Originally Posted by fazotron712 View Post
    1. gdeliveryd -> instanceman.cpp
    void InstanceManager::OpenSoloInstance(int64_t roleid, int lineid, int worldid)
    int timeout = Timer::GetTime() + 5 * 60;

    2. gs -> gmatrix.cpp
    gmatrix::gmatrix()
    ...
    for (int i = 1; i < 201; i++)
    {
    int64_t capacity = ((int64_t)(((int64_t)i*i*i*i*30+10000)*0.001)) *1000LL;
    if(capacity > 2000000000LL)
    {
    money_capacity[i] = 2000000000;
    }
    else
    {
    money_capacity[i] = (int)capacity;
    }

    }
    ...
    But there much more functions with fixed 2000000000 value. So u need to replace it everywhere.
    thanks.But I'm not familiar with C + +, I haven't tried to compile the source code



Advertisement