Commit Graph

44 Commits

Author SHA1 Message Date
Shauren
d24ef896df Core/PacketIO: Implemented possibility to ban client addons serverside 2013-04-05 15:06:35 +02:00
Shauren
226e0fdd1b Unbreak the build and renamed sql file to proper date 2013-03-04 17:08:07 +01:00
Shauren
f37e0ee838 Core/Players: Implemented converting quests on faction change (keeping old faction quests in disabled state - not loaded during login) and restoring them if changing back to original faction
Closes #890
Closes #9248
2013-03-04 14:15:52 +01:00
Nay
d4398eaafe TDB 335.50 - 2013/01/14 2013-01-13 18:53:32 +00:00
Vincent_Michael
852d65f7ca SQL: Rename SQL merged in PR 2012-12-20 16:48:24 +01:00
Subv
957571e18c Merge pull request #8662 from MrSmite/ItemContainer_1.1
Item Loot Saving
2012-12-20 07:00:29 -08:00
Vincent_Michael
bb93eb0f7e Core/Character: Fix logic fail with world state in b2928e59fa 2012-12-18 14:13:09 +01:00
MrSmite
04f08d26a7 Implements saving of loot (items / money) contained inside lootable inventory items.
* Unlooted items / money persist across player sessions
* Loot inside items is tied to the item rather than the player so if trading
  partially looted items becomes possible, this implementation will still work

* New tables added:

    characters_database.sql (first time users)
    characters_create_item_loot.sql (existing users)

Implementation Can be tested with:

 Watertight Trunk [21113]
 Bulging Sack of Gems [25422]
 Fat Sack of Coins [11937]

Closes #2048
2012-12-15 00:06:32 -05:00
Vincent-Michael
b2928e59fa Core/Quest: Add support for monthly quests
Author: svetilo12
Converted and updated by: Subv
2012-12-04 00:04:06 +01:00
Gacko
45b07f0931 Scripts&DB: Nexus - Ormorok
Following improvements:
- Spellscript for crystal spikes
- Spawn crystal tanglers with spell
- Usage of event map
- Correct usage of frenzy
- Heroic spells
- Target selection for crystal tanglers

Details for the spell script:
There are 4 spells. Each of them spawns the same trigger but in another direction. The trigger gets an aura which triggers the spell which summoned him after 250ms. This time is too long, so it triggers on apply. Don't worry - test ingame first, it's working blizzlike (I watched some videos on YT to find out which is the best amount of time difference between spawn and next summon).

Some summon types don't store the spell id which summoned them. The trigger is one of them which are not doing so. So I had to move the line, which stores the spell id in the summon out of the if. This could be done more specific, but it works fine. This improvement is required to find out which spell the aura applied to the summoned trigger has to cast to keep the right direction.

Closes #8193

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-11-18 23:46:03 +00:00
horn
771aafc499 Core/Calendar: Completely rewrite and fix most of the calendar system
There are still some issues that need to be fixed, for more info see CalendarHandler.cpp TODO part.
Some unblizzlike behaviour possible, we don't have a lot of sniffs.
Big thanks to @Warpten, he joined my project and helped a lot.

IMPORTANT NOTE: Read / append packed time functions in ByteBuffer.h are not correct, they need to be fixed in order to have event times accurate

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-11-18 22:42:28 +00:00
Spp
7bd86b6b83 Update characters_database.sql (Missing changes from 58ec4e5319) 2012-11-07 09:49:31 +01:00
Spp
58ec4e5319 Core/Guild: Code Refactor
- Send correct events when modifiying Ranks (Add, modify, delete)
- Store money/slots withdraw, not remaining slots. This will update remaining slots/money properly.
- Reset daily slots/money withdraw for all members at same time, configurable
- Better debug messages
2012-11-02 22:26:10 +01:00
kaelima
6abc6253a6 DB: Add gm_tickets changes to base character db 2012-10-17 02:56:07 +02:00
kaelima
98588aa192 Core/Ticket:
- Fully parse CMSG_GMTICKET_CREATE, use GmTicket::GetChatLog() to access the reporters chat log from this session (unused atm, possible useful to detect chat harassment)
- Simplify SMSG_GMTICKET_GETTICKET and fix "category" field (renamed it same as in blizz LUA files)
- Store response in DB
2012-10-17 00:53:55 +02:00
tibbi
c0e0f1d89b allow glyph1 be null like other glyph slots 2012-10-09 16:58:29 +01:00
Nay
0d3554d4bf TDB 335.49 - 2012/09/15 2012-09-15 21:03:40 +01:00
Subv
f9b3cf1531 DB/Schema: Change charset of characters
Allows having different characters with names like "Subv" and "Súbv", it was not possible to have two characters with these names at the same time before
closes #7679
2012-09-07 17:36:29 -05:00
Shauren
f8cd39b2ed Core/Players: Improved alcohol handling, weeeeeeeeeeeeeeeee
Closes #7293
2012-08-07 17:45:10 +02:00
NNN666
e757ebf6ba Core/Player: Fix issues with 'ignore this slot' option on equipment manager usage 2012-07-13 16:27:11 +02:00
Nay
da9865b683 TDB 335.11.48 - 2012/07/12 2012-07-12 00:16:13 +01:00
Shauren
c7775c8d72 Core/Maps: Moved object respawn time storage from global to map level. This removes unneccessary locking since all objects run within its map's thread. 2012-06-07 23:20:57 +02:00
Nay
9474902479 TDB 335.11.47 - 2012/05/19 2012-05-19 14:27:24 +01:00
Nay
3d83f663f6 Core/Tickets: Add report time and current latency to lag_reports table
It's a tiny bit more useful now.
2012-04-07 19:12:14 +01:00
click
6237ddac34 Partially revert a36a0a77ef.
Cleaning databases for old/deprecated and expired quests should never be a
developers choice specifically. This should be done by admins, not developers,
through the use of the already existing paramters found in the worldserver config :
CleanCharacterDB / PersistentCharacterCleanFlags

