Allmost foolproof KS run

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Message
Author
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Allmost foolproof KS run

#281 Post by lisa » Mon Feb 13, 2012 11:42 am

rock5 wrote:Phirius Pots? Yeah sure, I meant pots that boost stats or damage etc.
Lol I never buy them either, don't think I ever have. I get the luck pots though as it proved to be a good profit.
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

Germangold
Posts: 276
Joined: Thu Oct 22, 2009 3:58 am

Re: Allmost foolproof KS run

#282 Post by Germangold » Thu Feb 16, 2012 12:24 am

have trouble to auto sell purple "trash" item from KS bosses

Code: Select all

<!-- Shopping options, how many of what do you want to keep in your inventory -->
		<option name="INV_MAX_SLOTS"  value="150" /> <!-- 60 fuer 2 bags, immer 30 mehr pro bag  -->
		<option name="INV_AUTOSELL_ENABLE"			value="true" />
		<option name="INV_AUTOSELL_FROMSLOT"		value="1" />
		<option name="INV_AUTOSELL_TOSLOT"			value="150" />
		<option name="INV_AUTOSELL_QUALITY"			value="white,green,blue,purple" />
		<option name="INV_AUTOSELL_IGNORE"			value="III" />
		
what i am doing wrong?

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Allmost foolproof KS run

#283 Post by lisa » Thu Feb 16, 2012 12:48 am

unless the item has III in name those options should be fine. Do you have any other autosell options in your profile?

INV_AUTOSELL_NOSELL_STATSNUMBER
INV_AUTOSELL_NOSELL_DURA
INV_AUTOSELL_STATS_NOSELL

also default number of stats not to sell is 3

Code: Select all

			INV_AUTOSELL_NOSELL_STATSNUMBER = 3,-- If the item has this many or more named stats then don't sell
If the purple items have 3+ stats then they won't sell, you can change that value in your profile like any other profile option.
4 should still be safe.
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

Germangold
Posts: 276
Joined: Thu Oct 22, 2009 3:58 am

Re: Allmost foolproof KS run

#284 Post by Germangold » Thu Feb 16, 2012 1:11 am

thx lisa
change it to

Code: Select all

		<option name="INV_MAX_SLOTS"  value="150" /> <!-- 60 fuer 2 bags, immer 30 mehr pro bag  -->
		<option name="INV_AUTOSELL_ENABLE"			value="true" />
		<option name="INV_AUTOSELL_FROMSLOT"		value="1" />
		<option name="INV_AUTOSELL_TOSLOT"			value="150" />
		<option name="INV_AUTOSELL_QUALITY"			value="white,green,blue,purple" />
		<option name="INV_AUTOSELL_IGNORE"			value="III,kann nicht," />
		<option name="INV_AUTOSELL_NOSELL_STATSNUMBER"			value="4" />
works fine now

kann nicht = can't be sold

so it wont bother with item that cant be sold

darkjack
Posts: 19
Joined: Tue Dec 29, 2009 1:44 pm

Re: Allmost foolproof KS run

#285 Post by darkjack » Thu Feb 23, 2012 10:28 am

Hi. i have new idea of ks farming but dont know really how to make it. I want farm only frogs then back and out instance, leave and invite to party and re run and again, again - bot leave instance and resp on respawn point for sell only when backback is full. Problem for me is how to make waypoints to go outside instance, leave and invite and back to ks - i dont want go to respwan point only out from instance. Any ideas?

ps. sry for my english

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: Allmost foolproof KS run

#286 Post by silinky » Fri Feb 24, 2012 6:35 am

easy enough i guess.
make a waypoint that only covers the frogs, and at the end of it do a bagitemcount check. if full, leave party, and load the seller waypoint. if not, go back to the entrance, and leave party out of instance, re invite and re enter. you can do a free space check even before the end of the frogs waypoints.

drawbacks: you will run alot back to the entrance, a lot of area changes, loading => possibility of client crash raises.
if you keep running back you will effectively spent 50% just running without profit.

i find it way more profitable to do full runs/or until my bags are full (i do checks on every waypoint), and run only back from npc.

kilbord
Posts: 49
Joined: Fri Feb 24, 2012 11:27 am

