Page 1 of 1

need help with waypoint daily

Posted: Wed Sep 25, 2013 12:33 am
by runegod

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
	<!-- #  1 --><waypoint x="-7095" z="-4141" y="172"  tag ='Main'>		player:target_NPC("Hugope");
		 local dqCount, dqPerDay = RoMScript("Daily_count()");
         if 10 > dqCount then   
            queststate = getQuestStatus("Earn a Reputation");
        if queststate = "complete" then
            -- Complete quest
               player:target_NPC("Hugope");
               CompleteQuestByName("Earn a Reputation");
            __WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));   
        else
            -- Accept quest
               player:target_NPC("Hugope");
               AcceptQuestByName("Earn a Reputation");
            __WPL:setWaypointIndex(__WPL:findWaypointTag("Quest"));   
            end
        else
            __WPL:setWaypointIndex(__WPL:findWaypointTag("Done"));
         end
	</waypoint>
	<!-- #  2 --><waypoint x="-7004" z="-4398" y="171">		player:target_NPC("Uncomfortable Adventurer");
		player:mouseclickL(546, 233, 1366, 741);
		sendMacro("ChoiceOption(1);");
		sendMacro("ChoiceOption(1);");
	</waypoint>
	<!-- #  3 --><waypoint x="-7268" z="-4644" y="171">	</waypoint>
	<!-- #  4 --><waypoint x="-7142" z="-4743" y="174">		player:target_NPC("Uncomfortable Adventurer");
		sendMacro("ChoiceOption(1);");
		sendMacro("ChoiceOption(1);");
	</waypoint>
	<!-- #  5 --><waypoint x="-7257" z="-4641" y="172">	</waypoint>
	<!-- #  6 --><waypoint x="-7023" z="-4458" y="172">		player:target_NPC("Uncomfortable Adventurer");
		sendMacro("ChoiceOption(1);");
		sendMacro("ChoiceOption(1);");
	</waypoint>
	<!-- #  7 --><waypoint x="-7110" z="-4159" y="172">		player:target_NPC("Hugope");
		sendMacro("ChoiceOption(1);");
		sendMacro("ChoiceOption(1);");
	</waypoint>

 


</waypoints>

i really have no idea what i was doing,

first time trying to create a waypoint profile for the heffner daily with the creatpath.lua feature,

if someone can show me how to interact with the quest npc where you talk to him, then choose the option to chat or accept give him the items to complete the quests,

i somehow get how to run to a spot, choose create the waypoints, but when interacting with the npc, i get lost LOL,

but if someone also have a simple heffner waypoint for the earn a reputation daily and would like to share with me please do :)

Re: need help with waypoint daily

Posted: Wed Sep 25, 2013 1:34 am
by Marlb0ro
Have a looky here for a waypoint, and tips to improve

http://www.solarstrike.net/phpBB3/viewt ... reputation

For these tips and others, please reffer to the 'Search for' box in the upper right of the forum.

Re: need help with waypoint daily

Posted: Wed Sep 25, 2013 1:41 am
by runegod
zzz Omg ty so much for that link,

well read and try to implement something like that, did try looking for how to search and create waypoints, but never tried searching for the specific quest, sorry for noobness,

ty again.

Re: need help with waypoint daily

Posted: Wed Sep 25, 2013 3:52 am
by runegod

Code: Select all

<!-- #  1 --><waypoint x="-7095" z="-4141" y="172"  tag ='Main'>		
		queststate = getQuestStatus("Earn a Reputation");
          if queststate == "complete" then
               player:target_NPC("Hugope");
           CompleteQuestByName("Earn a Reputation")
   end
         local dqCount, dqPerDay = RoMScript("Daily_count()");
     if dqCount == 10 then
      sendMacro("Logout();");
		
              sendMacro("}LoginNextToon=true;a={")
               --RoMScript("ChangeChar()") 
		--sendMacro("ChangeChar();");
		--RoMScript("LoginNextChar()") 
      waitForLoadingScreen();
			
			loadProfile()
                 loadPaths(__WPL.FileName)
   else
               player:target_NPC("Hugope");
               AcceptQuestByName("Earn a Reputation")
          end
	</waypoint>

ok, ty, i got it working and all, but i was wondering since i am only using this on one account with 8 characters

how do i possibly go from 1 to 8 then stop, i have downloaded the fast login userfunctions, but i dont want to use them to automatically log in,

since i am manually logging in, log into the first character, then i will start the waypoint manually,
so is there another way to continue to other characters without using the fast login auto login userfunctions?

Re: need help with waypoint daily

Posted: Wed Sep 25, 2013 8:06 am
by rock5
You have to use fastlogin (aka loginxml) because the game doesn't give you any options to relog.

Code: Select all

RoMScript("ChangeChar()") 
Will log into the next character and stop on the last one. Or if you have 'userfunction_loginnextchar.lua' installed then you can just use

Code: Select all

ChangeChar()

Re: need help with waypoint daily

Posted: Wed Sep 25, 2013 12:19 pm
by runegod
ahh again tyvm, i guess that will have to do, but sometimes i do play on a computer that is not very private, so i guess i have to manually log in and out since i dont really want to store info on the fastlogin, but its working flawlessly now

but i also have another problem at hand, 8 characters, but some of them are not all using the same way points,

so i assume i have to some how use character profiles onload functions to call to different waypoint files for each different characters then,

since i usually manually log into game, start the waypoint for a few characters, go back to charater screen again log into other characters that use another waypoint file and continue so on and so on...

anyone know the funtions to do that, oh well i guess i should use the search button first then,

but yes, woot my first waypoint completed, :mrgreen:

very fun and exciting, but it seems the GMs are out and about with people reporting with the new staff and website for report abuse on official ROM servers. kinda scary now :o