Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » scripts.dll 3.3 is out
scripts.dll 3.3 is out [message #263280] Tue, 05 June 2007 08:00 Go to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

scripts.dll 3.3 is out.
Get it from http://www.sourceforge.net/projects/rentools/
changelog for scripts.dll 3.3:
Updated normal map shader so that fog now affects normal mapped objects
Updated display for various error message boxes so that they always
display on top of the game no matter what
Fixed an issue in GetColorVector4
Rewrote a part of the code that handles texture based fonts (i.e. font6x8.tga
etc) so that it no longer uses the slow crappy CopyRects Direct3D call
Partially cloned some of FontCharsClass to learn more about how the TTF file based
font code actually works. This code is never actually called and is incomplete and
untested. But it is there as an example of how the TTF based code does what it does.
Changed the other places that called CopyRects so that they no longer call CopyRects.
Added definitions of FontCharsClass, Font3DDataClass and Font3DInstanceClass to engine_3d.h
Added clones of Render2DClass::Update_Bias, Render2DClass::Reset, Render2DClass::Set_Coordinate_Range
and Render2DTextClass::Reset to engine_3dre.cpp
Cloned SurfaceClass and several SurfaceClass functions.
A few small cleanups to Render2DTextClass and Render2DSentenceClass
Added a new function Set_Shader_Number_Vector that is similar to Set_Shader_Number
except that it sends a Vector4 instead of an Int
Fixed an issue with INIClass::Get_Float.
Fixed an issue where the return value of various calls to RegQueryValueEx was
not being correctly checked for "registry key not found", this caused the wrong
default value to be used in various cases.
Fixed a major bug in the Vector3 add, multiply, subtract and divide functions
that was causing various graphical glitching with the normal map shader
New engine call void Set_Vehicle_Gunner(GameObject *obj,int seat); //set gunner for this vehicle
Fixed issues where the return value of Get_Phys_Definition was not being checked to see that
it was not NULL.
New engine call const wchar_t *Get_Wide_Player_Name(GameObject *obj); //Converts a GameObject into a player name
Fixed an issue in Get_Cost in engine_pt.cpp where it didnt work for alternates (i.e. with the little yellow
selection arrow)
New engine call char *Get_Team_Icon(const char *preset,unsigned int team); //Get the icon texture name for a given preset of a given team. Returns NULL if it cant find that preset in the PT data.
New engine call char *Get_Icon(const char *preset); //Get the icon texture name for a given preset. Returns NULL if it cant find that preset in the PT data.
Added Reset_Active to DynamicVectorClass
Fixed a bug in ShareBufferClass
Fixed a bug in Get_C4_Planter
New script JFW_Kill_All_Buildings_Customs which will kill all buildings for a given team after it recieves a certain custom a certain number of times
New script JFW_Message_Send_Zone_Player_Vehicle which is like JFW_Message_Send_Zone_Player except it only displays the message if the player is inside a vehicle
New script JFW_Credit_Grant which grants a certain number of credits to both teams every n time amount
New script JFW_Vehicle_Regen_2 which lets you set how much health to regen and how often to regen it. Other than that it works exactly like M00_Vehicle_Regen_DAK
New script JFW_Aircraft_Refill which, anytime an aircraft of a given team enters the zone with the script on it gives it a powerup
Fixed a typo in jmgrp2.cpp
Fixed some missing entries in the linux makefile
Updated the ExpVehFac scripts so that they handle vehicle alternates correctly
Updated the memory manager code to make it threadsafe
Updated the memory manager code to display the current thread ID in log files
New scripts for the RA:APB Missile Silo
New script for the Demo Truck to implement Friendly Fire
Updated the resource loading for shaders.dll to account for the fact that PIX is not threadsafe.
(and to provide a source option to disable the threaded loading if you need to)
Fixed a bug in ScriptFactory::SetNext
Fixed a typo in SCUD_Poke_Preset_Buy
Added error checking for the render target creation in shader_scene.cpp
Added support for loading "plugins" for shaders.dll. So you can write a plugin that will be loaded by shaders.dll
and can do a few things. Before you ask, NO, I will NOT be doing the same for scripts.dll Smile
Added a new hud.ini keyword ShaderCheckMaterial that lets you choose whether to use the material name or the texture name to match the shader name against
Fixed a bug in Calculate_CRC causing it to return zero for CRC32 (e.g. in crashdumps)
Updated the display of various things in crashdump.txt and d3derr.log to make it look better.
Updated Commands->Control_Enable to work over the network in multiplayer if the client has bhs.dll
Fixed an issue with alternate purchasing and the sidebar.
Added code so that if you assign alternates to vehicles in the purchase settings, you can actually purchase those alternates.
Added code to output the shader, shadow, vsync and antialias settings to sysinfo.txt
Changed the TTF file based font code so that really large characters wont be cut off anymore
New script JFW_Escort_Poke. Put this on a player object and they will follow whoever poked them last.
Added a function to send an integer from the shader code back to a script (similar to how keyhooks work).

Saberhawk will probably produce an installer for this very soon.

If you are reporting a bug, try upgrading to the latest drivers for your video card first as several people in the past have had bugs that went away
when they upgraded to the latest drivers for their card.
Also, please upload (along with any crashdumps), your sysinfo.txt and (if you have one) d3derr.log


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies

[Updated on: Tue, 05 June 2007 08:02]

Report message to a moderator

Re: scripts.dll 3.3 is out [message #263291 is a reply to message #263280] Tue, 05 June 2007 08:55 Go to previous messageGo to next message
IronWarrior is currently offline  IronWarrior
Messages: 2460
Registered: November 2004
Location: England UK
Karma: 0
General (2 Stars)
Wow that was fast.

Nice work. Very Happy

Will wait for the .exe Thumbs Up

Hmm, SF is down.. Sad

[Updated on: Tue, 05 June 2007 08:58]

Report message to a moderator

Re: scripts.dll 3.3 is out [message #263296 is a reply to message #263280] Tue, 05 June 2007 09:28 Go to previous messageGo to next message
Jonty is currently offline  Jonty
Messages: 538
Registered: June 2006
Location: Chesterfield, England
Karma: 0
Colonel
Viva la Resistance!
If people can write their own plugins for shaders.dll does this mean we might be seeing custom blooms and such? Very Happy
Re: scripts.dll 3.3 is out [message #263305 is a reply to message #263280] Tue, 05 June 2007 10:36 Go to previous messageGo to next message
Canadacdn is currently offline  Canadacdn
Messages: 1830
Registered: September 2005
Location: Temple of Nod
Karma: 0
General (1 Star)
PLECOS MASTER
jonwil wrote on Tue, 05 June 2007 10:00

scripts.dll 3.3 is out.
Get it from http://www.sourceforge.net/projects/rentools/
changelog for scripts.dll 3.3:
Updated normal map shader so that fog now affects normal mapped objects



Very Happy
Re: scripts.dll 3.3 is out [message #263307 is a reply to message #263305] Tue, 05 June 2007 10:50 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Good Job Jonwil, nothing like a fast release ^^

Re: scripts.dll 3.3 is out [message #263317 is a reply to message #263280] Tue, 05 June 2007 11:32 Go to previous messageGo to next message
Canadacdn is currently offline  Canadacdn
Messages: 1830
Registered: September 2005
Location: Temple of Nod
Karma: 0
General (1 Star)
PLECOS MASTER
Saberhawk asked me to post the EXE to install it, so here you go.


http://4camp.net/scripts33.exe

[Updated on: Tue, 05 June 2007 11:35]

Report message to a moderator

Re: scripts.dll 3.3 is out [message #263319 is a reply to message #263280] Tue, 05 June 2007 11:34 Go to previous messageGo to next message
Ghostshaw is currently offline  Ghostshaw
Messages: 709
Registered: September 2006
Karma: 0
Colonel
Errr where?

-Ghost-


BlackIntel Administrator
Re: scripts.dll 3.3 is out [message #263365 is a reply to message #263280] Tue, 05 June 2007 13:02 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

"*Multisample Anti-Alias 3x" still doesn't work, it crashes
Renegade at startup.

"*Shaders enabled*" doesn't work too, crash when you minimize
Renegade and then maximize it again. :/


When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Re: scripts.dll 3.3 is out [message #263490 is a reply to message #263280] Tue, 05 June 2007 18:35 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

If you are reporting bugs (especially crashes), things to try before you report them:
1.Make sure you are running the LATEST drivers for your video card. I CANNOT stress this enough
2.If you are running xfire, turn it off and try again. xfire has known issues when running alongside scripts.dll 3.x
3.If you are running Renegade Resurrection or other such mods, turn them off
If you are sure you are using the latest drivers for your video card AND you are not running xfire or any mods like RR, then and ONLY then should you report the crash


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: scripts.dll 3.3 is out [message #263517 is a reply to message #263280] Tue, 05 June 2007 23:12 Go to previous messageGo to next message
ch4ever is currently offline  ch4ever
Messages: 34
Registered: December 2003
Karma: 0
Recruit
I'm running the lastest video card driver and i'm having the same troubles with shaders enabled.

Multisample Anti-Alias 3x creates a black screen at starting up Renegade but if i minimize Renegade and then maximize it again i get the normal screen.

And no, i'm not running xfire or any mods.
Re: scripts.dll 3.3 is out [message #263545 is a reply to message #263280] Wed, 06 June 2007 02:00 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Do the alt-tab crashes happen if you have shaders on but do not have a shaders.sdb or sceneshaders.sdb file in your data folder?


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: scripts.dll 3.3 is out [message #263552 is a reply to message #263545] Wed, 06 June 2007 02:22 Go to previous messageGo to next message
nopol10 is currently offline  nopol10
Messages: 1043
Registered: February 2005
Location: Singapore
Karma: 0
General (1 Star)
No, I can see bloom and all sorts of shaders perfectly and it just crashed when I alt-tabbed.

nopol10=Nopol=nopol(GSA)

http://i14.photobucket.com/albums/a330/napalmic/siggy.jpg

[Updated on: Wed, 06 June 2007 02:22]

Report message to a moderator

Re: scripts.dll 3.3 is out [message #263582 is a reply to message #263280] Wed, 06 June 2007 05:36 Go to previous messageGo to next message
CarrierII is currently offline  CarrierII
Messages: 3804
Registered: February 2006
Location: England
Karma: 0
General (3 Stars)

The same alt-tab bug I had with 3.2.2 (menus fine, ingame isn't) but this time I've got the latest drivers installed.

http://hosted.filefront.com/CarrierII

Debug3.rar

You've got my email. Smile


Renguard is a wonderful initiative
Toggle Spoiler
Re: scripts.dll 3.3 is out [message #263588 is a reply to message #263582] Wed, 06 June 2007 06:38 Go to previous messageGo to next message
Sn1per74* is currently offline  Sn1per74*
Messages: 939
Registered: April 2006
Karma: 0
Colonel
What are shaders? You guys continuously talk about them, and I have no idea what they are. Care to explain?

http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost
Re: scripts.dll 3.3 is out [message #263590 is a reply to message #263588] Wed, 06 June 2007 07:22 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

Sn1per74(2) wrote on Wed, 06 June 2007 09:38

What are shaders? You guys continuously talk about them, and I have no idea what they are. Care to explain?


http://en.wikipedia.org/wiki/Shaders


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Re: scripts.dll 3.3 is out [message #264565 is a reply to message #263280] Sat, 09 June 2007 07:23 Go to previous messageGo to next message
Slave is currently offline  Slave
Messages: 607
Registered: December 2006
Karma: 0
Colonel
Here's a picture I managed to capure of the flickering alpha blended textures i was talking about earlier. Took me around 20 screenshots, to capture a flicker. I hate disco styled maps.

http://zilver.demon.nl/@game/screenshots/alphablendbug.jpg

I also have a question about fps. With pre-shader scripts, my framerate is always sitting nicely at 60hz, no matter what level of quality I pick at the nvidia options.
With 3.3, however, my framerate largely depends on the selected level of quality.
Performance -> 200+ fps
Balanced -> 60 fps
Quality -> tearing 40 fps

Why is the quality setting having a greater impact on performance as before? Why is vsync not doing it's job?
By the way, Im using a 7600GT.
Re: scripts.dll 3.3 is out [message #264782 is a reply to message #263280] Sat, 09 June 2007 22:52 Go to previous messageGo to next message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
You may have disabled vsync in the options. High quality forces higher precision in the shaders (which you might have installed) which would lead to less FPS.
Re: scripts.dll 3.3 is out [message #264846 is a reply to message #263280] Sun, 10 June 2007 02:46 Go to previous messageGo to next message
Slave is currently offline  Slave
Messages: 607
Registered: December 2006
Karma: 0
Colonel
Vsync is both enabled ingame and in the nvidia console.

With shaders disabled, vsync seems to do it's job.
With shaders enabled, vsync dies.
With shaders disabled, alpha blended textures screw up.
With shaders enabled, alpha blended textures screw up.

I took a little moment to check my fps with vsync fully disabled; without shaders I get approx 300% more fps.

My drivers are pretty much up to date.

(edit: does my uploaded picture show in my previous post? i seem to have a slight problem with my shared screenshots folder)

[Updated on: Sun, 10 June 2007 02:48]

Report message to a moderator

Re: scripts.dll 3.3 is out [message #264873 is a reply to message #263280] Sun, 10 June 2007 05:50 Go to previous messageGo to next message
Slave is currently offline  Slave
Messages: 607
Registered: December 2006
Karma: 0
Colonel
boink, alt tab crash
  • Attachment: crashdump3.txt
    (Size: 89.83KB, Downloaded 392 times)
  • Attachment: sysinfo.txt
    (Size: 3.14KB, Downloaded 159 times)
  • Attachment: d3derr.log
    (Size: 957.73KB, Downloaded 110 times)

[Updated on: Sun, 10 June 2007 05:52]

Report message to a moderator

Re: scripts.dll 3.3 is out [message #264875 is a reply to message #263280] Sun, 10 June 2007 06:03 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Slave, that looks like the same issue we saw before which is already fixed. The fix will be in the next release of the scripts.dll


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: scripts.dll 3.3 is out [message #264926 is a reply to message #264565] Sun, 10 June 2007 09:27 Go to previous messageGo to next message
Jonty is currently offline  Jonty
Messages: 538
Registered: June 2006
Location: Chesterfield, England
Karma: 0
Colonel
Viva la Resistance!
Slave wrote on Sat, 09 June 2007 15:23

Performance -> 200+ fps
Balanced -> 60 fps
Quality -> tearing 40 fps
By the way, Im using a 7600GT.


I have the same card and I get pretty much the same results, except that instead of using the performance/quality settings in the nVidia config I tweaked the 3D settings manually to get around 60fps all the time. Currently it's on 2xQ Multisampled AA and 16x AF.
Re: scripts.dll 3.3 is out [message #265097 is a reply to message #264926] Sun, 10 June 2007 22:21 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
I keep forgetting to mention that I am also having an alt tab crash (also happens when the windows key is pressed and you remaximise Renegade, I will upload a crash dump when I get home if the game generates one) but I will tell you my computer is using a Nvida 7950 graphics card and the drivers are up to date.

Re: scripts.dll 3.3 is out [message #265108 is a reply to message #263588] Sun, 10 June 2007 22:43 Go to previous messageGo to next message
DL60 is currently offline  DL60
Messages: 283
Registered: May 2006
Karma: 0
Recruit
Yea a it's a bit annoying when you have winning situation in Renegade but suddenly your Renegade minimizes and crashs because someone wrote to you via instant messenger (I have one which forces Ren to minimize). I always have to close it before start playing Ren.
Re: scripts.dll 3.3 is out [message #265132 is a reply to message #263280] Mon, 11 June 2007 01:37 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

Try deleting the file "screenshaders.sdb" in your data folder.
This should fix it (if it is caused by that one). Smile


When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Re: scripts.dll 3.3 is out [message #265401 is a reply to message #265132] Tue, 12 June 2007 01:01 Go to previous messageGo to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3811
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Odd, it must have been a random crash, that happened in the same place twice (let me check if it is crashing when ever you maximize the screen and there is a certain UV mapper visible).

Previous Topic: Renegade Resurrection goes beta!
Next Topic: scripts.dll 3.4 is out.
Goto Forum:
  


Current Time: Mon Nov 25 18:19:38 MST 2024

Total time taken to generate the page: 0.01405 seconds