Commit graph

93 commits

Author SHA1 Message Date
Laise
f5565c725a [10160] Fix sql for character_aura and pet_aura 2010-07-08 17:52:36 +03:00
Laise
a32b3063a2 [10156] Add shared object for auras of same spell and move spell proc code to its own file, also spread procs by auras and effect indexes. 2010-07-07 19:08:26 +03:00
VladimirMangos
f520c9b1e0 [10051] Fixed talent 58426 broken after 3.3.3 switch.
Also cleanup character auras from wrong duration auras.
2010-06-12 04:32:33 +04:00
Laise
6551671f6d [10007] Fix wrongly initialized value 2010-05-30 23:39:04 +03:00
VladimirMangos
94888e52cd [9974] Restore raid functionality broken after one from 3.3.x switches.
* Fixed typo in raid converting code that triggering raid disband at server restart.
* Fixed current subgroup show for character and update group memebers data at move its
  in diff subgroups.
2010-05-26 00:27:07 +04:00
hunuza
d1130af777 [9849] Implement character database clean up.
This can be disabled by config option.

Flag for clean up can be set for example on client version change.

Signed-off-by: hunuza <hunuza@gmail.com>
2010-05-07 23:08:24 +02:00
VladimirMangos
15dd77873e [9779] Drop trailing whitespaces. 2010-04-23 05:28:51 +04:00
Electros
6f08da7cba [9769] Fixed typo in characters.sql.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-21 11:42:11 +04:00
DasBlub
492ce567d2 [9767] Add the posibility to keep deleted characters in the database for a while and also add related commands.
Added commands:
* .character deleted list [$guid|$name]
* .character deleted restore $guid|$name [$newname]
* .character deleted delete $guid|$name
* .character deleted old [$keepdays]

Command .character delete renamed to .character erase

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-20 22:12:50 +04:00
VladimirMangos
b31c006bdc [9751] Add index by spell to character_spell
This is must fix porblem with long logins at
many broken spells in `character_spell` after client switch/etc.
2010-04-16 08:39:08 +04:00
VladimirMangos
24f2d03485 [9702] Drop now redundent item_text table.
* In beggining bad news: at 3.3.3 switch has been forgoted item_instance.data field chnage.
  In result items with texts (mail copy in to inventory, some other) lost text content.
* That why in current commit item_text droped without convertion. In result all itesm with texts
  will lost text. Sorry for this as i think small porblem :(
* Now text stored in item itself.
2010-04-09 02:10:36 +04:00
Splinter
30360f13db [9697] Include changes from [9692] to characters.sql
mangos.sql part already updated.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-08 19:57:25 +04:00
VladimirMangos
cf6aac84fd [9692] Switch to support client 3.3.3a (build 11723)
Merge branch '330'

You need regenerate dbc/map/vmap files.

Thanks to TOM_RUS who make most work for adding 3.3.3 support. ;)
2010-04-08 04:27:09 +04:00
VladimirMangos
d78117bbc8 [9687] Add to mangos.conf options for daily/weekly reset time.
* Quests.Daily.ResetHour (0..23) for daily quests
* Quests.Weekly.ResetWeekDay (0..6) and Quests.Weekly.ResetHour (0..23) for weekly quests.
* Drop time from character_queststatus_daily and use same way as weekly quest reset time store.
2010-04-07 05:48:14 +04:00
GriffonHeart
fdddf9188a [9686] Implement support weekly quests cooldowns.
Part code provided by zhenya.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-07 04:24:51 +04:00
hunuza
145182a53d [9680] Create new table character_stats for external tools.
Added new config value to define whether it should be updated.

This table will only be updated on logout, not on periodic save.

Signed-off-by: hunuza <hunuza@gmail.com>
2010-04-06 15:03:43 +02:00
Laise
7fb7c47de5 [9661] Implement dual talent specializations in talent switch part.
* Implement talent specs switch functionality.
* Only gossip part still not implemented.
* At update server to this commit or later character talents will be reset
  with some spam in logs about wrong places talents in character_spell.
  It can be ignored as part of conversion to new table support.

