Commit Graph
100 Commits
Author SHA1 Message Date
Brian baf108e5cc * Updated DBC file checks for 3.3.5a
--HG--
branch : trunk
2010-07-02 01:48:49 -06:00
Brian d3e21eeb33 * Merge from public repo
--HG--
branch : trunk
2010-07-01 09:06:56 -06:00
Brian 38316ca97b * Fix authentication for the new client
* Thanks TOM_RUS

--HG--
branch : trunk
2010-06-30 13:14:23 -06:00
Brian 4d00596e95 * Update for 3.3.5a
--HG--
branch : trunk
2010-06-30 13:11:44 -06:00
Brian b0df141c54 * Another opcode update
* Thanks TOM_RUS

--HG--
branch : trunk
2010-06-30 13:05:23 -06:00
Brian 9b7da805f8 * Some update to chat enums
* Thanks TOM_RUS

--HG--
branch : trunk
2010-06-30 13:02:43 -06:00
Brian 27958838bf * Update / Add some opcodes
* Thanks TOM_RUS

--HG--
branch : trunk
2010-06-30 12:58:00 -06:00
Brian f1bcd2c5bc * Fix expected client build
--HG--
branch : trunk
2010-06-30 12:46:19 -06:00
Brian d2f6ae6f77 * Fix creatures spawning with less than max health if curhealth field in
* creature is != maxhealth in creature_template and the creature is supposed
* to regenerate health.
* Patch courtesy of Visagalis
* Thanks for taking the time to fix this LONG outstanding bug

--HG--
branch : trunk
2010-06-28 06:42:01 -06:00
Brian af231fadeb * Missed updating the VS project from last commit
--HG--
branch : trunk
2010-06-25 03:53:16 -06:00
Brian 852a0c44a2 * Renamed PoolHandler to PoolMgr since the pool systems has nothing to do with
* the client/server protocol.

--HG--
branch : trunk
rename : src/server/game/Pools/PoolHandler.cpp => src/server/game/Pools/PoolMgr.cpp
rename : src/server/game/Pools/PoolHandler.h => src/server/game/Pools/PoolMgr.h
2010-06-25 03:50:19 -06:00
Brian 71d47b384f * Remove table from database that is no longer needed after previous commit
--HG--
branch : trunk
2010-06-22 19:39:02 -06:00
Brian c3b7ce7b69 * Commented useless error message in the map extractor
--HG--
branch : trunk
2010-06-22 17:07:27 -06:00
Brian 1daa1c09f9 * Change Linux specific ifdef to POSIX compliant
* Should allow the vmap extractor to build under OSX
* Patch by imbecile

--HG--
branch : trunk
2010-06-22 14:45:15 -06:00
Brian 2db4af3949 * Changed references to Trinityd.conf / trinitycore.conf to proper
* worldserver.conf

--HG--
branch : trunk
2010-06-19 13:54:19 -06:00
Brian 108970ddba * Fix Linux compile
--HG--
branch : trunk
2010-06-19 11:14:00 -06:00
Brian bc704b4a55 * Fix logic in FindMySQL cmake file
* *nix compiles again

--HG--
branch : trunk
2010-06-17 10:29:53 -06:00
Brian e7083e46ac * Fixed typo
* Thanks Keven85

--HG--
branch : trunk
2010-06-13 13:34:04 -06:00
Brian 5ee985b231 * Rename trinitycore.conf / ico / windows properties
--HG--
branch : trunk
rename : src/server/worldserver/trinitycore.conf.dist => src/server/worldserver/worldserver.conf.dist
rename : src/server/worldserver/TrinityCore.ico => src/server/worldserver/worldserver.ico
rename : src/server/worldserver/TrinityCore.rc => src/server/worldserver/worldserver.rc
2010-06-09 07:53:07 -06:00
Brian bdb4b2bf8f * Rename conf file / icon file / Window file properties
--HG--
branch : trunk
rename : src/server/authserver/trinityrealm.conf.dist => src/server/authserver/authserver.conf.dist
rename : src/server/authserver/TrinityRealm.ico => src/server/authserver/authserver.ico
rename : src/server/authserver/TrinityRealm.rc => src/server/authserver/authserver.rc
2010-06-09 07:48:29 -06:00
Brian 0124d519dc * Update .hgignore with new tree structure
--HG--
branch : trunk
2010-06-09 07:41:24 -06:00
Brian dd5583e962 * Removed static revision.h from src/server/shared
* This is a dynamically generated file

