Jump to content

Hades ✔

Member
  • Posts

    60
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by Hades ✔

  1. 14 minutes ago, IGNEEL said:

    I think you are talking about this 
    uiShop.py 
    -def open()
    self.smallRadioButtonGroup.OnClick(0) # 0 is num of default tab.
    You should make changes so that the default tab number is determined by 'shop_vnum'.

    ACMD(do_shop_remote)
    {
        if (ch->IsDead() || ch->GetExchange() || ch->GetMyShop() || ch->IsOpenSafebox() || ch->IsCubeOpen())
        {
            ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT(TRANSLATE_LANGUAGE,"Close the open windows first."));
            return;
        }

        char arg1[256];
        one_argument(argument, arg1, sizeof(arg1));

        if (!*arg1)
            return;

        uint16_t vnum;
        str_to_number(vnum, arg1);

        LPSHOP shop = CShopManager::instance().Get(vnum);
        if (!shop)
            return;

        ch->SetShopOwner(ch);
        shop->AddGuest(ch, 0, false);
    }

    I have this function to open the normal shops.

    I'm wondering if there is not an function in server source to can open a specific tab, without to use binary or slots..

     

        size_t            GetTabCount() { return m_vec_shopTabs.size(); }

    All i can find about ShopEX tab is this check in Server source..

  2. Hello,

    (?) Reffering to this function to remote a shop:

    [python]

    ACMD(do_shop_remote)
    {
        if (ch->IsDead() || ch->GetExchange() || ch->GetMyShop() || ch->IsOpenSafebox() || ch->IsCubeOpen())
            return;

        char arg1[256];
        one_argument(argument, arg1, sizeof(arg1));

        if (!*arg1)
            return;

        uint16_t vnum;
        str_to_number(vnum, arg1);

        LPSHOP shop = CShopManager::instance().Get(vnum);
        if (!shop)
            return;

        ch->SetShopOwner(ch);
        shop->AddGuest(ch, 0, false);
    }

    [/python]

    (?) It doesn't matter if i put there the right shop vnum, i will always get the first tab of the ShopEX.

    (?) How i can make the function if the ShopEx "GetTabCount > 1" to get the available tabs buttons there;

    (?) Or to open the shop window without the tabs buttons, but to get the right shop window by the shop vnum.

    https://metin2.download/picture/RS9aD8Rr68bCa04oQ1SOtJWu33Y8DDLa/.gif

     

     

  3. Hades World
    ________________________________________________

    GLOBAL | NewSchool | Lv. Max 115
    Unique Gameplay Experience

    ________________________________________________

    Website: https://hades.global/
    Presentation: https://info.hades.global/
    Discord: https://discord.gg/YF27nkC

    v6MFz43.png

    _______________________________

    Youtube Presentation
    _______________________________

    Anne

    https://youtu.be/l-i_z3Z2SPo

    EN >> The best presentation does not even exist.
    RO >> Cea mai bună prezentare nici măcar nu există.

    https://youtu.be/IQvE5rogujs?t=330EN  >>  See more presentations in the spoiler below:
    RO >>   Vezi mai multe prezentari in spoilerul de mai jos:

     

     


    Social Links:

    Discord: https://discord.gg/YF27nkC
    Facebook: https://www.facebook.com/Hades-World-108981128183066
    Instagram: https://www.instagram.com/hades.global/
    TikTok: https://www.tiktok.com/@hades.global
    ________________________________________________

     Here you can support our World
    https://www.buymeacoffee.com/hades.world

    • Metin2 Dev 1

  4. > The Server presentation is almost completed!
    > When we complete the translation for the other languages the website will be updated.
    > Currently available for the following languages:

    EN    >    https://www.info.hades.global/?lang=en
    DE    >    https://www.info.hades.global/?lang=de
    FR    >    https://www.info.hades.global/?lang=fr
    RO    >    https://www.info.hades.global/?lang=ro
    NL    >    https://www.info.hades.global/?lang=nl

    • Good 1
  5.  Hades World
    GLOBAL | NewSchool | Lv. Max 115
    Unique Gameplay Experience

    d1XS3wD.gif

    Site: http://hades.global/

    Register: https://hades.global/users/register

    Download: https://hades.global/download

    Social Links
    Discord: Cick Here
    Facebook: Cick Here
    Instagram: Cick Here
    TikTok: Cick Here

      Presentation

    Spoiler

    ixdz55y.jpg

    i6Ss86G.gif

    rwl1RVF.png

    g4KVlQN.png

    lYjTWVV.png

    qE0ywmv.png

    LBOEHdq.png

    hBebFZJ.gif

    jtRdBvx.jpg

    2qbcVB6.jpg

    ojye9Gq.jpg

    4SCK3xY.jpg

    CeUqpbw.gif

     

     

  6.  

    Website: http://hades-world.global/

     

    tYv62jV.png

     

    For those who want to be updated with all the news.

     

    Or even give us a helping hand to test the project.

     

    Just follow the link below & Join us !

     

    Discord: https://discord.gg/kWhRrYz

     

    ----------------------------------------------------------------------------------------

    [EN] -> A brief description of the project -> Hades World.

    ----------------------------------------------------------------------------------------

     

    - Level Max.: 105

     

    - The game mode is Easy, but getting items will be a little more difficult.

     

    - The evolutions are some classics, so that you will not be too attached to their appearance, considering that they will be harder, they will be on the server a variety of costumes, to choose for yourself an aspect that characterizes you.

     

    - In the classic maps, a lot of methine stones were added, which have a low respawn time.

     

    - Classic dungeons are on time, once you enter the dungeon you are directly in front of bosses.

     

    - Gamplay is a diversified one, but at the moment it is not a fixed one, it will change over time.

     

    - The goal is to give you a game as enjoyable, a captivating world, you will hit some weights.

     

    - You will not have to play with friends, if you do not want this, you will succeed by yourself.

     

    - The donors will not be superior to the players, they will also need the help of the players, they will not have special bonuses, they will not be favored and they will only benefit from a more pleasant aspect, and for the players these will be obtained only through various events.

     

    ----------------------------------------------------------------------------------------

    [Hades World] -> Preview - [EN].

    ----------------------------------------------------------------------------------------

     

    Spoiler

    SkZweBz.png

     

    HrfwGJQ.gifmaFzNch.gif

     

    oj83mww.png

     

    QAxiUzL.png

     

    3Re0LRN.png

     

    9nRg3td.gif

     

    oVZvgbG.gif

     

     

     

     

     

     

  7. Others ?

    Spoiler

    xlORTVH.jpg

    Turkmmo coding.

    Spoiler

    ebx9sw2.jpg

    Searching for C++ functions.

    Spoiler

    JbhQ8t5.jpg

    Take care .

    Spoiler

    kNzKFYO.jpg

    @ManiacRobert

    Spoiler

    AZNdjcS.jpg

    After u drink ur coffe and ur going to see if your source is compiling succesfully , but u got an error that's telling you missed ";" on line ...

    Spoiler

    syAfOBN.jpg

     

    • Love 1
  8. How the python syserr works...

    Spoiler

    50177Qw.jpg

     

    Using " else if " instead to make the function using " for ".

    Spoiler

    JeTrnLh.jpg

     

    When you finally finished the your code...

    Spoiler

    VANTgnT.jpg

     

    • Love 2
  9. On 4/5/2018 at 4:55 PM, Galet said:

    Hello,

    I won't, as well as I won't give you a full method; why do you want to use something which is already released and where you can see and exploit all of its flaws ? (I know you don't, but I justify)

    This is why I suggest you to code your own protection. It is not "that" hard to be honest as long as you know how it works. If you don't want to create something from scratch, you can even use another method from another video game, you just have to rip it off and adapt it.

     

    I don't think it's really easy to adapt from another game, because of models or property.

    And to make it by yourself, it's the same shit, you can just remake the old method and add some tricks.

    You can find encrypt, but for sure you can have the decrypt too.

    And the fox pack is already too old. People use that encryption method because the decryption tools isn't already pusblishied xD

×
×
  • 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.