Shin Darth
Members-
Posts
141 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Everything posted by Shin Darth
-
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
EDIT: In the original patch written by Thorazi for rev 7693, there wasn't the empty white space that was in my old update: ------------------------------ src/game/Group.cpp ------------------------------ index e6e01aa..1e70bc5 100644 @@ -296,6 +296,16 @@ bool Group::AddMember(const uint64 &guid, const char* name) player->SetDifficulty(m_difficulty); player->SendDungeonDifficulty(true); } + // Group Interfactions interactions (test) + if(sWorld.getConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_GROUP)) + { + Group *group = player->GetGroup(); + if(Player *leader = objmgr.GetPlayer(group->GetLeaderGUID())) + { + player->setFactionForRace(leader->getRace()); + sLog.outDebug( "WORLD: Group Interfaction Interactions - Faction changed (AddMember)" ); + } + } } player->SetGroupUpdateFlag(GROUP_UPDATE_FULL); UpdatePlayerOutOfRange(player); @@ -340,7 +350,12 @@ uint32 Group::RemoveMember(const uint64 &guid, const uint8 &method) data << uint64(0) << uint64(0) << uint64(0); player->GetSession()->SendPacket(&data); } - + // Restore original faction if needed + if(sWorld.getConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_GROUP)) + { + player->setFactionForRace(player->getRace()); + sLog.outDebug( "WORLD: Group Interfaction Interactions - Restore original faction (RemoveMember)" ); + } _homebindIfInstance(player); } @@ -411,6 +411,12 @@ void Group::Disband(bool hideDestroy) player->SetOriginalGroup(NULL); else player->SetGroup(NULL); + // Restore original faction if needed + if(sWorld.getConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_GROUP)) + { + player->setFactionForRace(player->getRace()); + sLog.outDebug( "WORLD: Group Interfaction Interactions - Restore original faction (Disband)" ); + } } // quest related GO state dependent from raid membership So this empy line was only my mistake that I have cleaned during the last patch-update. PS: At the moment I haven't my portable with Linux, but I tested the latest patch-update and it works perfect on Windows XP. -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
Updated for rev 8723+ Diff file updated and cleaned. Regards... -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
Updated for rev 8699+ -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
For Necroalbert: are you sure that this is related with this patch? -
Search in your "characters" database
-
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
Yes, done (on the first post of this topic). PS: Sorry, at the moment I'm not able to test the latest update, tell me if there are problems or not. -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
Can anyone tell me if the patch is ok (after the latest update)? I cannot test it now, tell me if there are problems or not -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
Ok I have updated it (for 3.2.2, mangos rev 8599+) but I don't still tested it, can anyone test it? Download -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
I already know the patch needs an update.. I'm working on it -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
Updated (and tested) for rev 8422+ -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
yes for players, but no for the guards. Becouse, yes, they will turned into a Horde player but their reputation will not changed. -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
No becouse this patch is recommended only for servers with few players, with few players is easy for game masters to check if player abuse with it. Servers with a lot of players don't need it. -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
can you explain me why is better? -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
I did not say that I made it, I have only taken this patch and I've updated it becouse it seem to me very useful I said: I think this patch is very useful becouse the only file that it modify is Group.cpp and with an only file modified is very easy to update our core. -
I think it is hard to install an english version mangos.
Shin Darth replied to a topic in OldGeneral discussion
MaNGOS is a learning project, if you download and run a precompiled repack.. what do you learn? nothing... Thanks to our strong community, we have good tutorials and support both for win and linux. -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
Thank you but I already know this "bug". Becouse if an horde player invite an ally player, the ally player becomes an horde player and see enemies the other ally players and friendly the others horde players. The same is for guilds, arena, battlegrounds, etc... -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
I use it since about 1-2 month and there aren't crash related with it... -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
Yes, you have only to delete your Group.cpp and paste the patched-Group.cpp in the /src/game/ folder. obviously recompile mangos. -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
Updated for rev 8108+ -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
Hmm no... The only things are.. for example.. if an ally player invite an horde player, the horde player can use the alliance portals. But if this patch is used only to do instance (and RPG events, why not!) there isn't problems -
[PATCH] Ally&Horde in the same group (Updated)
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
This is a patch based on the old Thorazi's patch for fix the Grouping/Trade of Alliance and Horde. Current client version supported: 3.3.2 This is the download of the actually latest version of the file Group.cpp patched: Download Patched Group.cpp for rev 9582+ You have only to download this file, and paste it in the /src/game/ folder instead of the original file Group.cpp and recompile MaNGOS. You can also download the Diff file group-trade.patch: diff --git a/src/game/Group.cpp b/src/game/Group.cpp index 4090d91..69f6cb2 100644 --- a/src/game/Group.cpp +++ b/src/game/Group.cpp @@ -290,6 +290,16 @@ bool Group::AddMember(const uint64 &guid, const char* name) player->SendRaidDifficulty(true); } } + // Group Interfactions interactions (test) + if(sWorld.getConfig(CONFIG_BOOL_ALLOW_TWO_SIDE_INTERACTION_GROUP)) + { + Group *group = player->GetGroup(); + if(Player *leader = sObjectMgr.GetPlayer(group->GetLeaderGUID())) + { + player->setFactionForRace(leader->getRace()); + sLog.outDebug( "WORLD: Group Interfaction Interactions - Faction changed (AddMember)" ); + } + } } player->SetGroupUpdateFlag(GROUP_UPDATE_FULL); UpdatePlayerOutOfRange(player); @@ -335,6 +345,12 @@ uint32 Group::RemoveMember(const uint64 &guid, const uint8 &method) data << uint64(0) << uint32(0) << uint32(0) << uint64(0); player->GetSession()->SendPacket(&data); } + // Restore original faction if needed + if(sWorld.getConfig(CONFIG_BOOL_ALLOW_TWO_SIDE_INTERACTION_GROUP)) + { + player->setFactionForRace(player->getRace()); + sLog.outDebug( "WORLD: Group Interfaction Interactions - Restore original faction (RemoveMember)" ); + } _homebindIfInstance(player); } @@ -391,6 +407,12 @@ void Group::Disband(bool hideDestroy) player->SetOriginalGroup(NULL); else player->SetGroup(NULL); + // Restore original faction if needed + if(sWorld.getConfig(CONFIG_BOOL_ALLOW_TWO_SIDE_INTERACTION_GROUP)) + { + player->setFactionForRace(player->getRace()); + sLog.outDebug( "WORLD: Group Interfaction Interactions - Restore original faction (Disband)" ); + } } // quest related GO state dependent from raid membership -
do you heard this? where?
-
[PATCH] Horde & Alliance grouping/trade
Shin Darth replied to Auntie Mangos's topic in OldCore modifications
Please someone help me! With 8052 this patch no longer works, but the latest modify of the file Group.cpp (wich is the only file that the patch modify) was on 7918 and in this rev the patch worked, why now it doesn't work? the file group.cpp was not modified! sorry my english
Contact Us
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
This website is in no way associated with or endorsed by Blizzard Entertainment®