Commit Graph

313 Commits

Author SHA1 Message Date
Anubisss
de97bd4f00 Remove a duplicate check from map/vmap files existance of all races' startup areas. Dear God, my english rocks (:.
--HG--
branch : trunk
2010-05-29 00:16:06 +02:00
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
click
aaf6b425fc Allow accounts to create characters in both horde and alliance factions by default (now blizzlike)
--HG--
branch : trunk
2010-05-25 10:50:11 +02:00
Spp
defd131970 Dungeon Finder: Initial setup and dungeon listing
--HG--
branch : trunk
2010-05-20 23:35:27 +02:00
Machiavelli
a1ef8aaa66 Don´t kick sessions in the tiny window (barely a few ms) between the login queue and the char selection screen either.
--HG--
branch : trunk
2010-05-16 16:30:02 +02:00
Spp
a99c6bd5a9 Fix localization of gossip menu options
Original patch by Qowyn
Adapted to trinity (and tested) by Durotar and Aokromes

--HG--
branch : trunk
2010-05-16 00:58:24 +02:00
Machiavelli
98a5c09af0 Add config option SessionAddDelay to replace the hard coded 10ms default Networkthread sleep time after WorldSocket::HandleAuthSession calls and adding the session to the world session map.
--HG--
branch : trunk
2010-05-14 00:50:26 +02:00
Anubisss
4a448eca37 Make WaypointMgr to singleton.
Move global waypoint_map variable to WaypointMgr's private variable.

