Change Revive Time

Results 1 to 6 of 6
  1. #1
    Android Developer doidloko is offline
    MemberRank
    Aug 2012 Join Date
    BrasilLocation
    253Posts

    happy Change Revive Time

    Hello!
    I GO SHOW HERE HOW CHANGE THE REVIVE TIME.

    First let the source
    warz.sln that generates warz.exe

    search for: timeToReviveInSec int = 1 * 60 * 60 * 1;

    likely going to be like this: int timeToReviveInSec = 1 * 60 * 60 * 1;

    then change to 10 minutes in my case
    timeToReviveInSec int = 600;

    COMPILE FINAL

    Now we go to the navicat
    navicat open - select the database warz - dbo - Functions

    Here we will change in 3 places
    First open function.
    WZ_CharRevive

    change this line
    @ SecToRevive = DATEDIFF (second, GETUTCDATE (), DATEADD (hour, 1, DeathUtcTime))
    to
    @ SecToRevive = DATEDIFF (second, GETUTCDATE (), DATEADD (second, 600 DeathUtcTime))


    Now the same thing
    WZ_GetAccountInfo1
    DATEDIFF (second, GETUTCDATE (), DATEADD (hour, 1, DeathUtcTime)) as 'SecToRevive'
    to
    DATEDIFF (second, GETUTCDATE (), DATEADD (second, 600, DeathUtcTime)) as 'SecToRevive'


    and
    WZ_GetAccountInfo2
    DATEDIFF (second, GETUTCDATE (), DATEADD (hour, 1, DeathUtcTime)) as 'SecToRevive'
    to
    DATEDIFF (second, GETUTCDATE (), DATEADD (second, 600, DeathUtcTime)) as 'SecToRevive'

    Ready ae = this) if they want to change the time so these procedures change seconds
    600 = 10 minutes


  2. #2
    Account Upgraded | Title Enabled! SazanOFF94 is offline
    MemberRank
    Apr 2013 Join Date
    RussianZLocation
    216Posts

    Re: Change Revive Time

    Nice Tutorial) Thanks))

  3. #3
    Enthusiast 4DR3AM is offline
    MemberRank
    May 2013 Join Date
    36Posts

    Re: Change Revive Time

    timeToReviveInSec int = 1 * 60 * 60 * 1;

    How can i find this on the warz.sln? .-.

  4. #4
    Account Upgraded | Title Enabled! JonnyTruant is offline
    MemberRank
    Mar 2013 Join Date
    555Posts

    Re: Change Revive Time

    Try pressing Ctrl + F?

  5. #5
    Enthusiast 4DR3AM is offline
    MemberRank
    May 2013 Join Date
    36Posts

    Re: Change Revive Time

    nevermind, i just found :P

  6. #6
    Account Upgraded | Title Enabled! Duong Phan is offline
    MemberRank
    Sep 2012 Join Date
    VNLocation
    203Posts

    Re: Change Revive Time

    i found out that you just need to change in store procedure ...



Advertisement