--HG--
branch : trunk
2010-06-09 07:02:24 -06:00
Brian 44ab7530b7 * Removed not needed client directory for now
--HG--
branch : trunk
2010-06-09 00:57:17 -06:00
Brian 5c21447ad7 * Missed directory
--HG--
branch : trunk
2010-06-09 00:55:56 -06:00
Brian c97247a990 * Renamed some directories in sql/ to more accurately reflect their purpose
--HG--
branch : trunk
rename : sql/auth_database.sql => sql/base/auth_database.sql
rename : sql/character_database.sql => sql/base/character_database.sql
rename : sql/world_database.sql => sql/base/world_database.sql
rename : sql/tools/CMakeLists.txt => sql/create/CMakeLists.txt
rename : sql/tools/create_mysql.sql => sql/create/create_mysql.sql
rename : sql/tools/drop_mysql.sql => sql/create/drop_mysql.sql
rename : sql/full/CMakeLists.txt => sql/scripts/CMakeLists.txt
rename : sql/full/world_script_texts.sql => sql/scripts/world_script_texts.sql
rename : sql/full/world_script_waypoints.sql => sql/scripts/world_script_waypoints.sql
rename : sql/full/world_scripts_full.sql => sql/scripts/world_scripts_full.sql
2010-06-09 00:54:15 -06:00
Brian 0a4899646d * Merge
--HG--
branch : trunk
2010-06-09 00:34:46 -06:00
Brian 02efe02b43 * Added missing include paths that got lost in the merge a few revs ago
* Fixed realative path to Reference.h
* Re-enabled PCH building by default
* Re-enabled scripts building by default
* Linux compile now fully functional again.

--HG--
branch : trunk
2010-06-09 00:34:22 -06:00
Brian 9cf85c0549 * Some additions to the THANKS file
--HG--
branch : trunk
2010-06-08 17:06:30 -06:00
Brian e20d3026b3 * Small change to README file
--HG--
branch : trunk
2010-06-08 17:04:14 -06:00
Brian c548bbc0a2 * merge
--HG--
branch : trunk
2010-06-08 17:01:40 -06:00
Brian bc04d7ce25 * Remove the last of the realative paths from #include statements
--HG--
branch : trunk
2010-06-08 17:01:03 -06:00
Brian dee7fd1382 * Remove more not needed relative paths in include files
--HG--
branch : trunk
2010-06-08 16:13:55 -06:00
Brian 9b6669e5f3 * Remove more relative paths from includes
--HG--
branch : trunk
2010-06-08 15:50:23 -06:00
Brian b76b6700ed * Linux compile with and without PCH fixed
* Script library compile fixed
* --todo: fix all scripts themselves :)

--HG--
branch : trunk
2010-06-08 13:05:47 -06:00
Brian c08a7d6348 * Finally it compiles (thanks click for noticing the "typo").
* However, still need to get linking fixed.

--HG--
branch : trunk
2010-06-07 19:04:11 -06:00
Brian 1fd7082712 * Reverted to the old G3D library, however collision still will not compile
* and is therefore commented out.

--HG--
branch : trunk
2010-06-07 18:32:20 -06:00
Brian 498f62f4cc * Well 94% isn't bad. Last thing to fix is collision compiling.
* But I need a break.

--HG--
branch : trunk
2010-06-07 16:21:52 -06:00
Brian 6650068b5e * Nearly done with fixing the Linux build.
* Thanks to samccstudios for saving me some time with the Outlands scripts.

