Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Distraught last won the day on December 18 2020

Distraught had the most liked content!

Community Reputation

300 Friendly

About Distraught

  • Rank
  • Birthday 01/23/1998


  • Gender
  • Location

Social Networks


  • C++
  • LUA
  • PHP
  • SQL

Recent Profile Visitors

2943 profile views
  1. Hey guys! We plan to open a Romanian server too so that we are looking for a community manager and translator for Land of Heroes RO. You can check out our Hungarian server at https://landofheroes.hu For the translator: We have every localization in one xls file, so it's going to be easy technically. You can apply in a private message.
  2. Miley Cyrus - Angels Like You Miley Cyrus - Zombie
  3. Hey guys, Most of you noticed if you have a special character like á, é, ő, etc. at the beginning or end of a string qc will not work and displays no error message. It is because it throws an error but in it's own way by pushing a string to the top of the lua stack and calling exit so you can't catch it normally. Here is a method how you can make these messages visible. Actually we only have to write a few lines. Open qc.cc and add this function void print_exception() { int top = lua_gettop(L); if (0 != top && LUA_TSTRING ==
  4. UPDATE: no need to set map size, now you just have to select the directory of the map and it will read the minimap and it's settings automatically Link is the same but here it is again: http://distraught.hu/download/m2dev/RegenCreator.exe @ASIKOO can you please update the download center too?
  5. As it's a dotnet application, it's about a few clicks to reflect, but I have no intentions releasing it or I would of uploaded them.
  6. I suggest putting the includes in Area.cpp because those classes are only used there. If you can I suggest avoiding includes in headers because that makes the compilation much slower. You only have to include a header if you want to instantiate a class there or use any of its member variables or functions (or you want to know the size of it); otherwise you can predeclare the class (eg. if you just wanna have pointers to it or references) like class ClassName;.
  7. I don't know where you did that but I'm quite sure they are both defined as unsigned char so yes.
  8. For me they are after other includes but as @Gurgarath and @Syreldar said it should work the way they said. What platform toolset are you using? I'm not sure about this but maybe that could possible cause this.
  9. UPDATE: you can now delete by right click radius is shown around your mouse pointer Download updated, but here's the link again: http://distraught.hu/download/m2dev/RegenCreator.exe @ASIKOO can you please update it in the Download Center too?
  10. In that case this would be the smallest problem. But just for the code design we can fairly afford to skip updating the effects in that frame. I edited the code.
  11. Our mapper made a map with really-really a lot of effects on it. Some of our testers mentioned that the game started to lag for them on that map so much. I checked it in debug mode and actually the FPS dropped to actually 0. I started to profile the game what could be the bottleneck and so that I found the effects. When the game is dealing with effects for maps most of the time went in CMapOutdoor::RenderEffect. In this function it calls RenderEffects for each Area around you (that is 9 normally if you're not on some edge area). In the Area's render effect somewhy they did the effect upda
  12. CPythonCharacterManager has functions like CharacterInstanceBegin and CharacterInstanceEnd so you can iterate over the characters nearby like: TPixelPosition myPos; CPythonPlayer::instance().NEW_GetMainActorPosition(&myPos); CPythonCharacterManager& chrMgr = CPythonCharacterManager::instance(); for (auto it = chrMgr.CharacterInstanceBegin(); it != chrMgr.CharacterInstanceEnd(); ++it) { if (CInstanceBase* ch = *it) { TPixelPosition otherPos; ch->NEW_GetPixelPosition(&otherPos); if(GetPixelPositionDistance(myPos, otherPos) <= SOME DISTANCE && some other thi
  13. Compile your game with -g flag for debug smybols and with -O0 flag for disabling optimizations so that you can properly debug your core dump. We can only help after that.
  14. Maybe self.hpGaugeBoard is not initialized with the object so it's 0? Try to make it like if 0 != self.hpGaugeBoard: if TRUE == self.hpGaugeBoard.IsIn(): self.RefreshStatus() self.tooltipHP.Show() else: self.tooltipHP.Hide()
  • 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.