arrai
8e54a3c1cf
[6815] Allowed switching INVTYPE_HOLDABLE items during combat, used correct spells for triggering global cooldown at weapon switch. Original patch provided by mobel/simak
2008-11-09 20:44:53 +01:00
derex
d53b77cadf
Fixed english spelling in src/game/WorldSocket.h/cpp.
2008-11-09 17:06:36 +02:00
VladimirMangos
755717e8ac
[6813] Allow have team dependent graveyards at entrance map for instances.
...
Entrance map graveyards selected by same way as local (by distance from entrance)
Until DB support will work in old way base at current DB data.
2008-11-09 17:02:58 +03:00
derex
1346f394be
Fix auth login queue.
2008-11-09 15:35:22 +02:00
Megamage
ace2d4815e
Prevent proc spell from HOT and DOT ticks.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-09 13:32:07 +01:00
evilstar
1da8ff0043
[6812] Implement localization of creature/gameobject name that say/yell.
...
Original patch deeply rewrited.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-09 13:19:08 +03:00
VladimirMangos
89612654da
Fixed crash at .chardelete command use.
2008-11-09 13:15:39 +03:00
Fredi
928ea2bdcf
[6810] Added new command: .sendmoney player "subject" "message" money - Sends a mail with money to a player
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-09 11:21:13 +03:00
VladimirMangos
ad59efb6d9
[2008_11_09_01_mangos_command.sql] Create new command .senditems and remove from moderator level command .sendmail possibility send items.
2008-11-09 11:01:41 +03:00
Arthorius
397d855569
[6809] Not reset display model at shapeshift aura remove if it not set at apply.
...
This must resolve problems with model reset at warrior stance switch.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-09 09:44:12 +03:00
DiSlord
eb05f7d5eb
Merge branch 'master' of git@github.com:mangos/mangos
2008-11-09 01:53:44 +03:00
DiSlord
540a05322f
* Fix reset combopoints on miss/parry/immune and etc.
2008-11-09 01:53:03 +03:00
VladimirMangos
0dba9362d6
[6806] Not output error at loading empty character_ticket table.
2008-11-08 11:48:02 +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
VladimirMangos
ac222e92b1
[6805] Small fixes in send/received packet and simple code cleanup also.
2008-11-08 07:26:28 +03:00
ApoC
5c6a736e1c
Merge branch 'master' of git@github.com:mangos/mangos
2008-11-08 01:11:34 +01:00
ApoC
9284058126
Do not check LOS for triggered spells.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-08 01:08:30 +01:00
Wyk3d
cfd9ccdaaf
[6800] Added revision number output.
...
* Changed genrevision to use * instead of unknown when some info can not be found
* Added the git_id tool which is used to generate changes to revision_nr.h and the commit message
2008-11-08 01:50:42 +02:00
hunuza
b681f5ac1a
Access cached member lists in guild handlers instead of querying the DB.
2008-11-07 11:49:27 +01:00
VladimirMangos
8fc5ac7fd3
Fixed crash at using .account set gmlevel with wrong args.
2008-11-07 01:05:49 +03:00
VladimirMangos
4476d483d4
Fixed comment text and code indentifiers spelling.
...
GetFieldNames part provided by Paradox.
2008-11-06 19:22:23 +03:00
hunuza
4957d9f335
Further reduce of DB access in guild handlers.
2008-11-06 11:08:31 +01:00
hunuza
9d8a7aea79
Reduce number of DB queries in guild related code.
2008-11-05 18:24:17 +01:00
hunuza
90828fa699
Cache highest arena team/guild ids. Some code clean up.
2008-11-05 16:58:57 +01:00
VladimirMangos
88b1974df6
Fixed warnings, unused code and typos.
...
Including fix _SCallback for 3 params, triggred mode correct call for .cast back and .cast target.
Remove outdated code for support old 19421 (and ranks) implementation in client data.
2008-11-05 05:06:35 +03:00
VladimirMangos
ce351382a3
Remove unused src/game/HateMatrix.h and references.
...
Also one explicit include for used header.
2008-11-04 22:28:06 +03:00
VladimirMangos
3e43600c3b
Correct check for ACE_BIG_ENDIAN. Warning fixed and code cleanups.
2008-11-03 23:59:06 +03:00
hunuza
843a0d7d02
Cache GM tickets on server startup.
2008-11-03 21:32:42 +01:00
hunuza
2c9eae7599
Fixed memory leak by adding missing delete of query result.
2008-11-03 11:11:27 +01:00
hunuza
2cdd7dcfce
Improve some arena team related DB access.
...
Reduce number of queries for adding a new arena team member.
Merge two queries in Player::GetArenaTeamIdFromDB() into one.
2008-11-03 10:58:29 +01:00
VladimirMangos
166007525e
More fixes for wrong format arg/value pairs.
2008-11-03 01:48:16 +03:00
VladimirMangos
ed7390dede
Instead mark spell as delatable mark it as executed and referenced from Unit current spells array and not deleted spell in like cases.
...
This is solve crashs if spell deleted at caster die in result triggered spells casting chain from currently executed spell.
2008-11-03 01:48:14 +03:00
hunuza
322b201c4d
Revert change from PQuery to Query for one accidentally included query.
2008-11-02 23:28:32 +01:00
hunuza
fa37c291d6
Replace some PQuery() calls with more simple Query()
2008-11-02 23:22:18 +01:00
Wyk3d
086dee05cd
Added a missing include in MiscHandler.cpp
2008-11-02 23:27:03 +02:00
hunuza
1a39f30335
Make queries for adding friends async.
2008-11-02 22:19:41 +01:00
hunuza
e9fc699d86
Make guid lookup for adding ignore async.
2008-11-02 20:23:25 +01:00
hunuza
c6eadf5565
Do not split self caused damage.
...
Do not split damage that is caused by yourself (mainly environmental damage).
This also fixes pets attacking their master when SL is active.
2008-11-02 17:53:27 +01:00
hunuza
f2852a95b7
Removed some unnecessary database queries.
...
Removed unnecessary database queries in some command handlers.
Replaced them with access to cached data or queries for only the needed data.
Move database access in gossip select code to less often called place.
2008-11-02 15:58:24 +01:00
VladimirMangos
8563b88859
Fixed some format arg type/value pairs. Other warnings.
2008-11-01 23:53:35 +03:00
tomrus88
715df4e28c
No real changes
...
(cherry picked from commit 80e8f17627db58b3d275407547687aec6d10362b)
2008-11-01 22:23:35 +03:00
VladimirMangos
d54e53c709
Better check client inventory pos data received in some client packets to skip invalid cases.
2008-11-01 21:18:36 +03:00
VladimirMangos
6f6ec21b72
Avoid access to bag item prototype for getting bag size, use related item update field instead as more fast source.
2008-11-01 21:10:54 +03:00
dythzer
acf6f5d5ce
Added new command: .modify gender male/female - Turns selected player into a male or female
...
No relog needed
Signed-off-by: dythzer <micke223@gmail.com>
Add help and mangos strings. Allow accept partly types male/female arg values.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-01 06:35:41 +03:00
VladimirMangos
7b9e86e3f3
Fixed bug in respawn command from recent commit
...
Command must now ignore implicit self-targeted player as target.
And allow respawn all near creatures/go in this case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-01 05:20:03 +03:00
dythzer
4f228f71cd
Changed to correct entry for mangos strings: LANG_ACCOUNT_SETADDON (1100) and LANG_MOTD_NEW (1101)
...
Signed-off-by: dythzer <micke223@gmail.com>
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-01 04:50:01 +03:00
dythzer
eb97c9e717
[2008_10_31_02_mangos_mangos_string.sql 2008_10_31_03_mangos_command.sql] Added new command: .npc tame - Creates a pet of the selected creature.
...
Works for all classes, not only hunter. Pet also saved in DB.
Signed-off-by: dythzer <micke223@gmail.com>
Command renamed to .npc tame and code updated to use common function with spell effect.
Targeted creature not killed and tamed pet show up before player.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-01 03:24:05 +03:00
VladimirMangos
41b876b395
[2008_10_31_01_mangos_creature_template.sql] Creature related code and DB cleanups.
...
* Rename 2 creature_template fields to more clean names and related code update also.
* Use enum values instead raw values for type_flags, use halper functions instead code repeating.
* Move tamed pet creating code to new function.
2008-10-31 20:45:22 +03:00
VladimirMangos
0bf682fdbd
Fixied crash at .pinfo command use from console.
...
Also apply mangos code style to related code.
2008-10-30 21:04:51 +03:00
VladimirMangos
a26b72411a
Use characters.guid instead low guid value from characters.data in charcter enum data prepering for client.
2008-10-30 21:00:19 +03:00