Jump to content
  • 0

WoE Random Castle


Ahmad Rashidi

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  04/22/17
  • Last Seen:  

Hello everyone , i would like to request a service from u which is involving about scripting i guess.

i would like to have a random woe castle.
which is everyday woe will trigger with random castle for all castle in RO. but not going to repeat same  castle
for example 
10 castle are open
sunday -9pm woe at castle A
Monday -9pm woe at castle C
tuesday -9pm wpe at castle F
wednesday 9pm woe at castle B
thursday 9pm woe at castle E
friday 9pm woe at castle J
saturday 9pm woe at castle H

back to sunday will not trigger the castle that already use like A,C,F,B,E,J and H

hope you understand my request.

willing to pay for this request, please do pm me.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

its been awhile since I wrote a custom woe script
http://herc.ws/board/topic/4848-woe-castle-auto-assign-on-guild/
this kind of request doesn't pop up often

http://upaste.me/8a6849899fca594c7

anyway tomorrow I'll do the official woe script ones, this one is just a template
go to sleep 1st

  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

https://github.com/rathena/rathena/blob/master/db/castle_db.txt
there are 20 first edition castles ...

  1. you mean like each castle open randomly ... but only loop back every 20 days ?
    sounds like need a shuffle algorithm to do this
    .
  2. so which castles are chosen ? only the 1st edition castles ?
    but since you say all castles that would include novice castles and third edition castles

 

  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  04/22/17
  • Last Seen:  

24 minutes ago, AnnieRuru said:

https://github.com/rathena/rathena/blob/master/db/castle_db.txt
there are 20 first edition castles ...

  1. you mean like each castle open randomly ... but only loop back every 20 days ?
    sounds like need a shuffle algorithm to do this
    .
  2. so which castles are chosen ? only the 1st edition castles ?
    but since you say all castles that would include novice castles and third edition castles

 

Oh hi Annie! 

in my opinion, i would thinking to run 2 castle per day.

 

oh ya, woe se and woe se, novice castle are not include, sry.

its is possible?

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

why put the best answer already ?
you know how to apply the feature to the original woe by referring to my template script ?

anyway here's the script, tested
http://upaste.me/e7fe499005a72504d
though it seems Euphy added unnecessary gvgon on the castle map ... so have to gvgoff them

  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  04/22/17
  • Last Seen:  

2 hours ago, AnnieRuru said:

why put the best answer already ?
you know how to apply the feature to the original woe by referring to my template script ?

anyway here's the script, tested
http://upaste.me/e7fe499005a72504d
though it seems Euphy added unnecessary gvgon on the castle map ... so have to gvgoff them

i didnt really know how to apply the features.
im really not good at advance script.

Alright Annnie ! i will try this immediately!
Thx AnnieRuru!

 

i dont know either its work or not.
but nothing happened and i found this at my putty

annie.PNG

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

you guys should petition to get F_ShuffleNumbers function inside Github

AHH .... 1 more time

http://upaste.me/e7fe499005a72504d

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...