--HG--
branch : trunk
2010-06-07 15:59:21 -06:00
Brian b0e1605455 * Getting closer (at least for Linux :) )
--HG--
branch : trunk
2010-06-07 14:44:18 -06:00
Brian d9127cdee7 * Reverted to the old Mersenne Twister till the new one can be properly added
--HG--
branch : trunk
2010-06-07 14:13:56 -06:00
Brian f1d39c2aa2 * Fixed damn copy / paste type from my last commit. It is still very broken
* though :P

--HG--
branch : trunk
2010-06-07 13:33:31 -06:00
Brian 1a3f840a17 * broken
--HG--
branch : trunk
2010-06-07 13:20:46 -06:00
Brian 15f8bbe9ca * More cleanup
--HG--
branch : trunk
2010-06-07 12:08:15 -06:00
Brian 2e0f8fb6e5 * Nope not yet
--HG--
branch : trunk
2010-06-07 09:23:19 -06:00
Brian 2435b4152d * Nope still won't build yet
--HG--
branch : trunk
2010-06-07 09:04:14 -06:00
Brian 12dc250bf0 * Lib trinitydatabase builds again
--HG--
branch : trunk
2010-06-07 07:58:31 -06:00
Brian 36584926e6 * Auth lib builds again.
--HG--
branch : trunk
2010-06-07 07:43:20 -06:00
Brian cbaf5587d6 * shared lib builds again under Linux.
--HG--
branch : trunk
2010-06-07 07:13:35 -06:00
Brian f9da9aa3dc * Removed vmap binary files from repo. This is a source repo and binaries
* do not belong in it.
* Also removed the no longer needed vmap debugger

--HG--
branch : trunk
2010-06-04 13:33:16 -06:00
Brian ed636d96d8 * Fix target count for Blazing Harpoon (spell 61588)
* Credits to click and Xanadu who had to show some love to Malcrom

--HG--
branch : trunk
2010-05-31 18:55:02 -06:00
Brian 76f4259091 * Fix Linux compile.
--HG--
branch : trunk
2010-05-31 18:10:29 -06:00
Brian 9498bf147b * Proper number of DBCs read by core
* Fixes 102% load bar

--HG--
branch : trunk
2010-05-24 18:55:39 -06:00
Brian 7957d06654 * Add SCRIPT_COMMAND_CLOSE_GOSSIP that can be used in gossip_scripts to force
* the gossip window to close when a given menu option is chosen.
* This is with all my love -- for Malcrom :P

--HG--
branch : trunk
2010-05-07 19:17:51 -06:00
Brian 42a379bfb1 * Fix the damn everloving neutral assist once again
* Patch coutesy of PivoNRoll

--HG--
branch : trunk
2010-05-06 02:13:15 -06:00
Brian ec324f0d55 * Removed registration form that was not kept up to date.
* If you want to run a public server, write your own

