powerleveling WP need some help

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
langelot133
Posts: 18
Joined: Sun Jun 17, 2012 6:41 pm

powerleveling WP need some help

#1 Post by langelot133 » Sat Jun 23, 2012 4:16 pm

hello again, i'm trying to make a waypoint file for my add to be powerleveled then logout and login next add but i still have "failed to compile and run lua code for onload" can someone help me :D

thanks in advance

Code: Select all

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

RoMScript("SendChatMessage(\"*****\",\"WHISPER\",0,\"mycharacter\")");
RoMScript("SendChatMessage(\"******\",\"WHISPER\",0,\"mycharacter\")");
		


 

RoMScript("FollowUnit('party1');"); 





 while(true) do

	RoMScript("FollowUnit('party1');");


	if not player:hasBuff("Experience Fruit") and if inventory:itemTotalCount(202152) >= 1 then
		inventory:useItem(202152);
	end

	if player.Level > 15 and if not player:hasBuff("High Quality Experience Potion") then
		inventory:useItem(203574);
	end

	if 43 > player.Level then
		sendMacro("LeaveParty()");
		sendMacro("}LoginNextToon=true;a={")
		sendMacro("Logout();");
		waitForLoadingScreen();
		loadProfile("Travel");
		loadPaths("powerlvl");
	end

end



</onLoad>




</waypoints>

langelot133
Posts: 18
Joined: Sun Jun 17, 2012 6:41 pm

Re: powerleveling WP need some help

#2 Post by langelot133 » Sat Jun 23, 2012 6:38 pm

got it working if someone need, my finale code is


Code: Select all

	RoMScript("SendChatMessage(\"*******\",\"WHISPER\",0,\"mychar\")");
	yrest(500);
	RoMScript("SendChatMessage(\"*******\",\"WHISPER\",0,\"mychar\")"); --this is for inviting with the curse addon


while(true) do

	RoMScript("FollowUnit('party1');")


	if inventory:itemTotalCount(202152) >= 1 and not player:hasBuff("Experience Fruit") then
		inventory:useItem(202152)
	end


	if  player.Level > 15 and not player:hasBuff("High Quality Experience Potion") then
		inventory:useItem(203574)
	end

	if player.Level > 43 then
		sendMacro("LeaveParty()")
		sendMacro("}LoginNextToon=true;a={")
		sendMacro("Logout();")
		waitForLoadingScreen()
		loadProfile("Travel")
		loadPaths("powerlvl")
	end

end

IronWolf
Posts: 50
Joined: Sun Aug 08, 2010 7:09 am

Re: powerleveling WP need some help

#3 Post by IronWolf » Wed Jun 27, 2012 11:11 am

dont think i'll have use for it, but i find that everything people share must be thanked, so thank you for sharing :)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 30 guests