hardy89
Banned-
Posts
9 -
Joined
-
Last visited
-
Feedback
0%
About hardy89
Core X
-
BAN_NOTICE
Yes
Metin2 Dev
Informations
-
Gender
Male
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
hardy89's Achievements
-
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...
-
thank you Some functions would be shorter and more efficient with certain functions ... Like : def SecondToHM(time): return " ".join(map(str, divmod(time, 60)))
-
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...
-
Error : Access Violation
hardy89 replied to hardy89's topic in Community Support - Questions & Answers
(The client crash during loading) -
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!
-
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 !
-
Link fonction uiinventory.py -> game.py
hardy89 replied to hardy89's topic in Community Support - Questions & Answers
If I do that Python tells me that he is missing an argument -
New link : [Hidden Content]