Jump to content

hardy89

Banned
  • Posts

    9
  • Joined

  • Last visited

  • Feedback

    0%

About hardy89

Core X

  • BAN_NOTICE
    Yes

Informations

  • Gender
    Male

Recent Profile Visitors

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

hardy89's Achievements

Apprentice

Apprentice (3/16)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

14

Reputation

  1. I did that a long time ago to... Sorry, bbut seeing that you had refactored some functions, I thought you had forgotten this one. I just give an another way to do this. I think that people will understand better this code, even without actually understanding how it works that the huge ternary conditions of the other functions ... like : def NumberToMoneyString(n): return '0 {:s}'.format(MONETARY_UNIT0) if (n <= 0) else '{:s} {:s}'.format(('.'.join([(i - 3) < 0 and str(n)[:i] or str(n)[i - 3 : i] for i in range(len(str(n)) % 3, len(str(n)) + 1, 3) if i]), MONETARY_UNIT0)) Word to the wise...
  2. thank you Some functions would be shorter and more efficient with certain functions ... Like : def SecondToHM(time): return " ".join(map(str, divmod(time, 60)))
  3. Hi ! I'm trying to put this in my server : But i've some errors... : if (m_eRace == CRaceData::RACE_ASSASSIN_W || m_eRace == CRaceData::RACE_ASSASSIN_M) I've not RACE_ASSASSIN_W or RACE_ASSASSIN_M on my RaceData.h, so I would like to know if anyone had it, and could tell me how to implement it? Or tell me how to modify these lines to go through another function can be? Code : if (m_eRace == CRaceData::RACE_ASSASSIN_W || m_eRace == CRaceData::RACE_ASSASSIN_M) { CRaceMotionData* pRaceMotionData = m_pkCurRaceMotionData; if (!pRaceMotionData) return; const NRaceData::TMotionAttackData * c_pData = m_pkCurRaceMotionData->GetMotionAttackDataPointer(); if (NRaceData::MOTION_TYPE_NORMAL == c_pData->iMotionType) { if (IsEqippedQuiver()) pInstance = rfm.CreateIndexedFlyingInstanceFlyTarget(GetQuiverEffectID(), v3Start, m_kFlyTarget); else pInstance = rfm.CreateFlyingInstanceFlyTarget(c_pFlyData->dwFlyIndex, v3Start, m_kFlyTarget, true); } else if (__IsMountingHorse()) { if (IsEqippedQuiver()) pInstance = rfm.CreateIndexedFlyingInstanceFlyTarget(GetQuiverEffectID(), v3Start, m_kFlyTarget); else pInstance = rfm.CreateFlyingInstanceFlyTarget(c_pFlyData->dwFlyIndex, v3Start, m_kFlyTarget, true); } else pInstance = rfm.CreateFlyingInstanceFlyTarget(c_pFlyData->dwFlyIndex, v3Start, m_kFlyTarget, true); } else pInstance = rfm.CreateFlyingInstanceFlyTarget(c_pFlyData->dwFlyIndex, v3Start, m_kFlyTarget, true); Thank you...
  4. Hi ! (Sorry for my english...) I come here because I have a problem, as soon as I start my client, I have this error: [Hidden Content] (Camera.cpp -> EterLib) however, I did not touch the EterLib project ... If you had some ideas.. Thank you!
  5. Hi ! (Sorry for my bad english...) I made some changes on my server, but impossible to know what (long ago). Since when my server starts, and I try to connect, it sends me back to the login menu, and here is the problem: -If I enter real identifiers,: Lost connection -If I enter erratic identifiers: It tells me that the identifiers are incorrect. And 0 syserr, 0 crash.. I know you can not help me magically, but I'd like to know if you have any idea where it might come from, because I really have no idea ... Thank you !
  6. Hello ! Sorry for my bad english.. I would like to know how I can use a fonctions defined in game.py since the uiinventory.py... It's simple question but I don't find how i can do this.. Thank you !
×
×
  • 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.