Golbez wrote:if 90 >= inventory:itemTotalCount(0) then
I thought you had changed this to what I said. You did reply to that post.
What this does is if you have less than 90 free spaces left then it will go to the merchant. So if you have 2 or 3 bags, you will always go to the merchant. If you have 4 bags then it will go to the merchant when 1 bag fills. I don't think that's what you intended.
ok waypoint works fine thanks for the help lisa.. i tried to get alittle fancy with it to mail if it has 1000 Poison Anteater Sac and now I get this error....[string "..."]:4: attempt to call gobal 'UMM_SendByName0rId' (a nil value)...I been copying and pasting from the dog meat script to try to get the mailing down and i do have rocks userfunction...after i get this part ill post so others can use it and you can bot for as long as want....oh and i need to figure out the GM detect and the this script will have all it needs to run with no problems
edit: The waypoint works perfect thanks rock and lisa..
All the corrections are made and can be copied and paste to use.
local dura = inventory:getMainHandDurability();
printf("Durability:%s\n", dura);
if( 60 > dura ) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("npc"));
end
abron1 wrote: i tried to get alittle fancy with it to mail if it has 1000 Poison Anteater Sac and now I get this error....[string "..."]:4: attempt to call gobal 'UMM_SendByName0rId' (a nil value)...
This looks fine. I don't see any errors. You know you dont need a long wait after the mail functions because the functions don't return until they are finished sending.
If you want to send only full stacks, there is a mail function for that.
thanks rock but i still get the same error...maybe i installed the mail function in the wrong place i have your mail mod in the rom folder is there somethings else i need i read all your instructions but there must be something i did wrong and i aslo have you rommail mod addon so i don't know what the problem is.... is there something i need to put in my profile? oh and made the changes you suggested
The UltimateMailMod goes in the "Runes of Magic/Interface/Addons" folder. You'll know if it is working if you see the UMM frame when you open the mailbox in game. The userfunction file goes into the "rom/userfunctions" folder.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
ok got it to work now i thought the "Rom folder" was the runes of magic/addon folder and had the user functions in the wrong spot thanks alot. i want to add the goodies functions and test then ill post for all to use. now that i think about it.. it can be used if you copy it and paste it because the error was on me putting the mail function in the wrong spot