Jump to content

Kalazath

Members
  • Posts

    3
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Kalazath

  1. so which shud i adjust bro ?

       if(!resetTime)
       {
           // initialize reset time
           // for normal instances if no creatures are killed the instance will reset in two hours
           if(entry->map_type == MAP_RAID || difficulty > DUNGEON_DIFFICULTY_NORMAL)
    [b][color=Red]-            resetTime = GetResetTimeFor(mapId,difficulty);[/color]
    [color=Red]+           [/color][color=Lime]resetTime = time(NULL) + 5 * HOUR;[/color][/b]
    
           else
           {
               resetTime = time(NULL) + 2 * HOUR;
               // normally this will be removed soon after in InstanceMap::Add, prevent error
               ScheduleReset(true, resetTime, InstResetEvent(0, mapId, difficulty, instanceId));
           }
       }
    
    

  2. Anybody can help on setting instance reset timer for heroic raids or normal raids ?

    For example , 5-6 hours time ?

    Tried searching in the forum, some doesn't work & i cant find any others that are related. Even tried setting conf file, still doesn't work . Thank you very much.

    InstanceSaveMgr.cpp

    InstanceSave* InstanceSaveManager::AddInstanceSave function

×
×
  • Create New...

Important Information

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. Privacy Policy Terms of Use