Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/01/19 in all areas

  1. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) Before: After:
    1 point
  2. Check your protoreader.cpp syntax, perhaps it only allows separating flags by a '|'(in int get_Mob_RaceFlag_Value search for: string* arInputString)
    1 point
  3. That happens if you had opend or edited you sourcecode with an editor that enters “non breakable spaces” instead of the common whitespace. That might happen if you push “shift-space” instead of only “space”, depending on the editor you use. In a trivial editor you only see nothing as espected like when you push the space key. The compiler doesn’t understand “non breakable space” and complains about a straying special char.
    1 point
  4. AddonValue does not exist, but AddonType: // item.h short int GetAddonType() { return m_pProto ? m_pProto->sAddonType : 0; } // questlua_item.cpp int item_get_addon_type(lua_State* L) { CQuestManager& q = CQuestManager::instance(); LPITEM item = q.GetCurrentItem(); if (item) lua_pushnumber(L, item->GetAddonType()); else lua_pushnumber(L, 0); return 1; } // questlua_item.cpp { "get_addon_type", item_get_addon_type },
    1 point
  5. First one, thanks for release and good idea, here are some advices for the next time, how you should use zip method and lambda instead of __mem__func__ and others empty functions. Since the loadStepList is declared with ascending numbers from 0 to 100 (by default), we don't have to use min and max method for get the values for range, just the first value and the last value from list. __mem_func__ and the function 'bos' are useless in that case, we can replace it with a null lambda, will do the same job too. Using an list comprehension with conditions inside, isn't so readable. Good idea for zip method to get all the progresses values, but we don't need to initialize like that, you can acces the first reference by using index [0] from iterator. Should look like this: [Hidden Content]
    1 point
  6. Hi, i have made this effect:
    1 point
×
×
  • 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.