Commit Graph
15 Commits
Author SHA1 Message Date
AconiteX 70fc8d9af1 Script Class Loader Refactor
This bug-fixes a few things and replaces some stuff:

* The old defaultLoad TreeSet where you needed to manually add each script to the default load list has been replaced with a dynamic solution so modifying this in the future each time a base script class is added should be unnecessary (also it's an immutable HashSet now because there's no reason for it to be a TreeSet).
* Likewise, adding inner classes (and enums) to library scripts not in the default load should no longer fail to load during the normal loading process nor should it cause ClassNotFound/NoClassDefError/NoSuchMethodException errors.
* Fixed a bunch of raw use of parameterized class warnings.
* Set DEBUG = true for native java logging API to log everything happening here since it's a bit awkward to try and log through base_class.LOG when we haven't loaded it yet, so a tiny custom logging implementation has been added.
* Cleaned up so it's a bit more readable and easier to customize how we were checking if a class was from Java/JDK for the default load process, and also flagged that if you need to add custom libraries, you can just throw the class prefix into the new array and then include the lib in whatever you're doing.
* Switched RandomAccessFile.read() to .readFully() since that is available now and it does the same thing as what we were doing but more clearly.
2021-08-28 15:21:33 -04:00
AconiteX aae953a7e1 Gender Enum Refactor 2021-06-27 01:46:50 -04:00
AconiteGodOfSWG 1ea3235d29 Add GCW Leaderboards 2021-04-09 20:14:35 -04:00
TekaohandGitHub 5c2e112349 Java 11.0.2 migration (#32)
* Code compiles - execution NOT tested

* updating gitignore

* Removed intellij settings files

* Removed more intellij files

* Added exclusion for JDK classes.

* Fixed purchasing script for vendors that have listed coin types.

* Updated script to not kick off until the entire preload is complete.

* adds static name entry for Solo movie poster and tcg9 vendor entry

* clean up empty and orphaned object templates

* adds placeholder black market (static) spawns

* corrects entries for the video game table to correctly set it in tcg series 2 and remove series 1 console errors

* Updated gitignore and removed intellij project files

* Fixed appearance reference for thranta payroll and kashyyyk door, added skipLosCheck objvar due to cannit see issue. Requires updated src

* Fixed appearance and template for terminal (#2)

* Fixed appearance and template for terminal (#3)

* Fixed appearance and template for terminal (#4)

* Deleted another faulty/orphaned object template

* Fixed gcw ranks option on frog. Only issue is that it doesn't award the officer commands or badges.

* Fixed some unneeded java 11 changes
2019-04-18 18:31:52 -05:00
CekisSWG dbe08f311e Import cleanups 2018-06-07 00:32:29 +01:00
Cekis 50cb6362e4 Fixed merge issues. 2018-03-26 01:21:00 +01:00
Alan ElliottandCekisSWG a72a84cef8 temp.txt deleted online with Bitbucket 2018-03-23 16:29:56 -07:00
SWG SourceandCekisSWG f52aebcfb1 temp.txt created online with Bitbucket 2018-03-23 16:07:37 -07:00
DarthArgusandCekisSWG 96558529eb fix dumb warning and remove junk file 2018-03-23 15:45:19 -07:00
DarthArgus 1486c84de2 disable some debug flags by default...most importantly, add the scriptListLoadUnload [GameServer] flag, which toggles the "script_class_loader" spam on and off 2016-07-20 00:01:54 +00:00
Cekis 4f36fcd54a Fixed crafting for Java 8. 2016-05-09 02:26:11 +01:00
DarthArgus d2f4ba05c1 check if file is null to avoid nullptr 2016-04-02 16:11:46 +00:00
DarthArgus b74d58722c some simple cleanups for the script_class_loader.java 2016-04-02 03:03:11 +00:00
Redacted by Stellabellum INC 4ca8da7c31 Removed unnecessary references and cleaned up scripts. 2015-01-18 02:05:57 -08:00
Redacted by Stellabellum INC 485a019196 Initial commit. 2013-09-10 23:17:15 -07:00