Page 1 of 2

Mini games for rerolls all in one

Posted: Thu Jun 21, 2012 5:55 am
by noobyone
Hello,
I am working on making all mini games + the daylies with level 50 rerolls.
The idea is :
1/The bot start a varanas central place
and make the malentina mini games with the scrips posted here:
2/ malentina survival game (rock 5)
http://www.solarstrike.net/phpBB3/viewt ... t=survival
3/ malentina course of terror (lisa)
http://www.solarstrike.net/phpBB3/viewt ... lit=terror
4/ Ancien treasure mini game (Rock 5)
http://www.solarstrike.net/phpBB3/viewt ... =27&t=3589
5/ Daylies in Sascilia (Flyers + Crawlers) to get the phyrius tokens
6/ Recall to varanas, go to housekeper and stock phyrius pots
7/ go to central place send runes + mats + instruments to mules, sell and trash the resting stuff
8/ log in next character

I hope this will be usefull to others, I will post it once finished.

note: sorry for my bad english

little help needed

Posted: Thu Jun 21, 2012 6:05 am
by noobyone
Hi again,
I have some probs with my waypoint for the part 5 the :

Code: Select all

local dqCount, dqPerDay = RoMScript("Daily_count()");
     if dqCount == 10 
then
              __WPL:setWaypointIndex(__WPL:findWaypointTag("two"));  
