Commit graph

23 commits

Author SHA1 Message Date
OptimShi
dd8ab66198
Dat file iteration checking (#2992)
* Added dat file Iteration checking to server files
* Handled DDD_InterrogationResponse to check clients connecting for up-to-date dat files and display a warning upon login.
* Use command "modifybool show_dat_warning true" to show warning to clients upon login.
* Fixed ACE.Server.Network binaryReader.Align() function.
2020-05-23 10:23:45 -07:00
Mag-nus
4d650bc8f9
Cleanup log.Info level messages (#2217)
* Cleanup log.Info level messages

Log.info is the default console output and is intended for:
server startup
connection/disconnections
admin initiated command output
server shutdown

Log.Debug is the appropriate level for debug-type messages that are to be logged and audited at a later date, but not output to the console.

* Missed a couple

* Move HandleSalvaging from Warn to Debug

* Add some tags

* Couple more

* remove space between tags

* Update the log4net examples

* fix message

* Add requested tags

* more tags
2019-08-30 19:25:35 -05:00
gmriggs
dbaaec0ce3
Fixing monster retired skill #s (#1817)
* Fixing monster retired skill #s

* moving AddRetiredSkills
2019-04-28 01:30:45 -04:00
fartwhif
e142a863bc Configuration file change from JSON to JavaScript (#1404)
* Changing configuration file format to JavaScript instead of JSON for the ability to embed comments, Backwards compatible, ACE.Server project pre-build renames Config.json to Config.js when needed, but if that never happens it's still OK and falls back to the old filename.
Changed startup batch files to determine what the current directory should be and change to it before starting ACE

* fixed

* move config old to new filename upon program start
2019-02-16 16:27:46 -05:00
gmriggs
4c7eceaea8
Adding house deeds, purchase requirements w/ config options (#1426)
* Adding house deeds, purchase requirements w/ config options

* Changing AllegianceMinLevel to optional config prop
2019-02-07 16:39:30 -05:00
Mag-nus
abb17b464a
Fix HighRes and Langauge dats to use base DatDatabase class. (#1113) 2018-12-02 13:46:01 -06:00
gmriggs
b215a34ce7
Improving DatLoader for third-party apps (#1092)
* Improving DatLoader for third-party apps

* Adding some missing filetypes (thanks OptimShi!)

* Adding more enums, using SmartArray

* Re-adding loadCell

* Reverting to UInt32
2018-11-22 01:33:17 -05:00
Mag-nus
23100087a8
keepOpen option added to DatDatabase FileStream (#1097) 2018-11-20 07:45:09 -06:00
OptimShi
dcf9e82f10 Dat fixes (#848)
* Fixed some dat reading related errors.

* Adjusted AnimationPartChange and added second implementation of Unpack

* Small fix to highres/language dat reading to handle errors cleaner

* Updated highres/language dat loading logic, removed exceptions entirely
2018-07-05 15:09:20 -05:00
OptimShi
cad0e661d0 Dat updates (#847)
* Fix Replace Animation Hook

* SoundTable

* Numerous Dat Updates

* Added highres and language export commands
2018-07-05 07:50:42 -05:00
Mag-nus
99fb8bcc55
All this does is cleanup a bunch of style issues that Resharper complains about (#629)
* Removed unused using statements

* Removed redudnant ToString()'s

* Removed some redundant type casts

* Removed redundant bool comparisons

* remove redundant initializers

* xml summary in invalid place switched to comments

* Use string interpolation

* use format separators

* Removed redundant parenths

* remove redundant else

* direct cast when safe

* redundant string interpolation

* xml summary fixes

* removed empty ctors

* fix modifier order

* Convert to auto property

* Convert some getters to method bodies

* use format separators

* changelog

* Auto-properties that can made to get-only

* fixed some references in XML comments

* remove redundant base()

* Revert "Auto-properties that can made to get-only"

This reverts commit 32a1225ce8.

* fix starter gear json

* Use collections count property

* simplify conditional ternary expression

* remove redundant return statements

* Constructors for abstract classes changed to protected

* Moved declarations to inner scopes

* Join declaration and assignments

* inline out variables

* Use enum extension methods instead of static methods

* inline out more variables

* more unused usings

* Remove specifying enums as ints
2018-02-09 06:46:49 -06:00
Mag-nus
3502e699b9
ACE.DatLoader and ACE.DatLoader.Tests improvements (#614)
* ACE.DatLoader: XpTable updated

* ACE.DatLoader physics and environment using new unpack pattern

* ACE.DatLoader ContractTable updated to IUnpackable

* ACE.DatLoader EnvCell refactored to new IUnpackable

* Update PackableExtensions.cs

* ACE.DatLoader This removes the loc object

Before I proceed with further refactoring, I want to add some datloader tests...

* Looks like it didn't catch all my changes...

* ACE.DatLoader and ACE.DatLoader.Tests improvements
2018-02-03 17:54:07 -06:00
Mag-nus
6fe177a600
ACE.DatLoader refactoring (#594)
* Change >> 1) & 1 to & 2

Cosmetic change pointed out by Rawaho.

* Better fix of the Portal Flags in the dat code

* ACE.DatLoader refactoring

This new code format uses extention methods to re-use code. It allows decouples object unpacking from DatReader and reduces the dependancy to a simple BinaryReader.

* Forgot to remove the temp StarterAreas code from the transition

* Some files were ignored, not sure why. This should fix
2018-01-23 04:02:39 -06:00
OptimShi
eda966f4e6 Added MotionTable parsing and relevant dat classes (#489) 2017-08-10 10:33:26 -04:00
Charles
6f272fd9cd Fix CIRand admin function. (#397)
* Support multiple getlist.

* Commented too much oopisies.

* WIP

* wip

* Working on exercising inventory creation.   Have a bug that is causing client to crash.

* Fixed alignment bug at hooktype.   Added priority to aceObject and set it in debugObject.

* Fixed file location error.

* God help me - I can't type or read it seems.   I think I have this right now.

* Update 02-06-19-2017-vw_weenie_class.sql

* Made requested changes.

* Found style cop error

* Ugh - that was hard to find.   I think this got it.   When I killed cell in postion, it was still used in the view.

* Update 03-06-20-2017-vw_ace_object.sql
2017-06-20 13:17:22 -04:00
Mogwai-AC
b08cee50c5 testing stylecop build breakage 2017-04-04 15:25:38 -04:00
fantoms
c066c1b026 Dat Path Updates (#164)
* Updated example DatFileDirectory with a trailing slash at the end of the value

* Added Path.Combine to DatLoader
2017-03-22 11:15:34 -04:00
fantoms
582f36ae55 Added linux compatibility to Charts (#159)
Added linux compatibility to ConfigManager

Added linux compatibility to Dat Loading
2017-03-22 00:49:18 -04:00
Lurker McDoogle
b4640e84c9 code review feedback, changed thread model 2017-03-17 09:10:48 -04:00
Lurker McDoogle
b04510988e rebased to include Mag's changes 2017-03-17 08:37:34 -04:00
Mag-nus
7509022201 * basic landblock implementation
* reverted unintentional changes
* object factories, log4net, and various refactorings.  still getting stuck in portal space occasionally.
* rebased with latest changes, add removal of players from landblocks upon logout (i think)
2017-03-17 08:37:34 -04:00
lurker-mcdoogle
1faa88b3b6 * improved cell.dat and portal.dat exporting, created admin server commands for them as well as unit tests that can be uncommented. (#127)
* bug fix in DatFile with the FileOffset being wrong.  started detailed documentation on dat file contents.
* worked on some object parsing.  found a bunch more object types in the client - now categorizes ALL portal files.
2017-03-15 08:12:21 -04:00
kdmxp256
c7653a3c81 Add DAT loading into main process (#107)
* Add DAT loading into main process

* Hard-code DAT file names, change config option to only contain file path, without filename, and condense to one config option, and add file that was missing in first commit

* Modified .Initialise() function into a static constructor that has getters for retrieving Dat data

* Fix indent on comment in Config.json.example
2017-03-06 20:30:50 -05:00