shadow.sk Posted December 19, 2011 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 11/28/11 Last Seen: March 8, 2012 Share Posted December 19, 2011 Hello I am using this script: http://localhost-ro....ller_random.txt but I want to change the castle ownership. Example: Say prtg_cas01 is open and GuildA takes it. Then next woe gefg_cas04 is open, the castle ownership will move to gefg_cas04 and prtg_cas01 will be unoccupied. any help will be appreciated, thanks! Quote Link to comment Share on other sites More sharing options...
Brian Posted December 21, 2011 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted December 21, 2011 Sorry about that. I fixed the error, tested, and the script works now. agit_controller_random.txt Quote Link to comment Share on other sites More sharing options...
Brian Posted December 19, 2011 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted December 19, 2011 Will you only have 1 castle open at a time? or more than one? Quote Link to comment Share on other sites More sharing options...
shadow.sk Posted December 19, 2011 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 11/28/11 Last Seen: March 8, 2012 Author Share Posted December 19, 2011 (edited) 2 castle open at a time, thanks for any help Edited December 19, 2011 by shadow.sk Quote Link to comment Share on other sites More sharing options...
Brian Posted December 20, 2011 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted December 20, 2011 (edited) Done, I added a setting to the script. Here you go: agit_controller_random.txt To open 2 castles and enable "transfer ownership", set the config like this: set .@num_castles_open, 2; // the number of castles open each WoE set .@transfer_ownership, 1; // transfer ownership to the next (random) castle? I think it might be buggy with castle_id 0 (aldeg_cas01), since a variable set to 0 is the same as an unset variable.. I'll update this post if I edit anything. Edit: fixed, let me know if you have any issues! Edited December 20, 2011 by Brian Quote Link to comment Share on other sites More sharing options...
shadow.sk Posted December 20, 2011 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 11/28/11 Last Seen: March 8, 2012 Author Share Posted December 20, 2011 (edited) thank you very much. I haven't tested it yet, but I will let you know if it is working Edited December 20, 2011 by shadow.sk Quote Link to comment Share on other sites More sharing options...
shadow.sk Posted December 20, 2011 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 11/28/11 Last Seen: March 8, 2012 Author Share Posted December 20, 2011 when the woe is going to start, map server says: [Error]: run_script: infinity loop ! [Debug]: Source (NPC): Agit_Event (invisible/not on a map) Quote Link to comment Share on other sites More sharing options...
shadow.sk Posted December 21, 2011 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 11/28/11 Last Seen: March 8, 2012 Author Share Posted December 21, 2011 (edited) transfer ownership is not working. On a fresh rathena: 1) I made 2 character and 2 guild. 2) The first woe in the new server was in Holy shadow Casttle and Mersetzdeitz Castle. 3) conquered each castle with each character 4) I waited 2 hours until the war of emperium has ended. 5) @mapexit 6) I changed the date in my pc 7) server UP 8) Woe has begun in Sacred Altar and Swanhild 9) transfer ownership was not move to Sacred Altar and Swanhild 10) I have used @refresh to refresh my view my script conf: OnAgitInit: set .@num_castles_open, 2; // the number of castles open each WoE set .@transfer_ownership, 1; // transfer ownership to the next (random) castle? Thanks for any help Brian and sorry for my poor english Edited December 21, 2011 by shadow.sk Quote Link to comment Share on other sites More sharing options...
shadow.sk Posted December 26, 2011 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 11/28/11 Last Seen: March 8, 2012 Author Share Posted December 26, 2011 bump please Bump please Quote Link to comment Share on other sites More sharing options...
Question
shadow.sk
Hello
I am using this script:
http://localhost-ro....ller_random.txt
but I want to change the castle ownership.
Example:
Say prtg_cas01 is open and GuildA takes it. Then next woe gefg_cas04 is open, the castle ownership will move to gefg_cas04 and prtg_cas01 will be unoccupied.
any help will be appreciated, thanks!
Link to comment
Share on other sites
8 answers 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.