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
Tahir Akhlaq
81c97105b7
Merge branch 'ai-open' of https://bitbucket.org/skeletonhorn/ffxiv-classic-server-ai-fork into ai
2017-12-10 15:21:37 +00:00
yogurt
837c7a9223
Health updating fix, temp r0 fix
2017-12-10 09:20:42 -06:00
Tahir Akhlaq
cd60c571ac
Merge branch 'ai-open' of https://bitbucket.org/skeletonhorn/ffxiv-classic-server-ai-fork into ai
...
# Conflicts:
# data/scripts/modifiers.lua
2017-12-10 15:07:28 +00: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
b2e273d7cf
Finished fixing bugs in the bazaar code.
2017-12-04 22:58:18 -05:00
Filip Maj
88233cf6d2
Fixed error, removed RabbitMQ package as it isn't used.
2017-11-17 17:03:47 -05:00
Filip Maj
05eca7f22e
Fixed bad merge.
2017-11-17 16:51:35 -05:00
Filip Maj
7a02d38e94
Merge branch 'develop' of https://bitbucket.org/Ioncannon/ffxiv-classic-server into develop
...
# Conflicts:
# FFXIVClassic Map Server/FFXIVClassic Map Server.csproj
2017-11-17 15:14:58 -05:00
Filip Maj
af121f52bd
Added packets for various search things Showmo found.
2017-11-17 15:13:38 -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
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
460722d3d5
Opening changes
2017-10-11 06:42:06 -05:00
yogurt
92de857cda
opening quest stuff
2017-10-10 13:32:47 -05:00
CuriousJorge
324ebab2d2
Inventory.cs - GetItemQuantity() added
...
- AddItem functions to cast INV_ERROR to INT for LUA
- Fixed unique item check. It was checking for Rare flag, not EX
Scripts :
Base
- shop.lua : Functions for buying/selling from a variety of shop scripts
Commands
- EmoteStandardCommand.lua fixed not being able to use emotes when sitting
- DiceCommand.lua fixed. No arguments sets default value of 100 as per the ingame description.
Max value raised from 999 to 1000.
GM Commands
- speed.lua fixed when using single argument
- nudge.lua fixed sanitizing. Made arguments reversible to allow !nudge up 10 & !nudge 10 up
- giveitem.lua added inv_error handling. Need to do to rest of item commands at some point
- givecurrency.lua changed to have you enter a regex'd name of item rather than item ID.
Eg. "!givecurrency fire_crystal 10". Added inv_error handling to it.
- warpplayer.lua added. Moves yourself to name of player, or moves first player to second player
- warpid.lua added. For warping to the first instance of an actor's uniqueId the server comes across.
- quest.lua added. For adding/adjusting quests for debugging them.
Class Scripts
- PopulaceBlackMarketeer.lua updated to utilize shop.lua
- PopulaceShopSalesman.lua updated to utilize shop.lua
- PopulaceCompanyShop.lua updated to utilize shop.lua
- PopulaceCompanyBuffer.lua added and documented along with menu layout. Needs working status effect to finish.
- PopulaceCompanyGLPublisher.lua added. Mostly documented, barely functional.
- PopulaceCompanyGuide.lua added. Documented, fully functional.
- PopulaceCompanyOfficer.lua added. Documented. Menus work. Needs GC rank table at some point
for documenting GC ranks/seal caps.
- PopulaceCompanySupply.lua added and mostly documented. Read-only basic menu flow, static LUA tables
used to set it up, will need SQL tables at some point to replace them with.
Some guesswork on what menus show since no video reference could be found.
- PopulaceGuildShop.lua updated. Mostly documented. Read-only shop menus.
2017-10-09 23:40:38 -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
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
yogurt
116a573f85
Save class/level parameter save info on level up
2017-10-06 20:45:10 -05:00
Filip Maj
8ae4fbc045
Forgot project file.
2017-10-05 13:31:15 -04:00
Filip Maj
e819603432
Added new search packets.
2017-10-04 10:25:16 -04:00
Tahir Akhlaq
bab81a809c
fixed auto attack (<3 showmo)
2017-10-03 07:32:32 +01: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
56491266cc
another attempt to get opening fight working (client hangs after talking to yda for second time for some reason..)
2017-09-22 03:26:12 +01:00
Filip Maj
c7e38b8b00
Implemented trade invitation code.
2017-09-17 15:04:29 -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
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
Filip Maj
a309e651da
Fixed issues Jorge found.
2017-09-09 16:30:29 -04:00
Filip Maj
b092d447cc
Retainer name was not set.
2017-09-09 14:28:02 -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
a14e36fadc
Bad old SQL line was adding exponentially increasing duplicates.
2017-09-09 11:33:23 -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
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
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
68a2d5f0b9
stubbed item use state (needs to actually look up the item and get its reuse stuff)
...
- added tables to load mobs from (probably dont import besides server_battlenpc_genus.sql)
- added field to server_battle_commands for commands usable by both monsters and players (probably arent any really)
2017-09-05 21:03:38 +01: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
b5054debea
Added first set of item search packets.
2017-09-03 17:02:08 -04:00
yogurt
50b4f517f2
Fix FindFirstCommandSlotById to be able to find empty slots again
2017-09-03 11:18:35 -05:00
Tahir Akhlaq
4978813c27
fixed death/despawning kinda (need to figure out why hp wont tick down after respawning)
2017-09-03 01:01:19 +01: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
Filip Maj
4c7928da78
Fixed screwed up cast animation.
2017-08-29 22:27:32 -04:00
Tahir Akhlaq
517bdc0638
fixed cast interrupt
...
- dont allow targeting of mob moving back to spawn
2017-08-30 00:14:14 +01:00
yogurt
c3fd8f917e
Added UnequipAbility function, made EquipAbility work with zero indexed hotbar database, added new checks to EquipAbilityCommand.lua
2017-08-29 09:00:09 -05:00
Filip Maj
91afda04ca
Added interrupt animation.
2017-08-29 00:52:57 -04:00
Filip Maj
e60da4f7b4
Wasn't actually sending packets. Changed casting animation back and moved castbar removal to cleanup.
2017-08-29 00:38:07 -04:00
Filip Maj
67485eafc0
Fixed infinite loop with DoBattleAction. Added some casting logic.
2017-08-29 00:33:23 -04:00
Filip Maj
d81832f256
Cleaned up hotbar database stuff (slot starts at 0 now!) and fixed a few bugs in the state system.
2017-08-28 23:21:21 -04:00
Filip Maj
7ad40f625a
Refactored Demo's battle action code and cleaned things up.
2017-08-28 21:45:01 -04:00
Filip Maj
71d5bbc9ff
Merge branch 'ai-open' of https://bitbucket.org/takhlaq/ffxiv-classic-server into ai-open
2017-08-28 20:26:27 -04:00
Filip Maj
37b8203dae
Rewrote the BattleActionPacket classes to standardize them. Added a method in Character.cs to fire off BattleActions.
2017-08-28 20:26:21 -04: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
Filip Maj
e5a9658b5a
Added Parley code to experiment with.
2017-08-26 16:59:15 -04: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
ce2d22d984
Added sellprice assignment to ItemData.cs. Forgot it!
2017-08-26 14:24:39 -04:00
Filip Maj
52da0a671f
Updated method names of "RemoveItem" as Lua hates overloads.
2017-08-26 14:21:54 -04:00
Filip Maj
afe79e6c5f
Set version number to v0.1.
2017-08-26 14:00:40 -04:00
Joseph Mikel Keller
d757ad39fc
Merged in dude22072/ffxiv-classic-server-1/develop (pull request #47 )
...
Fixed the "pretty borders" inconsistency.
Approved-by: Tahir Akhlaq <xdemolish@hotmail.com>
2017-08-26 17:59:14 +00: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
922f3ccd1e
Merge branch 'develop' of https://bitbucket.org/Ioncannon/ffxiv-classic-server into ai
...
# Conflicts:
# FFXIVClassic Map Server/actors/chara/player/Player.cs
# FFXIVClassic Map Server/lua/LuaEngine.cs
2017-08-26 18:04:31 +01:00
Tahir Akhlaq
c070f5b80e
added ion's and showmo's enums
...
- added nullable DateTime param to UnixTimeStampUTC
2017-08-26 17:46:45 +01:00
Filip Maj
ff93dc41ef
Added casting bar functions.
2017-08-26 12:33:37 -04:00
Filip Maj
546908acde
Some fixes and missing scripts.
2017-08-26 10:23:13 -04:00
Tahir Akhlaq
1ae15df64c
add ion's fix for BattleActionX10Packet crashing client
...
- add blizzara spell lua
2017-08-26 06:47:07 +01: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
452f1cc8c0
fixed some paths in project
2017-08-25 05:12:10 +01:00
Tahir Akhlaq
11bbb023d9
abilities now use correct animation id (<3 azia)
...
- did stuff with magicstate/attackstate
- fixed status effect tick
- added regen status (todo: actually populate the table and use that name instead of enum's)
- added baseStats to char (todo: add bonuses and stuff on top of those, set charaWork values to the calculated ones + bonus)
2017-08-25 03:52:43 +01:00
Tahir Akhlaq
88abd59ec3
fixed auto attacking self/npcs
2017-08-24 16:36:56 +01:00
Tahir Akhlaq
5e2487c8cc
missed a file from previous commit
2017-08-24 05:36:12 +01:00
Tahir Akhlaq
9bb298b2f3
added modifier class
...
- added auto attack animation (<3 showmoltti)
- added thing to send battle packet from lua
2017-08-24 05:12:30 +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
54af893570
add some more locks, fixed typo in AddHP, add missing ability
2017-08-23 03:22:17 +01:00
yogurt
35f9251056
Split update hotbar function into seperate command and recast functions, fixed recast packet spam, recast timers now reset when commands are added to the hotbar and when changing classes, and are now saved in the databse correctly and sent on login. Merged demo's changes.
2017-08-22 14:50:53 -05:00
Tahir Akhlaq
86bf0eec81
filled out abilities table (todo: range needs correcting)
...
- changed target find stuff to use windower's (need to check it actually works..)
2017-08-22 19:57:52 +01:00
Tahir Akhlaq
ebd295bfa4
add abilities table
2017-08-21 03:37:35 +01:00
Tahir Akhlaq
a89fc64555
fix crash in gm command thing, commit stupid shit i havent figured out yet
2017-08-21 00:40:41 +01: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