Re: Eggs
Posted: Thu Jul 08, 2010 12:55 pm
I have updated the bot with SVN, but there're nowere "ingamfunctions" folder or file?
Whats wrong?
Whats wrong?
Sorry misspelt it.gloover wrote:I have updated the bot with SVN, but there're nowere "ingamfunctions" folder or file?
Whats wrong?
You forgot to say, did you check the name of the quest? It's on line 3.Bekki wrote:i did ingamefunktions alrdy putted in the right file...
it dont loot the gold eqqs with the normal file, just the other ones.
and the rock5 file dont SOLVE the quest
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="3981" z="3110" tag="Main">
queststate = getQuestStatus("Eine einfache Aufgabe?")
if queststate == "complete" then
-- Complete quest
player:target_NPC("Jenna Miller");
sendMacro("CompleteQuest();"); yrest(2000);
-- Accept quest
player:target_NPC("Jenna Miller");
sendMacro("AcceptQuest()"); yrest(2000);
__WPL:setWaypointIndex(__WPL:findWaypointTag("test"));
elseif queststate == "incomplete" then
-- Collect eggs
if 1 > inventory:getItemCount(204789) then -- Get more feed
__WPL:setWaypointIndex(__WPL:findWaypointTag("Get Feed"));
else
if player:target_Object(112955,8000) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"))
else
__WPL:setWaypointIndex(__WPL:findWaypointTag("Get Eggs"))
end
end
else
-- Accept quest
player:target_NPC("Jenna Miller");
sendMacro("AcceptQuest()"); yrest(2000);
__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));
end
Try typing this in the game and tell me what it displays;Bekki wrote:yes
queststate = getQuestStatus("Eine einfache Aufgabe?")
Code: Select all
/script DEFAULT_CHAT_FRAME:AddMessage(igf_questStatus("Eine einfache Aufgabe?"))
rock5 wrote:Try typing this in the game and tell me what it displays;Bekki wrote:yes
queststate = getQuestStatus("Eine einfache Aufgabe?")Code: Select all
/script DEFAULT_CHAT_FRAME:AddMessage(igf_questStatus("Eine einfache Aufgabe?"))
'2' means you have the 469 version of ingamefunctions in your game addon folder. Make sure you have updated your bot to 470 then copy the ingamefunctions folder to the game addon folder.Bekki wrote:2rock5 wrote:Try typing this in the game and tell me what it displays;Bekki wrote:yes
queststate = getQuestStatus("Eine einfache Aufgabe?")Code: Select all
/script DEFAULT_CHAT_FRAME:AddMessage(igf_questStatus("Eine einfache Aufgabe?"))
@Macrowindow:
It wants to Accept, then delete Target, Search it, and it try to accept again. this works. only solve NOT
and why it dont loot the gold eqqs?^^
At revision: 471rock5 wrote:From now on can anyone having problems with my chicken eggs script, please read the instructions I've added to the file post before asking for help.
http://www.solarstrike.net/phpBB3/viewt ... 383#p11383
Thank you.
That's strange. You didn't put the ingamefunctions folder inside the ingamefuctions folder did you? Seems unlikely. Should beBekki wrote:At revision: 471rock5 wrote:From now on can anyone having problems with my chicken eggs script, please read the instructions I've added to the file post before asking for help.
http://www.solarstrike.net/phpBB3/viewt ... 383#p11383
Thank you.
Devtools File @ 471
I try to copy it again in my gamefolder and resatrt game.
I see the problem maybe: I load the waypoint and it says that IngameF is not installed.
But i copied it to runesofmagic/Interface/Addons/ingamefunctions
wheres the prob?
Code: Select all
/script DEFAULT_CHAT_FRAME:AddMessage(IGF_INSTALLED)
Code: Select all
<waypoints>
<!-- # 1 --><waypoint x="4029" z="3168"> </waypoint>
<!-- # 2 --><waypoint x="4079" z="3172"> </waypoint>
<!-- # 3 --><waypoint x="4110" z="3121"> </waypoint>
<!-- # 4 --><waypoint x="4114" z="3113">
player:harvest(112956)
while player:harvest(112956) do
yrest(8000);
end
</waypoint>
<!-- # 5 --><waypoint x="4079" z="3170"> </waypoint>
<!-- # 6 --><waypoint x="4040" z="3162"> </waypoint>
<!-- # 7 --><waypoint x="3950" z="3004"> </waypoint>
<!-- # 9 --><waypoint x="3936" z="2968">
player:harvest(112956)
while player:harvest(112956) do
yrest(8000);
end
</waypoint>
<waypoint x="3935" z="3039">
player:harvest(112955, 1800,114931)
while player:harvest(112955,1800,114931) do
yrest(6000)
end
</waypoint>
<waypoint x="3947" z="3107">
player:harvest(112955,1800,114931)
while player:harvest(112955,1800,114931) do
yrest(6000)
end
</waypoint>
<waypoint x="3958" z="3136">
player:harvest(112955,1800,114931)
while player:harvest(112955,1800,114931) do
yrest(6000)
end
</waypoint>
<!-- # 1 --><waypoint x="3946" z="3264">
yrest(1000)
player:harvest(112955,114931,1800)
yrest(500)
if player:harvest(112955,1800,114931) then
yrest(5000)
end
while player:harvest(112958,1800) do
yrest(1850)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(1000)
end
while player:harvest(112958,1800,114931) do
yrest(1850)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(1000)
end
</waypoint>
<!-- # 2 --><waypoint x="3929" z="3265">
yrest(1000)
player:harvest(112955,1800,114931)
yrest(500)
if player:harvest(112955,1800,114931) then
yrest(5000)
end
while player:harvest(112958,1800,114931) do
yrest(1850)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(1000)
end
while player:harvest(112958,1800,114931) do
yrest(1850)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(1000)
end
</waypoint>
<!-- # 2 --><waypoint x="3920" z="3265">
yrest(1000)
player:harvest(112955,1800,114931)
yrest(500)
if player:harvest(112955,1800,114931) then
yrest(5000)
end
player:harvest(112955,1800)
yrest(500)
if player:harvest(112955,1800,114931) then
yrest(5000)
end
while player:harvest(112958,1800,114931) do
yrest(1850)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(1000)
end
while player:harvest(112958,1800,114931) do
yrest(1850)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(1000)
end
</waypoint>
<!-- # 4 --><waypoint x="3912" z="3199"> </waypoint>
</waypoints>
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="3981" z="3110" tag="Main">
queststate = getQuestStatus("Eine einfache Aufgabe?")
if queststate == "complete" then
-- Complete quest
player:target_NPC("Jenna Miller");
sendMacro("CompleteQuest();"); yrest(2000);
-- Accept quest
player:target_NPC("Jenna Miller");
sendMacro("AcceptQuest()"); yrest(2000);
__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));
elseif queststate == "incomplete" then
-- Collect eggs
if 1 > inventory:getItemCount(204789) then -- Get more feed
__WPL:setWaypointIndex(__WPL:findWaypointTag("Get Feed"));
else
if player:target_Object(112955,8000) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"))
else
__WPL:setWaypointIndex(__WPL:findWaypointTag("Get Eggs"))
end
end
else
-- Accept quest
player:target_NPC("Jenna Miller");
sendMacro("AcceptQuest()"); yrest(2000);
__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));
end
</waypoint>
<!-- # 2 --><waypoint x="3940" z="3055" tag="Get Feed"> </waypoint>
<!-- # 4 --><waypoint x="3937" z="2978">
player:target_Object(112956,7000,true)
</waypoint>
<!-- # 5 --><waypoint x="3935" z="3051">__WPL:setWaypointIndex(__WPL:findWaypointTag("Main")); </waypoint>
<!-- # 6 --><waypoint x="3928" z="3185" tag="Get Eggs"> </waypoint>
<!-- # 8 --><waypoint x="3929" z="3261">
changeProfileOption("HARVEST_DISTANCE", 60)
while player:target_Object(112955,8500) do -- Check for hens
while player:target_Object(112958,1800) do
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(4000)
end
end
while player:target_Object(112958,1800) do -- Check for any missed eggs
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(3000)
end
while player:target_Object(114931,1800) do
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(40)
sendMacro("UseSkill(1,1)") yrest(3000)
end
changeProfileOption("HARVEST_DISTANCE", 75)
</waypoint>
<!-- # 9 --><waypoint x="3926" z="3198">__WPL:setWaypointIndex(__WPL:findWaypointTag("Main")); </waypoint>
</waypoints>
target_Objects is in player.lua in classes folder. Please make sure that it is updated correctly and has a green tick next to it.Bekki wrote:but still the prob: when it trys to loot HENS or Harvest etc
-> attempt to call method target_objects <a nil valure >
I don't even want to start commenting on this file as it is totally and completely screwed up. All the commands seem to be used wrong. I'm surprised any part of it works at all. If you want help with that ask the person who wrote it to fix it.Bekki wrote:there some helps? or why the other file dont loot goldeggs?
yeah just use the rock waypoint for eggs and change the npc name, the position and the ID of the Fresh Herb 204788, the quest name etc... and it will work greatgloover wrote:Thanks rock5, your script works fine.
Does anyone have a script to milk the crummies?
Sorry, I'not an expert in creating scripts. Qcalex, could u upload your script, please?qcalex wrote:yeah just use the rock waypoint for eggs and change the npc name, the position and the ID of the Fresh Herb 204788, the quest name etc... and it will work greatgloover wrote:Thanks rock5, your script works fine.
Does anyone have a script to milk the crummies?
Ok,qcalex wrote:sorry stil en progresse but it is simple as abc all the info to change it to cow insted of chiken is in the topics.
and btw in nub in codding so if i could make it so youyou just need motivation