ScriptCraft

ScriptCraft

14.6k Downloads

1.7.2 compatability

kzap opened this issue ยท 1 comments

commented

I try to run in 1.7.2 because our clients can only be 1.7.2 and I can't use a lot of functions like box() etc.

I get the ff errors at startup:

$ ./start.command 
Please wait while the libraries initialize...
Starting: CanaryMod 1.7.2-1.0.0
Registered xml Database
Scanning for plugins ...
Found 1 loadable plugins. Attempting load...
[16:30:13] [CanaryMod] [INFO]: Starting: CanaryMod 1.7.2-1.0.0
[16:30:13] [CanaryMod] [INFO]: Registered xml Database
[16:30:13] [CanaryMod] [INFO]: Scanning for plugins ...
[16:30:13] [CanaryMod] [INFO]: Found 1 loadable plugins. Attempting load...
[16:30:14] [net.minecraft.server.dedicated.DedicatedServer] [INFO]: Starting minecraft server version 1.7.2
[16:30:14] [net.minecraft.server.dedicated.DedicatedServer] [INFO]: Loading properties
[16:30:14] [net.minecraft.server.dedicated.DedicatedServer] [INFO]: Generating keypair
[16:30:14] [net.minecraft.server.dedicated.DedicatedServer] [INFO]: Starting Minecraft server on *:25565
[16:30:14] [CanaryMod] [ERROR]: Failed to transfer lang file for locale: de_CH
[16:30:14] [CanaryMod] [ERROR]: Failed to transfer lang file for locale: la_LA
[16:30:14] [CanaryMod] [INFO]: Enabling Plugins...
[16:30:14] [ScriptCraft] [WARN]: alias plugin is not yet supported in CanaryMod
[16:30:14] [ScriptCraft] [ERROR]: Plugin /Users/andremarcelo-tanner/Public/Minecraft Data/canarymod/scriptcraft/plugins/arrows.js Error: Error executing module /Users/andremarcelo-tanner/Public/Minecraft Data/canarymod/scriptcraft/plugins/arrows.js line #657 : Error executing module drone line #657 : Error executing module utils line #657 : values is not a function, it is sun.org.mozilla.javascript.internal.NativeJavaPackage.
   var cmStatistics = Packages.net.canarymod.api.statistics.Statistics;
>   var values = cmStatistics.values();
   for (var i = 0;i < values.length; i++){

 Drone.MAX_VOLUME = 1 * MILLION;
> Drone.MAX_SIDE = 1 * THOUSAND;


 undefined
> undefined

[16:30:14] [ScriptCraft] [WARN]: commando-test not yet supported in CanaryMod
[16:30:14] [ScriptCraft] [WARN]: commando plugin is not yet supported in CanaryMod
[16:30:14] [ScriptCraft] [ERROR]: Plugin /Users/andremarcelo-tanner/Public/Minecraft Data/canarymod/scriptcraft/plugins/drone/contrib/castle.js Error: Error executing module /Users/andremarcelo-tanner/Public/Minecraft Data/canarymod/scriptcraft/plugins/drone/contrib/castle.js line #80 : Cannot find function extend.
 }
> Drone.extend(castle);
 })
commented

Have you tried using an older version of ScriptCraft? I'm probably not going to be able to support backward compatibility back to 1.7.2 - ScriptCraft is - strictly speaking - a side project and I don't know how much time I can give it to support older versions.