seems to be not working, when the bot have made the 10 Daylies it get stuck at validating the quest and dont load the tag.
here the whole waypoint

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="RUN">
<onload>
loadProfile("daylies")
</onload>
	<!-- #  1 --><waypoint x="-35753" z="5434" y="151">	player:mount(); </waypoint>
	<!-- #  2 --><waypoint x="-35745" z="5403" y="149">	</waypoint>
	<!-- #  3 --><waypoint x="-35732" z="5365" y="148">	</waypoint>
	<!-- #  4 --><waypoint x="-35720" z="5326" y="148">	</waypoint>
	<!-- #  5 --><waypoint x="-35725" z="5305" y="149">	</waypoint>
	<!-- #  6 --><waypoint x="-35732" z="5270" y="153">	</waypoint>
	<!-- #  7 --><waypoint x="-35758" z="5225" y="159">	</waypoint>
	<!-- #  8 --><waypoint x="-35791" z="5174" y="162">	</waypoint>
	<!-- #  9 --><waypoint x="-35824" z="5126" y="172">	</waypoint>
	<!-- # 10 --><waypoint x="-35963" z="5047" y="179">	</waypoint>
	<!-- # 11 --><waypoint x="-36038" z="5018" y="176">	</waypoint>
	<!-- # 12 --><waypoint x="-36182" z="4981" y="171">	</waypoint>
	<!-- # 13 --><waypoint x="-36194" z="5011" y="171">	</waypoint>
	<!-- # 14 --><waypoint x="-36285" z="5091" y="166">	</waypoint>
	<!-- # 15 --><waypoint x="-36362" z="5159" y="178">	</waypoint>
	<!-- # 16 --><waypoint x="-36437" z="5225" y="202">	</waypoint>
	<!-- # 17 --><waypoint x="-36502" z="5281" y="221">	</waypoint>
	<!-- # 18 --><waypoint x="-36642" z="5337" y="244">	</waypoint>
	<!-- # 19 --><waypoint x="-36747" z="5383" y="257" tag 	='one'>	
	</waypoint>
	<!-- # 20 --><waypoint x="-36802" z="5404" y="256">
	  local dqCount, dqPerDay = RoMScript("Daily_count()");
     if dqCount == 10 then
      __WPL:setWaypointIndex(__WPL:findWaypointTag("two"));
	else
	player:target_NPC("Weis Kattin");
	AcceptAllQuests();
	end
	</waypoint>
	<!-- #  21 --><waypoint x="-36795" z="5396" y="256">	__WPL:setForcedWaypointType("NORMAL") 
	</waypoint>
	<!-- #  22 --><waypoint x="-36729" z="5406" y="256" tag 	='three'>	
	</waypoint>
	<!-- #  23 --><waypoint x="-36639" z="5440" y="258">	</waypoint>
	<!-- #  24 --><waypoint x="-36583" z="5484" y="272">	</waypoint>
	<!-- #  25 --><waypoint x="-36481" z="5464" y="262">	</waypoint>
	<!-- #  26 --><waypoint x="-36339" z="5415" y="236">	</waypoint>
	<!-- #  27 --><waypoint x="-36196" z="5361" y="196">	</waypoint>
	<!-- # 28 --><waypoint x="-36051" z="5263" y="200">	</waypoint>
	<!-- # 29 --><waypoint x="-35979" z="5113" y="219">	</waypoint>
	<!-- # 30 --><waypoint x="-35992" z="4968" y="175">	</waypoint>
	<!-- # 31 --><waypoint x="-36030" z="4921" y="176">	</waypoint>
	<!-- # 32 --><waypoint x="-35992" z="4841" y="152">	</waypoint>
	<!-- # 33 --><waypoint x="-35957" z="4775" y="142">	</waypoint>
	<!-- # 34 --><waypoint x="-36032" z="4736" y="143">	</waypoint>
	<!-- # 35 --><waypoint x="-36098" z="4758" y="161">	</waypoint>
	<!-- # 36 --><waypoint x="-36146" z="4802" y="163">	</waypoint>
	<!-- # 37 --><waypoint x="-36215" z="4810" y="159">	</waypoint>
	<!-- # 38 --><waypoint x="-36287" z="4790" y="166">	</waypoint>
	<!-- # 39 --><waypoint x="-36355" z="4750" y="157">	</waypoint>
	<!-- # 40 --><waypoint x="-36407" z="4700" y="158">	</waypoint>
	<!-- # 41 --><waypoint x="-36457" z="4651" y="159">	</waypoint>
	<!-- # 42 --><waypoint x="-36540" z="4649" y="161">	</waypoint>
	<!-- # 43 --><waypoint x="-36554" z="4719" y="137">	</waypoint>
	<!-- # 44 --><waypoint x="-36561" z="4803" y="126">	</waypoint>
	<!-- # 45 --><waypoint x="-36608" z="4861" y="98">	</waypoint>
	<!-- # 46 --><waypoint x="-36687" z="4877" y="76">	</waypoint>
	<!-- # 47 --><waypoint x="-36762" z="4864" y="68">	</waypoint>
	<!-- # 48 --><waypoint x="-36842" z="4838" y="78">	</waypoint>
	<!-- # 49 --><waypoint x="-36897" z="4801" y="86">	</waypoint>
	<!-- # 50 --><waypoint x="-36940" z="4726" y="86">	</waypoint>
	<!-- # 51 --><waypoint x="-36977" z="4645" y="78">	</waypoint>
	<!-- # 52 --><waypoint x="-36987" z="4580" y="75">	</waypoint>
	<!-- # 53 --><waypoint x="-36973" z="4495" y="72">	</waypoint>
	<!-- # 54 --><waypoint x="-36979" z="4408" y="64">	</waypoint>
	<!-- # 55 --><waypoint x="-37026" z="4332" y="47">	</waypoint>
	<!-- # 56 --><waypoint x="-37059" z="4245" y="38">	</waypoint>
	<!-- # 57 --><waypoint x="-37107" z="4196" y="47">	</waypoint>
	<!-- # 58 --><waypoint x="-37173" z="4154" y="62">	</waypoint>
	<!-- # 59 --><waypoint x="-37250" z="4139" y="73">	</waypoint>
	<!-- # 60 --><waypoint x="-37331" z="4162" y="75">	</waypoint>
	<!-- # 61 --><waypoint x="-37383" z="4220" y="84">	</waypoint>
	<!-- # 62 --><waypoint x="-37407" z="4298" y="90">	</waypoint>
	<!-- # 63 --><waypoint x="-37419" z="4383" y="97">	</waypoint>
	<!-- # 64 --><waypoint x="-37433" z="4451" y="99">	</waypoint>
	<!-- # 65 --><waypoint x="-37462" z="4532" y="98">	</waypoint>
	<!-- # 66 --><waypoint x="-37470" z="4647" y="91">	</waypoint>
	<!-- # 67 --><waypoint x="-37441" z="4699" y="90">	</waypoint>
	<!-- # 68 --><waypoint x="-37370" z="4743" y="89">	</waypoint>
	<!-- # 69 --><waypoint x="-37322" z="4797" y="80">	</waypoint>
	<!-- # 70 --><waypoint x="-37254" z="4829" y="73">	</waypoint>
	<!-- # 71 --><waypoint x="-37181" z="4838" y="71">	</waypoint>
	<!-- # 72 --><waypoint x="-37109" z="4842" y="71">	</waypoint>
	<!-- # 73 --><waypoint x="-37031" z="4846" y="74">	</waypoint>
	<!-- # 74 --><waypoint x="-36957" z="4853" y="75">	</waypoint>
	<!-- # 75 --><waypoint x="-36869" z="4863" y="77">	</waypoint>
	<!-- # 76 --><waypoint x="-36791" z="4868" y="68">	</waypoint>
	<!-- # 77 --><waypoint x="-36698" z="4865" y="75">	</waypoint>
	<!-- # 78 --><waypoint x="-36611" z="4855" y="100">	</waypoint>
	<!-- # 79 --><waypoint x="-36521" z="4848" y="122">	</waypoint>
	<!-- # 80 --><waypoint x="-36444" z="4865" y="126">	</waypoint>
	<!-- # 81 --><waypoint x="-36368" z="4904" y="135">	</waypoint>
	<!-- # 82 --><waypoint x="-36320" z="4958" y="151">	</waypoint>
	<!-- # 83 --><waypoint x="-36309" z="5030" y="166">	</waypoint>
	<!-- # 84 --><waypoint x="-36336" z="5098" y="169">	</waypoint>
	<!-- # 85 --><waypoint x="-36379" z="5161" y="181">	</waypoint>
	<!-- # 86 --><waypoint x="-36423" z="5228" y="201">	</waypoint>
	<!-- # 87 --><waypoint x="-36479" z="5286" y="222">	</waypoint>
	<!-- # 88 --><waypoint x="-36572" z="5323" y="227">	</waypoint>
	<!-- # 89 --><waypoint x="-36659" z="5316" y="240">	</waypoint>
	<!-- # 90 --><waypoint x="-36732" z="5283" y="240">	</waypoint>
	<!-- # 91 --><waypoint x="-36811" z="5260" y="249">	</waypoint>
	<!-- # 92 --><waypoint x="-36898" z="5292" y="256">	</waypoint>
	<!-- # 93 --><waypoint x="-36847" z="5381" y="255">	
 local dqCount, dqPerDay = RoMScript("Daily_count()");
     if dqCount == 10 then
   __WPL:setWaypointIndex(__WPL:findWaypointTag("two"));
 end
