Jump to content

VladimirMangos

Members
  • Posts

    2813
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by VladimirMangos

  1. possible do same thing as for string ids if this really need: signed ids with reserve some for core, other for DB.
  2. maybe, but those accounts can be logged perfectly by game... Client apply upper case to login/password before send. Mangos apply upper case at accound creating by internal command and expect that in DB you store hascode created from _upper_ version login/password if it calculated by external tools
  3. possible missing some code in backports. As i remember this fixed in past in mangos master version.
  4. I not see how this possible because different needs in conditions list for different DB projects and not calling conditions from core code directly (by ids).
  5. Just check its by self. In past like topics start flame war only. So closed.
  6. If mutex need only for original LootItem structure then you can overwrite operator= or LootItem(LootItem const&) to proper way avoid copy mutet (create new in new struct copy. Also i not look but possible LootItems stored as value in storage container and then copy constructor can called when container grow/etc. But posible most correct answer: you add mutex to wrong type when it not expected and wrong placed for any uses.
  7. You add mutex field to copyable object. In other cases related objects not copy. In result compiler attempt find operator= or ACE_RW_Mutex(ACE_RW_Mutex const&) but both private because mutex copy is strange idea
  8. If commiter set author for commit then he meaning that author write/prepare all/most added in commit code. Sometime in result applied by commiet cleanup/improve codesyle or another reasons commit code can be different from original patch ofc. In case backporting to another mangos repos commit cherry-picked from main mangos repo direcly by use cherry-pick command or by using special script created in past for simplify like backports. Ofc, commiter often do some locla chnages after cherrypick for make backported commit compatible with related clietn version
  9. Compress condition table by remove duplicates can be contra-productive infact. This make very hard fix condition because will be unclear is it shared or not with other condition as part its. At condition loading it registered and lookup by condition data so it auto merge with same data to single record.
  10. commiter can provide author data when commit added to repo. In command line case this something like: git commit --author="lillecarl <[email protected]>" Then i will be commiter and you will be author of created commit.
  11. In general change make sense for me. If target mode same for 2 effects and for example expected random target selection then expected as i think same targets for both effects. Avoid relookup targets also will provide some speedup for related code part. Good catch.
  12. It's meaning: if client binary allow use this world ids for zone then it will show. If client bionary not allow then you will can't do anything with it.
  13. if world id listed for zone in binary you can do, if not listed then you can't do...
  14. Look in http://github.com/mangos/mangos/blob/master/src/mangosd/Main.cpp#L61
  15. lnstall as services not work? Look in mangosd/realmd command line options.
  16. World state ids for zones hardcoded into client binary. As i know its not listed in dbc and etc.
  17. Stay in world some time at unexpected disconnect not implemented in mangos. In mangos lost connection triggered logout. > login player in world > disconnect server from internet for 10 seconds then reconnect In case unexpected disconnect client _not_ send anything, just connection closed. In case client timeout client _explictly_ send logout request in same way as it send in case player normal logout. This is totally different from lost connection.
  18. In dbc stored graveyards coordinates, in table as i remember stored faction data.
  19. Instead factions i suggest compare teams: Player::getTeam()
  20. ACE versions sometime change API and have build problems at some platforms. Maybe errors outputs can provide some more info?
  21. It can be unavoidable. From server side no difference in packets for both ways as i understand, so no way do different checks for its.
×
×
  • Create New...

Important Information

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. Privacy Policy Terms of Use