![]() |
Graal v4.04 released
A new (major) release of Graal v4 has been uploaded, get it by connecting to the server list. The Mac version will follow in a few minutes.
This new version fixes a lot of problems with particle effects, those are needed for the new spells on Graal Kingdoms. There are also several new functions for sounds and for the new scripting engine in general. In the options window on Windows you will find new options for light effects and similar, they are not the same like in v2 though - scripters must decide if they show the effects, by disabling those things in the options you are just specifying that you don't want to see those effects, it is not actually disabling them. PS: v2 will finally be disabled in a few days Crash fixes: - fixed a problem with crashing when someone is connecting from another server and having a statusicon which is not existing on the current server - fixed division by zero error when a tiled GuiBitmapCtrl has no image or the image has not been loaded yet - gani scripts cannot call destroy() on npcs anymore Other fixes: - it is displaying an error now when the connection to the Graal 3D server timed out - it is using the particle size for clipping the particles (which fixes problems with huge particles) - particles are displayed even if the object is moving out of screen - this currently only works for moving npcs (e.g. spell missiles) - the 'continueaftedestroy' flag for particle emitters is also working on gmaps now - the showimg attachoffset variable is working correctly now - gani-ROTATEEFFECT is fixed on gmaps - weapon timeouts are executed before gani timeouts so that things like custom chat text display work better - terrain levels are not having gaps anymore - disabling UDP also disables microphone support - the font tempus sans itc is automatically installed - fixed the "&" character in urls retrieved with requestURL, it is also sending the host and client for better compatibility with web servers, also requestURL is working on Linux now - the script event "actionclientside" is cached now in case the destination weapon is not loaded yet - findplayer(accountname) is returning the client if both client and RC are online - Graal3D textures take less memory in the video RAM now - the game is not freezing when a mp3 or radio stream is starting New/Improved: - script variables npc.isblocking, level.width, level.height, npc.npcsindex, player.playersindex, defaultfontname - npc.isblockingprojectiles flag for letting blocking npcs pass particles (not working for non-blocking npcs yet, which never block projectiles) - new script function findnpcbyid(id) - signs can be scrolled via mouse click - optimized levels/maps with many npcs - new options: lighteffectsenabled, weathereffectsenabled, particleeffectsenabled - those options don't change the engine itself though, they are only a help for scripters so they can enable/disable effects if possible; those variables are also accesible by the old scripting engine - script functions getMusicTags() (returns array) and getMusicStatus() (returns string) for knowing more about the currently played music - script event onMusicDataReceived(dataname,datavalue) for getting the title and artist of an internet stream (the stream server is sending this all few seconds) - playlooped2(soundfile,x,y,volume) Sound examples: PHP Code:
Released 4.04 revision 1, which fixes the problem with actionclientside in old scripting engine. Added scripting functions: - getimgpixel(imagefile,x,y) - returns an array of {red,green,blue} - isimgpixeltransparent(imagefile,x,y) - isimgrectangletransparent(imagefile,x,y,width,heig ht) Update: Forgot to mention that v4.04 also fixes the message bug on Graal Kingdoms |
Stefan: A bug with the new version that I didn't have a chance to talk to you about: When you connect to a Graal3D Server, then connect to another server (I went from Graal3D to Kingdoms) the files all redownload and some emoticons don't work. To fix it you have to delete the FILENAMECACHE.txt file.
|
That is not related to the new version, please repost as a new thread.
|
Nice updates, but I have noticed a problem with the scrolling through say2 windows.
Say you have another window selected, and you have a sign on-screen. If you focus on Graal, the sign is scrolled and it can't be read! Could you make it only scroll when the window already has focus? |
Quote:
|
Stefan, in regards to implementing the new movement and damage on Classic that is now possible, it's going to be difficult if the NPCs joined to classes on the gmap won't update or clear.
|
playlooped2!!! yay.. thats one of the fastest turnaround time for new things ive seen.. considering i suggested this LAST night on RC lol
|
Quote:
|
Quote:
|
It seems that a bug came alone with this new v4 release that has somewhat cripled Maloria. Using a test script as the one shown below, it can be shown that actionclientside was not called at all.
PHP Code:
Edit: This script was run on both Maloria and N-Pulse (both non-gs2-enabled servers) and failed to arrive at "clientside called!". However, when it was run on #gscript (a gs2-enabled server) it did arrive at "clientside called!". Maloria and N-Pulse: WEAPONNPC *Test #gscript: WEAPONNPC Zelph_MaloriaProblem2 |
hmm... do triggerclient and triggerserver work?
|
Quote:
And if you're so curious, why not try it yourself? |
Quote:
forget about Era.. think about the noobs on UN! |
Maybe there is a way to have people who try to log on with v2 to have it say "Your Graal version is out of date! Please update to version 4 from the website!" or something.
|
Quote:
|
Quote:
|
Quote:
Quote:
|
Quote:
|
Quote:
|
Ok will check trigger client thing on Monday, sorry for the problems.
|
Quote:
|
Fixed that problem, try now
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
player.triggerclient("weapon",eventandparams...)
triggerserver("weapon",eventandparams) Instead of "weapon" you can also type "gui", the parameter "npc" is not supported yet (only on Graal 3D) |
Quote:
|
Quote:
|
I can't download V4.04 In the update tab it says I have V4.03, and the current version is V4.04, but when I click 'upgrade' it says 'Files OK!'
|
You must have an older version of the Mac client, two versions ago we have made the announcement that the update thing was bugged on Mac and you need to download the new version via the website.
|
Quote:
Can I just replace the application, and the EXEreplacer? Edit: I broke graal :( It wont open now. edit2: fixed Edit C: Stefan, this also fixes my problem with the draisine on Graal Bomy Lands |
| All times are GMT +2. The time now is 11:28 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.