queststate = getQuestStatus("Volatiles");
          if queststate == "complete" then
               player:target_NPC("Weis Kattin");
           CompleteQuestByName("Volatiles")
   end
local dqCount, dqPerDay = RoMScript("Daily_count()");
     if dqCount == 10 then
      __WPL:setWaypointIndex(__WPL:findWaypointTag("two"));
 end
queststate = getQuestStatus("Rampants");
          if queststate == "complete" then
               player:target_NPC("Weis Kattin");
           CompleteQuestByName("Rampants")
end
local dqCount, dqPerDay = RoMScript("Daily_count()");
     if dqCount == 10 then
              __WPL:setWaypointIndex(__WPL:findWaypointTag("two"));
else
             __WPL:setWaypointIndex(__WPL:findWaypointTag("three")); 
   end
         local dqCount, dqPerDay = RoMScript("Daily_count()");
     if dqCount == 10 then
              __WPL:setWaypointIndex(__WPL:findWaypointTag("two")); 
         else
             __WPL:setWaypointIndex(__WPL:findWaypointTag("one")); 
          end
</waypoint>
	<!-- # 94 --><waypoint x="-36915" z="5302" y="256" tag ='two'>
__WPL:setForcedWaypointType("RUN")</waypoint>	
	<!-- # 95 --><waypoint x="-36915" z="5168" y="212">
	</waypoint>	
