Creation/Dev/Releases/Client/5.006
From Graal Bible
Release date
July 13th 2007 for Mac, Linux and Windows
New Features
General
Translation System
GUI
Graphics
Sounds
Scripting
Bug Fixes
- General bugs
- fixed a problem that crashed the client on serverswitch when still having PMs on the player list from players that already logged out
- when downloading files with the scripted RC into the Graal folder then it is using the correct path and is not moving the file to the level/images/download folder anymore
- fixed a problem with defaultmovement where the player was not moved on the map when the player was moved by script
- on vista it doesn't display a runtime error when you close the program anymore
- Script engine bugs
- fixed the script garbage collector (deleting unused/unlinked TStaticVar)
- showimgs/findimgs that are attached to the player via attachtoowner=true are correctly synchronized to the player position (and don't lag behind)
- hideimg() is not crashing the engine anymore if it contains gani scripts
- the destroy() function for GuiControls and TStaticVar are not causing crashes anymore, but the objects are disappearing from scripting so you can correctly recreate them
- fixed a problem with the random function - int(random(0,upperlimit)) was sometimes returning 'upperlimit' due to rounding if a floating point value is very close to an integer value - the random() function is now preventing that the result is identical to the upper limit
- fixed a script problem where "-" was seen as number (-1)
- fixed a crash when returning a temp. array from a suspended function (sleep/waitfor in a public function)
- fixed the modulus operator 'a % b' for the case that a is negative and b is high number (>10000), previously it was giving a negative number which should not happen (-3 % 100000 should give 99997)