-
Germangold
- Posts: 276
- Joined: Thu Oct 22, 2009 3:58 am
#1
Post
by Germangold » Fri Jul 29, 2011 5:04 pm
Pseudocode
Code: Select all
if (player.name == "Alphabetus") then
while not RoMScript("UnitExists('party1')") do
sendMacro('InviteByName("YOURTWINK")');
yrest(4000)
end
end
if (player.name == "Trolololo") then
while not RoMScript("UnitExists('party1')") do
sendMacro('InviteByName("YOURTWINK")');
yrest(4000)
end
end
if (player.name == "Trulalal") then
while not RoMScript("UnitExists('party1')") do
sendMacro('InviteByName("YOURTWINK")');
yrest(4000)
end
end
if (player.name == "Kingoffrost") then
while not RoMScript("UnitExists('party1')") do
sendMacro('InviteByName("YOURTWINK")');
yrest(4000)
end
end
How would that work? How do I read the characters name?
-
SpiralV
- Posts: 72
- Joined: Sat Jun 25, 2011 10:37 am
- Location: Germany
#2
Post
by SpiralV » Fri Jul 29, 2011 5:49 pm
versuchs mal mit player.Name dann sollte es klappen
Du kannst den Inhalt von Variablen einfach mit der commandline.xml ueberpruefen.
->print(player.Name)
-
MiesterMan
- Posts: 543
- Joined: Tue Jul 06, 2010 9:15 pm
- Location: Between the Second and Third Circles of Hell
#3
Post
by MiesterMan » Fri Jul 29, 2011 6:08 pm
Germangold wrote:Pseudocode
Code: Select all
if (player.name == "Alphabetus") then
while not RoMScript("UnitExists('party1')") do
sendMacro('InviteByName("YOURTWINK")');
yrest(4000)
end
end
if (player.name == "Trolololo") then
while not RoMScript("UnitExists('party1')") do
sendMacro('InviteByName("YOURTWINK")');
yrest(4000)
end
end
if (player.name == "Trulalal") then
while not RoMScript("UnitExists('party1')") do
sendMacro('InviteByName("YOURTWINK")');
yrest(4000)
end
end
if (player.name == "Kingoffrost") then
while not RoMScript("UnitExists('party1')") do
sendMacro('InviteByName("YOURTWINK")');
yrest(4000)
end
end
How would that work? How do I read the characters name?
Let's take it a step further (untested):
Code: Select all
function inviteParty(myCharacter,party[1],party[2],party[3],party[4],party[5])
for i=1,5 do
if party[i] then
if (player.Name == myCharacter) then
while not RoMScript("UnitExists('party" .. i .. "')") do
sendMacro('InviteByName("' .. party[i] .. '")');
yrest(4000)
end
end
end
end
end
Edit: Oh right, it's player.Name not player.name
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#4
Post
by lisa » Fri Jul 29, 2011 8:42 pm
Just to make sure I understand you right, you want to only invite a specific character to party for each character logged but you are using the same profile for all of them?
If you arn't using same profile then just set first friend to the character you want to invite and use that in your WP code to do the inviting. You won't need any checks for player.Name or a long list of inviting code.
Could even just add in another option purely for this
profile
Code: Select all
<option name="INVITE" value="Igglepiggle" />
in WP
Code: Select all
while not RoMScript("UnitExists('party1')") do
sendMacro('InviteByName('..settings.profile.options.INVITE..')');
yrest(4000)
end
-
Germangold
- Posts: 276
- Joined: Thu Oct 22, 2009 3:58 am
#5
Post
by Germangold » Sun Jul 31, 2011 9:45 am
i finished up creating 6 Mage/Priest for KS farming
each mage has its own designated invite buddy for constantly farming in Ks.
i want to use only One profile.xml and one waypoint file
rather than updating 6 waypoints each time I change something
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#6
Post
by lisa » Sun Jul 31, 2011 10:40 am
Ahh so all 6 mages could be online at same time and all 6 "other" chars could also be online at the same time.
Unfortunately you will probably have to go with what you posted originally but use
player.Name
and not
player.name
-
Germangold
- Posts: 276
- Joined: Thu Oct 22, 2009 3:58 am
#7
Post
by Germangold » Sun Jul 31, 2011 1:15 pm
KS farming with 6 Chars REALLY well
its approx 4 ~ 6kk per Day per Char
so 24 ~ to 35kk per day gold income each day is really fantastic
-
Edamh
- Posts: 106
- Joined: Tue May 24, 2011 11:56 pm
#8
Post
by Edamh » Sun Jul 31, 2011 2:03 pm
Germangold wrote:KS farming with 6 Chars REALLY well
its approx 4 ~ 6kk per Day per Char
so 24 ~ to 35kk per day gold income each day is really fantastic
<dons American hat with a grin
> Can you translate that "
4 ~ 6kk" notation? Is that 4-6 million gold/day/char or 24-35 million gold/day with the 6 chars farming KS all day?
If so, that's pretty impressive income. I only have one L60+ atm. I have 3 L50s working their way up. This would be a worthy goal to work towards.
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#9
Post
by lisa » Sun Jul 31, 2011 7:12 pm
When I do KS I sit at around 400,000 gold per hour.
Absolute must is the luck potion from house maid.
-
Edamh
- Posts: 106
- Joined: Tue May 24, 2011 11:56 pm
#10
Post
by Edamh » Sun Jul 31, 2011 7:31 pm
lisa wrote:When I do KS I sit at around 400,000 gold per hour.
Absolute must is the luck potion from house maid.
When I was running KS, I was only seeing 50K/hour
Do you have a lootfilter so that the bot does not pick up arrows/stones/pots/etc. or items that are only 200-300 gold -- like the shoulder pieces?
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#11
Post
by lisa » Sun Jul 31, 2011 9:32 pm
nope but I would just go through aoe everything. so kills are very fast and most of the time looting took longer then killing.
3 full bags before I got to frog boss, leave instance, sell up and then back in for more.
I would fly over 1st boss, skip turtle boss. So all pure trash and all aoe'd
Luck pot from house maid is a must for gold farming.
-
Germangold
- Posts: 276
- Joined: Thu Oct 22, 2009 3:58 am
#12
Post
by Germangold » Sun Jul 31, 2011 11:26 pm
my characters use the housemaid luck powder and each of them has a
Loot II Rune eqiuped in their staff
-
wizzyslo
- Posts: 119
- Joined: Sun Nov 01, 2009 6:09 pm
#13
Post
by wizzyslo » Mon Aug 01, 2011 4:20 am
Wow 6 mages in KS from one bot-er. Now i know whay my bot crashing becouse of "pupulation in that zone is to high". I have 3 accounts wich i'm farming KS/CL and have big problem. Soon i'm going have 500milions and i cant spand it becouse AH is empty or have owerprice on items. Im spanding money on NPC in varanas for dias. If you are playing game and not only boting you can see pritty big problem with dias sellers.
My profit is around 800k/h KS or CL.
-
botje
- Posts: 656
- Joined: Wed Oct 27, 2010 7:17 am
#14
Post
by botje » Mon Aug 01, 2011 4:41 am
i never knew those runes existed...
where do you get those?
Botje
-
botje
- Posts: 656
- Joined: Wed Oct 27, 2010 7:17 am
#15
Post
by botje » Mon Aug 01, 2011 6:28 pm
strange, ive been digging for info on those Loot2 runes, and it seems they cant be made?
Botje
-
Germangold
- Posts: 276
- Joined: Thu Oct 22, 2009 3:58 am
#16
Post
by Germangold » Tue Aug 02, 2011 3:29 am
a while ago "Loot I" runes and "Experience I" runes where been offered in cashshop
-
botje
- Posts: 656
- Joined: Wed Oct 27, 2010 7:17 am
#17
Post
by botje » Tue Aug 02, 2011 3:53 am
aaah, so thats it
ok, thanx mate, that means i can stop looking for them
Botje
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest