- Joined
- Mar 12, 2009
- Messages
- 472
- Reaction score
- 59
Hi All,
I would like to share or make brain storming about source compiling, the source without data coming from [RELEASE] UPDATED 02-12-2018 Source and Server No Data No Client.
and my development environment:
- JDK1.8.0_152 64bit
- minimal-json-0.9.4.jar
and changed some code of AIScriptLoader.java from (original)
to
and it compiled completely successful without any warning or errors.
then it ran smoothly
View attachment heBHPZl.gif
Is this really OK? i am not sure since i am still new on this game and playing normally till level 10 :
I would like to share or make brain storming about source compiling, the source without data coming from [RELEASE] UPDATED 02-12-2018 Source and Server No Data No Client.
and my development environment:
- JDK1.8.0_152 64bit
- minimal-json-0.9.4.jar
and changed some code of AIScriptLoader.java from (original)
Code:
JsonObject object = JsonObject.readFrom(readFile(AIServiceProvider.getInstance().getAiPath(
reference.getAiOwner().getTemplate().getAiScriptClassName()
), StandardCharsets.UTF_8));
to
Code:
JsonObject object = Json.parse(readFile(AIServiceProvider.getInstance().getAiPath(
reference.getAiOwner().getTemplate().getAiScriptClassName()
), StandardCharsets.UTF_8)).asObject();
and it compiled completely successful without any warning or errors.
then it ran smoothly
View attachment heBHPZl.gif
Is this really OK? i am not sure since i am still new on this game and playing normally till level 10 :
Attachments
You must be registered for see attachments list
Last edited: