Jump to content

Chookez

Member
  • Posts

    46
  • Joined

  • Last visited

  • Feedback

    0%

About Chookez

  • Birthday August 4

Informations

  • Gender
    Male
  • Country
    Hungary
  • Nationality
    Hungarian

Recent Profile Visitors

2937 profile views

Chookez's Achievements

Proficient

Proficient (10/16)

  • Very Popular Rare
  • Reacting Well
  • Dedicated
  • First Post
  • Collaborator Rare

Recent Badges

104

Reputation

  1. Thank you for your work, it's working. I just found one small 'issue', when you step on the bridge, it turns darker.
  2. [Hidden Content] [Hidden Content]
  3. A slightly more optimized code for the second solution. CWhisper* CPythonChat::CreateWhisper(const char* c_szName) { auto itor = m_WhisperMap.find(c_szName); CWhisper* pWhisper; if (itor == m_WhisperMap.end()) { pWhisper = CWhisper::New(); m_WhisperMap.emplace(c_szName, pWhisper); } else { pWhisper = itor->second; } return pWhisper; } I'm sorry to bother you.
  4. Click to download! <-- After 15 day, the link will be deleted! Pass: 2023 Next time, pay attention to line indentation.
  5. Optimized version for best performance. tmpLoadStepList = [step[0] for step in self.loadStepList] missingSteps = set(range(tmpLoadStepList[0], tmpLoadStepList[-1] + 1)).difference(tmpLoadStepList) self.loadStepList += [(progress, lambda: None) for progress in missingSteps] self.loadStepList.sort()
  6. It works perfectly fine.
  7. [Hidden Content]
  8. char_battle.cpp Search: if (!cannot_dead) { PointChange(POINT_HP, -dam, false); } Change: if (!cannot_dead) { if (GetHP() - dam <= 0) dam = GetHP(); PointChange(POINT_HP, -dam, false); } Borrowed from MARTY's source.
  9. SOLVED! ExceptionSender function was missing from the source. Hello everyone. I need a little help with client-side syserr, i don't know exactly how long, but if something isn't good, it doesn't log. Specifically, he writes just that, nothing else, for any type of error.
  10. Open exchange.cpp file, and search this: if (0 == s_vDSGrid[wBasePos]) Change wBasePos to wPos. Like this: if (0 == s_vDSGrid[wPos])
  11. HI there! I found it in Mainline. A little mistake:
  12. I appreciate your help. As soon as I have time, I'll test it. Works perfectly, the thread can be locked.
  13. Hi. I need a little help in this code: case 84014: case 84015: case 84016: case 84017: case 84018: { LPITEM item2; if (!IsValidItemPosition(DestCell) || !(item2 = GetItem(DestCell))) { return false; } if (item2->IsExchanging()) { return false; } if (item2->IsEquipped()) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("CANT_USE_ON_EQUIPPED_ITEM")); return false; } if (item2->GetType() != ITEM_COSTUME) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("CAN_USE_ONLY_COSTUMES")); return false; } if (item2->GetVnum() >= 74001 && item2->GetVnum() <= 75612) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("CANT_USE_ON_SIMPLE_HAIR")); return false; } long day = item->GetValue(0) * 60 * 60 * 24; ITEM_MANAGER::instance().RemoveItem(item); ChatPacket(CHAT_TYPE_INFO, LC_TEXT("COSTUME_TIME_EXTENDED")); item2->SetSocket(0, item2->GetSocket(0) + day); } break; How to specify that the time does not exceed 30 days on a costume? -Thanks in advance.
  14. I added this: horse.set_level(horse.get_level()) Immediately after the skill selection, it will now update normally. Not the best solution, but it works.
×
×
  • 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.