View Full Version : XenoBot Bug - Fixed [Other] EffectMessageProxy not working
drac0ner
12-15-2014, 06:36 PM
Bug Report
Operating System:
Other
Short Description:
EffectMessageProxy not working
Behaviors:
Feature error
Indepth Description:
I do not know if this problem occurs on real tibia as well, but on the OT I play now they just updated to 10.70 and so none of the dice effect messages are received by the EffectMessageProxy. A quick clarification if this is a bug intended to be fixed or not will greatly help me as otherwise I need to start building a workaround.
DarkstaR
12-15-2014, 06:56 PM
You may want to find a work around. I tend to focus on new features and bugs with RL tibia over fixing trivial bugs in OTs. Sorry :(
drac0ner
12-15-2014, 06:59 PM
Ok. So then I assume the bug doesn't occur on rl tibia. Thanks for your time :)
DarkstaR
12-15-2014, 07:26 PM
Ok. So then I assume the bug doesn't occur on rl tibia. Thanks for your time :)
Afaik it does not, but if someone can show that it does I'll give it a fix :)
HjugO
12-15-2014, 09:07 PM
drac0ner
You can read dice number without EffectMessageProxy, my old function.
DICE_IDS = {5792, 5793, 5794, 5795, 5796, 5797}
function getNumber(CONTAINER)
local number = 0
for SPOT = 0, CONTAINER:ItemCount() - 1 do
local tmp = CONTAINER:GetItemData(SPOT)
if table.contains(DICE_IDS, tmp.id) then
wait(CONFIG.PING_COMPENSATION)
number = tmp.id - 5791
end
end
return number
end
drac0ner
12-15-2014, 09:35 PM
Afaik it does not, but if someone can show that it does I'll give it a fix :)
I lent a friends char and ran this script on rl tibia with a dice in my backpack:
EffectMessageProxy.OnReceive("DiceEffect", function(signal, message, x, y, z)
print("Received")
end)
Nothing happened when I rolled the dice. So it looks like it is a problem which occurs on rl tibia as well, unless I am doing something wrong.
drac0ner
You can read dice number without EffectMessageProxy, my old function.
DICE_IDS = {5792, 5793, 5794, 5795, 5796, 5797}
function getNumber(CONTAINER)
local number = 0
for SPOT = 0, CONTAINER:ItemCount() - 1 do
local tmp = CONTAINER:GetItemData(SPOT)
if table.contains(DICE_IDS, tmp.id) then
wait(CONFIG.PING_COMPENSATION)
number = tmp.id - 5791
end
end
return number
end
I know, but that method is less reliable and has a lot of things that can go wrong compared to the EffectMessageProxy.
DarkstaR
12-16-2014, 12:26 AM
Looking into it tonight.
drac0ner
12-17-2014, 09:08 PM
This is at least fixed on OTs now. Thank you. :)
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.