Hello
i tryed to add some additional Stones my Code is like that but cant figure out what iam doing wrong
// Stone of Plus EXP 10% 1 Day if (IPlayer.IsOnline() && Item.CheckIndex() == 5300) { IPlayer.Buff(175,86400,0); <normaly buff id and time IPlayer.SetBuffIcon(86000000,0,0,1052);< ????? (*(int (__thiscall **)(DWORD, void *, signed int, signed int))(*(DWORD*)ItemOffset + 120))((int)ItemOffset,IPlayer.GetOffset(),9,-1); return Item.GetAmount(); }
5300 is the index of the item
175 is the buff id
1052 is in macro.dat the key wich give the icon to left side
my problem is atm the time isnt not exactly 24h second problem is after relog the icon is gone on the left side maybe someone can explain what is my mistake?
thank you
i tryed to add some additional Stones my Code is like that but cant figure out what iam doing wrong
// Stone of Plus EXP 10% 1 Day if (IPlayer.IsOnline() && Item.CheckIndex() == 5300) { IPlayer.Buff(175,86400,0); <normaly buff id and time IPlayer.SetBuffIcon(86000000,0,0,1052);< ????? (*(int (__thiscall **)(DWORD, void *, signed int, signed int))(*(DWORD*)ItemOffset + 120))((int)ItemOffset,IPlayer.GetOffset(),9,-1); return Item.GetAmount(); }
5300 is the index of the item
175 is the buff id
1052 is in macro.dat the key wich give the icon to left side
my problem is atm the time isnt not exactly 24h second problem is after relog the icon is gone on the left side maybe someone can explain what is my mistake?
thank you