Wyk3d
766654c85d
[6828] Added script name indexing for creature, gameobject, item, areatrigger and instance scripts.
...
* loaded all distinct script names into one vector at server startup
* added custom loaders to convert the script names to indices
* converted all the script lookup functions to use the index instead of the name
2008-11-16 03:20:16 +02:00
VladimirMangos
c9fd3705d7
[sql/updates/2008_11_11_01_mangos_db_script_string.sql sql/updates/2008_11_11_02_mangos_scripts.sql] Implement localization support for db script command SCRIPT_COMMAND_TALK.
...
Now db script command strings stored in `db_script_string (mangos_string like table). Text field `datatext` replace by int field `dataint` that store index in `db_script_string` table. Indexes must be 2000000000+ (for avoid conflicts with mangos_string indexes). Changes required DB support and SCRIPT_COMMAND_TALK will not work with old data until fixing in DB.
2008-11-12 02:03:25 +03:00
VladimirMangos
5222f49820
Use (if available) TR1 unordered_map instead hash_map at Unix/Linux (in GCC 4.0.0 and later) and Windows (VC90 and later)
2008-11-08 11:44:13 +03:00
hunuza
90828fa699
Cache highest arena team/guild ids. Some code clean up.
2008-11-05 16:58:57 +01:00
VladimirMangos
3e43600c3b
Correct check for ACE_BIG_ENDIAN. Warning fixed and code cleanups.
2008-11-03 23:59:06 +03:00
GriffonHeart
94e29ce6a8
[2008_10_27_01_npc_option.sql,2008_10_27_02_locales_npc_option.sql] Implement npc_option localization support, also store in DB BoxText/BoxMoney/Coded.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-27 22:20:25 +03:00
VladimirMangos
9e6390d88d
Load npc_options at server startup, use cached data at creature gossip menu init.
...
Also new .reload table command added. Note: currently it will not affect creatures that have gossim memu created at command use moment.
2008-10-27 16:43:31 +03:00
@
e96fedc97c
Implement new player conditions CONDITION_NO_AURA, CONDITION_ACTIVE_EVENT.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Currently can be used in loot conditions, later possible in gossip options show.
2008-10-26 23:43:50 +03:00
VladimirMangos
6f190fedd4
Output DB/ScriptLib versions in ".server info" command.
...
Required support by used scripting library.
2008-10-26 16:29:39 +03:00
VladimirMangos
b10349a737
[sql/updates/2008_10_22_02_mangos_mangos_string.sql] Allow use in console .event/.reload/.lookup/.list (some)/.guild (some) subcommands.
2008-10-23 03:07:22 +04:00
VladimirMangos
911dbe0b29
Use ObjectMgr/AccountMgr functions instead explici DB quaries.
2008-10-21 18:09:35 +04:00
VladimirMangos
ad5f559dad
* Move account related functions from ObjectMgr to AccountMgr and drop duplicate function also.
2008-10-20 07:30:59 +04:00
TheLuda
adc46ef907
Applied new coding standard, see http://github.com/mangos/mangos/wikis/codingstandards for more.
2008-10-15 18:26:08 +02:00
TheLuda
800ee76535
Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/
2008-10-14 00:29:20 +02:00