View Single Post
  #66  
Old 11-19-2004, 12:40 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
We are currently testing the new scripting engine and new mudlib with Graal Kingdoms (on hidden server "Scriper Server"). Those are the incompatibilities which I have seen yet:

- this.timeout, this.x, this.y etc. are mapped to timeout,x,y in the new engine, while in the old engine they are normal variables; this is not simple to fix, so it would be better if the scripts are fixed, the npcserver could eventually give a warning if such variables are found when compiling the script

- if (x,y in |0,64|) doesn't work because the comma makes problems; it would be better to write if (x in |0,64| && y in |0,64|)

- function SetAni() { setani sword,; } doesn't work, because "setani sword,;" is internally converted to "setani("sword","")" and function names are case-insensitive, so it would either cause an "endless" loop (if it is allowed to overwrite default functions, like it is currently), or calls to SetAni() wouldn't work because it would call the default function (if overwriting of default functions is not allowed); in the old engine it was not a problem because functions and commands were handled differently
Reply With Quote