--HG--
branch : trunk
2010-05-03 20:07:50 -06:00
Brian 889fbc5b0b * Renamed map extractor folder to something more fitting
--HG--
branch : trunk
rename : contrib/extractor/CMakeLists.txt => contrib/map_extractor/CMakeLists.txt
rename : contrib/extractor/README.linux => contrib/map_extractor/README.linux
rename : contrib/extractor/System.cpp => contrib/map_extractor/System.cpp
rename : contrib/extractor/VC90_AD.sln => contrib/map_extractor/VC90_AD.sln
rename : contrib/extractor/VC90_ad.vcproj => contrib/map_extractor/VC90_ad.vcproj
rename : contrib/extractor/ad => contrib/map_extractor/ad
rename : contrib/extractor/ad.exe => contrib/map_extractor/ad.exe
rename : contrib/extractor/adt.cpp => contrib/map_extractor/adt.cpp
rename : contrib/extractor/adt.h => contrib/map_extractor/adt.h
rename : contrib/extractor/dbcfile.cpp => contrib/map_extractor/dbcfile.cpp
rename : contrib/extractor/dbcfile.h => contrib/map_extractor/dbcfile.h
rename : contrib/extractor/debug/zlib.lib => contrib/map_extractor/debug/zlib.lib
rename : contrib/extractor/libmpq/CMakeLists.txt => contrib/map_extractor/libmpq/CMakeLists.txt
rename : contrib/extractor/libmpq/common.cpp => contrib/map_extractor/libmpq/common.cpp
rename : contrib/extractor/libmpq/common.h => contrib/map_extractor/libmpq/common.h
rename : contrib/extractor/libmpq/explode.cpp => contrib/map_extractor/libmpq/explode.cpp
rename : contrib/extractor/libmpq/explode.h => contrib/map_extractor/libmpq/explode.h
rename : contrib/extractor/libmpq/extract.cpp => contrib/map_extractor/libmpq/extract.cpp
rename : contrib/extractor/libmpq/huffman.cpp => contrib/map_extractor/libmpq/huffman.cpp
rename : contrib/extractor/libmpq/huffman.h => contrib/map_extractor/libmpq/huffman.h
rename : contrib/extractor/libmpq/mpq.cpp => contrib/map_extractor/libmpq/mpq.cpp
rename : contrib/extractor/libmpq/mpq.h => contrib/map_extractor/libmpq/mpq.h
rename : contrib/extractor/libmpq/parser.cpp => contrib/map_extractor/libmpq/parser.cpp
rename : contrib/extractor/libmpq/wave.cpp => contrib/map_extractor/libmpq/wave.cpp
rename : contrib/extractor/libmpq/wave.h => contrib/map_extractor/libmpq/wave.h
rename : contrib/extractor/libmpq/zconf.h => contrib/map_extractor/libmpq/zconf.h
rename : contrib/extractor/libmpq/zlib.h => contrib/map_extractor/libmpq/zlib.h
rename : contrib/extractor/loadlib/CMakeLists.txt => contrib/map_extractor/loadlib/CMakeLists.txt
rename : contrib/extractor/loadlib/adt.cpp => contrib/map_extractor/loadlib/adt.cpp
rename : contrib/extractor/loadlib/adt.h => contrib/map_extractor/loadlib/adt.h
rename : contrib/extractor/loadlib/loadlib.cpp => contrib/map_extractor/loadlib/loadlib.cpp
rename : contrib/extractor/loadlib/loadlib.h => contrib/map_extractor/loadlib/loadlib.h
rename : contrib/extractor/loadlib/wdt.cpp => contrib/map_extractor/loadlib/wdt.cpp
rename : contrib/extractor/loadlib/wdt.h => contrib/map_extractor/loadlib/wdt.h
rename : contrib/extractor/mpq_libmpq.cpp => contrib/map_extractor/mpq_libmpq.cpp
rename : contrib/extractor/mpq_libmpq.h => contrib/map_extractor/mpq_libmpq.h
rename : contrib/extractor/release/zlib.lib => contrib/map_extractor/release/zlib.lib
2010-05-03 20:06:29 -06:00
Brian 92bb163343 * Cleanup of old VS build files for the map extractor
--HG--
branch : trunk
2010-05-03 20:05:15 -06:00
Brian 5c1c73309e * Set correct number of DBCs to be loaded
--HG--
branch : trunk
2010-04-12 08:09:53 -06:00
Brian 1427f76a8c * Set Trinity referenced trainer start entry to 200000
* Removed unneeded bar loading code for trainers

--HG--
branch : trunk
2010-04-12 07:26:22 -06:00
Brian 0c22e5ac99 * Proper format for CustomSpellDifficulty.dbc
* Thanks n0n4m3

--HG--
branch : trunk
2010-04-09 11:48:21 -06:00
Brian befef61acb * Added EPIC difficulty (not currently used) to difficulties enum
* Thanks Zor for the research
* Linux guys -- enjoy the full rebuild :P