Re: Allmost foolproof KS run

#287 Post by kilbord » Fri Feb 24, 2012 11:29 am

Umh it doesnt leave party and inv again

rubenr
Posts: 49
Joined: Sat Aug 20, 2011 11:26 pm

Re: Allmost foolproof KS run

#288 Post by rubenr » Tue Feb 28, 2012 8:38 pm

did your KS drops decreased?

i used to get 5 and a half bag until boss 2, now i get only 4 bags... :S

darkjack
Posts: 19
Joined: Tue Dec 29, 2009 1:44 pm

Re: Allmost foolproof KS run

#289 Post by darkjack » Wed Feb 29, 2012 5:36 pm

Ok i make something like this and another waypoints for rerturn. Problem: bot some times stuck on 2th waypoint when enter the instance idk why he should go next 3th waypoint

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>

	<!-- # 1 --><waypoint x="-18560" z="12451" type="TRAVEL">
		sendMacro("LeaveParty();");
		yrest(1000)
	while not RoMScript("UnitExists('party1')") do
		sendMacro('InviteByName("Alt name")');
		yrest(3000)
	end

	</waypoint>
	<!-- # 2 --><waypoint x="-18549" z="12522" type="TRAVEL">	changeProfileOption("MAX_TARGET_DIST", 90);	
	yrest(10000);
	</waypoint>

	<!-- #  3 --><waypoint x="4755" z="900">	
	if (not player:hasBuff("506687")) then
    inventory:useItem(207203);
    end  

	if (not player:hasBuff("506686")) then
    inventory:useItem(207202);
    end 

	if (not player:hasBuff("506684")) then
    inventory:useItem(207200);
    end 
   </waypoint>
	<!-- #  4 --><waypoint x="4626" z="913">changeProfileOption("MAX_TARGET_DIST", 90);
	        if( 60 > player.HP/player.MaxHP*100 ) then
         inventory:useItem(203494);
        end
	</waypoint>
	<!-- #  5 --><waypoint x="4456" z="912">	</waypoint>

	<!-- #  6 --><waypoint x="4447" z="913" >changeProfileOption("MAX_TARGET_DIST", 130);	</waypoint>
	<!-- #  7 --><waypoint x="4378" z="1029" >	</waypoint>
	<!-- #  8 --><waypoint x="4364" z="822" >	</waypoint>
	<!-- #  9 --><waypoint x="4193" z="792" >changeProfileOption("MAX_TARGET_DIST", 90);	</waypoint>
	<!-- #  10 --><waypoint x="4211" z="917" >
	if inventory:itemTotalCount(0) == 0 then    
   	sendMacro("LeaveParty();");
   	 waitForLoadingScreen(); 
	yrest(5000)
	loadPaths("returnway.xml")
end
	</waypoint>	
	<!-- #  11 --><waypoint x="4207" z="911" >changeProfileOption("MAX_TARGET_DIST", 130);	</waypoint>
	<!-- #  12 --><waypoint x="4042" z="913" y="700">	</waypoint>
	<!-- #  13 --><waypoint x="3932" z="913" y="700">	</waypoint>
	<!-- #  14--><waypoint x="3792" z="766" y="700">	</waypoint>
	<!-- #  15--><waypoint x="3755" z="766" y="700">	</waypoint>
	<!-- #  16 --><waypoint x="3756" z="955" y="751">	</waypoint>
	<!-- #  17 --><waypoint x="3752" z="1136" y="805">	</waypoint>
	<!-- #  18 --><waypoint x="3763" z="1179" y="805">	</waypoint>
	<!-- #  19 --><waypoint x="3903" z="1189" y="805">	</waypoint>
	<!-- #  20--><waypoint x="4012" z="1193" y="805">	</waypoint>
	<!-- # 21 --><waypoint x="4030" z="1305" y="805">
	if inventory:itemTotalCount(0) == 0 then    
   	sendMacro("LeaveParty();");
   	 waitForLoadingScreen(); 
	yrest(5000)
	loadPaths("returnway.xml")