</waypoints>

Re: Mini games for rerolls all in one

Posted: Thu Jun 21, 2012 7:05 am
by rock5
The thing you need to understand is just because you change the waypoint index, doesn't mean that it will stop executing the code in your waypoint. If you want it to stop executing the code in the waypoint, so it can move to the waypoint tag you set, then follow the __WPL:setWaypointTags commands with 'return' ('return' because the bot treats the code in one waypoint as a function).

Re: Mini games for rerolls all in one

Posted: Fri Jun 22, 2012 3:15 am
by noobyone
thanks works fine !
now I'm working on part 6 and 7

Re: Mini games for rerolls all in one

Posted: Mon Jun 25, 2012 6:15 am
by Juin
Could you post your current version of this?
I am really interested in this working on doing something like this myself but i would like to get your ideas and compare. :)

Re: Mini games for rerolls all in one

Posted: Tue Jun 26, 2012 8:34 am
by IronWolf
sounds promising, hope it comes true :)

Re: Mini games for rerolls all in one

Posted: Tue Jul 10, 2012 4:20 am
by noobyone
Sorry guys I am realy busy IRL, so I dident work on this since days.
THIS IS ON DEVELOPEMENT
They are still a lot of changes to make.
I just share it for those who wants to help, they will be no support until its finished and posted in : " Userfunctions, waypoint scripts, etc."
So what I already did is:

1/The bot start a varanas central place
and make malentina survival game (rock 5) -----> Use "SurvivalR5"
http://www.solarstrike.net/phpBB3/viewt ... t=survival

In the SurvivalR5 waypoint file you just have to write the option to load "cot_tele"

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onLoad>
	--=== Rock5's version ===--
	--===  R5Version 2.52 ===--

	--=== User Options ===--
	When_Finished = "cot_tele"
		-- "end" to end script, "relog" to log next character, "charlist" to log next in 'charlist' and "waypointfilename" to load that waypointfile.
2/ he does malentina course of terror (lisa) -----> Use "cot_tele"
http://www.solarstrike.net/phpBB3/viewt ... lit=terror

