Jump to content

djmagma59

Members
  • Posts

    23
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by djmagma59

  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)
  15. i try add if (player->GetGroup()) { if (Map *BindMap = sMapMgr.FindMap(player->GetCorpse()->GetMapId(), player->GetCorpse()->GetInstanceId())) { if (((InstanceMap*)BindMap)->GetInstanceData() && ((InstanceMap*)BindMap)->GetInstanceData()->IsEncounterInProgress()) { if (!player->isAlive()) player->ResurrectPlayer(0.5f); player->SendTransferAborted(mapid, TRANSFER_ABORT_ZONE_IN_COMBAT); return (false); } } } in bool MapManager::CanPlayerEnter(uint32 mapid, Player* player) its work for send message for player and just revive him but i have one problem. if player enter map and no other raid member in map == crash im not sur but its better not teleport player just lock entry of raid and send message, no? edit : for your patch add // cannot enter while players in the instance are in combat Group *pGroup = player->GetGroup(); - if(pGroup && pGroup->InCombatToInstance(GetInstanceId()) && player->isAlive() && player->GetMapId() != GetId()) + if( pGroup && pGroup->InCombatToInstance(GetInstanceId()) ) { player->SendTransferAborted(GetId(), TRANSFER_ABORT_ZONE_IN_COMBAT); + if (!player->isAlive()) + player->ResurrectPlayer(0.5f); return false; }
  16. for npc its gossip take item to player . for vehicleid i have already drake mob id need specific vehicle dbc id for create correct drake offilike and finish my instance scripting. thx for your response.
  17. anyone have vehicleid for oculus please?
  18. it's already fixed by http://github.com/mangos/mangos/commit/11c3eb26a4969044933a0c93fed81e34a9d3ed7f
  19. hum and for what a new character with new guild dont have this bug? i'm sure one data is the cause but where ^^
  20. hello, I am currently doing the two missing arenas for my server, for sewers with no worries cons not possible to mount the elevator of "ring valor" I try with the same system as the doors without much Hope then after long hours of research I shall give the forum to see if anyone has an idea that I know how to walk in those damn elevator. Thank you in advance if someone manages to help me, kindly EDIT : oops sorry i learn it himself ^^ The elevator animation is already defined in transportAnimation.dbc and just give a good entry on the gameobject for execute animation. I have just know the good animation for ring of valor elevator and its ok ^^
×
×
  • 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