end
	</waypoint>
	<!-- # 22 --><waypoint x="4067" z="1415" y="805">	</waypoint>
	<!-- # 23 --><waypoint x="4145" z="1429" y="805">	</waypoint>
	<!-- # 24 --><waypoint x="4224" z="1395" y="805">	</waypoint>
	<!-- # 25 --><waypoint x="4226" z="1272" y="805">	</waypoint>
	<!-- # 26 --><waypoint x="4227" z="1154" y="805">	</waypoint>
	<!-- # 27 --><waypoint x="4283" z="1149" y="805">	</waypoint>
	<!-- # 28 --><waypoint x="4405" z="1149" y="805">	</waypoint>
	<!-- # 29 --><waypoint x="4419" z="1273" y="843">	</waypoint>
	<!-- # 30 --><waypoint x="4419" z="1419" y="893">	</waypoint>
	<!-- # 31 --><waypoint x="4341" z="1439" y="906">	</waypoint>
	<!-- # 32 --><waypoint x="4252" z="1440" y="932">
	if inventory:itemTotalCount(0) == 0 then    
   	sendMacro("LeaveParty();");
   	 waitForLoadingScreen(); 
	yrest(5000)
	loadPaths("returnway.xml")
end
	</waypoint>
	<!-- # 33 --><waypoint x="4112" z="1482" y="932">	</waypoint>
	<!-- # 34 --><waypoint x="3984" z="1537" y="932">	</waypoint>
	<!-- # 35 --><waypoint x="3864" z="1448" y="932">	</waypoint>
	<!-- # 36 --><waypoint x="3744" z="1357" y="932">	</waypoint>
	<!-- # 37 --><waypoint x="3754" z="1193" y="932">	</waypoint>
	<!-- # 38 --><waypoint x="3818" z="1181" y="932">	</waypoint>
	<!-- # 39 --><waypoint x="3923" z="1154" y="805">	</waypoint>
	<!-- # 40 --><waypoint x="4016" z="1126" y="805">	</waypoint>
	<!-- # 41 --><waypoint x="4112" z="1045" y="679">	</waypoint>
	<!-- # 42 --><waypoint x="4169" z="996" y="679">	</waypoint>
	<!-- # 43 --><waypoint x="4162" z="918" y="679">	</waypoint>
	<!-- # 44 --><waypoint x="4030" z="915" >	</waypoint>
	<!-- # 45 --><waypoint x="4351" z="918" >	</waypoint>
	<!-- # 46 --><waypoint x="4516" z="914" >	</waypoint>
	<!-- # 47 --><waypoint x="4685" z="900" >	</waypoint>
	<!-- # 48 --><waypoint x="4703" z="825" y="679">
	if inventory:itemTotalCount(0) == 0 then    
   	sendMacro("LeaveParty();");
   	 waitForLoadingScreen(); 
	yrest(5000)
	loadPaths("returnway.xml")
end	
	</waypoint>
	<!-- # 49 --><waypoint x="4711" z="776" y="679">
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_D)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
	keyboardPress(key.VK_W)
		yrest(5000)
	waitForLoadingScreen(); 
    player:update();	
	</waypoint>

</waypoints>

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: Allmost foolproof KS run

#290 Post by silinky » Thu Mar 01, 2012 6:27 am

hi!

i do have a problem in my script, regarding waitforloadingscreen() i guess.

when i have multiple bots running ks, sometimes even with 1 bot, at zone changing the bot simply quits.

i made a screenshot since i was able to connect to my home pc with teamviewer. deleted the rest of info from here because i found out the problem is not related to these.

please see next post
Last edited by silinky on Thu Mar 01, 2012 9:11 am, edited 1 time in total.

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: Allmost foolproof KS run

#291 Post by silinky » Thu Mar 01, 2012 9:04 am

sorry for the double post, i think i found the problem.

here is the screenshot
screenie.png
so i guess the function tries to get the value when the loading screen is on, and this stops the script because it cannot get it, probably bc macros do not get run at loading screens.

can the userfunction be somehow modified to not activate when the client is waiting for loading screen?

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Allmost foolproof KS run

#292 Post by lisa » Thu Mar 01, 2012 9:06 am

add a few seconds yrest after the waitforloadingscreen

