ZuZuR 1 Posted January 14 Share Posted January 14 I have a problem with switchboot. when I put a zodiac item, it uses normal bonuses, not the Zodiac ones. can someone help me solve this please? Quote switchbonus.h #include <boost/unordered_map.hpp> #include "../../common/stl.h" #include "../../common/tables.h" class CSwitchBonus : public singleton<CSwitchBonus> { enum { VNUM_CHANGE_ITEM = 71084, COUNT_CHANGE_ITEM = 1000, }; public: CSwitchBonus(); virtual ~CSwitchBonus(); bool CheckElementsSB(LPCHARACTER ch); bool CanMoveIntoSB(LPITEM item); void OpenSB(LPCHARACTER ch); void ClearSB(LPCHARACTER ch); void CloseSB(LPCHARACTER ch); void SendSBItem(LPCHARACTER ch,LPITEM item); void ChangeSB(LPCHARACTER ch,const TPlayerItemAttribute* aAttr); void SendSBPackets(LPCHARACTER ch,BYTE subheader, int id_bonus = 0, int value_bonus_0 = 0, int value_bonus_1 = 0, int value_bonus_2 = 0, int value_bonus_3 = 0, int value_bonus_4 = 0); }; Link to comment Share on other sites More sharing options...
Psycho 96 Posted January 14 Share Posted January 14 7 hours ago, ZuZuR said: I have a problem with switchboot. when I put a zodiac item, it uses normal bonuses, not the Zodiac ones. can someone help me solve this please? Quote switchbonus.h #include <boost/unordered_map.hpp> #include "../../common/stl.h" #include "../../common/tables.h" class CSwitchBonus : public singleton<CSwitchBonus> { enum { VNUM_CHANGE_ITEM = 71084, COUNT_CHANGE_ITEM = 1000, }; public: CSwitchBonus(); virtual ~CSwitchBonus(); bool CheckElementsSB(LPCHARACTER ch); bool CanMoveIntoSB(LPITEM item); void OpenSB(LPCHARACTER ch); void ClearSB(LPCHARACTER ch); void CloseSB(LPCHARACTER ch); void SendSBItem(LPCHARACTER ch,LPITEM item); void ChangeSB(LPCHARACTER ch,const TPlayerItemAttribute* aAttr); void SendSBPackets(LPCHARACTER ch,BYTE subheader, int id_bonus = 0, int value_bonus_0 = 0, int value_bonus_1 = 0, int value_bonus_2 = 0, int value_bonus_3 = 0, int value_bonus_4 = 0); }; paste switchbot.cpp Link to comment Share on other sites More sharing options...
ZuZuR 1 Posted January 15 Author Share Posted January 15 (edited) 6 hours ago, Psycho said: paste switchbot.cpp https://ctxt.io/2/AACwOC73FA or https://docs.google.com/document/d/1ZkPC3VizOaWkcr8UsiW2oS3TwquluQbKtmHSKi04VVY/edit?usp=sharing or download This is the hidden content, please Sign In or Sign Up Virustotal This is the hidden content, please Sign In or Sign Up Edited January 15 by ZuZuR I added more options Link to comment Share on other sites More sharing options...
Psycho 96 Posted January 15 Share Posted January 15 6 hours ago, ZuZuR said: https://ctxt.io/2/AACwOC73FA or https://docs.google.com/document/d/1ZkPC3VizOaWkcr8UsiW2oS3TwquluQbKtmHSKi04VVY/edit?usp=sharing or download Hidden Content Give reaction to this post to see the hidden content. Virustotal Hidden Content Give reaction to this post to see the hidden content. ok what antiflag do your zodiac items have? Link to comment Share on other sites More sharing options...
ZuZuR 1 Posted January 15 Author Share Posted January 15 (edited) 1 hour ago, Psycho said: ok what antiflag do your zodiac items have? 262196 262176 262200 262172 262188 Edited January 15 by ZuZuR add all Link to comment Share on other sites More sharing options...
ZuZuR 1 Posted January 16 Author Share Posted January 16 Up Link to comment Share on other sites More sharing options...
ZuZuR 1 Posted January 16 Author Share Posted January 16 Up Link to comment Share on other sites More sharing options...
ZuZuR 1 Posted January 17 Author Share Posted January 17 solvent T/C Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now