Commit Graph

117 Commits

Author SHA1 Message Date
Machiavelli
dfe7b63899 * Fix message that gets sent to target when using .namego command.
* Re-add clean up in mute command

--HG--
branch : trunk
2009-06-27 17:38:18 +02:00
QAston
e7e79ff8a4 *Merge.
--HG--
branch : trunk
2009-06-27 16:37:29 +02:00
QAston
a74ae18739 *Merge tc1 commits 1582-1590
--HG--
branch : trunk
2009-06-27 15:29:06 +02:00
Machiavelli
4a93373c06 * Use safer way to handle recently added mute reason command
--HG--
branch : trunk
2009-06-20 23:28:47 +02:00
Machiavelli
1dd1f6db34 * Implement parameter 'reason' for mute command.
--HG--
branch : trunk
2009-06-20 14:16:42 +02:00
megamage
9049233629 *Merge.
--HG--
branch : trunk
2009-06-16 00:07:17 -05:00
Machiavelli
6ad7da569c *Integrate TicketMgr with ObjectMgr and clean up assosciated code. More features concerning ticket system are to be added soon. Please report any issues, thanks.
--HG--
branch : trunk
2009-06-15 23:58:29 +02:00
megamage
9d670fe6f5 *Switch to support client version 3.1.3
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash.

Source: Mangos
Thanks to TOM_RUS for most work to make this switch possible ;)

--HG--
branch : trunk
2009-06-11 00:45:59 -05:00
Machiavelli
79c15a3d75 Remove unneeded query for renaming characters that are online, this is handled perfectly with the Player::SetAtLoginFlag and Player::SaveToDB functions already.
--HG--
branch : trunk
2009-06-08 20:56:24 +02:00
megamage
ebfb4c0558 [7971] Implement support exotic pets limtations related to hunter telent 53270. Author: VladimirMangos
Note: before this commit hunters can tame exotic pets like any other.
          After patch like not propertly contriolled pets will auto-dismiss at loading
          if talent not learned.

--HG--
branch : trunk
2009-06-06 20:31:23 -05:00
megamage
72cab37bcc [7923] Search all available locale skill names in .learn all_recipes Author: VladimirMangos
--HG--
branch : trunk
2009-05-31 16:24:56 -05:00
megamage
552e08b3f0 [7920] Ignore racial skill and skills without recipes in .learn all_recipes. Cleanup code. Author: VladimirMangos
--HG--
branch : trunk
2009-05-31 16:19:01 -05:00
megamage
f92e8315cf [7918] Improve portability in work with uint64 string format specifiers and in code literals. Author: VladimirMangos
* Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define.
      I64FMTD renamed to UI64FMTD for more clear name.
    * Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals.
      Please always use UI64LIT(0x00001) instead less portable 0x00001LL

--HG--
branch : trunk
2009-05-31 16:15:12 -05:00
megamage
8d1f4f9ea0 *Provide another way to implement dynamic spawns. Now a creature will call its zonescript before spawn to determine the spawned entry. This can be used to implement zones such as wintergrasp with less data requirement (only need to know the entry of counterpart creatures, not require spawn points)
*Use zonescript as basic class of opvp script and dugeon script (can also be used for bg)
*Store zonescript in worldobject.
*Add door for sapphiron.

--HG--
branch : trunk
2009-05-30 22:15:05 -05:00
panaut0lordv
d846ae72ae Sorry, hg missed this change.
--HG--
branch : trunk
2009-05-21 19:46:56 +02:00
megamage
ca4c3eb847 [7851] Fixed typo to allow work '.tele name' command.
[7850] Fixed '.pinfo name' work, move reputation code from it to new command '.character reputation [$name]'.
Provide and use universal way for get locale and locale index for chat/console command use.
Author: VladimirMangos

