Question: Multiple Names in Invite liste

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Germangold
Posts: 276
Joined: Thu Oct 22, 2009 3:58 am

Question: Multiple Names in Invite liste

#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

Re: Question: Multiple Names in Invite liste

#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)

User avatar
MiesterMan
Posts: 543
Joined: Tue Jul 06, 2010 9:15 pm
Location: Between the Second and Third Circles of Hell

Re: Question: Multiple Names in Invite liste

#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

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

Re: Question: Multiple Names in Invite liste

#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
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: Question: Multiple Names in Invite liste

#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

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

Re: Question: Multiple Names in Invite liste

#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
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: Question: Multiple Names in Invite liste

#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 :D

User avatar
Edamh
Posts: 106
Joined: Tue May 24, 2011 11:56 pm

Re: Question: Multiple Names in Invite liste

#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 :D
<dons American hat with a grin :D > 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.

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

Re: Question: Multiple Names in Invite liste

#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.
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
Edamh
Posts: 106
Joined: Tue May 24, 2011 11:56 pm

Re: Question: Multiple Names in Invite liste

#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?

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

Re: Question: Multiple Names in Invite liste

#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.
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: Question: Multiple Names in Invite liste

#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

Re: Question: Multiple Names in Invite liste

#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. :D

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: Question: Multiple Names in Invite liste

#14 Post by botje » Mon Aug 01, 2011 4:41 am

i never knew those runes existed...

where do you get those?

Botje

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: Question: Multiple Names in Invite liste

#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

Re: Question: Multiple Names in Invite liste

#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

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: Question: Multiple Names in Invite liste

#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 :P

Botje

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest