Commit Graph

67 Commits

Author SHA1 Message Date
megamage
fc7e1db9fb [7690] Move GetCreature/GetGameobject to class Map. Author: VladimirMangos
* This let get objects at map without reference to player or another object.
    * Simplify future implementation for per-map storage for like objects

--HG--
branch : trunk
2009-04-20 20:28:19 -05:00
megamage
905833f84e *Merge.
--HG--
branch : trunk
2009-04-15 17:06:38 -05:00
Machiavelli
2b52663e42 Ticket system changes by Disassembler: (TC1 rev 1358)
- Change uint16 closed guid to uint64
- Add createtime field

--HG--
branch : trunk
2009-04-14 12:38:12 +02:00
Machiavelli
37f8ee0680 * Fix build 1358, my apologies
--HG--
branch : trunk
2009-04-14 03:55:28 +02:00
Machiavelli
e2a4b4d178 Ticket system changes by Disassembler:
- Change uint16 closed guid to uint64
- Add createtime field

--HG--
branch : trunk
2009-04-14 01:27:43 +02:00
Anubisss
8c13fe15d4 *Fix typos in command Namego and Groupgo.
--HG--
branch : trunk
2009-04-06 21:07:15 +02:00
megamage
022e2df612 [7613] Sort and rename functions for GM commands in code. Author: VladimirMangos
--HG--
branch : trunk
2009-04-05 16:31:56 -05:00
megamage
494e09ba92 [7554] Prevent accepting wrong numeric args as 0.0f in .go zone command Author: VladimirMangos
--HG--
branch : trunk
2009-03-28 16:13:33 -06:00
megamage
a47d2e1c22 *Note some script id are changed. DB change may be needed.
[7518] Implement new script command SCRIPT_COMMAND_PLAY_SOUND (look in World.h for args) Author: VladimirMangos

    * Also rewrite use SMSG_PLAY_OBJECT_SOUND/SMSG_PLAY_SOUND
      Now WorldObject have 2 function for sound level dependent from distance (PlayDistanceSound)
      and for not depednet (PlayDirectSound)
    * Old Player::PlaySound function removed and uses need to be updated to WorldObject functions
      Note: function called for _source_ of sound in different from old function.
    * chat command .debug ps removed and .debug playsound can used for bother packects test:
      if no selection used SMSG_PLAY_SOUND, if selection exist including self then SMSG_PLAY_OBJECT_SOUND.

--HG--
branch : trunk
2009-03-22 19:20:03 -06:00
megamage
bf7cfe6964 *Rename and sort some gm commands. By Vladimir.
--HG--
branch : trunk
2009-03-19 15:06:30 -06:00
megamage
ef47783882 [7487] Avoid attempt use InstanceSave data for non-dungeons. Author: VladimirMangos
Also check map existance and correctness at instance data loading.
    Removed unused and totally bugged InstanceMap::GetResetTime.

--HG--
branch : trunk
2009-03-18 20:41:49 -06:00
megamage
6e29ab4fbb [7440] Use server-side only zone info. Optimize related calles in case zone and subzone use. Author: VladimirMangos
This in some cases make some zones not explorable if it not have server side data in current maps
    but not allow cheating with zone set from client.

--HG--
branch : trunk
2009-03-11 16:17:37 -06:00
megamage
dc4a456416 [7439] Fix wrong liquid level in some places. Need reectract maps. Author: DiSlord
Remove some log on extract maps.
    Add liquid status log to .gps command

--HG--
branch : trunk
2009-03-10 15:33:54 -06:00
megamage
edcfae2c8a *Restructured/Reordered Npc Commands Author: multiplexer
--HG--
branch : trunk
2009-03-09 17:34:54 -06:00
megamage
361f4b2e3c [7353] Fixed problem with joining rated arena matches. Thanks to balrok for help. Author: Triply
--HG--
branch : trunk
2009-02-27 12:57:33 -06:00
megamage
7fc442263d Drop Say/Yell/etc string versions.
1) DB based string_id versions must be used.
    2) for debug purposes raw WorldObject::MonsterSay/etc versions can be used

Author: VladimirMangos

--HG--
branch : trunk
2009-02-19 18:49:11 -06:00
megamage
31637d4aac *Merge.
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin
14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
megamage
6aee5fcbe7 *Merge.
--HG--
branch : trunk
2009-02-12 17:09:15 -06:00
megamage
58374f87b4 [7254] Cleanups and batter checking in homebind/bgEntryPoint code.
* Load homebind data early in Player::LoadFromDB and use instead initital race points
      in cases need some safe point if current coordinate broken by some reason.
    * Store BG entry point in to WorldLocation and simplify calls.
    * Set bg entry point at GM teleports to battleground for correct
      auto-recall position at battleground end.

Author: VladimirMangos

--HG--
branch : trunk
2009-02-10 01:06:39 -06:00
megamage
fe85f52142 [7252] Move all world global broadcast string (all arena/bg related) to mangos_string.
PLEASE, NOT USE string world broadcasts in real code. This function _only_ for debug purposes.

    Really allow with .debug bg start bg with 1 player.
    Added helps for some existed .debug commands.

Author: VladimirMangos