--HG--
branch : trunk
2010-04-05 15:11:03 -06:00
Brian db2f8ae744 * Actual backout
* SQL needed to undo 7769

--HG--
branch : trunk
2010-04-05 14:44:34 -06:00
Brian 96cc2b1d48 * Backed out changeset 44ff24439269
* We will implement this in a generic way using the conditions system

--HG--
branch : trunk
2010-04-05 14:42:40 -06:00
Brian c86b228668 * Removed check for SSL version requirement of .98k or higher (works just fine
* with .98e).
* Thanks raczman for testing.

--HG--
branch : trunk
2010-04-02 10:56:30 -06:00
Brian 8ddcc2985c * Merge
--HG--
branch : trunk
2010-04-01 12:56:52 -06:00
Brian 0b38c48ec9 * To make the game easier, we have decided to remove all movement from NPCs
* If we get the positive response we are expecting, we will remove spells
* next.
* Just imagine, finally being able to get that T10 gear you wanted!
* Thanks to Nayre for the idea
* Thanks to Machiavelli and Trazom for help implementing

--HG--
branch : trunk
2010-04-01 12:56:26 -06:00
Brian ed40fed971 * Remove remaining obsolete client version checks from AHbot
--HG--
branch : trunk
2010-03-30 12:05:48 -06:00
Brian 00bb3d5cb7 * Allow AHbot to pull items from reference_loot_template for auction.
* Credits to click
* Remove no longer needed check for non-supported client versions for loot
* Generation

--HG--
branch : trunk
2010-03-30 12:01:37 -06:00
Brian 35ad150510 * Delete unused files
--HG--
branch : trunk
2010-03-27 16:44:47 -06:00
Brian ec72846da4 * Check for incorrect settings for AHbot
* Patch by click

--HG--
branch : trunk
2010-03-26 13:07:24 -06:00
Brian 808254af50 * Missed SQL from previous commit
--HG--
branch : trunk
2010-03-24 18:36:46 -06:00
Brian 66a890ca0f * Allow the use of referenced trainer / vendor data.
* This will reduce the size of the trainer / vendor tables a LOT.
* Current tables will continue to work as/is until the refs can be made.
* Huge thanks to XTElite1
* Credits for patch to Cycrow

--HG--
branch : trunk
2010-03-24 18:27:09 -06:00
Brian 8268adc932 * Added support for only displaying items from vendors for the team the
* player is on. Faction field in item_template is actually team, and will
* be renamed in a later patch.
* 1 == Horde / 2 == Alliance
* Thanks Aokromes for helping research / test

--HG--
branch : trunk
2010-03-15 06:19:27 -06:00
Brian 50b59401dc * Was this really needed?
--HG--
branch : trunk
2010-03-14 16:36:53 -06:00
Brian 85b0798d75 * merge
--HG--
branch : trunk
2010-03-14 16:35:52 -06:00
Brian 920137f1ba * Backed out changeset ddd823e3e200
* hg commit <filename> isn't enough to push one file
* also need hg push <filename>

--HG--
branch : trunk
2010-03-14 16:35:38 -06:00
Brian 71b7300348 * Backed out changeset ddd823e3e200
* hg commit <filename> isn't enough to only push one file
* also need hg push <filename>

--HG--
branch : trunk
2010-03-14 16:34:55 -06:00
Brian 0f0cb79f0b * merge
--HG--
branch : trunk
2010-03-14 16:33:04 -06:00
Brian ace353d088 * merge
--HG--
branch : trunk
2010-03-14 16:32:04 -06:00
Brian 9aa96aaf9b * Fix potential import error for vehicle_accessory table
* Thanks Riccardo

--HG--
branch : trunk
2010-03-14 16:31:47 -06:00
Brian 8ba7885cc8 * Added CONDITION_CLASS / CONDITION_RACE / CONDITION_ACHIEVEMENT for
* gossip / loot conditions

