Filip Maj
d49516c03e
Added in "LinkedSlot" info in the InventoryItems. The slot sent when using "SendUpdateAsItemPackage" differ from a normal update. This was causing a crash. Checking is working again, trade is working up to the final transaction.
2019-06-02 17:11:14 -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
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
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
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
bbd4fcef3b
Reversed all my lua fuckery.
2018-04-07 14:04:22 -04:00
Filip Maj
aba748cb5d
Map Server Packet fix.
2018-04-07 13:50:43 -04:00
Filip Maj
1e9d61c838
Fixed the refresh not sending inv change packets.
2018-04-07 13:45:05 -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
0cb2fe1a68
Added bazaar scripts and missing class file.
2017-12-10 22:54:47 -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
837c7a9223
Health updating fix, temp r0 fix
2017-12-10 09:20:42 -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
b2e273d7cf
Finished fixing bugs in the bazaar code.
2017-12-04 22:58:18 -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
Filip Maj
fe4b9cb2bf
Added more helper methods and constants for inventory item.
2017-10-21 11:29:28 -04:00
Filip Maj
95b003cc2b
More inventory item refactoring.
2017-10-15 23:56:04 -04: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
Filip Maj
94491903f7
More trade work.
2017-10-01 12:23:54 -04: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
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
81d82cd7a8
Rewrote the inventory code, splitting the packet updates from the list updates.
2017-09-05 14:44:06 -04:00
Filip Maj
f437b36f5a
Started implementing retainers. Added a instanced retainer spawn. Documented retainer scripts.
2017-09-05 12:37:23 -04:00
Tahir Akhlaq
c5cc7c2f00
fixed auto attack messing up cast anim
...
- fixed auto attack anim for mobs (<3 u ion)
- added hotbar timer updates (<3 u azia)
- fixed actor block bug
- cleaned up substate retardation
- fixed some targetfind issues
- added despawn state
- added messages for in progress commands
- added fields for aoe target, range, battleAnimation to server_battle_commands table
2017-08-31 06:01:26 +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
Filip Maj
ce2d22d984
Added sellprice assignment to ItemData.cs. Forgot it!
2017-08-26 14:24:39 -04:00
Tahir Akhlaq
1856cc0634
(badly) ported dsp's pathfind code
...
- added distance for vectors
- todo: why does it go retard
2017-08-16 17:25:32 +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
7c08420206
Merge branch 'develop' of https://bitbucket.org/Ioncannon/ffxiv-classic-server into ai
2017-07-11 20:52:43 +01:00
Filip Maj
77d6cb2e43
Fixed up how "special" items work (ie: PUG and ARC weapons). No more glitches hopefully.
2017-07-09 11:39:17 -04:00
Tahir Akhlaq
c55c0b327d
forgot to fix this on conflict resolving
2017-07-08 04:53:06 +01:00
Tahir Akhlaq
4695193aa0
Merge branch 'develop' of https://bitbucket.org/Ioncannon/ffxiv-classic-server into ai
...
# Conflicts:
# FFXIVClassic Map Server/actors/Actor.cs
# FFXIVClassic Map Server/dataobjects/Session.cs
# FFXIVClassic Map Server/lua/LuaEngine.cs
2017-07-08 04:10:36 +01:00
Filip Maj
151756329c
Removed oooold test code.
2017-07-06 22:10:19 -04:00
Filip Maj
5dff4cbdd3
Fixed bug with Broadcast Packet. Was adding player to the instance list while it shouldn't have been, and designed BroadcastPacket assuming so. Cleaned it all up and fixed, so now emote work after warp. Fixed Chocobo packets so correct appearance will show when player is spawned while riding gobbue.
2017-07-06 21:59:12 -04:00
Tahir Akhlaq
100f3ae156
fixed an issue causing client to crash
2017-07-01 02:52:05 +01:00
Tahir Akhlaq
e56238a10c
fixed crash on updating controller for npcs
...
- fixed updating player movement
2017-06-30 04:30:36 +01:00
Tahir Akhlaq
872e56f8f9
navmeshes now super lightweight (<3 u devi)
...
- refactored some stuff
- unhardcoded navmesh loading
- included sharpnav license
2017-06-29 19:14:03 +01:00
Tahir Akhlaq
a62475e81e
moved pathing crap out of actor
...
- despawn actors on moving too far from spawn
- added clampy stuff (<3 devi)
2017-06-29 19:14:01 +01:00
Tahir Akhlaq
bd97e72774
slightly smaller spawn leash
...
- removed try catch block
- todo: despawn actors on moving out of range
2017-06-29 18:45:43 +01:00
Tahir Akhlaq
d72a2af641
initial navmesh stuff
2017-06-29 18:45:39 +01:00
Filip Maj
33e580ed38
Removed redundant queuepacket func.
2017-06-27 21:40:49 -04:00
Filip Maj
ab3e152b7d
Fixed spawning being broken.
2017-06-27 21:30:32 -04:00
Filip Maj
3370309dd0
Cleaned up the code and fixed a bunch of bugs. Map server will no longer worry about base packets.
2017-06-27 21:08:30 -04:00
Filip Maj
7c4091a196
Finished refactoring Map Server. Clear of syntax errors.
2017-06-27 16:55:14 -04:00
Filip Maj
d8ac8216c4
More subpacket cleanup.
2017-06-27 13:52:47 -04:00