Jump to content

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);

};

  • 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

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
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?

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.