Jump to content

Powell

Inactive Member
  • Posts

    13
  • Joined

  • Last visited

  • Feedback

    0%

About Powell

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Powell's Achievements

Collaborator

Collaborator (7/16)

  • Collaborator Rare
  • Conversation Starter
  • One Year In
  • First Post
  • Dedicated

Recent Badges

8

Reputation

  1. @Nirray Hi, whats that song name? I like that ?
  2. not necessary, i added in destructor already.
  3. std::string strPathName; int maxSkinCount = 500; // You can change how many TargetSkins and SourceSkins wants to be here. for (int i = 1; i <= maxSkinCount; ++i) { std::string sourceToken = "sourceskin" + std::to_string(i); std::string targetToken = "targetskin" + std::to_string(i); std::string strSourceSkin; std::string strTargetSkin; if (TextFileLoader.GetTokenString(sourceToken.c_str(), &strSourceSkin) && TextFileLoader.GetTokenString(targetToken.c_str(), &strTargetSkin)) { AppendShapeSkin(dwShapeIndex, 0, (strPathName + strSourceSkin).c_str(), (strPathName + strTargetSkin).c_str()); } } I think, many if and else copy paste blocks waste of time. This for loop good waypoint at this moment maybe i dont know.
  4. Open the banword.cpp Search it CBanwordManager::~CBanwordManager() { } Change it CBanwordManager::~CBanwordManager() { delete [] m_hashmap_words; } Search it bool CBanwordManager::Initialize(TBanwordTable * p, WORD wSize) Remove this m_hashmap_words.clear(); Looks like bool CBanwordManager::Initialize(TBanwordTable * p, WORD wSize) { for (WORD i = 0; i < wSize; ++i, ++p) m_hashmap_words[p->szWord] = true; char szBuf[256]; snprintf(szBuf, sizeof(szBuf), "Banword reloaded! (total %zu banwords)", m_hashmap_words.size()); SendLog(szBuf); return true; } Search it char szBuf[256]; Change it char szBuf[QUERY_MAX_LEN]; Search it bool CBanwordManager::Initialize(TBanwordTable * p, WORD wSize) Change it bool CBanwordManager::Initialize(TBanwordTable * p, UINT wSize) Search it for (WORD i = 0; i < wSize; ++i, ++p) Change it for (UINT i = 0; i < wSize; ++i, ++p) Search it snprintf(szBuf, sizeof(szBuf), "Banword reloaded! (total %zu banwords)", m_hashmap_words.size()); Change it snprintf(szBuf, sizeof(szBuf), "Banword reloaded! (total %u banwords)", m_hashmap_words.size()); Search it bool CBanwordManager::CheckString(const char * c_pszString, size_t _len) { if (m_hashmap_words.empty()) return false; typeof(m_hashmap_words.begin()) it = m_hashmap_words.begin(); while (it != m_hashmap_words.end()) { const std::string & r = it->first; const char * tmp = c_pszString; ssize_t len = _len; while (len > 0) { if (is_twobyte(tmp)) { if (!strncmp(tmp, r.c_str(), r.size())) return true; tmp += 2; len -= 2; } else { if (!strncmp(tmp, r.c_str(), r.size())) return true; ++tmp; --len; } } it++; } return false; } Change it bool CBanwordManager::CheckString(const char *c_pszString, size_t _len) { if (m_hashmap_words.empty()) { return false; } for (auto it = m_hashmap_words.cbegin(); it != m_hashmap_words.cend(); ++it) { const std::string &r = it->first; const char *tmp = c_pszString; ssize_t len = _len; while (len > 0) { if (!strncmp(tmp, r.c_str(), r.size())) { return true; } if (is_twobyte(tmp)) { tmp += 2; len -= 2; } else { ++tmp; --len; } } } return false; } open banword.h and search it bool Initialize(TBanwordTable * p, WORD wSize); Change it bool Initialize(TBanwordTable * p, UINT wSize); That is now completely finish.
  5. Should we install a swap system before ?
  6. You're right ? this is not very well nicely solution. If you are know a better solution than this, im glad to listening to you. But that was the only solution that came to my mind at that moment ?
  7. Use turkey vpn or proxy and watch this video method; Maybe you should try some different illegal solutions and things for that payment process. If you logged in system do not logout because if you are logout then you will be banned.
  8. Good files
  9. Description of the problem: If you press the [Space key] while you are riding, while there is no weapon in your hand, it gives an error like this and keeps a syserr record every second. How to fix: If you want to fix that problem you will be find on your client source folder in this file ActorInstanceBattle.cpp. Client Source>GameLib>ActorInstanceBattle.cpp Find: if (wComboIndex == 0) { TraceError("CActorInstance::__RunNextCombo(wComboType=%d, wComboIndex=%d)", wComboType, wComboIndex); return; } Add under: else if (m_wcurMotionMode == 9) { return; } That is all.
  10. @ asaasa Thats impossible, unfortunately.
  11. Fliege v3 ( mac.dll ) what is this dll ?
×
×
  • 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.