After COT you load a new waypoint file to go to AT, for this you have to write the option in the "cot_tele" file, my file is "to_at"

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL" >
<!-- Rock5's Course of Terror waypoint file with teleport -->
<!--   version 1.72 . Thanks to lisa for original script  -->
<onload><![CDATA[
	--=== User Options ===--

	When_Finished = "to_at"
		-- "end" to end script, "relog" to log next character and "waypointfilename" to load that waypointfile.

	CharList = {}
3/ He goes to AT --------------> use file "to_at"
to_at.xml
(1.18 KiB) Downloaded 183 times
!! This file has been wrote for french client, the NCP names have to been changed with ID's !!

4/ Ancien treasure mini game (Rock 5) -------------------> use file "AT"
http://www.solarstrike.net/phpBB3/viewt ... =27&t=3589
In the "AT" waypoint file you just have to write the option to load "fromat"

5/ He does Daylies in Sascilia (Flyers + Crawlers) to get the phyrius tokens --------------> use file "fromat" + profile "daylies"
fromat.xml
(7.46 KiB) Downloaded 183 times
!! This file has been wrote for french client, the NCP and quest names have to been changed with ID's !!

I made a profile that is been loaded in onload with low coldown skills to make this faster. (works with mage)
daylies.xml
(9.95 KiB) Downloaded 178 times

6/ Recall to varanas, go to housekeper and stock phyrius pots <------ I think using the teleport skill to heffner could be better to avoid problems. And then use snoop to Varanas.

7/ go to central place send runes + mats + instruments to mules, sell and trash the resting stuff
8/ log in next character

Re: Mini games for rerolls all in one

Posted: Tue Jul 10, 2012 4:45 am
by noobyone
For now i did just the easy things.
To have this working fine for all with no problems we have to make a lot of changes:
NPC names and quest names have to to be changed for ID's.
All waypoint files have to be in the same folder "waypoints/allinone/...".
They have to be an option file where you write all the options: the names of the mules where you whant the things to be send, what stuff they should buy if they have to much phyrius shells, in this file you should also choise the charlist options to load all your characters.
The profile file should not exist (daylies), the profile options should just be changed in the onload section.

I'm realy sorry but I dont have time to work on this. Maybe I can again in september.
I hope some of you can help on this project.

Best regards

Re: Mini games for rerolls all in one

Posted: Fri Jul 13, 2012 6:53 am
by noobyone
I Need some help please to use the "teleport to heffner" skill in the waypoint file, I have to use the name or ID because the place in the skill book is not the same on ewery character. I remember to have seen once something about "useskillbyname" but I dont find it anymore.

Re: Mini games for rerolls all in one

Posted: Fri Jul 13, 2012 11:29 am
by rock5

Code: Select all

RoMScript('CastSpellByName("Transport: Heffner Camp")')

Re: Mini games for rerolls all in one

Posted: Sat Jul 14, 2012 4:53 am
by noobyone
Thx Rock :)

Re: Mini games for rerolls all in one

Posted: Sat Jul 14, 2012 7:44 am
by noobyone
Hello,
I need help again XD
The bot says I have a syntax error in this part of my script.
But I dont find it. Like I sayd before I'm kinda noob, so sory for my dumb questions.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="RUN">
<onload>
__WPL:setWaypointIndex(1);
RoMScript('CastSpellByName("Transport: Heffner Camp")')   waitForLoadingScreen()
   yrest(1000);
player:target_NPC("Snoop l'incorrigible")
   ChoiceOptionByName("Sourçagent")
   yrest(1000)
   sendMacro('StaticPopup_OnClick(StaticPopup1, 1)';)
   waitForLoadingScreen();
yrest(1000);
</onload>
	<!-- #  1 --><waypoint x="2356" z="1148" y="5">	</waypoint>

Re: Mini games for rerolls all in one

Posted: Sat Jul 14, 2012 8:00 am
by lisa
my guess is this

Code: Select all

player:target_NPC("Snoop l'incorrigible")
Since target_NPC doesn't need the exact name in order to work try this

Code: Select all

player:target_NPC("Snoop")

Re: Mini games for rerolls all in one

Posted: Thu Jul 19, 2012 8:20 am
by noobyone
Hi
I changed some things: to be sure It works for everyone I chosed to use snoop from stascilia instead of the teleport skill.
I have some probs "again" :s
Sans titre.png

Code: Select all

<!-- # 40 --><waypoint x="-38687" z="1415" y="-1">
	player:target_NPC("Snoop");
   ChoiceOptionByName("Fort d'Obsidienne");
   yrest(1000)
   sendMacro('StaticPopup_OnClick(StaticPopup1, 1)';)
   waitForLoadingScreen()
	yrest(1000)
	</waypoint>
	<!-- # 41 --><waypoint x="-20460" z="6507" y="-169"> 	player:target_NPC("Snoop");
   ChoiceOptionByName("Varanas");
   yrest(1000)
   sendMacro('StaticPopup_OnClick(StaticPopup1, 1)';)
   waitForLoadingScreen()
	yrest(1000)
	</waypoint>
The problem is the character dont target Snoop at waypoint 40. So he dont teleport and fail to compile waypoint 41.
I dont see what i did wrong.

Re: Mini games for rerolls all in one

Posted: Thu Jul 19, 2012 8:49 am
by rock5
You can't have semicolons (;) in the brackets like that,

Code: Select all

sendMacro('StaticPopup_OnClick(StaticPopup1, 1)';)
It's ok if it's in the quotes eg.

Code: Select all

sendMacro('StaticPopup_OnClick(StaticPopup1, 1);')
or get rid of it altogether

Code: Select all

sendMacro('StaticPopup_OnClick(StaticPopup1, 1)')

Re: Mini games for rerolls all in one

Posted: Thu Jul 19, 2012 10:40 am
by noobyone
Yeah that was the problem.
Thanks Rock.

Re: Mini games for rerolls all in one

Posted: Fri Jan 11, 2013 7:04 am
by solembum05
Salut Noobyone, comment ça va ? toujours parmis nous ?

Hi, so this idea is great, i don't know if all work, so i will share my works (beta ,only mini games).
So my bot begin on goblins, front of pnj.
It is Beta, my waypoint aren't great but work !

Explication:
-Goblins
-Varanas (2 minigames)
-Sascilia Steppes

All mini games work, bot did 4 mini games, i had problem when finish last mini game for bring me at Ayren (trying to fix).

You need addon:
-Dailynote (config auto accept quest on Varanas to go on Steppes, and quest on Steppes)

Userfunction:
- Swim Hack
- Teleport

I got more character, for no problem on Goblins, try to have a carry class like scout ;)

