Jump to content

djmagma59

Members
  • Posts

    23
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

djmagma59's Achievements

Member

Member (2/3)

0

Reputation

  1. visible here . https://g-core21.svn.sourceforge.net/svnroot/g-core21/README visible here https://g-core21.svn.sourceforge.net/svnroot/g-core21/AUTHORS and glaciusane its me!
  2. https://g-core21.svn.sourceforge.net/svnroot/g-core21/ contain dungeon finder but need more work for perfect (based on spp work) require add one field in creature_template for end boss of dungeon.
  3. - uint32 period = mapDiff->resetTime * DAY; + uint32 period = mapDiff->resetTime; it work for me but i haven't mangos just emulator based of old mangos with some personnal add. i don't know if work with actual mangos
  4. i have same problem after empty and core regenerate table instance_reset it work for one times but two day after this bug again tag have no time for finish.
  5. in chatHandler.cpp if (_player->getLevel()< 15) { SendNotification(GetMangosString(LANG_CHAT_DISABLED_FOR_LEVEL)); break; } and in langage.h LANG_CHAT_DISABLED_FOR_LEVEL = 5000, after you need just add a new entry (5000) in mangos_string database table.
  6. its exact, at the start i don't use GetArenaPoints and GetHonorPoints but now is useless first post updated
  7. i discovered this on wowhead, im test honor point item and i view if add on player the number of honor increase with real honor ^^
  8. the server give already correct arena/honor point but its just for offilike copy this in monney slot ( its an item for print in this case) after i dont know if other way is better but in my server its work
  9. hello i just code it for my server and write here the small code if you need. Index: C:/Mangos/src/game/player.h =================================================================== --- C:/Mangos/src/game/player.h (revision 1) +++ C:/Mangos/src/game/player.h (revision 2) @@ -2384,6 +2384,8 @@ bool canSeeSpellClickOn(Creature const* creature) const; protected: + + void CheckBGMoney(); uint32 m_contestedPvPTimer; Index: C:/Mangos/src/game/player.cpp =================================================================== --- C:/Mangos/src/game/player.cpp (revision 1) +++ C:/Mangos/src/game/player.cpp (revision 2) @@ -1226,6 +1226,8 @@ CheckDuelDistance(now); UpdateAfkReport(now); + + CheckBGMoney(); // Update items that have just a limited lifetime if (now>m_Last_tick) @@ -22240,3 +22242,17 @@ SetFFAPvP(false); } } + +void Player::CheckBGMoney() +{ + uint32 count, pArenaID, pHonorID; + count = 1; + pArenaID = 43307; + pHonorID = 43308; + + if (!HasItemCount(pArenaID, count) && GetArenaPoints() > 0) + StoreNewItemInBestSlots(pArenaID, count); + + if (!HasItemCount(pHonorID, count) && GetHonorPoints() > 0) + StoreNewItemInBestSlots(pHonorID, count); +} Sorry for my bad english.
  10. im use custom mangos version but i can confirm this bug its very bad bug
  11. ok i look for it but i hate git
  12. please possible diffuse a patch or diff file for this because im work on custom mangos and i dont know how make diff with two git branch . thanks
  13. if(CharacterDatabase.PQuery("SELECT daily_bg FROM character_battleground_status WHERE guid = %u", guid)) SetRandomBGDone(true); else SetRandomBGDone(false); i dont know this for ??? just table for one bool?
  14. my code work if player in raid and have encounter in progress it send message and dont teleport + revive but if map empty crash at enter for resurectplayer for me its nessessary because im not resurect (but im use emulator custom based on very very old mangos)
×
×
  • 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