Commit Graph

31 Commits

Author SHA1 Message Date
Spp
cef249ff2c Add level restrictions to some commands:
say, yell, emote, whisper, channel use, trade, auction, mail, tickets
By azazel. Closes issue #598

--HG--
branch : trunk
2010-03-09 12:58:48 +01:00
Xanadu
a5d1bc77ab A great purge of obsolete macros.
--HG--
branch : trunk
2010-02-05 00:31:28 +01:00
XTZGZoReX
c3ae3b88aa * Implement CMSG_CORPSE_MAP_POSITION_QUERY/CMSG_CORPSE_MAP_POSITION_QUERY_RESPONSE opcodes. Thanks to: Ceris, Lightguard, raczman for helping with research/code.
* Fix SMSG_QUERY_TIME_RESPONSE use/structure. Patch/research by TOM_RUS.

--HG--
branch : trunk
2010-01-29 22:24:18 +01:00
Rat
f36438af6a *Update Copyright times
--HG--
branch : trunk
2010-01-19 16:37:49 +01:00
n0n4m3
250a00cc1c Temporary revert 6743 commit. I fix this patch across 1-2 days.
--HG--
branch : trunk
2009-12-24 10:20:15 +01:00
n0n4m3
3fe0bc5254 Replaced time(NULL) on sGameTime.GetGameTime() this is used for better performance.
Original Timer.h divided into 2 parts. Shared project has no need to know about GameTime Singleton.
2 Identical structures with different types are now replaced with one generic templated structure and 2 typedefs.

--HG--
branch : trunk
2009-12-23 08:04:10 +01:00
maximius
3f338cc1c3 *Massive cleanup redux.
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius
e585187b24 *Backed out changeset 3be01fb200a5
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff *Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
megamage
e954904e6d [8378] Use exceptions instead of explicit size checking for each packet Author: arrai
CHECK_PACKET_SIZE was pretty error prone; once it was forgotten mangosd
    could crash due to the asserts in ByteBuffer.h. That was exploitable by
    malicious players.
    Furthermore, there were duplicate checks: Additionally to
    CHECK_PACKET_SIZE, the ByteBuffer assertions keept an eye
    on not exceeding the packet boundaries - just to crash the server for
    sure in such a case.
    To prevent memory leaks or other undesirable states, please read in
    every handler all variables _before_ doing any concrete handling.

--HG--
branch : trunk
2009-08-19 16:26:22 -05:00
Machiavelli
46ad2e833f * Fix build in linux
--HG--
branch : trunk
2009-06-19 00:52:47 +02:00
Machiavelli
b491558edb * Update GM ticket system data, thanks to MaNGOS.
--HG--
branch : trunk
2009-06-19 00:25:12 +02: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
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
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
XTZGZoReX
cc2a089a9d * Trailing whitespace removed.
--HG--
branch : trunk
2009-04-06 21:14:51 +02: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
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
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
Blaymoira
35b8de046e *Support for quest 6482 - by arcx
*Line endings

--HG--
branch : trunk
2009-01-10 12:45:01 +01:00
Blaymoira
099aadf3e1 *Fix issue with ticket message and issue with ticket number increasing by 2 - by |Paradox|
--HG--
branch : trunk
2009-01-09 22:54:58 +01: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
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
Blaymoira
6f0b9fe944 *Added rewrited ticket system - by Machiavelli
--HG--
branch : trunk
2008-12-31 15:07:29 +01:00