Commit Graph

94 Commits

Author SHA1 Message Date
click 7a13839178 Add support for random battlegrounds - port by n0n4me, original code by Vladimir and Griffonheart (Big thanks to all of you!)
--HG--
branch : trunk
2010-05-26 11:34:37 +02:00
Shauren 7c1a189bd3 Fixed disenchanting rolls being allowed for all items, now works as intended
Renamed Faction to Flags2 in ItemPrototype and added use for some of them

yay, my first commit :D

--HG--
branch : trunk
2010-05-21 22:45:47 +02:00
Spp 1b5d171d0b Group: Fix guid and internal counter default value.
Use them in SMSG_GROUP_LIST with groupType 0x10

--HG--
branch : trunk
2010-05-21 14:19:47 +02:00
Spp defd131970 Dungeon Finder: Initial setup and dungeon listing
--HG--
branch : trunk
2010-05-20 23:35:27 +02:00
Spp d6df19cd99 Add GUID to groups
--HG--
branch : trunk
2010-05-08 01:58:47 +02:00
Trazom62 eee3ebe6d6 Fix raid groups load from DB and save to DB.
Fixes issue #299.

- In table GROUPS, since rev 7841, isRaid is used to store the groupType. The DB was not updated. this is now fixed.
- Fix isRaid set to 1 when group converted to raid (shall be the groupType).
- Fix isRaidGroup check as groupType is now a set of flags.
- Fix dungeon/raid check when difficulty change.

--HG--
branch : trunk
2010-05-05 12:40:52 +02:00
click 029e480454 Add stricter regulations for instances (login-checks and support for sending unbound player to parent-instance / homebind if not matching criterias)
Patch by Elron103 - closes issue #1323.

--HG--
branch : trunk
2010-05-04 18:25:30 +02:00
click 9fbdcbb706 Revert parts of a previous transaction-fix (would create a nested transaction), add missing support for rollback in battleground-group creation
--HG--
branch : trunk
2010-05-03 16:30:53 +02:00
Spp 450c6af43b Code Style: Remove trailing spaces and tab to spaces
--HG--
branch : trunk
2010-04-19 17:13:20 +02:00
Spp be01821050 More warning removal (Some code modifications and cleanup when needed)
--HG--
branch : trunk
2010-04-19 17:03:10 +02:00
Spp 74dd02d024 Remove LOTS of compile warnings
--HG--
branch : trunk
2010-04-19 09:26:37 +02:00
Trazom62 fbe4539e23 Implement auto pass on loot.
Fixes issue #1684.

--HG--
branch : trunk
2010-04-17 18:55:17 +02:00
Spp 65c3e979e2 Tab to Spaces and remove of trailing spaces
--HG--
branch : trunk
2010-04-11 20:20:38 +02:00
Trazom62 42bf7753a3 Fix Crash in GroupLoot and NeedBeforeGreed.
--HG--
branch : trunk
2010-04-11 12:57:09 +02:00
n0n4m3 dca29fa4eb Temp revert prev. commit.
--HG--
branch : trunk
2010-04-11 14:25:02 +04:00
n0n4m3 8820d4f6da Fix compile warning.
--HG--
branch : trunk
2010-04-11 13:37:20 +04:00
n0n4m3 0d48d3bd8c Fix some typo and compile errors.
--HG--
branch : trunk
2010-04-11 11:24:59 +04:00
n0n4m3 7ffc9ef40b Added enum for SMSG_GROUP_JOINED_BATTLEGROUND opcode and some other fixes. Big thx to TOM_RUS.
--HG--
branch : trunk
2010-04-11 11:22:29 +04:00
n0n4m3 be95faff23 Fix mail, professions, group loot, console spam, and some fixes. Big thx to TOM_RUS.
--HG--
branch : trunk
2010-04-11 11:16:42 +04:00
Spp 4635fbc020 Code Style (game + scripts only):
"!=" --> " != " (when needed)
"  !=" --> " !="
"!=  " --> "!= "

--HG--
branch : trunk
2010-04-08 08:20:08 +02:00
Spp 46f0674e23 Code Style (game + scripts only):
">=" --> " >= " (when needed)
"  >=" --> " >="
">=  " --> ">= "
"<=" --> " <= " (when needed)
"  <=" --> " <="
"<=  " --> "<= "
" ==" --> " =="
"==  " --> "== "

--HG--
branch : trunk
2010-04-07 23:56:35 +02:00
Spp 2454c290b8 Code Style (game + scripts only):
"==" --> " == " (when needed)

--HG--
branch : trunk
2010-04-07 23:25:02 +02:00
Spp 49d05ba9aa Code style (game + scripts only):
"( " --> "("
" )" --> ")"

--HG--
branch : trunk
2010-04-07 22:59:46 +02:00
Spp d19e127080 Code style (game + scripts only):
"if(" --> "if ("

--HG--
branch : trunk
2010-04-07 19:14:10 +02:00
Spp 2e127f7a30 Code style (game + scripts only):
"while(" --> "while ("

--HG--
branch : trunk
2010-04-07 19:13:19 +02:00
Spp 182e9a20b1 Code style (game + scripts only):
"for(" --> "for ("

--HG--
branch : trunk
2010-04-07 19:12:44 +02:00
Spp b27ce42704 Code Style: Remove trailing spaces
--HG--
branch : trunk
2010-04-07 18:09:10 +02:00
Spp f490ad5ac2 Code Style: tab to spaces
--HG--
branch : trunk
2010-04-07 17:24:07 +02:00
Trazom62 7a8dff70ed Fix Object::IsInMap to check instanceId.
Fig group loot distance checks to also check map instanceId.
Fixes issue #1172.

