Castle Siege

Results 1 to 7 of 7
  1. #1
    Enthusiast IOException is offline
    MemberRank
    Mar 2016 Join Date
    25Posts

    Castle Siege

    Hello,

    I'm using http://forum.ragezone.com/f197/muser...e-3-a-1055512/
    I'm having a problem.
    Castle Siege is not working.
    Date in database doesnt change.
    For example i set it 2016-07-10 - 2016-07-17, tomorrow the date will be the same in the database.
    My Config:
    Code:
    //=======================// CASTLE SIEGE SETTINGS
    //=======================
    //
    
    
    0
        7    // How many days will last the entire cycle of the event
    end
    
    
    
    
    //=========================================================================
    // Setting of castle periods.. 
    // Period ID    Day    Hour    Minute 
    //=========================================================================
    1
        1    0    0    0    // register period
        2    1    23    59    // idle state
        3    2    0    0    // register mark of the lord state
        4    5    0    0    // idle state
        5    5    12    0    // castle attack guild notification state
        6    5    19    0    // ready for castle siege state
        7    6    16    0    // castle siege start state
        8    6    18    0    // castle siege end state
        9    7    0    0    // end of cycle (restart from state 1, automaticaly)
    end
    
    
    //=========================================================================
    // Settings of NPC located in loren
    //=========================================================================
    //     NPC    ID     DBStore Def     Recover HP     StartHP SX     SY     DX     DY     DIR
    //----------------------------------------------------------------------------------------------------------------------------------
    2
        283    1    1    1    0    0    1500000    94    227    -1    -1    1   //Guardian Statue
        283    2    1    1    0    0    1500000    94    182    -1    -1    1   //Guardian Statue
        283    3    1    1    0    0    1500000    82    130    -1    -1    1   //Guardian Statue
        283    4    1    1    0    0    1500000    107    130    -1    -1    1   //Guardian Statue
    
    
        277    1    1    1    0    0    1900000    93    204    -1    -1    1   //Castle Gate
        277    2    1    1    0    0    1900000    81    161    -1    -1    1   //Castle Gate
        277    3    1    1    0    0    1900000    107    161    -1    -1    1   //Castle Gate
        277    4    1    1    0    0    1900000    67    114    -1    -1    1   //Castle Gate
        277    5    1    1    0    0    1900000    93    114    -1    -1    1   //Castle Gate
        277    6    1    1    0    0    1900000    119    114    -1    -1    1   //Castle Gate
    
    
        288    1    0    1    0    0    800000    75    130    -1    -1    1   //Canon Tower
        288    2    0    1    0    0    800000    88    130    -1    -1    1   //Canon Tower
        288    3    0    1    0    0    800000    99    130    -1    -1    1   //Canon Tower
        288    4    0    1    0    0    800000    114    130    -1    -1    1   //Canon Tower
        288    5    0    1    0    0    800000    94    151    -1    -1    1   //Canon Tower
        288    6    0    1    0    0    800000    88    182    -1    -1    1   //Canon Tower
        288    7    0    1    0    0    800000    100    182    -1    -1    1   //Canon Tower
        288    8    0    1    0    0    800000    94    221    -1    -1    1   //Canon Tower
        288    9    0    1    0    0    800000    94    233    -1    -1    1   //Canon Tower
    
    
        215    1    0    1    0    0    10000    94    242    -1    -1    1   //Shield
    
    
        222    1    0    1    0    0    10000    80    188    -1    -1    1   //Slingshot Defense
        222    2    0    1    0    0    10000    105    188    -1    -1    1   //Slingshot Defense
    
    
        221    1    0    2    0    0    10000    63    19    -1    -1    5   //Slingshot Attack
        221    2    0    2    0    0    10000    119    19    -1    -1    5   //Slingshot Attack
    end


  2. #2
    Account Upgraded | Title Enabled! chenzhen is offline
    MemberRank
    May 2006 Join Date
    c:\windowsLocation
    226Posts

    Re: Castle Siege

    Quote Originally Posted by IOException View Post
    Hello,

    I'm using http://forum.ragezone.com/f197/muser...e-3-a-1055512/
    I'm having a problem.
    Castle Siege is not working.
    Date in database doesnt change.
    For example i set it 2016-07-10 - 2016-07-17, tomorrow the date will be the same in the database.
    My Config:
    Code:
    //=======================// CASTLE SIEGE SETTINGS
    //=======================
    //
    
    
    0
        7    // How many days will last the entire cycle of the event
    end
    
    
    
    
    //=========================================================================
    // Setting of castle periods.. 
    // Period ID    Day    Hour    Minute 
    //=========================================================================
    1
        1    0    0    0    // register period
        2    1    23    59    // idle state
        3    2    0    0    // register mark of the lord state
        4    5    0    0    // idle state
        5    5    12    0    // castle attack guild notification state
        6    5    19    0    // ready for castle siege state
        7    6    16    0    // castle siege start state
        8    6    18    0    // castle siege end state
        9    7    0    0    // end of cycle (restart from state 1, automaticaly)
    end
    
    
    //=========================================================================
    // Settings of NPC located in loren
    //=========================================================================
    //     NPC    ID     DBStore Def     Recover HP     StartHP SX     SY     DX     DY     DIR
    //----------------------------------------------------------------------------------------------------------------------------------
    2
        283    1    1    1    0    0    1500000    94    227    -1    -1    1   //Guardian Statue
        283    2    1    1    0    0    1500000    94    182    -1    -1    1   //Guardian Statue
        283    3    1    1    0    0    1500000    82    130    -1    -1    1   //Guardian Statue
        283    4    1    1    0    0    1500000    107    130    -1    -1    1   //Guardian Statue
    
    
        277    1    1    1    0    0    1900000    93    204    -1    -1    1   //Castle Gate
        277    2    1    1    0    0    1900000    81    161    -1    -1    1   //Castle Gate
        277    3    1    1    0    0    1900000    107    161    -1    -1    1   //Castle Gate
        277    4    1    1    0    0    1900000    67    114    -1    -1    1   //Castle Gate
        277    5    1    1    0    0    1900000    93    114    -1    -1    1   //Castle Gate
        277    6    1    1    0    0    1900000    119    114    -1    -1    1   //Castle Gate
    
    
        288    1    0    1    0    0    800000    75    130    -1    -1    1   //Canon Tower
        288    2    0    1    0    0    800000    88    130    -1    -1    1   //Canon Tower
        288    3    0    1    0    0    800000    99    130    -1    -1    1   //Canon Tower
        288    4    0    1    0    0    800000    114    130    -1    -1    1   //Canon Tower
        288    5    0    1    0    0    800000    94    151    -1    -1    1   //Canon Tower
        288    6    0    1    0    0    800000    88    182    -1    -1    1   //Canon Tower
        288    7    0    1    0    0    800000    100    182    -1    -1    1   //Canon Tower
        288    8    0    1    0    0    800000    94    221    -1    -1    1   //Canon Tower
        288    9    0    1    0    0    800000    94    233    -1    -1    1   //Canon Tower
    
    
        215    1    0    1    0    0    10000    94    242    -1    -1    1   //Shield
    
    
        222    1    0    1    0    0    10000    80    188    -1    -1    1   //Slingshot Defense
        222    2    0    1    0    0    10000    105    188    -1    -1    1   //Slingshot Defense
    
    
        221    1    0    2    0    0    10000    63    19    -1    -1    5   //Slingshot Attack
        221    2    0    2    0    0    10000    119    19    -1    -1    5   //Slingshot Attack
    end
    SIEGE_START_DATE 2016-07-10
    SIEGE_END_DATE 2016-07-17

    actualy castle siege event start is on SIEGE_END_DATE 2016-07-17 <------- not on SIEGE_START_DATE.

    after the event the date automaticaly change to.
    SIEGE_START_DATE 2016-07-17
    SIEGE_END_DATE 2016-07-24 <------- Your Next CastleSiege Event.

  3. #3
    Enthusiast IOException is offline
    MemberRank
    Mar 2016 Join Date
    25Posts

    Re: Castle Siege

    Quote Originally Posted by chenzhen View Post
    SIEGE_START_DATE 2016-07-10
    SIEGE_END_DATE 2016-07-17

    actualy castle siege event start is on SIEGE_END_DATE 2016-07-17 <------- not on SIEGE_START_DATE.

    after the event the date automaticaly change to.
    SIEGE_START_DATE 2016-07-17
    SIEGE_END_DATE 2016-07-24 <------- Your Next CastleSiege Event.
    Yes, but the date should change every day in the database anyway

  4. #4

  5. #5
    Account Upgraded | Title Enabled! chenzhen is offline
    MemberRank
    May 2006 Join Date
    c:\windowsLocation
    226Posts

    Re: Castle Siege

    Quote Originally Posted by IOException View Post
    Yes, but the date should change every day in the database anyway
    I don't think so. If you mean about castlesiege status of date and time of website then it is a visual status, not really connect with base. You should configure it manualy in your web template to make it synchronize with the actual event time of your server.
    Ps. Some modules does. It base on real mucastle data info.

  6. #6
    Enthusiast IOException is offline
    MemberRank
    Mar 2016 Join Date
    25Posts

    Re: Castle Siege

    Well, It's configured like in that tutorial, but last saturday CS didn't start. and today is saturday again and i still have guilds registered from the previous week.

  7. #7
    HITMAN CAPITOL is offline
    MemberRank
    Apr 2013 Join Date
    PhilippinesLocation
    717Posts

    Re: Castle Siege

    Is castle siege ON in CommonServer.dat?



Advertisement