Re: Mini games for rerolls all in one

Posted: Fri Jan 11, 2013 1:41 pm
by solembum05
Hi ;)

So i add daily quest (Keeping the Veiled Encampment Disguised (72)), so what do you mean ?

Explication:
- Daily quest
- Goblins
- Varanas (2 minigames)
- Sascilia Steppes
- End at Ayren (i will try to add some function, like send reroll, sell...)

So you just need to be near Forem Mone for your daily quest ;) and after all is automatic ;)

You need addon:
- Dailynote (config auto accept quest on Varanas to go on Steppes, and quest on Steppes and Daily quest too)
- QuickTeleport (for pay automatically snoop)

Userfunction (only mini games):
- Swim Hack
- Teleport

Normally all work, code can be better, i did this so fast ;)

Re: Mini games for rerolls all in one

Posted: Sat Jan 12, 2013 11:49 am
by lolita
you can add and Noobboters World Traveler userfunction, and from ayren caravan snoop call

Code: Select all

takemeto("GoblinMines");
then when goblins are done call

Code: Select all

takemeto("VaranasCentral")
easyest way :)

Re: Mini games for rerolls all in one

Posted: Sat Jan 12, 2013 12:12 pm
by solembum05
Hi,

yes i can add Noobboters World Traveler, but i don't ^_^ (You can use if you want :p)
New update , on the last version i forget addon (i add after ^^), and a files for survival, sorry, i did this so fast ><

So On V3:
- Daily quest
- Goblins
- Varanas (2 minigames)
- Sascilia Steppes
- End at Ayren

I add a files for bring me at Veiled Encampment from Chrysalia's Snoop, check if you can do daily quest, if true, so the bot will do daily quest, goblins... if false player sleep (^^) i try to make a loop. I had my recall on Chrysalia, so it is very easy after mini game ^^

You need addon:
- Dailynote (config auto accept quest on Varanas to go on Steppes, and quest on Steppes and Daily quest too)
- QuickTeleport (for pay automatically snoop)

Userfunction (only mini games):
- Swim Hack
- Teleport

Normally you got all files