Jump to content

Auntie Mangos

Moderators
  • Posts

    2446
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by Auntie Mangos

  1. AUTH_LOGON_CHALLENGE_C: -client->server AUTH_LOGON_CHALLENGE_S: -server->client AUTH_LOGON_PROOF_C: -client->server typedef struct AUTH_LOGON_PROOF_C { uint8 cmd; uint8 A[32]; uint8 M1[20]; uint8 crc_hash[20]; uint8 number_of_keys; uint8 securityFlags; // 0x00-0x04 } sAuthLogonProof_C; how to compute crc_hash? I can't find any reference from mangos source code. anyone could help me? the only reference I could found is http://getmangos.eu/community/topic/13182/battlenet-2-emulator/ , but it won't provide how to compute it. Best Regards,
  2. just to know this fix this bug?? http://getmangos.eu/community/viewtopic.php?id=14776
  3. I followed this link http://getmangos.eu/community/showthread.php?7839-[GUIDE]-Ubuntu-Debian-CentOS-RHEL-Install-Guide and it solved my problem on my ubuntu pc and centos pc.
  4. Is this fix problem with http://getmangos.eu/community/post/132021/#p132021 ?
  5. Yeah it changed alot.. just read the posts from above
  6. I tried both ways with CopperToGold and wit coppertogold, renamed all the scripts.. i used this tutorial http://getmangos.eu/community/showthread.php?7839-GUIDE-Ubuntu-Debian-CentOS-RHEL-Install-Guide when does you're command come in place.. (automake src/bindings/ScriptDev2/Makefile) because i didn't used the command.. Thx in advance..
  7. I was really bored so i merged a bunch of core modifications into a single fork. Make sure to pull the modified branch, the master branch is just the main mangos repo. It includes: PvP Ranks & Titles MT-Maps Playerbot Insider42's branch AHBot git://github.com/caeruleaus/mangos.git if you want a new clone do git clone git://github.com/caeruleaus/mangos.git git pull origin modified just do on your mangos clone git pull git://github.com/caeruleaus/mangos.git modified If you want me to make individual branches just let me know, i can split it into more branches easily enough. I was just testing out github. Ill try to keep this up to date if i can. EDIT: I made a new branch that allows users to make a weapon only equippable by a specific user. It's a column in the item_template called RequiredName to get it just do pull git://github.com/caeruleaus/mangos.git reqname
  8. So: http://getmangos.eu/community/showthread.php?12132-error-compiling-9212
  9. use this http://getmangos.eu/community/showpost.php?p=88335&postcount=25
  10. what about the coefficient of the bloom... now just heal what the power say ,but it should have a bonus equal 64.6% of your spell power and ti can crit... i make a topic explaining the bug http://getmangos.eu/community/viewtopic.php?id=8802&highlight=lifebloom can you take a look pliz, is just a number you need to chance
  11. It's official, Proc chance and most proc flags are from DBC now. Check this topic with dev comments -> http://getmangos.eu/community/viewtopic.php?id=6210
  12. Sorry nope, highest level paladin i have is like 10lvl.
  13. When in doubt, read the manual . "git help branch", "git help pull". As you can see from those, the "git branch" command doesn't switch to the mangos012 local branch that you made. Use the form of the checkout command from the 303 announcement which not only creates a new branch, but also switches to it, and make it a "tracking branch". You don't need to use the SHA of the commit when it's the same as a branch name (like origin/mangos-0.12).
  14. http://getmangos.eu/community/viewtopic.php?id=18939
  15. Kich0 It's interesting. I think write something like this =) But i can't understand how select player for fake user? What happen if anybody write message fake player?
  16. But with this in lv 80 the feral spirits have too much damage, it can dmg 3000 in crit with the glyph. Is there any fix for this? or could it possible to put a rev of mangos?
  17. is this fix secure? thanks
  18. What bug does the patch fix? What features does the patch add? Implemented new (from 3.2.2a patch) feature with min required players to start bg. Also fixed a bug with wrong triggered bg premature timer. For which repository revision was the patch created? 9765 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. http://getmangos.eu/community/showthread.php?13613 Who has been writing this patch? Please include either forum user names or email addresses. me diff --git a/src/game/BattleGroundHandler.cpp b/src/game/BattleGroundHandler.cpp index 5ff28cd..cfe7f55 100644 --- a/src/game/BattleGroundHandler.cpp +++ b/src/game/BattleGroundHandler.cpp @@ -150,7 +150,7 @@ void WorldSession::HandleBattlemasterJoinOpcode( WorldPacket & recv_data ) if(grp->GetLeaderGUID() != _player->GetGUID()) return; err = grp->CanJoinBattleGroundQueue(bg, bgQueueTypeId, 0, bg->GetMaxPlayersPerTeam(), false, 0); - isPremade = (grp->GetMembersCount() >= bg->GetMinPlayersPerTeam()); + isPremade = (grp->GetMembersCount() >= bg->GetMaxPlayersPerTeam()); } // if we're here, then the conditions to join a bg are met. We can proceed in joining. diff --git a/src/game/BattleGroundMgr.cpp b/src/game/BattleGroundMgr.cpp index 84ae236..f372072 100644 --- a/src/game/BattleGroundMgr.cpp +++ b/src/game/BattleGroundMgr.cpp @@ -585,7 +585,7 @@ void BattleGroundQueue::FillPlayersToBG(BattleGround* bg, BattleGroundBracketId // this method checks if premade versus premade battleground is possible // then after 30 mins (default) in queue it moves premade group to normal queue // it tries to invite as much players as it can - to MaxPlayersPerTeam, because premade groups have more than MinPlayersPerTeam players -bool BattleGroundQueue::CheckPremadeMatch(BattleGroundBracketId bracket_id, uint32 MinPlayersPerTeam, uint32 MaxPlayersPerTeam) +bool BattleGroundQueue::CheckPremadeMatch(BattleGroundBracketId bracket_id, uint32 MaxPlayersPerTeam) { //check match if (!m_QueuedGroups[bracket_id][bG_QUEUE_PREMADE_ALLIANCE].empty() && !m_QueuedGroups[bracket_id][bG_QUEUE_PREMADE_HORDE].empty()) @@ -630,7 +630,7 @@ bool BattleGroundQueue::CheckPremadeMatch(BattleGroundBracketId bracket_id, uint if (!m_QueuedGroups[bracket_id][bG_QUEUE_PREMADE_ALLIANCE + i].empty()) { GroupsQueueType::iterator itr = m_QueuedGroups[bracket_id][bG_QUEUE_PREMADE_ALLIANCE + i].begin(); - if (!(*itr)->IsInvitedToBGInstanceGUID && ((*itr)->JoinTime < time_before || (*itr)->Players.size() < MinPlayersPerTeam)) + if (!(*itr)->IsInvitedToBGInstanceGUID && ((*itr)->JoinTime < time_before || (*itr)->Players.size() < MaxPlayersPerTeam)) { //we must insert group to normal queue and erase pointer from premade queue m_QueuedGroups[bracket_id][bG_QUEUE_NORMAL_ALLIANCE + i].push_front((*itr)); @@ -851,7 +851,7 @@ void BattleGroundQueue::Update(BattleGroundTypeId bgTypeId, BattleGroundBracketI if (bg_template->isBattleGround()) { //check if there is premade against premade match - if (CheckPremadeMatch(bracket_id, MinPlayersPerTeam, MaxPlayersPerTeam)) + if (CheckPremadeMatch(bracket_id, MaxPlayersPerTeam)) { //create new battleground BattleGround * bg2 = sBattleGroundMgr.CreateNewBattleGround(bgTypeId, bracketEntry, 0, false); @@ -876,7 +876,7 @@ void BattleGroundQueue::Update(BattleGroundTypeId bgTypeId, BattleGroundBracketI if (!isRated) { // if there are enough players in pools, start new battleground or non rated arena - if (CheckNormalMatch(bg_template, bracket_id, MinPlayersPerTeam, MaxPlayersPerTeam) + if (CheckNormalMatch(bg_template, bracket_id, sBattleGroundMgr.isTesting() ? 1 : MaxPlayersPerTeam, MaxPlayersPerTeam) || (bg_template->isArena() && CheckSkirmishForSameFaction(bracket_id, MinPlayersPerTeam)) ) { // we successfully created a pool diff --git a/src/game/BattleGroundMgr.h b/src/game/BattleGroundMgr.h index 7378625..e54247c 100644 --- a/src/game/BattleGroundMgr.h +++ b/src/game/BattleGroundMgr.h @@ -79,7 +79,7 @@ class BattleGroundQueue void Update(BattleGroundTypeId bgTypeId, BattleGroundBracketId bracket_id, uint8 arenaType = 0, bool isRated = false, uint32 minRating = 0); void FillPlayersToBG(BattleGround* bg, BattleGroundBracketId bracket_id); - bool CheckPremadeMatch(BattleGroundBracketId bracket_id, uint32 MinPlayersPerTeam, uint32 MaxPlayersPerTeam); + bool CheckPremadeMatch(BattleGroundBracketId bracket_id, uint32 MaxPlayersPerTeam); bool CheckNormalMatch(BattleGround* bg_template, BattleGroundBracketId bracket_id, uint32 minPlayers, uint32 maxPlayers); bool CheckSkirmishForSameFaction(BattleGroundBracketId bracket_id, uint32 minPlayersPerTeam); GroupQueueInfo * AddGroup(Player* leader, Group* group, BattleGroundTypeId bgTypeId, PvPDifficultyEntry const* backetEntry, uint8 ArenaType, bool isRated, bool isPremade, uint32 ArenaRating, uint32 ArenaTeamId = 0); UPDATE battleground_template SET MinPlayersPerTeam = 5 WHERE id = 2; UPDATE battleground_template SET MinPlayersPerTeam = 10 WHERE id IN (3,7); UPDATE battleground_template SET MinPlayersPerTeam = 15 WHERE id = 1; patch not tested in game.
  19. --- a/configure.ac +++ b/configure.ac @@ -276,7 +276,11 @@ AC_CONFIG_FILES([ src/mangosd/Makefile src/mangosd/mangosd.conf.dist src/bindings/Makefile - src/bindings/universal/Makefile + src/bindings/ScriptDev2/Makefile + src/bindings/ScriptDev2/scriptdev2.conf.dist + src/bindings/ScriptDev2/config.h + src/bindings/ScriptDev2/sql/Makefile + src/bindings/ScriptDev2/sql/Updates/Makefile ]) . ## Configure ACE, if needed diff --git a/src/bindings/Makefile.am b/src/bindings/Makefile.am index 2cc0efd..f2dbbc7 100644 --- a/src/bindings/Makefile.am +++ b/src/bindings/Makefile.am @@ -14,4 +14,4 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA . -SUBDIRS = universal +SUBDIRS = ScriptDev2 diff --git a/src/mangosd/Makefile.am b/src/mangosd/Makefile.am index 3fd4068..076d8d8 100644 --- a/src/mangosd/Makefile.am +++ b/src/mangosd/Makefile.am @@ -34,7 +34,7 @@ mangos_worldd_SOURCES = \\ . ## Link world daemon against the shared library mangos_worldd_LDADD = \\ -<----->../bindings/universal/libmangosscript.la \\ +<----->../bindings/ScriptDev2/libmangosscript.la \\ <----->../game/libmangosgame.a \\ <----->../shared/Database/libmangosdatabase.a \\ <----->../shared/Config/libmangosconfig.a \\ @@ -45,7 +45,7 @@ mangos_worldd_LDADD = \\ <----->../../dep/src/sockets/libmangossockets.a \\ <----->../../dep/src/g3dlite/libg3dlite.a . -mangos_worldd_LDFLAGS = -L../../dep/src/sockets -L../../dep/src/g3dlite -L../bindings/universal/ -L$(libdir) $(MANGOS_LIBS) -export-dynamic +mangos_worldd_LDFLAGS = -L../../dep/src/sockets -L../../dep/src/g3dlite -L../bindings/ScriptDev2/ -L$(libdir) $(MANGOS_LIBS) -export-dynamic . ## Additional files to include when running 'make dist' # Include world daemon configuration --. 1.6.4.msysgit.0 I remove gitignore part and now patch apply ok. Thanks to sd2 dev DasBlub
  20. Hmm, better to reject this. These few rare cases where this would really be required, we can * script the summoned npcs in sd2 * script the summoner in sd2 * add a core change similar to http://getmangos.eu/community/topic/15978/patch-make-use-of-original-caster-for-justsummoned-spellhittarget/ (directly trigger JustSummoned for the original caster with no other changes)
  21. How can be handled spell like 45477 Icy Touch (Rank 1) "Very high threat when in Frost Presence.", x7 damage according wowwiki? I'm not sure but with you patch healing and damage do the same threat while, for what I know, healing usually should generate half amount Since you are using both a mutiplier and flat values http://getmangos.eu/community/post/124975/#p124975 must be solved to find if 1 damage = 1 or 100 threat otherwise it's impossibile to fill the table properly In part realated to this, time ago I was working on threat from float to uint32 it's based on an old revision and I had no time to test it but maybe it can be usefull, the main idea was to move threat math to uint since that's how it must be send to client and because, IMHO, a unit's threat can be negative that's why now some spell or scripts bork the threat meter.
  22. Take a look in this thread http://getmangos.eu/community/topic/15791/10870-crash-at-learning-skills/
  23. Toinan67, all ok I can't found anything about leak, I havn't this problem =) But I ask for research who has this problem...
  24. Heya. I'm quite new to this but I've decided to set up a mangos server for 2.4.3 and try to make it as perfect as I can. I'm not really sure how to get started. From what I've read there are actually 4 parts of setting of a mangos server. The Mangos core, the database (UDB or TBCDB ), Scriptdev2 for bosses and mobs and stuff, and ACID (no idea what this is). I've understood that I want a branch of mangos, 0.12, which is for 2.4.3. I don't know how to get a certain revision of it or to even check what revision I got. This is how I get the code for mangos: Am I doing it right? Am I getting the 0.12 mangos code? After getting the above version of Mangos I tried (following this guide: http://getmangos.eu/community/showthread.php?7318-Guide-Mangos-Windows-Setup) setting up an UDB database with mangos. However I can't seem to find a place where I can see what version I need of UDB to work with the version of mangos I'm using (as I said before, don't even know what revision of mangos I'm using). So I havn't gotten that to work. I tried using TBCDB aswell but failed with setting that up aswell. I found what I think is the right thing for ScriptDev2 here: http://www.scriptdev2.com/backport-sd2-0-t4411p7.html I downloaded that patch and then I used TortoiseSVN to checkout the latest version of ScriptDev2, then I applied that patch with TortoiseSVN aswell. So far so good. But when I try to compile ScriptDev2 it just fails. I don't really know what to do even if I managed to compile it since the guide I'm following (http://getmangos.eu/community/showthread.php?7318-Guide-Mangos-Windows-Setup) doesn't mention any other ScriptDev2 file than the .conf file. Atlast I don't know if ACID is something I need to know what it is? Following the guide I've mentioned ACID was just a SQL-query that I ran in the Mangos database. Is there any more to it, or is that it? So basicly I just wanna find a nice guide on how to get the code and setup a server for 2.4.3, because this feels a little complicated for me to grasp at this moment.
  25. So you have 9763 but need 9768. Or, read this: http://getmangos.eu/community/showthread.php?13715-[README]-What-if-ERROR-Table-%60db_version%60-have-field-%60required_%28etc%29%60-but-expected
×
×
  • 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