Thanks to all getmangos.com community members who take part
in creating and updating original dual spec patch.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-03 00:02:55 +04:00
Wowka321
f9f21b5f7f [9646] Really restore titles from data_backup table.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-31 00:05:59 +02:00
hunuza
8e25d43443 [9635] Restore load/save shown action bars.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-28 15:25:22 +02:00
hunuza
d85e4228f1 [9634] Remove fields 'data' and 'zone' from corpse table.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-28 13:23:31 +02:00
hunuza
1d0218bf7b [9632] Restore load/save known titles.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-27 23:03:04 +01:00
hunuza
0150f48b52 [9630] Forgot to use git_id
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-27 18:20:02 +01:00
hunuza
e7e97a13e0 Remove character data blob.
Update will create backup in data_backup table, just in case...
You can drop this when you think you don't need it anymore.
(I would recommend you to keep it for a few days/weeks)

Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-27 17:34:15 +01:00
AlexDereka
e0dc4d60c4 [9611] Add index for some tables in characters DB. 2010-03-21 14:24:03 +03:00
VladimirMangos
f145e06e89 [9375] Now really correct sql update with content 2010-02-14 15:24:05 +03:00
hunuza
77dc9d0582 [9374] Fxies for prev. commit.
NOTE: DON'T APPLY prev commit version sql update

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-14 15:09:36 +03:00
hunuza
282e0fd8aa Add possibility for second glyph set.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-02-14 12:26:47 +01:00
EnderGT
230bc2b49e [9359] Load/save current active spec and total spec count.
Still needed for complete dual spec:
* support for second glyph set
* implement gossip options
* support for second talent set

Signed-off-by: hunuza <hunuza@gmail.com>
2010-02-11 20:53:15 +01:00
hunuza
0f7f7c5ada [9354] Add spell efffects for dual spec.
Actual dual spec still not implemented.

Credits to EnderGT for original patch.

Signed-off-by: hunuza <hunuza@gmail.com>
2010-02-10 20:54:45 +01:00
hunuza
acf507fd5a [9349] Add posssibility for one action button set per talent spec. 2010-02-10 18:00:30 +01:00
VladimirMangos
c9c578b5c3 [9339] Use group ids for indexing groups in DB
* Use group ids in DB
* Pack used group ids at server startup
* Finaly drop group search by leader guid.
2010-02-09 14:36:20 +03:00
VladimirMangos
f444a6b9db [9250] Fixed my typo in 9246_01_characters_character.sql
And provide sql update for case if old sql update version already applied.
It's no-op for case when used new sql update version.
2010-01-24 18:50:15 +03:00
hunuza
aa14f45e60 [9246] Move more values from data to own fields.
Now possible (need recheck) glyphs still used form `data`.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-24 17:03:54 +03:00
VladimirMangos
dc643371c8 [9136] Merge branch '330' - Switch to support client version 3.3.0A
You need extract new dbc.

Also recommended extract new map/vmaps.

And apply ofc sql updates that including character convertion.

Special thanks to TOM_RUS for continue work at next client versions support :)
2010-01-10 07:29:44 +03:00
hunuza
4a6da1ad32 [8874] Extract player skills from data blob.
Thanks to vladimir for the update query.

Please make sure to make BACKUPs before you update your database.

The update might take a while depending on the size of your database.

Signed-off-by: hunuza <hunuza@gmail.com>
2009-11-25 18:22:22 +01:00
Splinter
487a8de692 [8843] Drop support removed in 3.2.x spells 31892, 53720.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-20 13:19:41 +03:00
VladimirMangos
37ba6623bb [8828] Independent instance reset time for different difficulties.
* Store reset time for map/difficulty pairs.
* Use DBC data for reset time and max players instead `instance_template` fields (dropped)
  for each existed map/difficulty pair.
