Astreya2

sxvoyz

Member
  • Content Count

    54
  • Joined

  • Last visited

Community Reputation

36 Good

About sxvoyz

  • Rank
    Friendly

Profile Information

  • Gender
    Male

Recent Profile Visitors

970 profile views
  1. static const std::list<UINT> affectContainer { CInstanceBase::AFFECT_INVISIBILITY , CInstanceBase::AFFECT_POISON, CInstanceBase::AFFECT_FIRE #ifdef ENABLE_WOLFMAN_CHARACTER , CInstanceBase::AFFECT_BLEEDING #endif }; PyObject * IsAffect(PyObject * poSelf, PyObject * poArgs) { int iVID; if (!(PyTuple_GetInteger(poArgs, 0, &iVID))) return Py_BuildException(); int uAffect; if (!(PyTuple_GetInteger(poArgs, 1, &uAffect))) return Py_BuildException(); if (std::find(affectContainer.begin(), affectContainer.end(), (UINT)uAffect) == affectContainer.end()) return Py_BuildValue("b", false); auto pInstance = CPythonCharacterManager::Instance().GetInstancePtr(iVID); return Py_BuildValue("b", pInstance ? pInstance->IsAffect((UINT)uAffect) : false); }
  2. sxvoyz

    open GetName function

    he got autism, leave him alone
  3. sxvoyz

    Emoji in TextLine

    very usefull
  4. sxvoyz

    [RLS] Reversed event functions

    // PythonEventManagerModule.cpp PyObject * eventSetFontColor(PyObject* poSelf, PyObject* poArgs) { int iIndex; if (!PyTuple_GetInteger(poArgs, 0, &iIndex)) return Py_BuildException(); float fR; if (!PyTuple_GetFloat(poArgs, 1, &fR)) return Py_BuildException(); float fG; if (!PyTuple_GetFloat(poArgs, 2, &fG)) return Py_BuildException(); float fB; if (!PyTuple_GetFloat(poArgs, 3, &fB)) return Py_BuildException(); float fA = 1.0f; PyTuple_GetFloat(poArgs, 4, &fA); CPythonEventManager::Instance().SetFontColor(iIndex, fR, fG, fB, fA); return Py_BuildNone(); } static PyMethodDef s_methods[] = { [...] { "SetFontColor", eventSetFontColor, METH_VARARGS }, [...] } // PythonEventManager.h void SetFontColor(float iIndex, float fR, float fG, float fB, float fA); // PythonEventManager.cpp void CPythonEventManager::RenderEventSet(int iIndex) { [...] int iCount = pEventSet->iVisibleStartLine % BOX_VISIBLE_LINE_COUNT /*0*/ ; [...] } void CPythonEventManager::SetFontColor(float iIndex, float fR, float fG, float fB, float fA) { if (!CheckEventSetIndex(iIndex)) return; TEventSet * pEventSet = m_EventSetVector[iIndex]; if (!pEventSet) return; pEventSet->CurrentColor.r = fR; pEventSet->CurrentColor.g = fG; pEventSet->CurrentColor.b = fB; pEventSet->CurrentColor.a = fA; }
  5. sxvoyz

    c++ [RLS] Image Cool Time

    yes, its very similar
  6. sxvoyz

    solved Python

  7. sxvoyz

    Moon cave pack

    CArea::LoadObject Property(2201297168) Load ERROR CArea::LoadObject Property(2649958206) Load ERROR moon_cave\001001\AreaData.txt property\plechi_env\dungeon\biolog20_BossPotion.prb Few objects are missing. Could you upload this? I got corrupted files. My bad. Damn, this 2649958206 is missing
  8. sxvoyz

    open Won System Problem (inventory windows)

    (query: SELECT id, name, job, voice, dir, x, y, z, map_index, exit_x, exit_y, exit_map_index, hp, mp, stamina, random_hp, random_sp, playtime, gold, level, level_step, st, ht, dx, iq, exp, stat_point, skill_point, sub_skill_point, stat_reset_count, part_base, part_hair, part_sash, skill_level, quickslot, skill_group, alignment, mobile, horse_level, horse_riding, horse_hp, horse_hp_droptime, horse_stamina, UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(last_play), horse_skill_point, chequeFROM player WHERE id=31278 errno: 1064) Syntax error.
  9. sxvoyz

    open Access to the brazilian servers?

    Use proxifer and brazil proxy list to connect into server. its working
  10. sxvoyz

    python Fish Event the new class

    I saw images for that game and it will be something like tetris game. Unlucky i can't find that pack including script files and images. I found that pack: https://mega.nz/#F!esVDhQwK!xGPdD3DTv3quufDSVCleiw
  11. sxvoyz

    Gameforge armor

    Its too hard to check
  12. sxvoyz

    Gameforge armor

    https://virustotal.com/pl/file/b35c97a2cbd59c248d30e8f8720185792d87e12445d4197bd20bf5f8f9c3ef5a/analysis/1493442785/ http://www25.zippyshare.com/v/qxEadqYt/file.html
  13. Official looks like that: