Juice Festival - Server For A Day
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Juice Festival - Server For A Day
Ok, I got this script working completely.
The bot will use travelTo to get to Logar if you are not already there. If you are already in Logar, you can start near Snoop, AH, Pet Hunter, or Housemaid. It will talk to the NPC, start the game, and then target the drinker NPC along just one of the tables. When I last ran it I scored a 37. Have fun.
The bot will use travelTo to get to Logar if you are not already there. If you are already in Logar, you can start near Snoop, AH, Pet Hunter, or Housemaid. It will talk to the NPC, start the game, and then target the drinker NPC along just one of the tables. When I last ran it I scored a 37. Have fun.
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: Juice Festival - Server For A Day
I actually wouldn't mind creating scripts for more of the Juice Festival activities, but I don't know any of them and how to work them. If anyone knows how any of the other games work, if you can explain it to me here, I'll see if I can script it. If that becomes the case, then Maybe I'll rename this thread to "Juice Festival Scripts" and we can just have all the scripts for this one festival in one single thread.
Re: Juice Festival - Server For A Day
Just posted my version, which is the Varanas one. I remember earlier you were asking how to limit the script run so here it is:
You only need 31 points for maximum reward.
Code: Select all
repeat
until getLastWarning("|cfffff266game over!|r",10) or getLastWarning("|cfffff266current points: 31",10)
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: Juice Festival - Server For A Day
ok, so I was wondering if anyone can help me figure out how I would do this particular one... Juice Olympics. Doing it manually, on screen you get 4 extra action items:
1: Up Arrow
2: Down Arrow
3: Left Arrow
4: Right Arrow
When the game starts, you see arrow images on your screen and you have to click the corresponding ActionBars. Seems easy enough, but when I run it and then look for all nearby objects, all I get is:
The same thing over and over again, even though the image changes after I click the extraActionBar. Is there any way to determine which image it is showing on screen?
1: Up Arrow
2: Down Arrow
3: Left Arrow
4: Right Arrow
When the game starts, you see arrow images on your screen and you have to click the corresponding ActionBars. Seems easy enough, but when I run it and then look for all nearby objects, all I get is:
Code: Select all
ID ADDRESS X Z
113105 733870592 -1066 -5919
113105 733870592 -1066 -5919
113105 733870592 -1066 -5919
113105 733870592 -1066 -5919
113105 733870592 -1066 -5919
113105 733870592 -1066 -5919
113105 733870592 -1066 -5919
113105 733870592 -1066 -5919
Re: Juice Festival - Server For A Day
Seeing as the address doesn't change either then I'd say the object doesn't change. It doesn't create a new object for each arrow. All it does is change its appearance. I'm not sure how that works. I'm sure which arrow is showing is stored somewhere in the objects memory.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Juice Festival - Server For A Day
If the arrow looks the same each direction then it might be just 1 model that is turned to face different directions, did you look at what the direction says for it?
We can get that from memory easy enough.
We can get that from memory easy enough.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Juice Festival - Server For A Day
Hmm, google searched it and it seems that quest has Varanas and Logar version. Didn't see that one yet. Will take a look at it later and see if I can figure it out. Since there's a quest for it in Varanas, I will add it later to the waypoints I posted.
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: Juice Festival - Server For A Day
While we're at it, there's also the kobolds in the barrels game located on the City side of the Varanas bridge. When you start this game it puts you in the center of an array of 25 barrels, a 5 x 5 grid. You have two actionbaritems. One will check the barrel you have targetted, and two will destroy the barrel. You basically click on a barrel with the first one and it will either say something like "No kobolds nearby", "There are kobolds nearby", or"there seems to be something in the barrel." If you get that third one, you then use actionbar 2 to break the barrel. If you see the second one (kobolds nearby) then one of the barrels near that barrel have one. If you see the first one, then you would want to move at least 2 barrels over (who know which direction). If you catch 3 kobolds within 2 minutes (I think it's a 2 minute limit) then you win.
I've looked and once again, all barrells have the same ID number so I'm not sure if there's an easy way to tell which one holds the kobold. Might instead have to program it to go through and click the barrels, but would have to do it smart because you don't have time to click every single barrel.
At least I have the barrel IDs and locations:
Name ID Address X Z
Barrel 121335 628995072 3010.98291 35.38862991
Barrel 121335 628996352 3027.961914 8.74179554
Barrel 121335 1427955968 3036.711914 49.38666916
Barrel 121335 628992512 3042.2229 -15.36034966
Barrel 121335 628987392 3053.081055 25.25625992
Barrel 121335 1427920128 3059.019043 -40.57423019
Barrel 121335 1427935488 3061.070068 67.11927032
Barrel 121335 628989952 3068.716064 -0.087428153
Barrel 121335 969724416 3073.481934 -66.05554962
Barrel 121335 1427936768 3077.891113 41.24858856
Barrel 121335 1427953408 3084.559082 -26.07653046
Barrel 121335 1427934208 3086.976074 80.69120026
Barrel 121335 629012992 3094.581055 15.31999016
Barrel 121335 1380157184 3098.574951 -51.81417084
Barrel 121335 1427954688 3103.554932 56.39542007
Barrel 121335 1427959808 3108.978027 -11.35186005
Barrel 121335 1427932928 3113.544922 99.62309265
Barrel 121335 629010432 3119.471924 31.05658913
Barrel 121335 1380155904 3125.886963 -36.31401062
Barrel 121335 1427940608 3129.545898 73.40276337
Barrel 121335 1427950848 3134.354004 4.835566044
Barrel 121335 1427939328 3145.129883 47.69260025
Barrel 121335 1380153344 3150.272949 -18.85281944
Barrel 121335 1380154624 3160.509033 20.60238075
Barrel 121335 1380126464 3175.987061 -3.51265502
I just don't have the slightest idea of how to program it for which to try next based on the response.
I've looked and once again, all barrells have the same ID number so I'm not sure if there's an easy way to tell which one holds the kobold. Might instead have to program it to go through and click the barrels, but would have to do it smart because you don't have time to click every single barrel.
At least I have the barrel IDs and locations:
Name ID Address X Z
Barrel 121335 628995072 3010.98291 35.38862991
Barrel 121335 628996352 3027.961914 8.74179554
Barrel 121335 1427955968 3036.711914 49.38666916
Barrel 121335 628992512 3042.2229 -15.36034966
Barrel 121335 628987392 3053.081055 25.25625992
Barrel 121335 1427920128 3059.019043 -40.57423019
Barrel 121335 1427935488 3061.070068 67.11927032
Barrel 121335 628989952 3068.716064 -0.087428153
Barrel 121335 969724416 3073.481934 -66.05554962
Barrel 121335 1427936768 3077.891113 41.24858856
Barrel 121335 1427953408 3084.559082 -26.07653046
Barrel 121335 1427934208 3086.976074 80.69120026
Barrel 121335 629012992 3094.581055 15.31999016
Barrel 121335 1380157184 3098.574951 -51.81417084
Barrel 121335 1427954688 3103.554932 56.39542007
Barrel 121335 1427959808 3108.978027 -11.35186005
Barrel 121335 1427932928 3113.544922 99.62309265
Barrel 121335 629010432 3119.471924 31.05658913
Barrel 121335 1380155904 3125.886963 -36.31401062
Barrel 121335 1427940608 3129.545898 73.40276337
Barrel 121335 1427950848 3134.354004 4.835566044
Barrel 121335 1427939328 3145.129883 47.69260025
Barrel 121335 1380153344 3150.272949 -18.85281944
Barrel 121335 1380154624 3160.509033 20.60238075
Barrel 121335 1380126464 3175.987061 -3.51265502
I just don't have the slightest idea of how to program it for which to try next based on the response.
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: Juice Festival - Server For A Day
So i did a little excel work and figured out the layout of the barrels and how they're arranged. It's a little weird because the layout of the Varanas Bridge isn't exactly north/south or east west, so if looking at the barrels from the center of the bridge/walkway, they look like this:
With the above numbers referring to the following barrel numbers,
So... what would be the best, most logical method of going through looking for the hidden kobolds? Start at one corner and work your way up, then over, then down, then over, etc...?
Code: Select all
15 20 19 11 9
16 23 6 21 10
17 18 7 25 12
24 1 2 22 13
4 5 3 14 8
Code: Select all
Barrel # X Coord Z Coord
Barrel1 3053.081055 25.25625992
Barrel2 3068.716064 -0.087428153
Barrel3 3042.2229 -15.36034966
Barrel4 3010.98291 35.38862991
Barrel5 3027.961914 8.74179554
Barrel6 3119.471924 31.05658913
Barrel7 3094.581055 15.31999016
Barrel8 3073.481934 -66.05554962
Barrel9 3175.987061 -3.51265502
Barrel10 3150.272949 -18.85281944
Barrel11 3160.509033 20.60238075
Barrel12 3125.886963 -36.31401062
Barrel13 3098.574951 -51.81417084
Barrel14 3059.019043 -40.57423019
Barrel15 3113.544922 99.62309265
Barrel16 3086.976074 80.69120026
Barrel17 3061.070068 67.11927032
Barrel18 3077.891113 41.24858856
Barrel19 3145.129883 47.69260025
Barrel20 3129.545898 73.40276337
Barrel21 3134.354004 4.835566044
Barrel22 3084.559082 -26.07653046
Barrel23 3103.554932 56.39542007
Barrel24 3036.711914 49.38666916
Barrel25 3108.978027 -11.35186005
Re: Juice Festival - Server For A Day
25 barrels and 2 minutes, so if the cast time for skill 1 is less than 5 seconds you could open all the barrels, obviously you only need to open 3 if you get lucky with kobolds. So if cast time is less than 5 seconds you could just go through them all 1 by 1 checking for the kobold and using skill 2 if there is a kobold.
If the cast time is 6+ seconds then that is a very different story.
First I would renumber your table so it is more human friendly.
I did 01 just to make grid more like a grid
01 02 03 04 05
06 07 08 09 10
11 12 13 14 15
16 17 18 19 20
21 22 23 24 25
Ok so add a variable to the table of each spot, call it anything you want and give it value of 5.
Click 07 and if the response is "No kobolds nearby" then the value for the chests around 7 are changed to 0 (no chance of kobold), so we know there is no kobold in it, if the response is "There are kobolds nearby" then the value for chests around 7 are changed to +1. Also in both those responses 7 would be changed to 0.
So you could do that the higher the number the more likely to be a kobold chest.
So do 07, 09, 17, 19 as a start and then after that start at the highest number and work your way down, redoing the check for highest each time because the values would change with every chest you click.
Not sure I explained it in a good way or not but hopefully you get the idea I am trying to put across.
If the cast time is 6+ seconds then that is a very different story.
First I would renumber your table so it is more human friendly.
I did 01 just to make grid more like a grid
01 02 03 04 05
06 07 08 09 10
11 12 13 14 15
16 17 18 19 20
21 22 23 24 25
Ok so add a variable to the table of each spot, call it anything you want and give it value of 5.
Click 07 and if the response is "No kobolds nearby" then the value for the chests around 7 are changed to 0 (no chance of kobold), so we know there is no kobold in it, if the response is "There are kobolds nearby" then the value for chests around 7 are changed to +1. Also in both those responses 7 would be changed to 0.
So you could do that the higher the number the more likely to be a kobold chest.
So do 07, 09, 17, 19 as a start and then after that start at the highest number and work your way down, redoing the check for highest each time because the values would change with every chest you click.
Not sure I explained it in a good way or not but hopefully you get the idea I am trying to put across.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: Juice Festival - Server For A Day
Awesome, Lisa. Exactly what I was looking for... A methodical way to check the chests using priority in deciding which to check. Thanks. I'll start the programming of it and see what I come up with.
Re: Juice Festival - Server For A Day
Ok so your table for the chests could look like this.
Links are the chests near that specific chest, visually it looks like this.
Code: Select all
return {
[1]={ X=3010.98291 , Z=35.38862991, Links={[1]={Num=2},[2]={Num=6},[3]={Num=7},}},
[2]={ X=3036.711914 , Z=49.38666916, Links={[1]={Num=1},[2]={Num=3},[3]={Num=6},[4]={Num=8},[5]={Num=7},}},
[3]={ X=3061.070068 , Z=67.11927032, Links={[1]={Num=2},[2]={Num=4},[3]={Num=7},[4]={Num=9},[5]={Num=8},}},
[4]={ X=3086.976074 , Z=80.69120026, Links={[1]={Num=3},[2]={Num=5},[3]={Num=8},[4]={Num=10},[5]={Num=9},}},
[5]={ X=3113.544922 , Z=99.62309265, Links={[1]={Num=4},[2]={Num=10},[3]={Num=9},}},
[6]={ X=3027.961914 , Z=8.74179554, Links={[1]={Num=11},[2]={Num=1},[3]={Num=2},[4]={Num=12},[5]={Num=7},}},
[7]={ X=3053.081055 , Z=25.25625992, Links={[1]={Num=1},[2]={Num=13},[3]={Num=3},[4]={Num=11},[5]={Num=6},[6]={Num=8},[7]={Num=2},[8]={Num=12},}},
[8]={ X=3077.891113 , Z=41.24858856, Links={[1]={Num=12},[2]={Num=4},[3]={Num=2},[4]={Num=14},[5]={Num=7},[6]={Num=9},[7]={Num=13},[8]={Num=3},}},
[9]={ X=3103.554932 , Z=56.39542007, Links={[1]={Num=5},[2]={Num=13},[3]={Num=15},[4]={Num=3},[5]={Num=8},[6]={Num=10},[7]={Num=4},[8]={Num=14},}},
[10]={ X=3129.545898 , Z=73.40276337, Links={[1]={Num=5},[2]={Num=15},[3]={Num=14},[4]={Num=4},[5]={Num=9},}},
[11]={ X=3042.2229 , Z=-15.36034966, Links={[1]={Num=16},[2]={Num=6},[3]={Num=7},[4]={Num=17},[5]={Num=12},}},
[12]={ X=3068.716064 , Z=-0.087428153, Links={[1]={Num=16},[2]={Num=8},[3]={Num=18},[4]={Num=6},[5]={Num=13},[6]={Num=11},[7]={Num=7},[8]={Num=17},}},
[13]={ X=3094.581055 , Z=15.31999016, Links={[1]={Num=7},[2]={Num=19},[3]={Num=9},[4]={Num=17},[5]={Num=14},[6]={Num=12},[7]={Num=18},[8]={Num=8},}},
[14]={ X=3119.471924 , Z=31.05658913, Links={[1]={Num=10},[2]={Num=18},[3]={Num=8},[4]={Num=20},[5]={Num=15},[6]={Num=13},[7]={Num=9},[8]={Num=19},}},
[15]={ X=3145.129883 , Z=47.69260025, Links={[1]={Num=10},[2]={Num=20},[3]={Num=19},[5]={Num=9},[6]={Num=14},}},
[16]={ X=3059.019043 , Z=-40.57423019, Links={[1]={Num=21},[2]={Num=11},[3]={Num=12},[4]={Num=22},[5]={Num=17},}},
[17]={ X=3084.559082 , Z=-26.07653046, Links={[1]={Num=13},[2]={Num=21},[3]={Num=11},[4]={Num=23},[5]={Num=16},[6]={Num=18},[7]={Num=12},[8]={Num=22},}},
[18]={ X=3108.978027 , Z=-11.35186005, Links={[1]={Num=14},[2]={Num=22},[3]={Num=24},[5]={Num=12},[6]={Num=17},[7]={Num=19},[8]={Num=23},[9]={Num=13},}},
[19]={ X=3134.354004 , Z=4.835566044, Links={[1]={Num=13},[2]={Num=25},[3]={Num=23},[4]={Num=15},[5]={Num=18},[6]={Num=20},[7]={Num=14},[8]={Num=24},}},
[20]={ X=3160.509033 , Z=20.60238075, Links={[1]={Num=15},[2]={Num=25},[3]={Num=24},[4]={Num=14},[5]={Num=19},}},
[21]={ X=3073.481934 , Z=-66.05554962, Links={[1]={Num=22},[2]={Num=16},[3]={Num=17},}},
[22]={ X=3098.574951 , Z=-51.81417084, Links={[1]={Num=23},[2]={Num=21},[3]={Num=18},[4]={Num=16},[5]={Num=17},}},
[23]={ X=3125.886963 , Z=-36.31401062, Links={[1]={Num=24},[2]={Num=22},[3]={Num=19},[4]={Num=17},[5]={Num=18},}},
[24]={ X=3150.272949 , Z=-18.85281944, Links={[1]={Num=25},[2]={Num=23},[3]={Num=20},[4]={Num=18},[5]={Num=19},}},
[25]={ X=3175.987061 , Z=-3.51265502, Links={[1]={Num=20},[2]={Num=24},[3]={Num=19},}},
}
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Juice Festival - Server For A Day
Minesweeper anyone? 
If you try to open a barrel with a Kobold in it it should EXPLODE! or at least the Kobold should jump out and eat you, thereby ending the game.
So how many Kobolds are there anyway? That would indicate the difficulty of the game.

If you try to open a barrel with a Kobold in it it should EXPLODE! or at least the Kobold should jump out and eat you, thereby ending the game.
So how many Kobolds are there anyway? That would indicate the difficulty of the game.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Juice Festival - Server For A Day
haven't played it myself but he did mention 3 in an earlier post.

I am sure you can think of a more efficient way to do it, he will no doubt have to get the addresses of the chests and so will probably need to sort the table to be in the right order.
I know how much you love puzzles like this one, I just happened to get in with an idea before youIf you catch 3 kobolds within 2 minutes (I think it's a 2 minute limit) then you win.

I am sure you can think of a more efficient way to do it, he will no doubt have to get the addresses of the chests and so will probably need to sort the table to be in the right order.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Juice Festival - Server For A Day
If it doesn't tell you how many are in near chests then it's not like minesweeper at all. In fact it looks really difficult to come up with a really efficient pattern. It might help to know how many barrels can be checked before the time runs out. That way you can come up with a plan with that number of barrel openings in mind.
Actually this reminds me more of battleships.
Actually this reminds me more of battleships.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Juice Festival - Server For A Day
yeah I'd like to know cast time to open chest and the max timer, I picked those 4 to be less chests, I think to make it more efficient would need to go 1,3,5,11,13,15,21,23,25 and that will give you a much better idea of where the kobalds are but that is 9 chests already.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Juice Festival - Server For A Day
ok so I did once to see what it was like.
its not a cast bar but a cooldown, extraction 1 has 5 second cooldown, action 2 has 10 second cooldown. You do have roughly 2 mins before time runs out, I didn't time it.
Here is the kicker, you need to be within a set range to use extraction 1 so you need to move around but the barrels are solid and you can't walk through them, so you need to path between the barrels to get closer to them to click them, I didn't check the distance. So the order of checking would need to take into consideration the traveling to barrels and yeah 5 seconds means you can't check them all.
its not a cast bar but a cooldown, extraction 1 has 5 second cooldown, action 2 has 10 second cooldown. You do have roughly 2 mins before time runs out, I didn't time it.
Here is the kicker, you need to be within a set range to use extraction 1 so you need to move around but the barrels are solid and you can't walk through them, so you need to path between the barrels to get closer to them to click them, I didn't check the distance. So the order of checking would need to take into consideration the traveling to barrels and yeah 5 seconds means you can't check them all.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Juice Festival - Server For A Day
I thought of a good pattern to start.
If you hit the X's at least 1 of those groups of 6 barrels will be empty. After that I'm not sure how to proceed.
If you hit the X's at least 1 of those groups of 6 barrels will be empty. After that I'm not sure how to proceed.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Juice Festival - Server For A Day
I just did it on an alt, you get 3 event tickets for winning and I got 1 ticket for getting 2 kobold.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Juice Festival - Server For A Day
So, had a look at the juice Olympics activity, I tried looking for differences between the arrows using the methods readily available to the bot but there don't appear to be some. So yea, definitely it will need some digging up in memory and that's not my forte so I can't help with this one.
As for the Kobolds, I also tried it. One thing I can think of to simplify things is check first if there's a way to check in memory which barrels have kobolds inside. If they're not generated until AFTER a barrel is hit, it might be that the barrels that contain them have some sort of unique identifiers.
As for the Kobolds, I also tried it. One thing I can think of to simplify things is check first if there's a way to check in memory which barrels have kobolds inside. If they're not generated until AFTER a barrel is hit, it might be that the barrels that contain them have some sort of unique identifiers.
Who is online
Users browsing this forum: Bing [Bot] and 0 guests