Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[v111] - Lidium

Newbie Spellweaver
Joined
May 11, 2021
Messages
63
Reaction score
2
He said he will make a fix and update. I miss 117.2 as well, I doubt anyone will feely make a working version on W10. But someone with the right knowledge could use this 111 and update it to 117.2. I am sure you can compare the working v111 with W10 to the non-working version of 117.2 and see why it is the way it is. I am still working on the engine part :/

Edit: After reading graalvm has a script engine not sure why mine isn't working. I complied my lithium.jar in neatbeans with all the files in the graaljs folder. What am I missing?

AbstractScriptManager.java reads as follows :

try { path = "scripts/" + path;
ScriptEngine engine = null;
if (c != null) engine = c.getScriptEngine(path);
if (npc) System.out.println(path);
if (engine == null) { File scriptFile = new File(path);
if (!scriptFile.exists()) return null;
engine = sem.getEngineByName("graal.js");
if (c != null) c.setScriptEngine(path, engine);
fr = new FileReader(scriptFile);
engine.eval("load('nashorn:mozilla_compat.js');" + System.lineSeparator());
engine.eval(fr);
} else if (c != null && npc) { c.removeClickedNPC();
NPCScriptManager.getInstance().dispose(c);
c.getSession().write(CWvsContext.enableActions());

So, it points to graal.js but why is it null? not an expert mind you.



Specifically it calls an error at engine.eval("load('nashorn:mozilla_compat.js');" + System.lineSeparator());
I looked it up and to use this you need to enable
System.setProperty("polyglot.js.nashorn-compat", "true");
Will have to see what OP says since he's way better at java than me.
 
Last edited:
Newbie Spellweaver
Joined
Mar 15, 2021
Messages
46
Reaction score
10
sfbgxcbxcb
 
Last edited:
Newbie Spellweaver
Joined
Mar 15, 2021
Messages
46
Reaction score
10
sfbgxcbxcb
 
Last edited:
Newbie Spellweaver
Joined
May 11, 2021
Messages
63
Reaction score
2
Can confirm that the changes made are working and I am playing on the server messing around with it. NOTE: The only flaw I saw was that someone changed in database properties password to be "root" make sure you match up your DB properties with your mysql password. (also in serverconstants.java)
 
Newbie Spellweaver
Joined
Mar 15, 2021
Messages
46
Reaction score
10
sdgbxcbxcb
 
Last edited:
Newbie Spellweaver
Joined
Mar 15, 2021
Messages
46
Reaction score
10
dsgxcbxcbxbc
 
Last edited:
Newbie Spellweaver
Joined
Mar 15, 2021
Messages
46
Reaction score
10
bxbxcbxcb
 
Last edited:
Initiate Mage
Joined
Aug 21, 2021
Messages
1
Reaction score
0
Good "Encryption method for registration modified to be compatible with the latest MapleBit" :blink:
 
Newbie Spellweaver
Joined
Mar 15, 2021
Messages
46
Reaction score
10
dsgcxbxcb
 
Last edited:
Back
Top