Filip Maj
0b13b590a0
Renamed Inventory class to ItemPackage to reflect client naming.
2018-04-07 14:48:43 -04:00
Filip Maj
08dfd22bfa
Removed the inventory lock stuff.
2018-04-07 13:47:09 -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
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
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
Filip Maj
9649d755a9
Fixed a bug in inventories. If no null gap was found endOfListIndex would go to -1.
2017-09-16 13:57:16 -04:00
Filip Maj
e581727625
Added errors to AddItem so a script writer knows if the inventory was full or not.
2017-09-16 13:28:37 -04:00
Filip Maj
a309e651da
Fixed issues Jorge found.
2017-09-09 16:30:29 -04: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
52c707d66e
More cleanup.
2017-09-09 12:42:00 -04:00
Filip Maj
9174801fdb
Moved all DB update code into it's own method.
2017-09-09 12:37:24 -04:00
Filip Maj
8755ca4f33
Fixed a bunch of SQL errors. Added checks for quality so a remove command didn't take out items regardless of quality. Fixed errors.
2017-09-09 12:21:37 -04:00
Filip Maj
bc95c139de
Implement DB updates for player. Cleaned up DB calls. No longer track slot, it's ordered by index id (no concept of slots anyway in client).
2017-09-09 11:25:58 -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
Filip Maj
5bec522c8e
Fixed bugs in the new inventory code.
2017-09-05 15:35:33 -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
Filip Maj
52da0a671f
Updated method names of "RemoveItem" as Lua hates overloads.
2017-08-26 14:21:54 -04: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
Filip Maj
2d7d10a417
Renamed Item dataobject to ItemData. Added guildleve data.
2017-06-24 14:12:52 -04:00
Filip Maj
c67f74130f
Moved packet structures to common.
2016-08-22 10:43:04 -04:00
Filip Maj
316e326d71
GM tickets can now be in an open/closed state. Added some helper functions for currancy, and added functions to allow changing chocobo appearance.
2016-08-21 18:16:54 -04:00
Tahir Akhlaq
1ad2b5d7d0
more work on commands
...
- moved script object to wrapper class to catch and log exceptions
- added loggers for basepacket/subpacket (todo: colour and use them in NLog.config)
- finished up most commands (todo: !property and !property2)
- todo: create and use mysql wrapper class to log exceptions
2016-06-18 05:42:14 +01:00
Tahir Akhlaq
24f55139dd
mass replaced all methods to pascal case
2016-06-14 21:29:10 +01:00
Tahir Akhlaq
8b93abe86e
servers now log (almost) everything to file
...
- regex'd in mysqlexception logging
- servers can now specify server_port, log_path, log_file
- added scripts to import/export all tables (exporting will export a handful of garbage table names, open and check for structure before deleting)
- fixed packet logging (thanks deviltti)
2016-06-09 19:48:06 +01:00
TheManii
26f5e1be28
Fix spelling
2016-04-06 15:34:04 -07:00
Filip Maj
e851c767df
Finished check command as well as gearsets and switching between classes. Property changes still have to be written though.
2016-03-12 02:52:34 -05:00
Filip Maj
44e5430fdc
Implemented equipment and equip graphics. Add some zone callbacks and "first start" functionality. Added playtime.
2016-03-06 17:55:42 -05:00
Filip Maj
c9116005d6
Changed untradeable to itemType (since it's used for bazaar as well).
2016-02-22 22:33:52 -05:00
Filip Maj
83fb9badd7
Finished writing the query and editing the inventory methods to use the gamedata.
2016-02-21 21:44:11 -05:00
Filip Maj
d2ac603efa
Renamed the "Item" object to InventoryItem. Began writing the Item object that will be used to store game data items.
2016-02-21 14:06:23 -05:00
Filip Maj
c2f0b9d999
Equipment now working. Still need to write database saving/loading.
2016-02-20 21:20:54 -05:00
Filip Maj
cb4171f1fd
Bunch of bugfixes and final tweaking to get inventory working.
2016-02-14 12:09:18 -05:00
Filip Maj
47be08fbf7
Finished remove item code. Inventory Add/Remove should be complete.
2016-02-13 22:25:40 -05:00
Filip Maj
110a112328
Implemented remove though will need to test more. Finished tweaking addItem(itemId, quantity).
2016-02-13 21:14:49 -05:00
Filip Maj
69b34fdce7
Reworked the inventory system so that each inventory type is contained in it's own "Inventory" object. Also, fixed the Inventory packets being all malformed.
2016-02-13 14:12:05 -05:00