* Fix some "heroic" related checks in spells/etc.
2009-11-18 10:08:41 +03:00
leak
455a053b3d [8721] Allow guildmaster to withdraw money before first bank tab is purchased.
Attached sql file needs to be run to repair existing structure.

Signed-off-by: unknown <Jakub@.(none)>
2009-10-24 09:25:44 +02:00
balrok
69abc9ece4 [8702] removed startup-error for creature_loot_template id=0
for alterac valley we've defined Player-loot inside creature_loot_template
with id=0
this hack is used, so that we won't need to create an extra table
player_loot_template for just one case

if later more player-loot will be needed, we should implement
new table and remove this

also added sql-fix for reputation of last commit
it will just fix those which are hated by faction 729/730
2009-10-21 23:32:45 +02:00
balrok
dc382abdf5 [8596] fixed query from last commit
now i also know what the error caused
old sql made "alter table `characters`.`bugreport`"
but my database wasn't supposed to be called "characters"
and the other db had an index defined over the type-field
2009-10-07 01:00:42 +02:00
VladimirMangos
1d9a142237 [8591] Add switch sql update changes into mangos.sql/characters.sql 2009-10-07 00:59:15 +04:00
VladimirMangos
f37f27d3c2 [8589] Merge branch '320' - Switch to support client version 3.2.2A
You need extract new dbc/map/vmaps for correct work.
And apply ofc sql updates that including character convertion.

Special thanks to TOM_RUS for prepering this switch :)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-10-06 12:59:26 +04:00
NoFantasy
744c6eaac0 [8505] Set character spell 16857 active.
Applies to some characters upgraded from 2.x.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-09-16 11:05:42 +02:00
The_Game_Master
bf7c15a5a6 [8469] Fix possible garbage in character_spell after [8416]
Removed in sql update spell not expected to be listed in character_spell
long before [8416] as dependent, but reported as partly listed. So do cleanup.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-05 04:36:04 +04:00
VladimirMangos
5cf72882ad [8433] Implement proper store and use character specific account data.
* Base at TOM_RUS reseach save/load character specific account data in new table `character_account_data`
* Move its in sql update from `account_data` to new table.
* For client packets that can be send in loggined state or just after logout but assocualted
  with recently logout character add new login status STATUS_LOGGEDIN_OR_RECENTLY_LOGGOUT
* Store low guid for loggedin player or recently logout into WorldSession.
2009-08-29 11:26:57 +04:00
Triply
efa24ced49 [8409] Fixed guild creation date loading, and added another guild loading optimization - last one.
Signed-off-by: Triply <triply@getmangos.com>
2009-08-23 18:13:09 +02:00
Triply
38fa6b241c [8402] Optimalized guild_eventlog and guild_bank_eventlog loading from database.
Added config options to set count of eventlog records stored in DB.
Attached SQL files will DROP existing and create new tables. Make sure you create backup (if you need old data).
Renamed few variables in Guild class.
Signed-off-by: Triply <triply@getmangos.com>
2009-08-21 09:42:21 +02:00
VladimirMangos
ab38b58b12 [8398] Restore proper line-ends in touched sql files. 2009-08-21 03:05:21 +04:00
NoFantasy
9fdfd9f487 [8397] Remove no longer needed ranks of spell 7386.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-08-21 00:49:27 +02:00
ApoC
6d9448dd7f [8339] Improved storing/restoring BG entry point
* Introduced new table character_battleground_data
* Entry point is now stored on BG enter event not join event
* Entry point for dungeons is now correctly set to nearest graveyard
  (this prevent well known assert in GetInstance because of porting to already destroyed instance)
* Teleporting from BG correctly restore mount state
* Teleporting from BG correctly restore taxi flight
  (in multipath flight you will end up in nearest transition point on the route)

Signed-off-by: ApoC <apoc@nymfe.net>
2009-08-09 11:00:37 +02:00