Filip Maj
9fd0e96b0e
Added AGPL license to the whole codebase. All other devs who's code is in the project as of June 2019 came to agreement that they were fine to add this license to the project; Demo, Devi, Jorge, Azia, Shozokui, Dude22072.
2019-06-17 23:21:36 -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
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
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
Filip Maj
7c4091a196
Finished refactoring Map Server. Clear of syntax errors.
2017-06-27 16:55:14 -04:00
Filip Maj
2d7d10a417
Renamed Item dataobject to ItemData. Added guildleve data.
2017-06-24 14:12:52 -04:00
Filip Maj
ad88c0b28a
Added a work value change function for testing.
2017-01-24 09:06:28 -05:00
Filip Maj
58fda93b45
Began working on server zone changes.
2016-09-26 16:20:01 -04:00
Filip Maj
cf38454c8f
Cleaned up a lot of the "ConnectedPlayer" objects, turning them into "Session" objects. A lot of duplicate lists were also removed.
2016-08-29 12:37:41 -04:00
Filip Maj
6bffe69b21
More work on the world server. Modified map server to communicate with it.
2016-08-29 08:17:14 -04:00
Filip Maj
c67f74130f
Moved packet structures to common.
2016-08-22 10:43:04 -04:00
Tahir Akhlaq
065fe05795
fixed import script, improved db import times, fixed logging and warp command (should be 5000% legit now)
...
- improved import times for gamedata tables (there's prolly other innodb tables too, i didnt check though)
- fixed issue where player wouldnt be readded to zone on warping if destination wasnt valid
- corrected typo in warp command lua description
- added logger for lua cause i forgot to last time
2016-07-27 17:23:52 +01:00
Filip Maj
136ced3aae
Added all the shop keeper scripts in Ul'dah. Fixed some broken populace scripts. Changed .ini files, wrong default. Fixed a syntax error in CommandProcessor.cs.
2016-07-16 20:12:04 -04:00
Tahir Akhlaq
30b0d4a97d
implemented sendpacket and speed commands
...
- fixed data race on logging in
- todo: implement reloadzones, reloaditems, property, property2
2016-06-24 20:52:30 +01:00
Tahir Akhlaq
37d91480f9
Merge branch 'master' of https://bitbucket.org/Ioncannon/ffxiv-classic-server into lua_commands
...
# Conflicts:
# FFXIVClassic Common Class Lib/packages.config
# FFXIVClassic Lobby Server/Program.cs
# FFXIVClassic Map Server/CommandProcessor.cs
# FFXIVClassic Map Server/Program.cs
# FFXIVClassic Map Server/actors/Actor.cs
2016-06-18 05:59:42 +01: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
57b9d5ab99
start of work moving commands to lua
2016-06-17 02:44:57 +01:00
Tahir Akhlaq
ac01224769
fixed derps causing client/server crashes
2016-06-16 03:49:58 +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
fec348136e
Merge branch 'master' into develop
...
# Conflicts:
# FFXIVClassic Map Server/CommandProcessor.cs
2016-06-12 18:51:24 -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
f0ec2125ac
Found out the second weather packet value is a transition time.
2016-05-09 22:19:57 -04:00
Filip Maj
b45390adb6
Fixed null worldManager due to it being set as a static variable at class creation.
2016-05-09 20:57:32 -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
TheManii
c02c09a237
Bugfixed with !test
2016-05-09 01:15:58 -04:00
TheManii
a99a348c36
Added !help entries for !test weather
2016-05-09 00:40:46 -04:00
TheManii
11a371f32b
Added !set weather <weathertype>and populated weather table
2016-05-09 00:23:35 -04:00
Filip Maj
541456bd8e
Fixed bug with warp. WorldManager cannot be statically stored like that.
2016-04-24 17:59:50 -04:00
TheManii
73d5b9fbf1
Use intra-zone warps for !warp relative
2016-04-11 14:33:18 -04:00
TheManii
02e9b52a02
Fix typo
2016-04-09 13:26:46 -07:00
TheManii
5c7ca212aa
2nd half of previous commit
2016-04-09 12:38:15 -07:00
TheManii
c38fbc0c09
*Revert ea1e16a
, should be done globally and not simply here
2016-04-09 12:35:29 -07:00
TheManii
06606c5f01
*Revert changes to worldmanager.cs, not needed anymore
...
*Made !warp silently catch all exceptions so they dont crash server/don't change player state if invalid
*Moved rest of !warp parsing logic into parseWarp(), doWarp() now purely handles actual act of warping
2016-04-09 12:27:04 -07:00
TheManii
2eb40a0d7c
Save player rotation for relative warps
...
Make !warp more robust with error handling
2016-04-09 11:28:21 -07:00
TheManii
21745a6aa8
Added relative warps
2016-04-08 00:48:34 -07:00
TheManii
33be97ea9d
Make CommandProcessor more robust
2016-04-07 22:22:31 -07:00
TheManii
ecc61ea5f9
Surrounded command chain with region boxes
...
Changed doWarp() to handle in implicit, in-zone only warps
Might have issues with instanced zones, untested
2016-04-07 12:25:28 -07:00
TheManii
4cf005467a
Moved most of the strings to external resource file
2016-04-06 19:55:12 -07:00
TheManii
cd8cb1acb3
Made give/removecurrency consistant with help description
2016-04-06 16:28:24 -07:00
TheManii
26f5e1be28
Fix spelling
2016-04-06 15:34:04 -07:00
TheManii
ea1e16aea7
Make Getters more case consistant
2016-04-06 15:29:24 -07:00
TheManii
cdcdd6a584
Split off ingame commands from server
2016-04-06 15:22:26 -07:00