--HG--
branch : trunk
2009-02-10 00:59:10 -06:00
Paradox
d230302b16 Replace tabs with spaces in more files.
--HG--
branch : trunk
2009-02-09 08:16:34 -05:00
megamage
4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
megamage
d69198732e *Merge.
--HG--
branch : trunk
2009-02-04 17:22:43 -06:00
megamage
df7499e056 *Merge.
--HG--
branch : trunk
2009-02-04 10:53:58 -06:00
Drahy
5dab980495 * Updated copyright notice for new year (2009) part 2
* Changed mangos website

--HG--
branch : trunk
2009-02-04 12:42:26 +01:00
Drahy
7c19c420c6 * Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
megamage
e9d6bfd3bb [7221] Add output player names as sift-links in more chat commands. Author: VladimirMangos
Did not merge the part of HandleAccountSetGmLevelCommand.

--HG--
branch : trunk
2009-02-02 15:36:52 -06:00
megamage
d487e6d039 [7219] Improvements ins shift-links work.
* Implement support 'Hplayer' link type. Mostly as player name highlights in command messages.
    * Support shift-links parsing withoyt '|c' color prefix
    * Many related code cleanups.

Author: VladimirMangos

--HG--
branch : trunk
2009-02-02 09:50:13 -06:00
megamage
05c07aa74a [7214] Phase system continue development - Commands and fixes.
* Fixed creature/gameobject save from game (used in commands code only)
    * Implement .modify phase (for player), .npc setphase (for creature/pet), .gobject phase (for gameobjects) commands
      for set phasemask of selected object. In player/pet case temporary until in game phase switch/re-login/GM-mode change.
      In creature/gameobject case change saved in DB.
    * Add to .gps output phasemask value print. Allow use .gps command with creature/gameobject shift-link
      (work for objects loaded in game in command time).

Author: VladimirMangos

--HG--
branch : trunk
2009-02-01 16:46:57 -06:00
megamage
02c060be05 *Update to Mangos 7100.
--HG--
branch : trunk
2009-01-17 17:54:11 -06:00
megamage
2cf1a3be1b *Update to Trinity 878.
--HG--
branch : trunk
2009-01-17 13:42:41 -06:00
Paradox
d64b239db6 fixes for the ticket system
--HG--
branch : trunk
2009-01-17 10:47:26 -05:00
megamage
40a1154c5b *Update to Mangos 7092.
--HG--
branch : trunk
2009-01-16 14:17:24 -06:00
megamage
eb5a7b02ee *Merge with Trinity 783.
--HG--
branch : trunk
2009-01-04 16:17:46 -06:00
Blaymoira
0389ed4528 * Fix reload tickets from database
* Fix crash /exploit issue with improper pasing when '%' is in ticket message
* Remove obsolete recv_data from tickets
* Allow closing of a ticket inserting the guid of the GM or player that closed it into the database.
* Allow assigning tickets to offline GMs.
* Tighten up SQL escape strings, increased security against SQL injections
* Fix issue where multiple tickets could have the same entry
* --- by Machiavelli ---

--HG--
branch : trunk
2009-01-04 19:34:15 +01:00
megamage
1e4381f7b1 *Update to Mangos 7006.
--HG--
branch : trunk
2009-01-02 11:03:43 -06:00
megamage
75f0da72ee *Update to Trinity 748.
--HG--
branch : trunk
2009-01-01 15:16:29 -06:00
Blaymoira
657b4257b2 * Fix obsolete string parsing
* Change trinity_string entry
* Fix improper syntax error messages
* Fix crash issue when commenting a ticket
* By Machiavelli

--HG--
branch : trunk
2009-01-01 20:25:14 +01:00
Machiavelli
68015c4e94 * Fix Crash issue caused by closing a ticket.
* Fix potential crash issue caused by improper datatype, SQL included to alter column (Thanks Paradox)

--HG--
branch : trunk
2009-01-01 18:25:56 +01:00
QAston
ae0ce19a7f Backed out changeset 70e92ab6c5d2
--HG--
branch : trunk
2009-01-01 18:32:25 +01:00
biglad
1a6c02a935 * Fix crash bug in new ticket system - Thanks Machiavelli
--HG--
branch : trunk
2009-01-01 16:08:15 +00:00
Machiavelli
87a9ba3f4e * Crash Fix for ticket system on closing a ticket (pointer was deleted out of object holder), thanks Visagalis
--HG--
branch : trunk
2009-01-01 02:49:38 +01:00
megamage
ba58ddac9c *Update to HG 730.
--HG--
branch : trunk
2008-12-31 10:03:07 -06:00
Blaymoira
6f0b9fe944 *Added rewrited ticket system - by Machiavelli
--HG--
branch : trunk
2008-12-31 15:07:29 +01:00
megamage
f70d5a22c7 *Update to Mangos 6982.
--HG--
branch : trunk
2008-12-29 17:27:50 -06:00
megamage
e2ee47fb35 *Update to Mangos 6963.
--HG--
branch : trunk
2008-12-28 12:10:31 -06:00
megamage
566ed175e4 *Some fix. Finally usable.
--HG--
branch : trunk
2008-12-26 21:45:02 -06:00
Machiavelli
3877313e4d * Added HandleGMNameAnnounceCommand
--HG--
branch : trunk
2008-12-22 21:58:11 +01:00
Blaymoira
5ca3aacaaf * Various functions to broadcast output to GMs only - Patch by Machiavelli
--HG--
branch : trunk
2008-12-22 21:56:16 +01:00