Commit graph

36 commits

Author SHA1 Message Date
tomrus88
871d5f8c99 Small progress with vehicles 2008-11-12 00:49:19 +03:00
tomrus88
78ec66babc Merge branch 'master' into 303
Conflicts:
	contrib/extractor/System.cpp
	contrib/extractor/ad.exe
	src/game/WorldSocket.cpp
2008-11-06 15:50:47 +03: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
tomrus88
d4ab3ca463 Merge branch 'master' into 303 2008-11-04 18:28:39 +03:00
hunuza
843a0d7d02 Cache GM tickets on server startup. 2008-11-03 21:32:42 +01:00
tomrus88
9cc6f1f3ec Merge branch 'master' into 303
Conflicts:
	src/game/Level2.cpp
	src/game/Pet.cpp
	src/game/Player.cpp
2008-11-03 14:44:58 +03:00
tomrus88
b62f376d73 No real changes
(cherry picked from commit 80e8f17627db58b3d275407547687aec6d10362b)
2008-11-03 14:12:57 +03:00
VladimirMangos
e4a2d43a47 Better check client inventory pos data received in some client packets to skip invalid cases. 2008-11-03 14:05:12 +03:00
VladimirMangos
aaddf4b51b Avoid access to bag item prototype for getting bag size, use related item update field instead as more fast source. 2008-11-03 14:05:11 +03:00
VladimirMangos
166007525e More fixes for wrong format arg/value pairs. 2008-11-03 01:48:16 +03:00
hunuza
fa37c291d6 Replace some PQuery() calls with more simple Query() 2008-11-02 23:22:18 +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
tomrus88
a2ed231947 Compile fix 2008-11-01 17:38:32 +03:00
tomrus88
5d79048e68 No real changes 2008-11-01 08:42:49 +03:00
tomrus88
cffc766fb6 Merge commit 'origin/master' into 303
Conflicts:
	src/game/SpellEffects.cpp
	src/game/World.cpp
2008-11-01 08:10:24 +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
tomrus88
4758be3791 Merge branch 'master' into 303 2008-10-31 19:03:31 +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
83f034ae5d Some command handlers renames and declaration sorting. 2008-10-30 05:14:14 +03:00
dythzer
569032d907 [2008_10_29_04_mangos_mangos_string.sql 2008_10_29_05_mangos_command.sql] Added new command: .npc follow - Makes the selected NPC follow you around like a pet
Signed-off-by: dythzer <micke223@gmail.com>

* Also implement .npc unfollow for cancel following.
* Help and mangos strings.
* Unrelated small fixes in mangos.sql.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-29 22:50:19 +03:00
dythzer
67779b76b7 [2008_10_29_01_mangos_string.sql 2008_10_29_02_mangos_command.sql] Added new command: .waterwalk on/off - disable or enable waterwalk mode
for selected player

Signed-off-by: dythzer <micke223@gmail.com>

Add help text and mangos strings.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-29 17:02:23 +03:00
tomrus88
8d733e8f8a Merge branch 'master' into 303 2008-10-28 23:04:02 +03:00
dythzer
e98a123027 Added new command: .repairitems - repairs all items of selected player
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-28 15:34:32 +03:00
tomrus88
233e5eac6f Merge branch 'master' into 303
Conflicts:
	src/game/ObjectMgr.h
2008-10-27 01:27:48 +03:00
ApoC
4658b2b38e Fixed ticket reading when using PGSQL
Optimized ticket deleting by its position
Signed-off-by: ApoC <apoc@nymfe.net>
2008-10-26 12:26:22 +01:00
tomrus88
df09909ec5 Updated rest of game stuff 2008-10-26 10:25:08 +03:00
VladimirMangos
89893215e5 Finish review/fix commands appropriate for console. Allow call 'help' command without args. 2008-10-23 20:44:30 +04: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
26dc8c07ab * [2008_10_21_01_mangos_mangos_string.sql,2008_10_21_02_mangos_command.sql] Merge CLI command proccessing to chat command proccessing.
Now console/RA uas same commads as used in chat if selected command marked as safe for console.
 Some commands accessable only at console and have security level 4. See sql update for new command names.
 Not all commands that safe (or can be modified to safe) for console allowed currently for use in console input, this will be fixed later.
2008-10-21 08:05:21 +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