Jump to content

AlCapone

Inactive Member
  • Posts

    294
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by AlCapone

  1. Hi I have a bug I cant solve since I search in all google.

    The bug is if I use the heal skill dont give HP.

    The run and atack skill works good and give me this message in debug:

    Weapon type is 5 [ALERT] ┼©░┘└╠ ¥°¥¯╝¡ Ã├À╣└╠¥¯┐í░È ╗þ┐ÙÃı┤¤┤┘
    Remove Affect 111 95
    __RemoveAffect 111 ( No Affect )

    But for Heal skill give me only this:

    Weapon type is 5

    Thanks

  2. I have one problem whit the special storage sistem. Is this sistem:

    depozit.png

    I have the following problem:

    -If I take an UP item goes to item table and window  BELT_INVENTORY
    -If a book is put in GROUND, that means after a reboot disappears from the inventory
    -If I take a stone, I put it in UPGRADE_INVENTORY
    They should normally be in UPGRADE_INVENTORY, BOOK_INVENTORY, STONE_INVENTORY
    My ClientManagerPlayer is edited like this:

    snprintf(szQuery, sizeof(szQuery),
    "SELECT id,window+0,pos,count,vnum,socket0,socket1,socket2,attrtype0,attrvalue0,attrtype1,attrvalue1,attrtype2,attrvalue2,attrtype3,attrvalue3,attrtype4,attrvalue4,attrtype5,attrvalue5,attrtype6,attrvalue6 "
    "FROM item%s WHERE owner_id=%d AND (window in ('INVENTORY','EQUIPMENT','DRAGON_SOUL_INVENTORY','BELT_INVENTORY','UPGRADE_INVENTORY','BOOK_INVENTORY','STONE_INVENTORY'))",
    GetTablePostfix(), pTab->id);
    
    
    snprintf(queryStr, sizeof(queryStr),
    "SELECT id,window+0,pos,count,vnum,socket0,socket1,socket2,attrtype0,attrvalue0,attrtype1,attrvalue1,attrtype2,attrvalue2,attrtype3,attrvalue3,attrtype4,attrvalue4,attrtype5,attrvalue5,attrtype6,attrvalue6 "
    "FROM item%s WHERE owner_id=%d AND (window in ('INVENTORY','EQUIPMENT','DRAGON_SOUL_INVENTORY','BELT_INVENTORY','UPGRADE_INVENTORY','BOOK_INVENTORY','STONE_INVENTORY'))",
    GetTablePostfix(), packet->player_id);
    CDBManager::instance().ReturnQuery(queryStr, QID_ITEM, peer->GetHandle(), new ClientHandleInfo(dwHandle, packet->player_id));
    
    
    snprintf(queryStr, sizeof(queryStr), "DELETE FROM item%s WHERE owner_id=%d AND (window in ('INVENTORY','EQUIPMENT','DRAGON_SOUL_INVENTORY','BELT_INVENTORY','UPGRADE_INVENTORY','BOOK_INVENTORY','STONE_INVENTORY'))", GetTablePostfix(), pi->player_id);
    delete CDBManager::instance().DirectQuery(queryStr);

    The sistem is this: https://mega.nz/#!KVpDzBiL!gbHkZbrBBriT7vLqwnknpL_ieVvFVgUb0-cgKIo4WSg

    https://www.virustotal.com/#/file/18fa708969eabfe862126ba9eca0623e106b456e512491154029b493932e1586/detection

  3. En 12/6/2018 a las 17:53, Dobrescu Sebastian dijo:

    Why we never had this problem ? Why he has ?

    Why he has HARACTER::GetWear: invalid wear cell ? If this is a drop with ownership why it tells about a wear cell ? The only thing i think about when you have negative grade and after you die you lose your items.

    I use this item remove Remove and checked all the sistem and is same...

    How do I put that check for the remove item??

  4. hace 23 minutos, Dobrescu Sebastian dijo:

    Put a check to your remove item sistem to don't make anything if item or owner is missing.

    Hm you can give me that check and where to put it? I know your time worth money if you like I can pay for this solucion. I am losing players.

    Ty

     

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