Dissidia Posted May 11, 2017 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted May 11, 2017 input .@newoener$; input .@mapname$; what is the next script here? Quote Link to comment Share on other sites More sharing options...
0 RedMonkey Posted May 16, 2017 Group: Members Topic Count: 33 Topics Per Day: 0.01 Content Count: 87 Reputation: 2 Joined: 03/30/16 Last Seen: May 18, 2024 Share Posted May 16, 2017 On 5/11/2017 at 2:34 PM, Dissidia said: input .@newoener$; input .@mapname$; what is the next script here? *setcastledata "<map name>",<type of data>,<value>; This function returns the castle ownership information for the castle referred to by its map name. Castle information is stored in `guild_castle` SQL table. Types of data correspond to `guild_castle` table columns: 1 - `guild_id` - Guild ID. 2 - `economy` - Castle Economy score. 3 - `defense` - Castle Defense score. 4 - `triggerE` - Number of times the economy was invested in today. 5 - `triggerD` - Number of times the defense was invested in today. 6 - `nextTime` - unused 7 - `payTime` - unused 8 - `createTime` - unused 9 - `visibleC` - Is 1 if a Kafra was hired for this castle, 0 otherwise. 10 - `visibleG0` - Is 1 if the 1st guardian is present (Soldier Guardian) 11 - `visibleG1` - Is 1 if the 2nd guardian is present (Soldier Guardian) 12 - `visibleG2` - Is 1 if the 3rd guardian is present (Soldier Guardian) 13 - `visibleG3` - Is 1 if the 4th guardian is present (Archer Guardian) 14 - `visibleG4` - Is 1 if the 5th guardian is present (Archer Guardian) 15 - `visibleG5` - Is 1 if the 6th guardian is present (Knight Guardian) 16 - `visibleG6` - Is 1 if the 7th guardian is present (Knight Guardian) 17 - `visibleG7` - Is 1 if the 8th guardian is present (Knight Guardian) All types of data have their meaning determined by War of Emperium scripts, with exception of: - `guild_id` that is always considered ID of the guild that owns the castle, - `defense` that is used in Guardians & Emperium HP calculations, - `visibleG` that is always considered to hold guardian presence bits. The 'setcastledata' command will behave identically, but instead of returning values for the specified types of accessible data, it will alter them and cause them to be sent to the char-server for storage. Changing Guild ID or Castle Defense will trigger additional actions, like recalculating guardians' HP. Quote Link to comment Share on other sites More sharing options...
Question
Dissidia
input .@newoener$;
input .@mapname$;
what is the next script here?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.