now i wait for some good HUD script :P
now i wait for some good HUD script :P
basic loot counter done. still has some minor points that need working on but it is functional.
![]()
@DarkstaR, you release all the cool shit when I don't have time. Not fair![]()
<3 <3 <3
As always, thank you Nick!
Awesome! Gonna download it after the server save =)
Thanks!
@soul4soul, what's your script look like? Try mine!
[highlight=lua]
local lootList = {"gold coin","blood herb"}
local lootIcons = {}
local lootCounts = {}
for x = 1, #lootList do
lootIcons[x] = HUD.CreateItemDisplay(10, x * 32, Item.GetID(lootList[x]), 32, math.min(Self.ItemCount(Item.GetID(lootList[x])), 100))
lootCounts[x] = HUD.CreateTextDisplay(26, x * 32 + 20, Self.ItemCount(Item.GetID(lootList[x])), 200, 200, 200)
end
local ElapsedTime = HUD.CreateTextDisplay(10, 15, "Elapsed Time: ", 200, 200, 200)
local time = os.clock()
while true do
wait(500)
ElapsedTime:SetText(string.format("Elapsed Time: %.2d:%.2d:%.2d", math.floor(os.difftime(os.clock(), time) / 3600), math.floor(os.difftime(os.clock(), time) / 60) - math.floor(os.difftime(os.clock(), time) / 3600) * 60, os.difftime(os.clock(), time) - math.floor(os.difftime(os.clock(), time) / 60) * 60 - math.floor(os.difftime(os.clock(), time) / 3600) * 3600))
for x = 1, #lootList do
lootIcons[x]:SetItemCount(math.min(Self.ItemCount(Item.GetID(l ootList[x])), 100))
lootCounts[x]:SetText(Self.ItemCount(Item.GetID(lootList[x])))
end
end
[/highlight]
Gosh.. this is complicated to me haha.
Is it able to make the script when u loot for example a boh, that it shows a boh in the corner?
or do I need to add every item what I want to have in the screen?
It generates an itemcount and icon for each item you add to lootList. At this time the itemcount is not very intuitive as it only counts what items it can currently see.
@DarkstaR, my HUD script seems to make me lag a bit. Are the HUD functions pretty demanding?
Last edited by Spectrus; 07-16-2012 at 09:45 AM.
"finally scriptable HUD, i love those things to check my hunt status, but I really wished you could add the (loot monsters with listed items) and also checked a bug that I had, from time to time my character gets kicked and it shows the message ( you are disconnected from the sever) this only happens with chars using xenobot, for example, i was botting with my druid 250 , while hunting manually on my friend's ED 400 at walls, the bloker decided to get a glass of water, i went to check my char and was disconnect even though no mass kick happened, neither i felt lag or something related.this Happened not only once, but at least 40x, I already died alot i tried many different things, like every hunt that i finish i close my client and open again, but it doesn't seem to work, it will eventually happen. is not like a normal death, because if my character died in normal circustances, it would not show ( You are disconnected from the server). its not only weird, but annoying, and I really noticed that on the double exp event since that time i died A LOT. i could be close to 300 right now but i lost so much money & exp that i really don't have idea how I still play with this character. and I say it again, is not mass kick , because it happens almost everyday and no one complains about mass kick neither my internet drops. most of the time I'm online with other character maybe using others bots maybe playing manually and only my char using xenobot gets kicked no matter what."
@thenick
i've been having the very same problem ever since i started with xenobot.
it happens once every other day to me.
last time it happened this happened Jul 14 2012, 16:57:31 CEST Died at Level 129 by a brimstone bug.
- Bought an 112 ek from watio @ xeno forums