--HG--
branch : trunk
2010-05-13 00:08:30 +02:00
Rat
6f06008f6b make BG kill XP configable, default off
--HG--
branch : trunk
2010-05-12 07:53:13 +02:00
click
f60d534b73 Cleanup on some database-related files: merge some DB-related files, add some consistency to callhandles in sourcetree (M
+ combine MySQL-specific files into main database-files (click)
+ fix vcproj-files, adjust handler-function names for consistency (Machiavelli)

--HG--
branch : trunk
2010-05-08 05:03:32 +02:00
Spp
fe26dcc278 Fix local change that wasn't supposed to be pushed...
--HG--
branch : trunk
2010-05-02 00:46:35 +02:00
Spp
274457a7fb Make RealmList a Singleton.
Patch by Anubiss

--HG--
branch : trunk
2010-05-02 00:06:08 +02:00
Spp
a0e1357e2b Fix locale selection at server load.
--HG--
branch : trunk
2010-05-02 00:16:05 +02:00
Spp
e107730ffb Fix more warnings.
--HG--
branch : trunk
2010-05-01 22:25:14 +02:00
Spp
1bc2a9fd4a Replace some PQuery/PExecute by more simple Query/Execute
Original patch by hunuza, extended to whole code
Closses issue 1446

--HG--
branch : trunk
2010-04-30 11:21:25 +02:00
Spp
e45ec85096 Fix weekly reset time being updated twice
Patch by NoFantasy

--HG--
branch : trunk
2010-04-28 22:11:53 +02:00
Spp
c2aaf6bfcb Fix weekly reset time initialization.
If timer in the past update to current time

--HG--
branch : trunk
2010-04-28 22:07:58 +02:00
_manuel_
31318eabfd Fixed weekly quest reset by Gyullo.
--HG--
branch : trunk
2010-04-26 17:52:57 -03:00
p0wer
5435d4f303 Fix spelling error in CONFIG_GM_WHISPERING.
--HG--
branch : trunk
2010-04-23 17:03:03 -05:00
click
ab396beb56 Add support for season-dependant gameevents
Patch by Liberate

--HG--
branch : trunk
2010-04-22 16:22:39 +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
74dd02d024 Remove LOTS of compile warnings
--HG--
branch : trunk
2010-04-19 09:26:37 +02:00
Spp
0032bb5886 Fix compile.
--HG--
branch : trunk
2010-04-15 12:32:40 +02:00
Spp
08785d63ab Fix bad use of worldstates table in last commit
--HG--
branch : trunk
2010-04-15 10:18:38 +02:00
n0n4m3
8abcca0a06 Another fix quest flags, Implement support weekly quests cooldowns(Original patch by GriffonHeart), also code cleanups.
--HG--
branch : trunk
2010-04-15 08:26:30 +04:00
n0n4m3
a6af93c3d6 Create new table character_stats for external tools(website,etc). This table use only when player logout. Original code by hunuza.
--HG--
branch : trunk
2010-04-14 13:29:56 +04:00
n0n4m3
e3e5ca6227 Drop not needed table 'item_text', add new column 'text' in table 'item_instance'. Original patch by Vladimir.
--HG--
branch : trunk
2010-04-14 12:43: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
b27ce42704 Code Style: Remove trailing spaces
--HG--
branch : trunk
2010-04-07 18:09:10 +02:00
Spp
cd372966af * Add support to save and load worldstates.
will be mainly used by outdoorPvP system
* Update next arena auto distribute points time to custom worldstate

--HG--
branch : trunk
2010-03-26 16:48:33 +01:00
Spp
ff89bad0fe Allow Battlegrounds and arenas to be disabled by DB.
wtlk arenas disabled by default.

- Player will continue to see all bgs using UI, but won't be able to join disabled bg's
- Gossip menu not shown for disabled Bgs/arenas
- Id 6 disabled = all arenas disabled.
- Only id 6 arena enabled = Gossip shown but unable to join any arena

--HG--
branch : trunk
2010-03-13 00:47:24 +01:00
Spp
d2a3f9670f Move vehicle accesories to DB.
Credit to Malcrom and Manuel for the idea and original patch

--HG--
branch : trunk
2010-03-12 18:19:50 +01:00
Spp
cef249ff2c Add level restrictions to some commands:
say, yell, emote, whisper, channel use, trade, auction, mail, tickets
By azazel. Closes issue #598

--HG--
branch : trunk
2010-03-09 12:58:48 +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
Machiavelli
ce2d71e1d9 Add config option that determines the maximum allowed time between the last received CMSG_CHAR_ENUM and another incoming packet, and will disconnect the peer if this time limit is exceeded.
In other words, a time limit in which idlers can stay logged in on the character selection screen before they are disconnected.
Fixes issue #335

--HG--
branch : trunk
2010-02-12 19:59:44 +01:00
Xanadu
f8d1920fa5 Yet more cleanup, mostly in the script system. This should conclude the script integration into core.
--HG--
branch : trunk
2010-02-05 13:01:32 +01:00
QAston
10695f9131 *Drop spell_stack_masks table
*Add spell_group_stack_rules table (for more info see wiki)
*The table is maintained by core team
*Move some spell specific out of core to the new table

--HG--
branch : trunk
2010-02-02 22:35:01 +01:00
QAston
a1256d88ee *drop spell_elixir table
*add spell_group table for storage of groups of spell (kinda obvious, isn't it?) and populate the table with converted spell_elixir table data
*the table is going to be maintained by core team
*fix percentage display at spell_ranks table loading
*add TARGET_UNIT_CASTER to allowed learn spell targets in npc_trainer table, thanks to Aokromes for noticing the issue.

--HG--
branch : trunk
2010-02-01 19:22:32 +01:00
QAston
9e31e08358 *Move spell rank extractor out of core, use sql table instead for easier maintaining of dependant database data.
--HG--
branch : trunk
2010-01-29 17:54:29 +01:00
XTZGZoReX
39a260d10d * Added actual loading of the addons table... This was missing in the original commit.
--HG--
branch : trunk
2010-01-29 11:56:48 +01:00
thenecromancer
d32e0878c7 Remove Battle Shout/Blessing of Might hack
Add table holding stacking masks for non-target/caster related stacking rules
Aura bounce check is still to be done

--HG--
branch : trunk
2010-01-23 17:05:20 +01: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
Brian
c82599ebb9 * Wintergrasp removal -- part 4: "How deep does the cancer run?"
--HG--
branch : trunk
2010-01-20 14:23:47 -07:00
XTZGZoReX
48b085124e * Add basic AddonMgr.
* All this really does at the moment is save addon names + CRCs to DB for use for.. whatever, later.

--HG--
branch : trunk
2010-01-20 16:24:52 +01:00
Rat
ac6ef84ac4 *cleanup #1 after script merge
--HG--
branch : trunk
2010-01-19 15:55:31 +01:00