A few different Questions about daily's
Posted: Wed Oct 12, 2011 1:57 pm
So I have been running around the board almost all morning, I have been looking at code and trying to adjust it here and there. I have finally understood how to open up the daily's, accept the quests, after that I am unsure of what to do. I have looked at the wiki and other files that have been posted but I am still a bit confused.
I see some files have an onload function in them while others not. I am looking for just a basic silverfall daily's quest, the questions I have are these.
Is what I have been able to establish so far, after trying multiple ways, I found the userfunction for the getquestbyname and put that in got it working perfectly.
Now after that do I simply just enter my waypoints to the goblins and then reverse it so it runs back, and ive seen the item count code for daily's not sure I understand exactly where to put it.
I just guess I dont understand proper placement of the codes, I want learn how to at least make this so it does the first quest, turns it in I just don't really get it.
I see some files have an onload function in them while others not. I am looking for just a basic silverfall daily's quest, the questions I have are these.
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-619" z="-5836" y="23"> player:target_NPC(110584) tag="npc";
AcceptQuestByName("Stolen Tools");
</waypoint>
</waypoints>Now after that do I simply just enter my waypoints to the goblins and then reverse it so it runs back, and ive seen the item count code for daily's not sure I understand exactly where to put it.
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-619" z="-5836" y="23"> player:target_NPC(110584) tag="npc";
AcceptQuestByName("Stolen Tools");
local queststate = "incomplete"
repeat
player:target_Object("200619", 10000);
yrest(500);
queststate = getQuestStatus("Stolen Tools");
until( queststate == "complete");
</waypoint>
<!-- # 1 --><waypoint x="-610" z="-5818" y="24"> </waypoint>
<!-- # 2 --><waypoint x="-720" z="-5735" y="44"> </waypoint>
<!-- # 3 --><waypoint x="-878" z="-5596" y="57"> </waypoint>
<!-- # 4 --><waypoint x="-1070" z="-5503" y="20"> </waypoint>
<!-- # 5 --><waypoint x="-1200" z="-5397" y="13"> </waypoint>
<!-- # 6 --><waypoint x="-1419" z="-5282" y="-6"> </waypoint>
<!-- # 7 --><waypoint x="-1649" z="-5221" y="31"> </waypoint>
<!-- # 8 --><waypoint x="-1907" z="-5224" y="18"> </waypoint>
<!-- # 9 --><waypoint x="-2108" z="-5103" y="3"> </waypoint>
<!-- # 10 --><waypoint x="-2266" z="-4869" y="16"> </waypoint>
<!-- # 11 --><waypoint x="-2211" z="-4685" y="19"> </waypoint>
<!-- # 12 --><waypoint x="-2017" z="-4586" y="9"> </waypoint>
<!-- # 13 --><waypoint x="-1834" z="-4420" y="7"> </waypoint>
<!-- # 14 --><waypoint x="-1872" z="-4168" y="54"> </waypoint>
<!-- # 15 --><waypoint x="-2117" z="-4037" y="84"> </waypoint>
<!-- # 16 --><waypoint x="-2328" z="-3990" y="72"> </waypoint>
<!-- # 17 --><waypoint x="-2613" z="-3934" y="42"> </waypoint>
<!-- # 18 --><waypoint x="-2808" z="-3892" y="18"> </waypoint>
<!-- # 19 --><waypoint x="-3138" z="-3958" y="25"> </waypoint>
<!-- # 20 --><waypoint x="-3291" z="-3936" y="26"> </waypoint>
</waypoints>