Jump to content

I have a problem with swichboot with zodiac items


Recommended Posts

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

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

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

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

Virustotal

This is the hidden content, please

Edited by ZuZuR
I added more options
Link to comment
Share on other sites

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.