--HG--
branch : trunk
2010-03-14 11:45:34 -06:00
Brian 2278f6ac45 * Add change to characters.sql from last commit
--HG--
branch : trunk
2010-03-02 20:21:17 -07:00
Brian c9488f5ebe * Fix blob conversion SQL to allow for proper value for watchedFaction
--HG--
branch : trunk
2010-03-02 20:17:51 -07:00
Brian 74ccd57597 * Move some values out of the data blob in the characters table
* (honor, kills, title, currencies, watched faction, drunken-status, health and power)
* Original Author Hunuza - thank you
* Ported to Trinity by RammboNr5 - thank you
* Tested by Aokromes - thank you
* Closes Issue #911

--HG--
branch : trunk
2010-03-02 10:12:47 -07:00
Brian d3e09cb65f * merge
--HG--
branch : trunk
2010-03-02 10:00:40 -07:00
Brian 29666451f3 * Add support for sending quest completion text
* Original patch by NoFantasy - thank you
* Ported to Trinity by seirgy - thank you
* Closes issue #873

--HG--
branch : trunk
2010-03-02 09:59:59 -07:00
Brian cb5ffcafdb * Merge
--HG--
branch : trunk
2010-02-24 23:50:54 -07:00
Brian 1ee9839bcb * Temporary fix for client freezes until the entire movement system can
* get an overhaul.
* Thanks to Biglad for pointing it out.

--HG--
branch : trunk
2010-02-24 23:50:21 -07:00
Brian aea3151d7b * As of patch 3.3.2 there is no longer a maxlevel requirement for meeting
* stones.
* Credits Kaelima

--HG--
branch : trunk
2010-02-24 05:03:22 -07:00
Brian 4d48268797 * Correctly display the party leader's name in chat
* Credits to Timawyn

--HG--
branch : trunk
2010-02-21 14:03:53 -07:00
Brian b19e793032 * CRLF to LF
--HG--
branch : trunk
2010-02-18 16:54:45 -07:00
Brian a95dd226e4 * Properly display missing vehicle IDs on startup
--HG--
branch : trunk
2010-02-18 02:07:20 -07:00
Brian 8ba75526b5 * Properly fix bogus pet trainers error message
--HG--
branch : trunk
2010-02-17 02:17:17 -07:00
Brian d2acbbd616 * Added chack for TRAINER_TYPE_PETS, to prevent bogus error that was generated
* since pet trainers no longer train spells.

--HG--
branch : trunk
2010-02-17 02:08:11 -07:00
Brian bea79b0711 * Add error checking for vehicle IDs that are in creature_template but don't
* exist in Vehicle.dbc. This *WILL* cause the client to freeze / hang.
* Look on TDB in the "Core related DB content" forum for a query to clean
* these up.
* Thanks to MaXiMiUS for the slap in the face :)

--HG--
branch : trunk
2010-02-17 00:51:19 -07:00
Brian 8930098acb * Add support for CONDITION_QUEST_NONE (14) as a loot condition and gossip
* condition. If set the player must never have taken or completed the quest
* listed in value1

--HG--
branch : trunk
2010-02-16 21:21:52 -07:00
Brian 6cdacbd313 * Removed hack for summon water elemental
* Proper handling for Glyph of Eternal Water
* Summoned water elemental still doesn't last forever, but the right spells
* are cast in the right situations.
* Credits to Edrinn

--HG--
branch : trunk
2010-02-16 15:36:19 -07:00
Brian 667c4b694f * Updated DBC count to the actual number being used by the core.
* Solves 102% issue on DBC loading

--HG--
branch : trunk
2010-02-16 15:26:40 -07:00
Brian bf31ff93c1 * Merge
--HG--
branch : trunk
2010-02-15 08:32:14 -07:00
Brian ca10925d41 * Changed default for MinRecordUpdateTimeDiff from 10ms to 100ms.
* Even on a local LAN, you are lucky to get 50ms with gigabit LAN

--HG--
branch : trunk
2010-02-15 08:31:45 -07:00