Commit graph

127 commits

Author SHA1 Message Date
Salja
8749c2af3f [0104] Fix characters.sql
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 16:18:22 +00:00
Salja
c57a4983c7 [0099.99999] Typoooooo Grrrr
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 16:16:54 +00:00
Salja
1117cdaec9 [0099] Fix character_phase_data.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 16:06:13 +00:00
Salja
61f44a08b1 [0029] Fix some typos from last commits.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 07:37:29 +00:00
Fabian
3b8fb556a7 [0028] Implented new phase/map/terrain swap system for cata. 2020-02-16 07:37:26 +00:00
Salja
cb2d7ceea5 [0003] Typo
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 02:54:03 +00:00
Salja
8276c75bef [0001] Start on MaNGOS 4.3.4
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 02:54:01 +00:00
Yaki Khadafi
ec939a5bce Login world, fix sql
TODO: SMSG_UPDATE_OBJECT to see world

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 02:25:32 +00:00
Salja
22bfaa12b0 Mage 400 INTO master/434
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 01:59:51 +00:00
Shauren
8e4c46ff2a [11785] Implement dungeon encounters (DBC part), thanks to rsa for porting it to mangos
Signed-off-by: Laise <fenrisse@gmail.com>
2011-09-04 13:15:22 +03:00
VladimirMangos
b5e136c289 [11716] Always use _unsigned_ BIGINT fields in DB for time store
Also some other BIGINT fields fixed.
2011-07-07 04:22:07 +04:00
VladimirMangos
0f0fa22607 [11704] Resolve possible crash in auction code for paiment pending state.
Source of crash in sharing item object for sent mail to new owner
and in same time use it in still existed auction for show pending paiment.
Crash possible if new onwer get mail in less hour delay and will drop item
at receive.

Solution: Added fields in memory auction object and table `auction` for
store item stack size and random property id. This let not use auction item
except points where item send to owner at expire and new owner at
buyout/timeout auction with bid.
2011-07-02 04:23:24 +04:00
Lynx3d
1ffde196ce [11620] Make equipment manager handle "ignore this slot" option properly.
Also fix SQL fields to use unsigned values as expected in code, otherwise large values will get lost.
2011-06-10 18:51:33 +02:00
BThallid
7237fe7f62 [11436] Really save/load item 5/6 objectives counters in quest status.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-08 01:55:32 +04:00
TOM_RUS
e1f345c49f SQL fix. 2011-04-24 22:22:37 +04:00
TOM_RUS
e39a8b55a0 [11391] Auction: multi sell, sale pending list and other fixes. 2011-04-24 21:57:49 +04:00
DasBlub
7b2308e483 [11372] Convert tabs to 4 spaces
Thanks to Darkknight900 for pointing out!

Used this script on sql/ and src/: find . -iname *.h -o -iname *.cpp -o -iname *.inc -o -iname *.sql | xargs sed -i 's/\t/    /g'
2011-04-17 01:34:51 +02:00
zergtmn
4687fa8cb4 [11299] Handle aura durations in SpellAuraHolder
- Unit::CalculateSpellDuration split into two functions
    - CalculateSpellDuration taking into account combo points and caster-side spell mods
    - Unit::CalculateAuraDuration taking into account target-side spell mods
- Diminishing is now applied before duration reduction mods
- Implement saving per-effect periodic timers to DB (required for auras affected by haste)
2011-03-30 23:29:01 +06:00
VladimirMangos
f73868a703 [11117] Allow for non-instancable maps have InstanceData and instance scripts.
* New table added for non-instanced maps (except BG/arena):
    - `mangos`.`world_template` (script mapping to non instanced data)
    - `characters`.`world` (saved script data string storage)

* InstancedData created for any map types including BGs/arenas, that allow have scripts
  state for any maps, but BG/arena instance data not saved.

Note: Possible structures will renamed later for clarify apply to any type maps,
but avoid for now for simplify changes and hard affect to script library sources.
2011-02-08 04:15:13 +03:00
Skirnir
75b4f75f4d [11066] Remove tail whitespaces.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-25 00:22:29 +03:00
VladimirMangos
6b9de2c958 [10973] Implement game event mail sends at event start/stop.
Also implement save game event state to DB mostly for avoid
send mails at resume game event after server downtime.

Thanks to X-Savior for inspiring and original research.
2011-01-06 12:40:15 +03:00
Quriq14
c7205a6837 [10862] Fixed not show and lost mail items in returned expire mails.
Also
* Use typename for mail item info vector.
* Include tools/characters_mail_items_cleanup.sql for cleanup lost mail items.
  It also included as sql update part. Sql update also fix receiver for stored
  in DB expired mail items.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-12 09:10:08 +03:00
VladimirMangos
525836734c [10783] Fixed comment in characters.sql 2010-11-25 17:00:10 +03:00
Deleterios
549b44d8ec [10664] Rename arena_team_stats fields for better fit to stored values.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-01 02:37:10 +03:00
VladimirMangos
f48e768a70 [10662] Implement partly item looting
* Not deleted normal item loot at first loot window close.
* Save current item loot content to DB for later continue looting.
* Cleanup spell effect SPELL_EFFECT_OPEN_LOCK check code
* Cleanup Player::AutoStoreLoot calls
2010-11-01 02:04:08 +03:00
NoFantasy
a38f97f71c [10655] Add support for monthly quests
Quest that can repeated each month are set by quest_template.SpecialFlags |0x04 flag
Quest are reset at midnight the first day of each month.
Note: for the time being, quest must also be set repeatable (SpecialFlags |0x01)

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-29 20:39:01 +02:00
DasBlub
f3903d2261 [10568] Drop unused column 'realmid' from the table 'character_tutorial' 2010-09-30 22:51:39 +02:00
zergtmn
20f4a16f01 [10503] Move *_respawn tables to characters DB.
This allow have in `mangos` DB only world static state data.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-09-19 00:45:21 +04:00
VladimirMangos
ef9793dcd4 [10428] Fix line ends :/ 2010-08-31 07:00:06 +04:00
VladimirMangos
2c6fd1685e [10427] Drop redundant data from spell_proc_event after recent spell chain changes. 2010-08-31 06:47:40 +04:00
VladimirMangos
779e40d5ff [10332] Save cast item guid for auras also.
This must fix another way duplicate aura adding to DB error.
It also prevent wrong stacking work for weapon equip bufs
in cases when its allowed for both wepoan indepndently apply.
2010-08-09 06:17:23 +04:00
zergtmn
131fb72006 [10312] Allow store in DB same spell auras from different casters.
This fix errors at auras save to DB for like cases.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-08-03 04:06:07 +04:00
Salja
84dbc4c698 [10262] Fixed table auction name in characters.sql
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-24 18:27:54 +04:00
VladimirMangos
e3befa2072 [10254] Remove dependence auction data from auctioneer guid.
* Field `auctioneerguid` replaced by `houseid` and table reanmed to `auction`
  (it list auctions and `id` is auction id).
* Update related code.

* SQL update fill `houseid` field by old `auctioneerguid`
  BUT: SQL update expect that you world DB named `mangos`.
  If this not true for your case you need modify SQL update BEFORE APPLY
  in 2 placed in part "mangos.creature AS c, mangos.creature_template AS ct"

* Another small possitive result: now possible easy select auctions related
  to some auction store (1-3 is one team actions, 4-6 another team auction,
  and 7 is neutral auction store for both teams
2010-07-24 01:45:59 +04:00
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