castle siege

Results 1 to 6 of 6
  1. #1
    Valued Member knotforseil is offline
    MemberRank
    Feb 2012 Join Date
    103Posts

    castle siege

    hello ragezoner's, can someone help me setup my castle siege automatically every saturday at 10pm +8 gmt that will last for 2 hours.. cause i've been setting it up but still no success doing it.. i've have already setup the database thingy.. but i don't know how to setup the MuCastle.dat and commonserverCS properly... thank you..

    i'm using mfsteam season 5 episode 4 files.
    Attached Files Attached Files


  2. #2
    Valued Member knotforseil is offline
    MemberRank
    Feb 2012 Join Date
    103Posts

    Re: castle siege

    please help...

  3. #3
    hmmm :D JaneX is offline
    MemberRank
    Jan 2005 Join Date
    918Posts

    Re: castle siege

    for me i dont setup using Commonserver.cfg, instead i am using MuCastle.dat

    How to do it? First lets know the 24 Hour Clock Table..

    12 am (midnight) 0000hrs
    1 am 0100hrs
    2 am 0200hrs
    3 am 0300hrs
    4 am 0400hrs
    5 am 0500hrs
    6 am 0600hrs
    7 am 0700hrs
    8 am 0800hrs
    9 am 0900hrs
    10 am 1000hrs
    11 am 1100hrs
    12 pm (noon) 1200hrs
    1 pm 1300hrs
    2 pm 1400hrs
    3 pm 1500hrs
    4 pm 1600hrs
    5 pm 1700hrs
    6 pm 1800hrs
    7 pm 1900hrs
    8 pm 2000hrs
    9 pm 2100hrs
    10 pm 2200hrs
    11 pm 2300hrs
    then next the real thing, lets open MuCastle.dat

    Code:
    //=======================
    // CASTLE SIEGE SETTINGS
    //=======================
    //by DaRKav [SCFMT Team][darkav@hotmail.com]
    
    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	4	0	0	// idle state
    	3	4	1	0	// register mark of the lord state
    	4	4	23	59	// idle state
    	5	5	16	0	// castle attack guild notification state
    	6	5	17	0	// ready for castle siege state
    	7	5	18	0	// castle siege start state
    	8	5	20	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
    with your request, this will be the one. (make sure that your server time is on GMT+8 or it wont work):

    Code:
    //=======================
    // CASTLE SIEGE SETTINGS
    //=======================
    //by DaRKav [SCFMT Team][darkav@hotmail.com]
    
    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	4	0	0	// idle state
    	3	4	1	0	// register mark of the lord state
    	4	4	23	59	// idle state
    	5	5	16	0	// castle attack guild notification state
    	6	5	17	0	// ready for castle siege state
    	7	5	20	0	// castle siege start state
    	8	5	22	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
    Just copy paste the code above. for further reference just check the guide again xD hope it helps :)

  4. #4
    Valued Member knotforseil is offline
    MemberRank
    Feb 2012 Join Date
    103Posts

    Re: castle siege

    Thank you very much... ^_^ can you please specify the number codeing for the days?

    One more thing can you please help me with the CORRECT DATABASE JOB for this? Thanks in Advance bro...

  5. #5
    hmmm :D JaneX is offline
    MemberRank
    Jan 2005 Join Date
    918Posts

    Re: castle siege

    well to my understanding..
    1-Monday
    2-Tuesday
    3-Thursday..
    "...
    7-Sunday..

    well im not sure cuz im having problem sometimes to fit the schedule to a particular date.. sample: i want it to make every 6PM FRIDAY but i use 4 (thursday) to correct it. (hope u get my point xD).

    ~~~~~

    you dont ned SQL job for this i think cuz most of the CS servers update themself. you use MFS Season 5 Episode 4? i used that before but castle siege doesnt work.

  6. #6
    Valued Member knotforseil is offline
    MemberRank
    Feb 2012 Join Date
    103Posts

    Re: castle siege

    ok bro.. i got your point.. yes i do use mfs s5 ep4 if castle siege don't work on this files.. what can you professionally suggest? cause i want season5 ep4...



Advertisement