Jump to content

xDiiZeRx

Inactive Member
  • Posts

    167
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by xDiiZeRx

  1. Hey! I have a bug, or error. I export an object from 3ds max, put it in the game and the model is transparent. I can see inside the model.

    This image is Example.

     

    From above:

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

     

    From below:

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

     

    Thanks for helping!

  2. Hey! I have added 1 new function in c++ to put an object into mysql. But game.core is created. Someone can help me?

    I tested the function, I tried the feature manually.

    int pc_give_au_item(lua_State* L)
        {
            if (!lua_isnumber(L, 1) || !lua_isnumber(L, 2))
            {
                sys_err("QUEST give au_item call error : wrong argument");
                lua_pushnumber(L, 0);
                return 1;
            }
            LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
            //int icount = (int)lua_tonumber(L, 2);
            DWORD dwVnum = (int)lua_tonumber(L, 1);
            LPITEM item = ITEM_MANAGER::instance().CreateItem(dwVnum);
            int iPrice = (int)lua_tonumber(L, 2);
     
            sys_log(0, "QUEST [au_item] itemVnum: %d to PlayerID %s", dwVnum, ch->GetPlayerID());
     
            DBManager::instance().Query("INSERT INTO player.au_item (owner_id, vnum, count, socket0, socket1, socket2, attrtype0, attrvalue0, attrtype1, attrvalue1, attrtype2, attrvalue2, attrtype3, attrvalue3, attrtype4, attrvalue4, attrtype5, attrvalue5, attrtype6, attrvalue6, au_put_date, price) VALUES( %s, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, now(), %d, );",
                ch->GetPlayerID(),
                dwVnum,
                item->GetCount(),
                item->GetSocket(0),
                item->GetSocket(1),
                item->GetSocket(2),
                item->GetAttribute(0),
                item->GetAttribute(1),
                item->GetAttribute(2),
                item->GetAttribute(3),
                item->GetAttribute(4),
                item->GetAttribute(5),
                item->GetAttribute(6),
                iPrice);
     
            lua_pushnumber(L, 0);
            return 1;
        }

     

    pc.give_au_item(19, 200)

     

  3. Hey! I tried to install it g++49

    With this code: cd /usr/ports/lang/gcc49/ && make install clean, and I get an error: 
     

    => Couldn't fetch it - please try to retrieve this
    => port manually into /usr/ports/distfiles/ and try again.
    *** [do-fetch] Error code 1
    
    Stop in /usr/ports/lang/gcc49.
    *** [install] Error code 1

    Can you help me? 
     

  4. Hello everybody!

    1 ) How to DE I would like to move on my server items from the stock (warehouse) with RIGHT CLICK the mouse in my inventory .

     

    2 ) Is it tolls. also possible to implement this reversed so that items are if you have the stock open transferred by right-clicking into the camp ? ( Which has not DE I know )

    Would be great someone had ne instructions would need for changes in the source so that 1 ) and / or even including 2 ) works .

     

    Thanks! :)

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