Yogurt
32330d557c
Small command fixes
...
fix "You learn [command]." message not printing the name of the command
and enable message.
Make database save the short version of command id in hotbar table
2019-06-08 21:11:51 -07:00
yogurt
ec85cfd590
Merged in takhlaq/ffxiv-classic-server (pull request #61 )
...
Combat changes and fixes.
Approved-by: Filip Maj <filipmaj@gmail.com>
2019-06-08 22:58:02 +00:00
Filip Maj
a07aa12783
Fixed new positions after realignment not saving. Fixed Dealer info not clearing from the db sometimes.
2019-06-08 14:46:19 -04:00
Filip Maj
3dcd9af6c0
Added "ToString" methods for Items, Packages, and Actors for easier debugging. Rewrote dealing code in InventoryItem as well as the WorldMaster. Rewrote how Bazaar and Retainer inventory is stored on the DB, merging all three tables into one. Removed a bunch of DB code due to the previous point. Random Item cleanup.
2019-06-06 01:43:27 -04:00
Yogurt
f2e34174c4
Merge branch 'develop' of https://bitbucket.org/Ioncannon/ffxiv-classic-server into develop
...
Fix Excruciate removign status from enemy rather than caster
2019-06-05 19:28:02 -07:00
Filip Maj
69d4b19979
More inventory fixing after I broke it. Added preliminary final trade code. Moved recalc stats to the end of equipcommand, not on every modification of the referred item package.
2019-06-04 00:11:36 -04:00
Filip Maj
88ff22e55e
Added checks before creating the trade group so that a character couldn't be invited twice to trade.
2019-06-02 17:32:08 -04:00
Yogurt
26ef649a6c
Refactor StatusEffectContainer to better handle messages using
...
CommandResultContainer.
Alter Modifiers to be the same as ParamNames.
Add LoseOnClassChange flag for status effects.
Add a few missing status effects.
Fix EndTime for stance status effects to stop icon from blinking.
2019-05-27 23:05:20 -07:00
Filip Maj
f038b525c6
Cleaning up imports.
2019-05-06 16:07:06 -04:00
Filip Maj
bcb609e4f6
Merge branch 'inventory_refactor' into develop
...
# Conflicts:
# FFXIVClassic Map Server/Database.cs
# FFXIVClassic Map Server/FFXIVClassic Map Server.csproj
# FFXIVClassic Map Server/WorldManager.cs
# FFXIVClassic Map Server/actors/area/Area.cs
# FFXIVClassic Map Server/actors/area/Zone.cs
# FFXIVClassic Map Server/actors/chara/Character.cs
# FFXIVClassic Map Server/actors/chara/npc/Npc.cs
# FFXIVClassic Map Server/actors/chara/player/Inventory.cs
# FFXIVClassic Map Server/actors/chara/player/Player.cs
# FFXIVClassic Map Server/dataobjects/ZoneConnection.cs
# FFXIVClassic Map Server/lua/LuaEngine.cs
# FFXIVClassic Map Server/packets/send/Actor/AddActorPacket.cs
# FFXIVClassic Map Server/packets/send/Actor/DeleteAllActorsPacket.cs
# FFXIVClassic Map Server/packets/send/Actor/SetActorPropetyPacket.cs
# FFXIVClassic Map Server/packets/send/Actor/SetActorStatePacket.cs
# FFXIVClassic Map Server/packets/send/Actor/SetActorStatusAllPacket.cs
# FFXIVClassic Map Server/packets/send/Actor/SetActorStatusPacket.cs
# FFXIVClassic Map Server/packets/send/Actor/_0x132Packet.cs
# FFXIVClassic Map Server/packets/send/Actor/battle/BattleAction.cs
# FFXIVClassic Map Server/packets/send/Actor/battle/BattleActionX10Packet.cs
# FFXIVClassic Map Server/packets/send/Actor/battle/BattleActionX18Packet.cs
# FFXIVClassic Map Server/packets/send/Actor/battle/CommandResultX00Packet.cs
# FFXIVClassic Map Server/packets/send/Actor/events/SetEmoteEventCondition.cs
# FFXIVClassic Map Server/packets/send/Actor/inventory/InventoryRemoveX08Packet.cs
# data/scripts/commands/gm/giveitem.lua
2019-05-06 15:59:09 -04:00
Filip Maj
3066efeebb
Cleanup the messy imports.
2019-05-06 13:39:24 -04:00
Filip Maj
1e4a1cf263
Merge branch 'ai-open' into develop
...
# Conflicts:
# FFXIVClassic Lobby Server/Database.cs
# FFXIVClassic Map Server/Database.cs
# FFXIVClassic Map Server/FFXIVClassic Map Server.csproj
# FFXIVClassic Map Server/actors/chara/player/Inventory.cs
# FFXIVClassic Map Server/actors/chara/player/Player.cs
# FFXIVClassic Map Server/dataobjects/Session.cs
# FFXIVClassic World Server/Server.cs
2019-05-04 20:13:29 -04:00
yogurt
c5ce2ec771
Combat additions
...
Added formulas for base EXP gain and chain experience
Added basic scripts for most player abilities and effects
Added stat gains for some abilities
Changed status flags
Fixed bug with player death
Fixed bug where auto attacks didnt work when not locked on
Added traits
2018-04-18 16:06:41 -05:00
Filip Maj
0b13b590a0
Renamed Inventory class to ItemPackage to reflect client naming.
2018-04-07 14:48:43 -04:00
yogurt
b8d6a943aa
Combat changes and bug fixes
...
Added the combo and proc systems
Added scripts for most weaponskill and spells as well as some abilities and status effects
Added support for multihit attacks
Added AbilityState for abilities
Added hiteffects that change based on an attack's parameters
Added positionals
Changed how targeting works for battlecommands
Fixed bug that occurred when moving or swapping hotbar commands
Fixed bug that occurred when losing status effects
2018-02-15 13:20:46 -06:00
Filip Maj
127ac15936
Fixed bazaar flags for seek item. Finished seek item trading.
2017-12-10 23:52:10 -05:00
Filip Maj
c0312079ef
Added broadcast packet list to Player. Fixed bazaar flags not working. Added the seeking item trade code.
2017-12-10 22:53:37 -05:00
Filip Maj
a9d4e621e3
Events are now pushed onto a stack and popped off. Turns out multiple events *CAN* happen. Fixed quantity bugs when saving to DB. Fixed buying stacks.
2017-12-10 22:32:24 -05:00
Filip Maj
08c5980b22
Moved SendItemPackage to character class. Added a flag check after a bazaar purchase is made. Discovered a flag in InventoryBeginChangePacket that either modifies the client package or clears and refills it. Implemented this mode for a bunch of "SendFullInventory" methods.
2017-12-10 15:13:33 -05:00
Filip Maj
f5ea82f735
Added the UpdateItemPackage packet used to signal the server to send bazaar item info. Added a transaction method in WorldManager. Fixed some inventory bugs. InvItems now track what player, itempackage, and itemslot they are in... and may have their quantity set from there. Fixed DB SetQuantity bug.
2017-12-10 13:38:53 -05:00
yogurt
1275c8b5da
Added party to Gridania opening, fixed BattleActionx18 and made it so x18 is used for packets with more than 10 targets. Changed how death works. Added respawn time and roam modifiers. Added TryAggro functions and moved aggroing out of roaming and helpplayers. Fixed high cpu usage in zone's OnUpdate function. Fixed work value in player update
2017-12-08 00:58:39 -06:00
Filip Maj
b2e273d7cf
Finished fixing bugs in the bazaar code.
2017-12-04 22:58:18 -05:00
Filip Maj
05eca7f22e
Fixed bad merge.
2017-11-17 16:51:35 -05:00
Filip Maj
e8c9904e1d
More refactoring. Adding to bazaar now works for selling and seeking by gil.
2017-11-11 17:05:07 -05:00
Filip Maj
bbac4b0fce
Renamed Type7Param to ItemRefParam. Changed a lot of "inventoryType" names to "itemPackage". Moved inventory code to Character class for easier use and auto-choosing the correct package.
2017-11-11 13:46:12 -05:00
Filip Maj
3850860440
Added seek nameplate code. Added bazaar transaction stuff to WorldManager and DB. Added Item Gamedata to InventoryItem class.
2017-11-11 10:56:15 -05:00
Tahir Akhlaq
520ae7a119
added helpers for DoW/DoM/DoH/DoH
...
- fixed allies not being able to aggro on roam
- fixed static characters aggroing
2017-10-11 15:02:12 +01:00
yogurt
460722d3d5
Opening changes
2017-10-11 06:42:06 -05:00
yogurt
92de857cda
opening quest stuff
2017-10-10 13:32:47 -05:00
Filip Maj
59e3b2379a
Implemented mode trade methods. Figured out the modifiers portion of the item packet and rewrote how they are stored.
2017-10-08 12:26:22 -04:00
yogurt
9fc99faa5c
Merge branch 'ai-open' of https://bitbucket.org/takhlaq/ffxiv-classic-server into ai-open
2017-10-06 20:45:36 -05:00
Tahir Akhlaq
bab81a809c
fixed auto attack (<3 showmo)
2017-10-03 07:32:32 +01:00
Filip Maj
94491903f7
More trade work.
2017-10-01 12:23:54 -04:00
yogurt
5dfbc0f249
EXP and levels now get saved and loaded from database, changed battlecommand id dictionary to hold lists to account for archer and DoH/DoLs getting multiple abilities at certain levels. Level 1 abilities are now added to the hotbar on character creation.
2017-09-30 07:28:08 -05:00
yogurt
33f8709d76
Added exp and leveling functions, redid equip ability functions to allow adding abilities that aren't for the player's current class and made functions more clear, added dictionary of BattleCommand ids indexed by a tuple containing classId and level.
2017-09-27 18:10:22 -05:00
Filip Maj
c7e38b8b00
Implemented trade invitation code.
2017-09-17 15:04:29 -04:00
Tahir Akhlaq
ba8184db89
attempt to add tutorial fight
...
- added tempvars which are reset on spawning/zoning
2017-09-16 02:50:32 +01:00
Tahir Akhlaq
da621dfc0e
added pool/spawn/genus mod loading
...
- moved ai helper classes to own folder
2017-09-12 01:24:02 +01:00
Tahir Akhlaq
ce5030acd1
added mob name colour update
...
- added mobmods (need to be loaded from db)
- added Zone.GetBattleNpcById
- added missing IsValidTarget check in AttackState
2017-09-10 03:44:12 +01:00
Tahir Akhlaq
645a1fb4fb
fixed mob loading from db
...
- todo: see todos in code (all 169 of them)
2017-09-07 22:02:02 +01:00
Tahir Akhlaq
7c30b95c4b
added some breakpoints to try figure out why mobs arent spawning
...
- fixed spawn table
2017-09-06 00:28:49 +01:00
Tahir Akhlaq
2bfaf376ef
moved battlenpc loading to db (still doesnt load for some reason)
2017-09-05 23:32:57 +01:00
Tahir Akhlaq
f4016e1a12
renamed tables for consistency
...
- added magic.lua (todo: enumerate modifiers and stuff)
- moved aggro handling to session position update
- some cleanup
2017-08-29 01:15:12 +01:00
Tahir Akhlaq
6c74222b68
renamed ability to battlecommand
...
- moved spells to scripts/commands/
- added aoe range field to battle_commands.sql
- changed AttackState to use character's onAttack
2017-08-28 05:20:00 +01:00
Tahir Akhlaq
6f5a480cbd
Merge branch 'develop' of https://bitbucket.org/Ioncannon/ffxiv-classic-server into ai
...
# Conflicts:
# FFXIVClassic Map Server/Database.cs
# FFXIVClassic Map Server/WorldManager.cs
# FFXIVClassic Map Server/actors/area/Area.cs
# FFXIVClassic Map Server/actors/chara/player/Player.cs
2017-08-26 20:17:16 +01:00
Filip Maj
74ce5a2fe1
Merge branch 'master' into develop
...
# Conflicts:
# FFXIVClassic Lobby Server/FFXIVClassic Lobby Server.csproj
# FFXIVClassic Map Server/Database.cs
# FFXIVClassic Map Server/FFXIVClassic Map Server.csproj
# FFXIVClassic Map Server/PacketProcessor.cs
# FFXIVClassic Map Server/WorldManager.cs
# FFXIVClassic Map Server/actors/Actor.cs
# FFXIVClassic Map Server/actors/area/Area.cs
# FFXIVClassic Map Server/actors/chara/player/Player.cs
# FFXIVClassic Map Server/lua/LuaPlayer.cs
# data/scripts/base/chara/npc/populace/PopulaceChocoboLender.lua
# data/scripts/commands/gm/speed.lua
# data/scripts/commands/gm/warp.lua
# data/scripts/global.lua
# data/scripts/player.lua
# data/scripts/unique/fst0Town01a/PopulaceStandard/khuma_moshroca.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/ahldskyf.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/angry_river.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/ansgor.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/arnegis.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/arthurioux.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/astrid.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/audaine.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/bango_zango.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/bayard.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/bloemerl.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/bmallpa.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/bnhapla.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/chichiroon.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/drowsy-eyed_adventurer.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/eugennoix.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/fickle_beggar.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/hob.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/ivan.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/maetistym.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/mharelak.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/muscle-bound_deckhand.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/pasty-faced_adventurer.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/pearly-toothed_porter.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/ptahjha.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/suspicious-looking_traveler.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/syhrdaeg.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/syngsmyd.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/tatasako.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/tefh_moshroca.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/thata_khamazom.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/thosinbaen.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/tittering_traveler.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/totoruto.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/triaine.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/trinne.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/unconscious_adventurer.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/undsatz.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/vhynho.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/waekbyrt.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/whahtoa.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/wyra_khamazom.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/wyrstmann.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/xavalien.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/zonggo.lua
# data/scripts/unique/sea0Town01a/PopulaceStandard/zuzule.lua
# sql/server_zones_spawnlocations.sql
2017-08-26 13:53:23 -04:00
Tahir Akhlaq
9024f3fad6
cleaned up magicstate and weaponskillstate
...
- todo: fix IsFacing
- added thunder spell (todo: figure out why battleactionx10 crashes client on sending shit)
2017-08-26 04:08:26 +01:00
Tahir Akhlaq
cbbfa4ed95
fixed mobs not pathing
...
- fixed roaming (todo: should probably move to attackstate too or something)
2017-08-23 19:31:03 +01:00
Tahir Akhlaq
68657e1edc
stubbed some more states
...
- stubbed some ability stuff
- moved packet things to loop instead of session only
- added mob roaming and aggro
- todo: fix target find/detection/pathfinding speed/line of sight/line aoe length etc
- todo: see "// todo:" in code
2017-08-02 23:09:04 +01:00
Tahir Akhlaq
ddad27a5f9
fixed high cpu usage caused by spawning stupid amounts of script objects each tick
2017-07-18 04:54:05 +01:00