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
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
Tahir Akhlaq
c070f5b80e
added ion's and showmo's enums
...
- added nullable DateTime param to UnixTimeStampUTC
2017-08-26 17:46:45 +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
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
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
54af893570
add some more locks, fixed typo in AddHP, add missing ability
2017-08-23 03:22:17 +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
c7b87c0d89
effect timers now display (<3 ion)
...
- added source/target to effects
- todo: send battle packet crap
2017-07-27 22:19:20 +01:00
Tahir Akhlaq
8bebba64b3
fixed some timers
...
- status icons now display (<3 u ion)
- todo: populate status tables, figure out why effect wont tick down for me
2017-07-27 03:58:42 +01:00
Tahir Akhlaq
d9d185d7e6
added status effect loading
...
- todo: populate table (and test this doesnt break everything ever), send charawork and message packets
2017-07-15 22:11:22 +01:00
Tahir Akhlaq
84d5eee1fc
cleaned targetfind some
...
- added character allegiance types
2017-07-11 01:54:15 +01:00
Tahir Akhlaq
4ed8f3e5e2
added a bit of targetfind stuff
2017-07-09 00:27:15 +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
Tahir Akhlaq
d895357182
renamed mob stuff to battlenpc
...
- stubbed spawn/die/despawn functions
2017-07-07 22:08:48 +01:00
Tahir Akhlaq
cc1929a9fb
moved getpath crap to pathfinding (or should i keep it in actor?)
...
- stubbed some more crap
2017-07-02 20:01:24 +01:00
Tahir Akhlaq
62055eff04
stubbed some more functions from kj's ai stuff
...
- fixed some typos
- cleaned some debug code
2017-06-29 21:54:30 +01:00
Tahir Akhlaq
2c9ae60bbf
corrected mob to use correct substate
...
- added global tick
- stubbed some more functions
- added checks for engaged/dead
- todo: everything else
2017-06-29 19:14:05 +01:00
Tahir Akhlaq
b9bfe5e985
cleaned up some of my retard with deltaTime and changed to DateTime for convenience swapping between seconds/milliseconds
2017-06-29 19:14:05 +01:00
Tahir Akhlaq
3bcaa4cc3e
added some more ai stubs
...
- created mob class
- added pathfind and targetfind helper classes (todo: actually add stuff to them)
- added action queue helper class (todo: add shit to it)
2017-06-29 19:14:05 +01:00
Tahir Akhlaq
04890660c0
start of ai based on kjLotus's code on dsp
2017-06-29 19:14:04 +01:00
Tahir Akhlaq
c70cf022b7
moved vector3 to common
...
- changed distance checks to distance squared
- reexported central thanalan navmesh with cell size 0.60, height 0.26, radius 0.5, edge error 1.3, merged region size 30
- todo: main logic loop per zone and move this into proper ai classes
2017-06-29 19:14:03 +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
b640c87c69
fixed player position updates i think
2017-06-29 19:14:02 +01:00
Tahir Akhlaq
dd552ba69d
adjusted roam radius slightly
2017-06-29 19:14:02 +01:00
Tahir Akhlaq
e09cb197b3
fixed finding random point retardation
2017-06-29 19:14:02 +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
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
Filip Maj
c09471ed43
GL completion animation will only play to self now.
2017-06-26 00:14:26 -04:00
Filip Maj
875b76634a
Implemented more of the Guildleve Director. Correct script is now autoloaded based on leveplate. Players are now added to the contentgroup on leve start. Moved animation and stuff to C# side of things. Cleaned up code.
2017-06-25 14:25:54 -04:00
Filip Maj
c67c5f3bdf
Bug fix on broadcast packet method, filled out what 0x144 does.
2017-05-16 23:43:53 -04:00
Filip Maj
1516e0bc50
Added homepoint and aetheryte code. You can set the homepoint on an aetheryte or inn and the return menu will show the correct response. Added effects/msgs to teleport/return. Some sql changes I forgot.
2017-05-01 22:30:43 -04:00
Filip Maj
8c9ecebae6
Added a "silent" option for LuaEngine calls. More content instance work. Full classpath now used for zones.
2017-04-29 20:30:54 -04:00
Filip Maj
2de4934c41
Fixed battle npcs appearing strangely (no nameplate, wrong colour, etc), and implemented content groups!
2017-04-15 16:33:56 -04:00
Filip Maj
2bdc238bc2
Added party sync packet which will sync member info between world/zone servers.
2016-12-20 19:17:50 -05:00
Filip Maj
5370f13b2b
Fixed login not working, was due to packets that got queued not flushing. !!!Need to find solution!!! Added a optimization: Actors with 0 battle args are now concidered "static" and will not send their position updates. Removed some debug print statements.
2016-09-24 14:17:31 -04:00
Filip Maj
c67f74130f
Moved packet structures to common.
2016-08-22 10:43:04 -04: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
Filip Maj
c0cd7555e1
-Fixed up the quest flag functions.
...
-Renamed the ActorSpecialGraphicPacket to SetActorQuestGraphic as those icons all have to do with questing.
-Got onSpawn to work and implemented the quest graphics.
-Added new QuestDirector class.
2016-04-07 22:34:10 -04:00
Filip Maj
b68d13ea7f
Cleaned up the lua calls and renamed "onInstantiation" to "init". Added a "onSpawn" callback but still working on it. Added the "ActorSpecialGraphicPacket" and functions to use it.
2016-04-02 17:56:01 -04: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
ea6b1e33c7
NPCs now spawn and load template from the db.
2016-01-20 23:18:10 -05:00
Filip Maj
db62b05fdc
Merge branch 'database_work' into scripting
...
# Conflicts:
# FFXIVClassic Map Server/actors/chara/Character.cs
# FFXIVClassic Map Server/actors/chara/npc/Npc.cs
# FFXIVClassic Map Server/actors/chara/player/Player.cs
2016-01-17 11:53:52 -05:00