Page 1 of 1

Question: Multiple Names in Invite liste

Posted: Fri Jul 29, 2011 5:04 pm
by Germangold
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?

Re: Question: Multiple Names in Invite liste

Posted: Fri Jul 29, 2011 5:49 pm
by SpiralV
versuchs mal mit player.Name dann sollte es klappen
Du kannst den Inhalt von Variablen einfach mit der commandline.xml ueberpruefen.
->print(player.Name)

Re: Question: Multiple Names in Invite liste

Posted: Fri Jul 29, 2011 6:08 pm
by MiesterMan
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

Re: Question: Multiple Names in Invite liste

Posted: Fri Jul 29, 2011 8:42 pm
by lisa
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

Re: Question: Multiple Names in Invite liste

Posted: Sun Jul 31, 2011 9:45 am
by Germangold
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

Re: Question: Multiple Names in Invite liste

Posted: Sun Jul 31, 2011 10:40 am
by lisa
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

Re: Question: Multiple Names in Invite liste

Posted: Sun Jul 31, 2011 1:15 pm
by Germangold
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

Re: Question: Multiple Names in Invite liste

Posted: Sun Jul 31, 2011 2:03 pm
by Edamh
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.

Re: Question: Multiple Names in Invite liste

Posted: Sun Jul 31, 2011 7:12 pm
by lisa
When I do KS I sit at around 400,000 gold per hour.
Absolute must is the luck potion from house maid.

Re: Question: Multiple Names in Invite liste

Posted: Sun Jul 31, 2011 7:31 pm
by Edamh
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?

Re: Question: Multiple Names in Invite liste

Posted: Sun Jul 31, 2011 9:32 pm
by lisa
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.

Re: Question: Multiple Names in Invite liste

Posted: Sun Jul 31, 2011 11:26 pm
by Germangold
my characters use the housemaid luck powder and each of them has a Loot II Rune eqiuped in their staff

Re: Question: Multiple Names in Invite liste

Posted: Mon Aug 01, 2011 4:20 am
by wizzyslo
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

Re: Question: Multiple Names in Invite liste

Posted: Mon Aug 01, 2011 4:41 am
by botje
i never knew those runes existed...

where do you get those?

Botje

Re: Question: Multiple Names in Invite liste

Posted: Mon Aug 01, 2011 6:28 pm
by botje
strange, ive been digging for info on those Loot2 runes, and it seems they cant be made?

Botje

Re: Question: Multiple Names in Invite liste

Posted: Tue Aug 02, 2011 3:29 am
by Germangold
a while ago "Loot I" runes and "Experience I" runes where been offered in cashshop

Re: Question: Multiple Names in Invite liste

Posted: Tue Aug 02, 2011 3:53 am
by botje
aaah, so thats it :)

ok, thanx mate, that means i can stop looking for them :P

Botje