Creation/Dev/Releases/Client/5.006: Difference between revisions

From Graal Bible
(→‎New Features: Added Feature-sections)
Line 14: Line 14:


===Sounds===
===Sounds===
* playlooped() is updating the volume each time it is called depending on the distance to the player
* music files are now played non-looped by default when using the play() command, use playlooped() if you want to play a looped music or stream
* when the volume is zero then wavs and mp3s are not downloaded anymore
* downloaded wav files are automatically played (with the right volume and looping if requested)
* when a music file (mp3, midi etc.) is played but is not existing yet then it is automatically played once it is downloaded
* on Windows XP/Vista 64 bit it is by default not trying to use sounds because it freezes Graal, you can turn off this behaviour by setting "tryloadsoundson64bit=true" in the Graal options file - open game_config.txt with Wordpad


===Scripting===
===Scripting===

Revision as of 11:00, 15 July 2007

Release date

July 13th 2007 for Mac, Linux and Windows

New Features

General

Translation System

GUI

Graphics

Sounds

  • playlooped() is updating the volume each time it is called depending on the distance to the player
  • music files are now played non-looped by default when using the play() command, use playlooped() if you want to play a looped music or stream
  • when the volume is zero then wavs and mp3s are not downloaded anymore
  • downloaded wav files are automatically played (with the right volume and looping if requested)
  • when a music file (mp3, midi etc.) is played but is not existing yet then it is automatically played once it is downloaded
  • on Windows XP/Vista 64 bit it is by default not trying to use sounds because it freezes Graal, you can turn off this behaviour by setting "tryloadsoundson64bit=true" in the Graal options file - open game_config.txt with Wordpad

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)