Jump to content

DeYaN.

P-Server Owner
  • Posts

    349
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by DeYaN.

  1. Hello, I greet you all.

     I have an easy and simple problem with the basic mount system, ctrl+g fast doesn't work for all mounts.

    As you can see here: https://metin2.download/video/YE8V700hm24oPQibC6gVoD9522KLQzyY/.mp4  with vnum (71120- works ) & (71124 - dosen`t) wich is by default installed.

     

     

    I researched and made sure that  vnum - item_proto & mob proto db & client it is the same 100% all as with the mounts that works. 

    Also i checked the ride_quest ,  I also tried with the method from special_item_group but more than likely it doesn't matter because my mounts don't stay equipped.

     

     

    Probably the problem or the function exists somewhere in root / py or src/binnary, but I did not manage to identify it. 

    Can somebody help me ?

  2. On 1/11/2021 at 4:11 PM, Mitachi said:

    Answer a little late, I'm sorry.
     

    Search and delete this code in ur source:

     

    if (!ms_kD3DDetector.Find(800, 600, 32, TRUE, &ms_iD3DModeInfo, &ms_iD3DDevInfo, &ms_iD3DAdapterInfo))
            return CREATE_DETECT;

     

    didnt work for me .

  3. Hello, Is anyone here very skilled in upgrading the source? I did the update myself from g++48 and c++11 to g++12 and c++14 and things are not going very well. 

    Both compile, work... I start, on the test server everything is fine until I put the db on the live server and in 30 minutes it crashes.

    During the upgrade, the only modified file in the db is the makefile and it looks something like this:

    https://metin2.download/picture/y8OpqfhD8KLWoKd0HHJlExlIzY7W2vtu/.png

     

    I'm probably missing a lot of things, and in the game src I modified the makefile and 3 more files... but the game doesn't crash.

    I am looking for a professional to help me in a timely manner.

  4. 12 hours ago, caanmasu said:

    game -> battle.cpp

     

    Find:

    int CalcAttBonus(LPCHARACTER pkAttacker, LPCHARACTER pkVictim, int iAtk)

    Make sure all the elements are together, like this (example):

     

    		if (pkVictim->IsRaceFlag(RACE_FLAG_ATT_WIND))
    			iAtk += (iAtk * pkAttacker->GetPoint(POINT_ENCHANT_WIND)) / 100;

    Do the same with fire, elec, ice, earth, dark

    i allready have this:

     

    Quote

        if (pkAttacker->IsNPC() && pkVictim->IsPC())
        {
            if (pkAttacker->IsRaceFlag(RACE_FLAG_ATT_ELEC))
                iAtk -= (iAtk * 30 * pkVictim->GetPoint(POINT_RESIST_ELEC))        / 10000;
            else if (pkAttacker->IsRaceFlag(RACE_FLAG_ATT_FIRE))
                iAtk -= (iAtk * 30 * pkVictim->GetPoint(POINT_RESIST_FIRE))        / 10000;
            else if (pkAttacker->IsRaceFlag(RACE_FLAG_ATT_ICE))
                iAtk -= (iAtk * 30 * pkVictim->GetPoint(POINT_RESIST_ICE))        / 10000;
            else if (pkAttacker->IsRaceFlag(RACE_FLAG_ATT_WIND))
                iAtk -= (iAtk * 30 * pkVictim->GetPoint(POINT_RESIST_WIND))        / 10000;
            else if (pkAttacker->IsRaceFlag(RACE_FLAG_ATT_EARTH))
                iAtk -= (iAtk * 30 * pkVictim->GetPoint(POINT_RESIST_EARTH))    / 10000;
            else if (pkAttacker->IsRaceFlag(RACE_FLAG_ATT_DARK))
                iAtk -= (iAtk * 30 * pkVictim->GetPoint(POINT_RESIST_DARK))        / 10000;
        }

     

  5. Hello everyone, I want to do the bonuses rezist_fire(flame dungeon-razador) and rezist_elect(v4) on items to work.

    I think the bonuses are correct in the mob_proto table because I made them like the ones from fly v3,swapp v5, mob_proto.txt oficial client.

    .png

    But it seems that this is not enough and it does not work.

    In my google search I found a tutorial in which i need to activate him from length.h and at the same time I have to disable SKILL_ATTR_TYPE_RANGE ( arrow atacks )

    .png

    And I don't really know if this is the solution to the problem. Can someone guide me?

  6. .png
    Hello everyone, I also need some advice for a premium pet system.

    I'm a consumer of premium services, but I'm tired of people who don't offer support after you buy them, I and my players are tired of crashes and testing them on the live server. 

    So, that's why I'm here to ask you which premium pet system you know, have you tested on your server and it had no problems!

  7. Hello, I am looking for a very good mysql expert to insert two tables of the offline shops systems  what I have used in the past!

    from offlineshop by GREAT

    image.png

    and offlineshop by Sonitex

    image.png

     

    I want to insert these items in the original item table - MALL (ITEMSHOP) window. At first glance, it doesn't seem like something very complicated, but I don't have that much knowledge.

    I'm waiting for messages on my discord: valentindeian#7623 . 

  8. Ohh sorry , so you are Emanuel ? 🤣

    C1-A934-EC-1653-4-ECF-ABE2-D7-F83-A83-AF

    You are unblocked me on facebook only to tell that if i want the fix 🤣 probably you are the person who use this exploits against me.

     

    Go the Hell , i posted in this community with an old account not like you with only one post. I have bought many systems from marketplace and I pay at any time for my needs.

  9. Ok , it's me too .. I'm probably making the third request on this forum but I'm desperate and willing to pay anything.

    I have someone who managed in 3 days to find 3 different exploits which works on my server and crash my core.

    The last two was in SaveSingleItem function (with Great OfflineShop) , next (ItemDropPenalty) where i disabled this functions ... and now :

    image.png

     

    If there is someone here who can help me, I am waiting for a message on my discord valentindeian#7623. I pay very well to solve this problem, because I have reached the limit of my patience.

    And for those who answered me on the previous topic, no.. it's not martysama's source, it's a fliege v1 that I've been using since 2018 .. what you saw was just a fix posted by marty on his website.

    • Think 1
  10. Someone is playing with me with an exploit on the code from ItemDropPenalty. I think this because yesterday he played with the one from offlineshop by great, but I realized this quickly enough and stopped the system .. and it is too big a coincidence for this core to appear suddenly.

     

    So this is the problem I'm paying to fix :

    I have already checked some syserr but I don't notice anything strange

    image.png

     

  11. 20 hours ago, WeedHex said:

    if(!item->GetName()) { sys_err("SaveSingleItem: item->GetName NULL"); return; }

    lol

     I added that, the server doesn't crash anymore, but it causes big problems in the database and makes online players lose their items. I see that the problem has been exposed in the past here: but I can't find the real cause. I also have his great offline shop and I have the impression that someone is playing with me because it doesn't do it all the time but only at time intervals when there are many people online. 

     

  12. 8 hours ago, WeedHex said:

    if(!item->GetName()) { sys_err("SaveSingleItem: item->GetName NULL"); return; }

    lol

    Yes,i dont have this .. now i added in  void ITEM_MANAGER::SaveSingleItem(LPITEM item) .. it`s ok ? thanks

    Quote

    void ITEM_MANAGER::SaveSingleItem(LPITEM item)
    {
        if (!item->GetName())
        {
            sys_err("SaveSingleItem: item->GetName NULL")
            return;
        }

        if (!item->GetOwner())
        {
            DWORD dwID = item->GetID();
            DWORD dwOwnerID = item->GetLastOwnerPID();

            db_clientdesc->DBPacketHeader(HEADER_GD_ITEM_DESTROY, 0, sizeof(DWORD) + sizeof(DWORD));
            db_clientdesc->Packet(&dwID, sizeof(DWORD));
            db_clientdesc->Packet(&dwOwnerID, sizeof(DWORD));

            sys_log(1, "ITEM_DELETE %s:%u", item->GetName(), dwID);
            return;
        }

        sys_log(1, "ITEM_SAVE %s:%d in %s window %d", item->GetName(), item->GetID(), item->GetOwner()->GetName(), item->GetWindow());

        TPlayerItem t;

        t.id = item->GetID();
        t.window = item->GetWindow();
        t.pos = t.window == EQUIPMENT ? item->GetCell() - INVENTORY_MAX_NUM : item->GetCell();
        t.count = item->GetCount();
        t.vnum = item->GetOriginalVnum();
        t.owner = (t.window == SAFEBOX || t.window == MALL) ? item->GetOwner()->GetDesc()->GetAccountTable().id : item->GetOwner()->GetPlayerID();
        thecore_memcpy(t.alSockets, item->GetSockets(), sizeof(t.alSockets));
        thecore_memcpy(t.aAttr, item->GetAttributes(), sizeof(t.aAttr));

        db_clientdesc->DBPacketHeader(HEADER_GD_ITEM_SAVE, 0, sizeof(TPlayerItem));
        db_clientdesc->Packet(&t, sizeof(TPlayerItem));
    }

     

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