--HG--
branch : trunk
2009-05-19 15:34:07 -05:00
megamage
5f023f64f3 *Use degree rather than radian for creature_formation table.
--HG--
branch : trunk
2009-05-17 17:29:25 -05:00
megamage
3569f949d7 [7839] Rafactoring player targeting code in chat command and related cleanups/improvments.
* New extractOptFirstArg function for easy get 2 args in case option playe name as first arg.
    * New extractPlayerTarget function for get player pointer/guid/name for online/offline player base at provided name
      or if not provided by current seelction with error cases processing.
    * Property apply mute/unmute in case use different character name from loggined currently for account.
    * .reset commands can be used from console now
    * .repairitems comamnd can be used from console now but only to online player.

Author: VladimirMangos

--HG--
branch : trunk
2009-05-17 10:57:55 -05:00
megamage
ff7f023ff1 *Merge.
--HG--
branch : trunk
2009-05-15 13:57:10 -05:00
megamage
a442a9b914 [7831] Prevent have hunter pet with level greater player levels at level changes. Propertly set hunter pet xp values at level update. Author: VladimirMangos
--HG--
branch : trunk
2009-05-15 13:44:49 -05:00
raczman
bfaaa8201e Possibly fixed more memory leaks in other places.
--HG--
branch : trunk
2009-05-13 14:06:33 +02:00
megamage
8fc07d443a *Change waypoint data structure. Use creature db guid as path id. If a creature uses waypoint movement as default movement type, the path id should be DBGUID*10. For paths of script use, the path id should be DBGUID*10+1 ~ DBGUID*10+9.
*Two sql queries are included. Converter is used to convert the existing path id to new path id. "...creature_add..." is used to change table structure. You can first run the converter, then run the other one. Or run the other one directly and get the new data from the db team. Because it may take hours to run the converter.
*If you have custom data, you may need to run the converter. We suggest you use console to run it It is extremely slow to run the query. If you have multiple paths for a creature in your db, you need to do more work to convert it. However, if you know how to use multiple paths, you should already have more db knowledge than I do and you should know how to convert it.
*There may be a faster query to convert the db. If you know, please tell us. I am no sql expert.
*Backup your db first!
*Thanks to X-Savior and subhuman_bob.

--HG--
branch : trunk
2009-05-11 13:27:10 -05:00
megamage
122d944945 *Update summon system.
*Fix the bug that shaman cannot summon fire elemental.
*Fix the bug that totem meters cannot be displayed.

--HG--
branch : trunk
2009-05-02 19:24:22 -05:00
megamage
de11b9e901 [7730] Some optimizantion and code style. Author: zhenya
--HG--
branch : trunk
2009-04-29 00:26:07 -05:00
megamage
09af28301e [7716] Fixed some typos and possible crashes. Author: AlexDereka
--HG--
branch : trunk
2009-04-27 18:42:35 -05:00
megamage
5ac67c27f7 [7715] Provided way for scripts set alternative gameobject state for client show. Author: VladimirMangos
Also use enum for gsmeobject states.

--HG--
branch : trunk
2009-04-27 18:36:10 -05:00
megamage
f4e2dccacb [7705] Rename some account/character related commands.
* .lockaccount -> .account lock
    * .password    -> .account password
    * .chardelete  -> .character delete
    * .customize   -> .character customize
    * .rename      -> .character rename
    [7706] Rename command .plimit -> .server plimit

Author: VladimirMangos

--HG--
branch : trunk
2009-04-24 11:45:25 -05:00
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
raczman
4fb720c7d1 Update to creature formations.
This is a big merge, it may cause problems. Use with caution, report bugs.

--HG--
branch : trunk
2009-04-15 15:46:02 +02:00
Machiavelli
ecbaf6483d * Ticket system update;
- Add map, x, y, z coordinate data to ticket upon creation
- Add command .go ticket to teleport to the coordinates where the ticket was created
- Move InitTicketID() to the class constructor instead of at every LoadGMTickets call
- Minor code cleanup