An adjustment to the respective questloader prepared statement has been done to
accomodate for the earlier change (by not loading such quests into memory at all).

Documentation for how this cleanup-procedures work already exists in the core :
doc/CharacterDBCleanup.txt.
2012-03-28 19:31:06 +02:00
Machiavelli
a36a0a77ef Core/Player: Quests with status QUEST_STATUS_NONE(0) shouldn't be loaded into player's queststatus storage. These should be removed since they are remnants from the old queststatus storage system. 2012-03-01 14:43:32 +01:00
Anubisss
ca17e1c7e4 Add a missing semicolon (;) to a SQL.
Signed-off-by: Anubisss <anubisss210@gmail.com>
2012-02-26 05:15:20 +01:00
leak
8e3a4b956e Core/Warden: Base implementation for Warden functionality
Note: The default config file action for clients failing the checks can be changed for each check via the characters.warden_action table

Credits to TOM_RUS
2012-02-19 13:51:16 +01:00
Nay
84268be882 TDB 335.11.46 - 2012/02/13 2012-02-12 23:50:16 +00:00
Kandera
df7f98004b fix seasonal quest check 2012-01-26 10:04:12 -05:00
Subv2112
f4075f0f94 Core/LFG:
Fix priority of the player when its added to the lfg group
        Better implementation of the Dungeon Deserter debuff
        Rewrite the NeedBeforeGreed loot
        Fixed players being shown as Unknown Entity when entering the lfg group
        Some incremental optimizations after original patch
Thanks to Retriman and Paecman for base implementation

Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2012-01-14 17:37:28 +01:00
Nay
c0d2013b78 DB: 335.11.45 2012-01-07 21:48:40 +00:00
Shocker
872859ce39 SQL: Correct SQL naming/locations for recent pull 2012-01-04 23:13:31 +02:00
Nay
accae0ce50 TDB 335.11.43
Move SQL updates to the directory old.
2011-10-29 00:20:56 +01:00
Havenard
5c5c1e3724 Scripts/ICC: Fix Shadow Prison
Fix Shadow Prison implementation, the control aura should not be cast on players.
Fix Shadow Prison aura remaining on players if they leave the instance during the encounter,
causing them to kill all nearby moving enemies including inside battlegrounds.
2011-10-09 21:06:47 -03:00
Machiavelli
8cde717e76 Core/Achievements: Fix gender-specific Matron/Patron title reward.
Closes #1406
2011-09-28 16:27:08 +02:00
Nay
fd3bd4c49d Core/Quests: Implement quests that require PlayerSlain. Closes #169 2011-09-05 15:20:02 +01:00
Nay
1faea1f98e DB: Move SQL updates to old directory. Uploaded full DB 42. 2011-08-27 03:57:06 +01:00
Silinoron
76fe596160 Core/Refer-a-Friend: Finish base work for Refer-a-Friend.
Any testing would be very much appreciated.
2011-08-03 09:28:12 -07:00
Nay
9be16be7b3 DB: TrinityDB revision 41: move SQL updates to the old directory 2011-06-17 23:46:57 +01:00
tobmaps
600cc16c94 Core/Players: Pet talents can be reset at a pet trainer for free, original idea by rsa 2011-05-31 05:47:17 +07:00
Machiavelli
05cc29b54a DB/Schema: Add index to characters.character_pet.slot. Prevents deadlocks when operating on this table. 2011-05-29 18:28:54 +02:00
armano2
0a80a06a39 Fix optional cleanup query from f8bd56
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-05-29 18:06:32 +02:00
Machiavelli
f8bd56e219 DB/Schema: Correct use of indexes on mail_items table. Prevents deadlocks in operations on this table. 2011-05-29 00:32:18 +02:00