Filip Maj
4e69022072
New style of scripting for better complex menus.
2016-06-17 23:17:24 -04:00
Tahir Akhlaq
57b9d5ab99
start of work moving commands to lua
2016-06-17 02:44:57 +01:00
Tahir Akhlaq
ba13d5798d
derp
2016-06-15 00:08:05 +01:00
Tahir Akhlaq
335a59204c
Merge branch 'master' of https://bitbucket.org/Ioncannon/ffxiv-classic-server into method_casing
...
# Conflicts:
# FFXIVClassic Map Server/CommandProcessor.cs
# FFXIVClassic Map Server/WorldManager.cs
# FFXIVClassic Map Server/actors/area/Area.cs
# FFXIVClassic Map Server/actors/area/PrivateArea.cs
# FFXIVClassic Map Server/actors/area/Zone.cs
# FFXIVClassic Map Server/actors/chara/npc/Npc.cs
# FFXIVClassic Map Server/common/Utils.cs
# FFXIVClassic Map Server/dataobjects/ConnectedPlayer.cs
2016-06-14 22:54:02 +01:00
Tahir Akhlaq
24f55139dd
mass replaced all methods to pascal case
2016-06-14 21:29:10 +01:00
Tahir Akhlaq
ed0a0a58f7
added nlog logging (todo: custom logger for packets)
2016-06-14 19:06:55 +01:00
Filip Maj
a4ea5f024b
Merge branch 'actor_instancing' into develop
...
# Conflicts:
# sql/gamedata_actor_class.sql
2016-06-12 18:52:30 -04:00
Tahir Akhlaq
c23f9c7ca9
PROJECT: added common library to make common files actually common
...
- renamed sln to FFXIVClassic.sln
- threaded logging
- todo: print packets using Log.Packet
2016-06-12 20:12:59 +01:00
deviltti
1c712c7533
Cleaned up LogFile and ByteArrayToHex utils.
2016-06-10 19:58:01 -04: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
fc51b7f564
Modified scripts to work with new system.
2016-05-29 16:03:24 -04:00
Filip Maj
f0ec2125ac
Found out the second weather packet value is a transition time.
2016-05-09 22:19:57 -04:00
Filip Maj
8df79c9e6f
Modified the SetWeatherPacket. Second value is a toggle for instant or smooth transitions.
2016-05-09 20:48:18 -04:00
Filip Maj
d989ec2a58
Added two callbacks to the Director; onTalked and onCommand. Split the command and event starts and keep track of them separately.
2016-04-14 08:30:21 -04:00
Filip Maj
108f5aa677
Fixed crash due to bad constructor for QuestDirectorMan0L001. Unsigned integers will also write out as lua 0-datatype.
2016-04-11 22:49:05 -04: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
6c3918ac2f
Got the kick event packet working and implemented the director parameter in the player instantiation. The first argument of the set event status packet is an "isEnabled" flag; switched to bool rather than int.
2016-04-01 23:24:14 -04:00
Filip Maj
a30311d12a
Added director related code to player and packet processor. Cleaned up some debug messages. Added a flag when a player is "zoning in".
2016-03-28 11:31:21 -04:00
Filip Maj
2048d8d188
Implemented a intra-zone teleport. Trigger Name is now sent to to the "eventStart" lua callback. Lua scripts can now access world manager.
2016-03-20 21:18:46 -04: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
73732ac542
Fully implemented Lua Param Data Type 9.
2016-02-13 16:39:33 -05:00
Filip Maj
1f3cd8eaf3
Added the two new datatypes to get the inventory commands to parse properly.
2016-02-13 16:33:33 -05:00
Filip Maj
c83b4a12b9
Added the game message packets. Fixed "canRideChocobo" param in zone not working. Added a lot more function for lua to access. Various minor changes.
2016-02-03 00:45:11 -05:00
Filip Maj
fe69f069ea
Lua Parameter type 0 is now signed int. Type 1 in unsigned int. ShopSalesman script uses signed.
2016-01-31 12:23:12 -05:00
Filip Maj
5c8277fbb9
Redid the database, actor_class and npclist was combined. Added commands to the lua engine. Script will default to a PopulaceStandard if no script detected to avoid crashing. Static Actors now loaded from the static actors file.
2016-01-28 23:24:20 -05:00
Filip Maj
789df97d48
More static actors loaded and can be accessed anywhere. Improved lua scripting to allow small talk.
2016-01-25 01:10:43 -05:00
Filip Maj
300748668f
Removed NLua and replaced it with MoonSharp. Scripting for NPCs has been implemented, but still have to test a lot.
2016-01-24 17:11:35 -05:00
Filip Maj
ea6b1e33c7
NPCs now spawn and load template from the db.
2016-01-20 23:18:10 -05:00
Filip Maj
d90dc0cb80
Redid the initial handshake code to handle the found connection type field. Server should no longer create two player objects and code has been reduced. Removed instances of connection1/2 getters... server simply sends packets down zone connection. Fixed issue with world manager not zoning in player due to missing 0x2 packet.
2016-01-19 21:47:59 -05:00
Filip Maj
1c845e62e3
Implemented WeatherDirector , ZoneMaster, and WorldMaster in code. Zone objects has become the ZoneMaster actor object.
2016-01-16 23:03:04 -05:00
Filip Maj
c9f35a207b
Fixed up warping with new values for SetActorPosition packet. The script instantiation packet is done and implemented. Player init is done except for parameters.
2016-01-09 18:52:23 -05:00
Filip Maj
360d72b376
Implemented the player portion of the new actor system.
2016-01-02 18:17:03 -05:00
Filip Maj
b839a281cf
Forgot additions to LuaUtils that Instantiate packet uses.
2016-01-02 14:05:03 -05:00
Filip Maj
734a3f4e7f
Added implementations of the event receive/send packets. Added lua scripting stuff. Added some utils.
2016-01-01 14:04:44 -05:00