--HG--
branch : trunk
2010-03-19 22:28:00 +01:00
Trazom62 ed8c5ef6ff Implement group loot for chest having GroupLootRules (go type=3, data15=1).
Implement round robin loot.
Implement round robin for underthreshold items (group loot and need befor greed).
Fix "all players pass" bug on creature.
Add SMSG_LOOT_LIST message to indicate looter (round robin or master).
And some other minor loot bugs.

Fixes issue #167.
Fixes issue #247.

--HG--
branch : trunk
2010-03-11 22:55:02 +01:00
Spp b957b2736b Fix crash in group loading.
--HG--
branch : trunk
2010-03-10 08:58:22 +01:00
Xanadu ac270db251 Removed forgotten nonexistent colums from a query. Thank Aokromes for pointing a finger on it
--HG--
branch : trunk
2010-03-10 04:42:59 +01:00
Machiavelli 6c725aa530 One overlooked redundant piece of code related to previous commit removed.
--HG--
branch : trunk
2010-03-09 21:10:34 +01:00
Machiavelli 24ab54f213 Small update to the group/party system.
- Fixes raid assistant privileges, Fixes issue #248
- Proper designation for Main tank and Main assistant roles
- Remove 2 redundant columns in DB, namely groups.mainTank and groups.mainAssist. These are now defined by the value of group_member.memberFlags

--HG--
branch : trunk
2010-03-09 20:33:59 +01:00
raczman 07f3b91426 Some Creature* casts moved to new ToCreature.
Added const Creature* ToCreature()

--HG--
branch : trunk
2010-03-07 18:30:53 +01:00
n0n4m3 3dd6fdedf7 Use PVPDificulty.dbc for bg/arena bracket selection (levels and difficulty). Rename BG/arena queue_id to bracket_id and related functions/etc. Author: VladimirMangos.
--HG--
branch : trunk
2010-02-15 15:31:27 +01:00
Brian 486c00891b * Core switch to client 3.3.2 (11403)
* Credits (in no particular order) to:
* n0n4m3, raczman, manuel, Spp, Malcrom, Teacher, QAston, Tartalo,
* thenecromancer, Xanadu, Trazom, Zor, kiper
* Additional credits to:
* TOM_RUS and NoFantasy from MaNGOS
* Thanks for testing Aokromes and XTElite1
* SoTA still needs some work, but is very playable (huge thanks to raczman and
* kiper)
* To upgrade, you need to apply all SQL from sql/updates/3.2.2a_old from the
* last rev you are on
* and then apply all SQL from sql/updates/3.3.2_old to char / realmd / world
* DBs
* Known problem with guild banks.

--HG--
branch : trunk
2010-02-14 19:13:14 -07:00
Anubisss d9cb070215 Implement QueryResult_AutoPtr type which is ACE's reference counted auto_ptr(ACE_Refcounted_Auto_Ptr) for QueryResult pointers.
Use this auto_ptr for every DB queries(except QueryNamedResult yet).

This patch guarantees NO memory leaks from QueryResult pointers.

Thanks to raczman for the idea and for the helping to make this patch.

--HG--
branch : trunk
2010-01-23 14:45:58 +01:00
thenecromancer bfad15470f Fix pass/need opcode
--HG--
branch : trunk
2010-01-20 20:42:54 +01:00
XTZGZoReX 704e0e3361 * Really revert commit fced5e40fa1e - don't ask me why, but hg is not being very co-operative.
--HG--
branch : trunk
2010-01-17 11:51:14 +01:00
n0n4m3 99f66a6bc9 Updated copyright for new year.
--HG--
branch : trunk
2010-01-16 20:19:18 +03:00
XTZGZoReX f5998611c3 Backed out changeset: 52e769d95f14
--HG--
branch : trunk
2010-01-13 18:24:23 +01:00
n0n4m3 f7ad3aefc8 Removed all my commits for today, this is hack? really? okey
--HG--
branch : trunk
2010-01-13 19:11:46 +03:00
n0n4m3 7a4e793c02 Restore hack for instance dungeon difficulty reset exploit.
--HG--
branch : trunk
2010-01-13 14:45:56 +03:00
Brian 269ec72bd5 * re-add missed part of commit from rev 6418
* Original patch by Machiavelli

--HG--
branch : trunk
2009-12-30 14:52:53 -07:00
Machiavelli 749ca9ea8f Fix setting of "main tank" and "main assistant" variables in a raid group, and correctly send these to the client.
--HG--
branch : trunk
2009-12-22 19:39:02 +01:00
Rat 6fe36efe0f *apply trinity style to whole source
*comment out all mangos to trinity defines
*this will make merging a little harder, but code will be more clear

--HG--
branch : trunk
2009-12-20 15:20:04 +01:00
maximius dc1207139a *Cleanup, proper indentation, and remove some wrong/irrelevant comments copied from custom patches..
--HG--
branch : trunk
2009-12-18 13:41:30 -08:00
n0n4m3 39187235c6 Update Group for 322a
--HG--
branch : trunk
2009-12-17 11:11:54 +01:00
Machiavelli 3fc7c8cf95 Remove hack added in 6413. Fixes crash.
--HG--
branch : trunk
2009-12-05 19:59:27 +01:00