thanks for that advice
but unfortunately that wont work.
this is my procedure after 24 hours reconnect
1. start at respawn point ks < due to logging out in the middle of a run
2. recalls to sacilia
3. go to the mailbox send gold, tier III runes and guild runes to a collector character
4. go to housekeeper npc
5. >> CHECK all needed housekeepers items, magic dust, clear tought and speed and if neccessary delete those
6. if housekeeprs item are delteted enter house and talk to all 3 housemaids
7. leave the house
8. teleport to ks back with a spesific teleport locaton (cost 1 rune each time)
I don't think you have to delete them. You can just merge new items with old and make them all new. The trick is getting all the item moves in the right order. I haven't done it in a while so I don't remember all the rules to make it work. Still, you probably will need to know the Expire time of the items.
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 I got something for you. I couldn't find a function but the item address + 0xC is the time the item was created (in seconds since 1970, ie. "Unix epoch time"). Just compare it to os.time() and you'll get the age of the item in seconds. Then you just need to know how long the items last, in this case 24 hours, to work out how much longer they will last. Here is a little function that returns an items age in hours, I figured that would be the most useful.
function GetItemAge(item)
if type(item) == "number" and item >= 1 and 240 >= item then
item = inventory.BagSlot[item]
elseif type(item) ~= "table" or item.Address == nil then
error("GetItemAge: Expected bag slot number or item table.")
end
local itemCreated = memoryReadUInt(getProc(), item.Address + 0xC)
return (os.time() - itemCreated)/3600
end
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.