Code: Select all

      sendMacro("LeaveParty();");
         waitForLoadingScreen(); 
yrest(3000)
         player:update();
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

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: Allmost foolproof KS run

#293 Post by silinky » Thu Mar 01, 2012 9:12 am

thank you mate :)

i will try it right now. hope it works

Blackt3ars
Posts: 43
Joined: Mon May 23, 2011 9:22 am

Re: Allmost foolproof KS run

#294 Post by Blackt3ars » Thu Mar 01, 2012 10:55 am

Need help on this keeping getting stuck after 1 or 2 runs

and here is my wp

Edit : Thx pb solve

--=== Edited by Lisa ===--
Changed the quote tags to code tags.
Also deleted image, it had your chars name in it, I recognize the name too ;)
Last edited by Blackt3ars on Sat Mar 03, 2012 7:31 am, edited 1 time in total.

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: Allmost foolproof KS run

#295 Post by silinky » Fri Mar 02, 2012 2:57 am

lisa wrote:add a few seconds yrest after the waitforloadingscreen

Code: Select all

      sendMacro("LeaveParty();");
         waitForLoadingScreen(); 
yrest(3000)
         player:update();

ok, works perfectly so far :) thanks!

Blackt3ars
Posts: 43
Joined: Mon May 23, 2011 9:22 am

Re: Allmost foolproof KS run

#296 Post by Blackt3ars » Fri Mar 02, 2012 9:55 pm

Problem solve as well using the same tips thx

Dimitryj
Posts: 9
Joined: Wed Mar 14, 2012 6:03 pm

Re: Allmost foolproof KS run

#297 Post by Dimitryj » Wed Mar 14, 2012 9:24 pm

I just wondering how can I define a script in user prfile to check the target health and use purga if tharget have HP under 120k or buff and use falme agianst bosses.

if player:haveTarget() then
(if( 120000 > target.MaxHP) then
player:cast("MAGE_PURGATORY_FIRE");
elseif( 120000 > target.MaxHP ) then
player:cast("MAGE_ELEMENTAL_CATALYST");
player:cast("MAGE_ELEMENTAL_WEAKNESS");
player:cast("MAGE_FLAME");
player:cast("MAGE_FIREBALL");
player:cast("PRIEST_RISING_TIDE");
)
end

Like this, but im not sure its working. And where to put? In onSkillCast?

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Allmost foolproof KS run

#298 Post by rock5 » Wed Mar 14, 2012 10:35 pm

Dimitryj, please use [ code] tags in the future when posting code. Just use the "code" button at the top of the edit window.

You've repeated the if statement so it wont work like that and there are a couple of brackets that dont belong and a missing "end". This might work and, yes, try putting it in the onskillcast section of your profile.

Code: Select all

if player:haveTarget() then
	if( 120000 > target.MaxHP) then
		player:cast("MAGE_PURGATORY_FIRE");
	else
		player:cast("MAGE_ELEMENTAL_CATALYST");
		player:cast("MAGE_ELEMENTAL_WEAKNESS");
		player:cast("MAGE_FLAME");
		player:cast("MAGE_FIREBALL");
		player:cast("PRIEST_RISING_TIDE");
	end
end
  • 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

Dimitryj
Posts: 9
Joined: Wed Mar 14, 2012 6:03 pm

Re: Allmost foolproof KS run

#299 Post by Dimitryj » Thu Mar 15, 2012 10:12 am

Oh thanks!
:D Btw i wrote the post when I was sleepy and bearly can see anything :D

Lordnika
Posts: 50
Joined: Wed Jun 29, 2011 10:14 am

Re: Allmost foolproof KS run

#300 Post by Lordnika » Fri Mar 16, 2012 4:48 am

hi all ...
i'm using this WP file for a long time now :) ..
but after lates patch..( i think ) the bot dosen't attk mobs
( is like all WP are put on RUN ...attak only if i'm attked )
i verify over and over again my profile file ...is nothing i can see rong
mob dif lvl is 50-50 ( i'm lvl 70 )... no names to attk specific targets ..
WP type are NORMAL .. no ideea !

i might miss something ..but i have no clue :/

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest