Fix: Path now retrieved at runtime (#309)
Update TableSchema to DOLServer 1.9.7.3886 (#308)
Fix clobbering CharacterClass data (#307)
* Fix clobbering CharacterClass data
Replace was clobbering a bunch of class data, leading to null exceptions.
* Changed to standard inline comments
Was not aware # comments were a MySQL specific thing. Oops.
Create UpdatedSpecMultipliers.sql (#305)
* Create UpdatedSpecMultipliers.sql
Updates spec multiplier to match current live values.
* Add CharacterClass Table
---------
Co-authored-by: NetDwarf <NetDwarf@users.noreply.github.com>
Co-authored-by: Lucas Falk <LRFalk01@gmail.com>
Add OldArchery (#304)
This was previously hardcoded in the server
Improved pve keeps (#303)
* Renamed, update server property
Renamed to fit other PvE customizations.
Now sets max_keep_level so keeps aren't capped at the default of 5.
* Added
A better PvE keep arrangement than Gaheris
Fix Charm Spell Types (#302)
AmnesiaChance determines which body types a Charm spell can charm, and several spells had incorrect types. As an example, all Mentalist pulse charm spells were limited to humanoids.
Co-authored-by: Lucas Falk <LRFalk01@gmail.com>
Fixed cl spells (#301)
* Corrected CL Spells
Corrected a variety of inconsistent and incorrect CL spells. Things like incorrect durations, damage values, icons, spell types, disciple buffs being out of order, etc.
This is based on 1.114, right down to the really inconsistent and superfluous DoTs.
* Update Spell.json
Corrected Disciple DoT 4 frequency
Add option -import-schema (#300)
* Simplify Table
Prepare JSON export of Schemata
* Restructure go project into packages
* Move table schemas to JSON
Use implicit defaults for columns if none is set
Replace Index.Columns with Index.Column (no slice)
Set tables static via _StaticTables.json
* Add utils.RootFolder()
* Retrieve table schemas from JSON
Remove hardcoded tables
Presort tables
Sort Table.Indexes by name
* Move to absolute paths
* Add db.Provider.GetAllTableNames()
* Add option -import-schema
Adjust README.md accordingly
Change instruction for contributors in README.md
* Determine unique indexes more reliably in SQLite
* Optimize implicit default retrieval
* Remove Config.ConnectionString
Init db.Provider in Config.GetDbProvider()
* Refactor
Move schema related structs into own package
Add QueryResult as a sql.Rows wrapper
Replace Config argument from tools methods with members
Replace containsString with slices.Contains
Extract Connection struct from db.Provider
Rename ReadTableSchema to ReadSchema
* Fix TEXT cannot have default value on MySQL by default
* Remove preset AutoIncrement value
Set AutoIncrement on column (bool)
It is automatically created when created/populated
* MySQL ReadSchema bugfixes
Thidranki BG : completion of the BG (#299)
Co-authored-by: DigitalBox98 <digitalbox098@gmail.com>