Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/18/18 in all areas

  1. M2 Download Center Download Here ( Internal ) root/uiRefine.py [Hidden Content] root/constInfo.py Another idea: (you don't have to use this, is just a example, can add in tooltip where you can drop items which you need, you can add a listbox+scrollbar and send drops from server and cache it in dictionary.) [Hidden Content]
    1 point
  2. Use LibJpeg-Turbo, it is much better. [Hidden Content]
    1 point
  3. Copy the code that I published, that's the fix
    1 point
  4. In: self.tooltipItem.AddItemData(TOOLTIP_DATA['materials'].__getitem__(slotIndex), 0, 0, 0, 0, player.INVENTORY) ## OR self.tooltipItem.AddItemData(slotVnum, 0, 0, 0, 0, player.INVENTORY) Delete player.INVENTORY and try again.
    1 point
  5. I did not abandon the project but due to personal rl issues I wasn't able to do much. I'm sorry for the lack of updates. Things will change starting next year. So stay tuned, I'm gonna release a new version once I'm done with the rl stuff.
    1 point
  6. case ITEM_GACHA: { DWORD dwBoxVnum = item->GetVnum(); std::vector <DWORD> dwVnums; std::vector <DWORD> dwCounts; std::vector <LPITEM> item_gets(0); int count = 0; if (GiveItemFromSpecialItemGroup(dwBoxVnum, dwVnums, dwCounts, item_gets, count)) { for (int i = 0; i < count; i++){ switch (dwVnums[i]) { case CSpecialItemGroup::GOLD: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("돈 %d 냥을 획득했습니다."), dwCounts[i]); break; case CSpecialItemGroup::EXP: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자에서 부터 신비한 빛이 나옵니다.")); ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%d의 경험치를 획득했습니다."), dwCounts[i]); break; case CSpecialItemGroup::MOB: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자에서 몬스터가 나타났습니다!")); break; case CSpecialItemGroup::SLOW: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자에서 나온 빨간 연기를 들이마시자 움직이는 속도가 느려졌습니다!")); break; case CSpecialItemGroup::DRAIN_HP: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자가 갑자기 폭발하였습니다! 생명력이 감소했습니다.")); break; case CSpecialItemGroup::POISON: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자에서 나온 녹색 연기를 들이마시자 독이 온몸으로 퍼집니다!")); break; case CSpecialItemGroup::MOB_GROUP: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자에서 몬스터가 나타났습니다!")); break; default: if (item_gets[i]) { if (dwCounts[i] > 1) ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자에서 %s 가 %d 개 나왔습니다."), item_gets[i]->GetName(), dwCounts[i]); else ChatPacket(CHAT_TYPE_INFO, LC_TEXT("상자에서 %s 가 나왔습니다."), item_gets[i]->GetName()); } } } if(item->GetSocket(0) > 1) item->SetSocket(0, item->GetSocket(0) - 1); else ITEM_MANAGER::instance().RemoveItem(item, "REMOVE (ITEM_GACHA)"); } } break; When you open a gacha box and you get yang, experience, etc. nothing appears. I think with this it would be corrected.
    1 point
  7. Hm, could you explain the bug?
    1 point
  8. Example: LPITEM item ; if (IS_SET (item ->GetAntiFlag(), ITEM_ANTIFLAG_GIVE | ITEM_ANTIFLAG_PKDROP | ITEM_ANTIFLAG_SELL)) return ; enum EItemAntiFlag { ITEM_ANTIFLAG_FEMALE = ( 1 << 0 ), ITEM_ANTIFLAG_MALE = ( 1 << 1 ), ITEM_ANTIFLAG_WARRIOR = ( 1 << 2 ), ITEM_ANTIFLAG_ASSASSIN = ( 1 << 3 ), ITEM_ANTIFLAG_SURA = ( 1 << 4 ), ITEM_ANTIFLAG_SHAMAN = ( 1 << 5 ), ITEM_ANTIFLAG_GET = ( 1 << 6 ), ITEM_ANTIFLAG_DROP = ( 1 << 7 ), ITEM_ANTIFLAG_SELL = ( 1 << 8 ), ITEM_ANTIFLAG_EMPIRE_A = ( 1 << 9 ), ITEM_ANTIFLAG_EMPIRE_B = ( 1 << 10 ), ITEM_ANTIFLAG_EMPIRE_C = ( 1 << 11 ), ITEM_ANTIFLAG_SAVE = ( 1 << 12 ), ITEM_ANTIFLAG_GIVE = ( 1 << 13 ), ITEM_ANTIFLAG_PKDROP = ( 1 << 14 ), ITEM_ANTIFLAG_STACK = ( 1 << 15 ), ITEM_ANTIFLAG_MYSHOP = ( 1 << 16 ), ITEM_ANTIFLAG_SAFEBOX = ( 1 << 17 ), };
    1 point
  9. Hi guys, i've got a big problem with the login, i'm using source 40k by kr@izy. The problem is that when i try to create a new character iand click button "start" it stops and in the syserr of the channel1 there's this line Empire: EmpireSelectFailed 1 This is the function in the source: Thanks!
    0 points
×
×
  • 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.