--HG--
branch : trunk
2009-04-14 17:48:58 +02:00
Machiavelli
348339770e * Ticket system update;
- Add map, x, y, z coordinate data to ticket upon creation
- Add command .go ticket to teleport to the coordinates where the ticket was created
- Move InitTicketID() to the class constructor instead of at every LoadGMTickets call
- Minor code cleanup

--HG--
branch : trunk
2009-04-14 17:29:54 +02:00
raczman
a712170758 Creature respawn linking, idea by Rat, wrote by Iskander, blessed by raczman.
--HG--
branch : trunk
2009-04-14 14:33:48 +02:00
XTZGZoReX
2fe9fed7c7 * Tabs to spaces -- using: perl -p -i -e "s/\t/ /g" *
--HG--
branch : trunk
2009-04-07 10:51:45 +02:00
megamage
ac4edf0e09 *Update creature formation code.
--HG--
branch : trunk
2009-04-06 20:33:52 -05:00
megamage
e8866340ce *CreatureGroups fixed and improoved. By TrullyONE
- Multimap support for instances added.
 - Removed redundant group checks.
 - New movement rules (bool group formed/dismissed added).
 - uint32 Creature::GroupID replaced with CreatureGroup pointer.

--HG--
branch : trunk
2009-04-06 13:27:42 -05:00
megamage
274759b04a [7614] Sort/rename debug commands, Move packet send commands to new ".debug send " subcommands list. Author: VladimirMangos
Also drop not implemented .debug inarc
    Add to .debug send spellfail support for up to 2 additional args for spell fail packet.

--HG--
branch : trunk
2009-04-05 16:43:17 -05:00
megamage
031df598ab *Try to fix crash.
--HG--
branch : trunk
2009-03-31 09:18:39 -06:00
megamage
ff83e4a9b1 *Fix some bugs of pet.
--HG--
branch : trunk
2009-03-27 22:47:28 -06:00
megamage
68c3039715 *Move most reputation/force faction reaction code to new ReputationMgr. Author: VladimirMangos
--HG--
branch : trunk
2009-03-26 13:53:32 -06:00
megamage
1c2eab4110 *Fix a crash caused by pet.
*Make pet class derived from guardian class.

--HG--
branch : trunk
2009-03-25 21:32:34 -06:00
megamage
02440eaa10 [7538] Hide some implementation details for reputation/forced faction reaction. Author: VladimirMangos
--HG--
branch : trunk
2009-03-25 16:04:08 -06:00
megamage
f40773a24d [7537] Command .lookup player will report in case found accounts/ip but without existed characters. Author: VladimirMangos
--HG--
branch : trunk
2009-03-24 17:44:47 -06:00
megamage
59ce40e484 *Remove dual ERROR in logs Author: AlexDereka
--HG--
branch : trunk
2009-03-21 14:28:02 -06:00
megamage
a84e757793 *Update summon system. Show pet bar for guardians. Allow multiple charms/guardians.
--HG--
branch : trunk
2009-03-21 09:48:44 -06:00
megamage
64ce6533a9 *Update gameobject visual and command. By Vladimir.
--HG--
branch : trunk
2009-03-19 15:16:02 -06:00
megamage
bf7cfe6964 *Rename and sort some gm commands. By Vladimir.
--HG--
branch : trunk
2009-03-19 15:06:30 -06:00
megamage
249d0d53c0 [7489] Update gameobject rotation fields if need. Author: VladimirMangos
* Fixed update absent in ".gobject turn" command
    * Propetly set rotation fields for summoned objects
    * Check rotation/coordinates fields values at server loading

--HG--
branch : trunk
2009-03-18 20:46:21 -06:00
megamage
f71dff82c6 *Fix build.
--HG--
branch : trunk
2009-03-09 19:17:12 -06:00
megamage
edcfae2c8a *Restructured/Reordered Npc Commands Author: multiplexer
--HG--
branch : trunk
2009-03-09 17:34:54 -06:00