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
42ee97d467
Refactored inventory to "ReferencedItemPackage" as this is a more general approach closer to what the FFXIV client uses. Added itempackage code to the LinkedItemList packets (also renamed from EquipmentList). Cleaned up trade code.
2019-06-02 16:57:46 -04:00
Filip Maj
02e1b8a82f
Renamed the Inventory class file to ItemPackage (class was already renamed). Moved ItemPackage and Equipment classes to Character folder. Fixed unequip bug introduced by accidently removing InventoryBeginChangePacket. Added documentation to the Equipment class. Cleaned up Equipment packet code.
2019-05-12 16:16:44 -04:00
Filip Maj
267961233f
Refactoring Equipment class. Fixed inital inventory setup due to missing addItem() (now addItems) function. Added Jorge's refactored Retainer manager script.
2019-05-12 15:03:34 -04: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
163f240cf9
Removed isExclusive as it is now loaded from gamedata. Cleaned up keys for retainer inventory.
2019-05-06 14:34:59 -04:00
Filip Maj
10017b7e8c
Cleaned up some warnings.
2019-05-04 20:53:08 -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
Filip Maj
e236e1d207
Renamed BattleActionPacket -> CommandResultPacket as it better defines what these packets do. A command fires -> here is what happened due to it.
2019-01-29 00:02:09 -05:00
Filip Maj
7c7742fb35
Update substate and implemented it into Character. Cleaned up more code mix.
2018-10-20 13:15:58 -04:00
Filip Maj
d614ea6968
Rewrote code written in the new C# format to use older functions. Let's keep compatibility with older VS but also keep the code style consistent (already got enough inconsistencies).
2018-10-08 15:11:43 -04:00
yogurt
cf30eef39e
AoE rewrite and bug fixes
...
Rewrote aoe checks for cone and line aoes and added minimum distance values
Added height checks for commands
Fixed combo effects repeating for every target hit by AoE attacks
Fixed teleport sometimes not raising (I think)
Fixed gear checks in some command scripts
2018-07-02 00:45:06 -05:00
yogurt
0f7e6f359d
Added class-specific exp messages for non-english languages
...
Fixed status effect loss message not being sent
Fixed party bug where people in the same party were considered to be in different parties
2018-05-28 16:28:44 -05:00
yogurt
d23a84d6cf
Undid change that broke parties
2018-05-27 23:02:08 -05:00
yogurt
922fb80f3d
Bug fixes.
...
Added stoneskin effect to database.
Fixed Rampage not working
Fixed bug where abilities didn't equip correctly when leveling up
Added a temporary fix for returning while dead
Added handling for abilities that don't have an actiontype set, like elusive jump
2018-05-27 14:51:39 -05: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
880b1f3066
Fixed the crash when class change is to a level 0 class. Now autosets to level 1.
2018-04-07 15:34:11 -04:00
Filip Maj
0b13b590a0
Renamed Inventory class to ItemPackage to reflect client naming.
2018-04-07 14:48:43 -04:00
Filip Maj
29e3f61b6b
Fixed my lua fuckery some more.
2018-04-07 14:24:33 -04:00
Filip Maj
bbd4fcef3b
Reversed all my lua fuckery.
2018-04-07 14:04:22 -04:00
Filip Maj
611140568e
Fixed broken KickEvent. Cleaned up Retainers to use the ItemPacakageUpdate packet. Fixed db references for retainer inventory.
2018-04-07 13:47:31 -04:00
Filip Maj
7e2246e8d8
If kickEvent is fired, the current event is popped. Commited Inventory changes.
2018-04-07 13:46:37 -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
205d3619d6
Merging
2017-12-08 02:08:13 -06: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
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
27200b8df5
moved ally engage stuff to ContentArea onUpdate
2017-10-11 19:23:40 +01: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
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
116a573f85
Save class/level parameter save info on level up
2017-10-06 20:45:10 -05:00
Filip Maj
441c1a6383
Implemented countdowns.
2017-10-01 12:39:46 -04:00
Filip Maj
58334a0e5f
Implemented newly discovered packets (Dalamud, Countdown).
2017-10-01 12:31:45 -04:00
Filip Maj
94491903f7
More trade work.
2017-10-01 12:23:54 -04:00
yogurt
f3a823af03
Only send current class's exp on login. Exp now updates on class change
2017-09-30 20:04:45 -05: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
ab98f3662f
Removed old EquipAbility function from player.cs
2017-09-27 18:12:02 -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
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
Filip Maj
64006d2351
Added retainer inventory code. Renamed CURRENCY inv type to CURRENCY_CRYSTALS so I don't forget.
2017-09-09 14:11:35 -04:00
Filip Maj
76f073d85f
Got retainer meeting group working and cleaned up retainer instancing. Added a RemoveItemAtSlot with quantity.
2017-09-09 10:54:40 -04:00
yogurt
9077c60b96
Merged in skeletonhorn/ffxiv-classic-server-ai-fork/ai-open (pull request #4 )
...
Minor changes to fix equipability bugs
2017-09-08 14:22:41 +00:00