hi i found a similar thread b
http://forum.ragezone.com/f82/set-cs-everyday-716035/
but nothing is disclosed about the setup :p please help ;c
Printable View
hi i found a similar thread b
http://forum.ragezone.com/f82/set-cs-everyday-716035/
but nothing is disclosed about the setup :p please help ;c
bump still up ;c need it badly xc
In common server set information like this:
CastleSiegeRun = 1
CastleCycleStartYear =0
CastleCycleStartMonth =0
CastleCycleStartDay =0
CastleSpecificState =0
CastleStateStartYear =0
CastleStateStartMonth =0
CastleStateStartDay =0
CastleStateStartHour =0
CastleStateStartMinute =0
Open Enterprise Manager:
Select MuOnline DB and search for MU_Castle_DATA
Press Right Click go to "Open Table" then press "Return all Rows"
Castle Siege Settings:
MAP_SVR_GROUP
0 //Put here 0
SIEGE_START_DATE
4/20/2007 //Put here yesterdays date
SIEGE_END_DATE
4/27/2007 //Yesterdays date + 7days
SIEGE_GUILDLIST
1 //Put here 1
SIEGE_ENDED
0 //Put here 0
CASTLE_OCCUPY
1 //Put here 1
OWNER_GUILD
Your _Guild //Your guild name
MONEY
10000 //Put here 10000
TAX_RATE_CHAOS
3 //Can be change in Senior
TAX_RATE_STORE
3 //Can be change in Senior
TAX_HUNT_ZONE
300000 //Money To entrance in to the "Land Of Trail"
nope not this one :C its the setup
i mean for the schedule >.<
like castle siege everyday huhuuh
try going into database.
database only specifies START and END period :P
i was refering to this i dunnu how to set it everyday >.<Code://----------------------------------------------------------------------//
// Time Settings //
// Days The Entire Cycle Will Last //
//----------------------------------------------------------------------//
0
14
end
//----------------------------------------------------------------------//
// Castle Settings //
//----------------------------------------------------------------------//
1
1 0 0 0 // Register Period
2 1 23 59 // Idle
3 2 0 0 // Register Mark Of The Lord
4 5 0 0 // Idle
5 5 12 0 // Castle Attack Guild Notification
6 5 19 0 // Ready For Castle Siege
7 6 19 0 // Castle Siege Start
8 6 23 0 // Castle Siege End
9 14 0 0 // End of Cycle
end
//-------------------------------------------------------------------------------------------------------//
// Monster Settings //
// MonsterID - - - - - HP X1 Y1 - - - //
//-------------------------------------------------------------------------------------------------------//
2
283 1 1 1 0 0 400000 94 227 -1 -1 1 // Guardian Statue
283 2 1 1 0 0 400000 94 182 -1 -1 1 // Guardian Statue
283 3 1 1 0 0 400000 82 130 -1 -1 1 // Guardian Statue
283 4 1 1 0 0 400000 107 130 -1 -1 1 // Guardian Statue
277 1 1 1 0 0 500000 93 204 -1 -1 1 // Castle Gate
277 2 1 1 0 0 500000 81 161 -1 -1 1 // Castle Gate
277 3 1 1 0 0 500000 107 161 -1 -1 1 // Castle Gate
277 4 1 1 0 0 500000 67 114 -1 -1 1 // Castle Gate
277 5 1 1 0 0 500000 93 114 -1 -1 1 // Castle Gate
277 6 1 1 0 0 500000 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
btw thanks for the responses though :)
any1 xD
still up ;x
you can try this one :
Code:If anyone is having issues with castle event date and doesnt want to manually change it every 6-7 days if the server goes down or something I wrote this short fix and tutorial
Change your data/commonserverCS.cfg with the following values
The values are close to the bottom of the txt file on my config
Code:
CastleSiegeRun = 1
CastleCycleStartYear =0
CastleCycleStartMonth =0
CastleCycleStartDay =0
CastleSpecificState =0
CastleStateStartYear =0
CastleStateStartMonth =0
CastleStateStartDay =0
CastleStateStartHour =0
CastleStateStartMinute =0
That tells the castle siege event to run now we need to schedule automatic updating for the start and end dates
open Enterprise manager
go to MuOnline database
Click Tools->Job Scheduling
Click next then next
Make sure MuOnline is selected in drop down box
paste the following code into the transact-sql statement area
Code:
DECLARE @begindate datetime
DECLARE @enddate datetime
set @begindate = (dateadd(day,-1,GETDATE()))
set @enddate = (dateadd(day,6,GETDATE()))
update MuCastle_DATA
set SIEGE_START_DATE=@begindate, SIEGE_END_DATE=@enddate;
Click next
Select on a reoccuring basis
Click Schedule
Select Daily
Click ok
Click next then Click next
Write a meaningful job name and click Finish
In enterprise manager go to Management folder
Right click on SQL server agent and click Start if it isnt started already
The new job we just made is in the Jobs section
You can enable disable delete it reschedule whatever you like
Once these steps are complete once a day it will set the event start date to yesturday and the event end date to 6 days from today
thanks ill give it a try :)