Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll 2.9 is out
scripts.dll 2.9 is out [message #209934] Wed, 26 July 2006 22:04 Go to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Get it at http://www.sourceforge.net/projects/rentools/
After a lot of work, I finally got it out the door (and with a bunch of stuff I have wanted to add for a while now)

Changes since 2.8: (items with a * need bhs.dll on the client)
New feature to change the player limit at runtime (you can change it to anything up to what you set in svrcfg_cnc.ini)
*New feature to change the time limit and time remaining at runtime
A fix to make the months for the bhs_renlog and client chat log match the renlog.txt on both windows and linux
A change to the nickname exploit blocks to block nicknames with more than one space next to each other or those where the last character is a space
*A new hud.ini keyword to disable the normal weapons factory "building" logic
*hud.ini keywords that let you change pretty much all the colors assoicated with the UI elements
*hud.ini keyword to disable the glow effect behind the main menu items (sicne I couldnt find the colors for it)
*a new feature to make all units with one armor type uncrushable (you can only have one armor type period). This is set through hud.ini
*A new hud.ini keyword and feature to change the blend op used when drawing the stealth texture.
*New hud.ini keywords to set the textures for the sidebar
Better output when you turn RenLogMon on and off
New config file to turn RenLogMon on at startup
New hook to get hold of all output that is passed to RenLogMon
*Engine calls to change the reticle textures at runtime per-player
*Engine calls to change the fog color, fog mode and fog density globally and per-player
Fix for the "start button" XWIS bug
*New hook where players send the CRC32 of hud.ini to the server on startup and the hook can see that (for example, to prevent modified hud.ini being used to cheat e.g. turning on enemy names when they should be off)
*New chat history dialog controled by a keys.cfg key
*New sidebar purchase dialog
*New feature to send some mod specific data from the client to the server on player join. On the client the data is stored in the registry and is basicly a number of integers. On the server, a hook is called with the player ID and the list of integers being passed in. This can be used to e.g. check if the player has a given map.
Rewritten linux scripts.dll hook bits that are a little cleaner.
Fixes that should hopefully remove a number of memory leaks from the code
Improvements to Get_Current_Game_Mode
Improved documentation for DIRTY_BIT stuff for NetworkObjectClass in engine.h
GameObject *Create_Building(const char *preset,const Vector3 & Position); //Create a building controller
unsigned int Get_Zone_Type(GameObject *obj); //Get the type of a script zone
OBBoxClass *Get_Zone_Box(GameObject *obj); //Get the box (size/position) of a ScriptZoneGameObj
void Set_Zone_Box(GameObject *obj,const OBBoxClass &box); //Set the box (size/position) of a ScriptZoneGameObj
GameObject *Create_Zone(const char *preset,const OBBoxClass &box); //Create a script zone and set its box
void Set_Money(unsigned int ID,float amount); //Set the money of a player
void Set_Score(unsigned int ID,float amount); //Set the score of a player
bool PointInZone(GameObject *obj,const Vector3 &v); //Is a point in a zone
unsigned int Overlap_Test(const OBBoxClass &box,const Vector3 &v); //Test if a vector is inside an OBBoxClass
wchar_t *newwcs(const wchar_t *str); //duplicate a wide character string
new scripts JFW_Engineer_Target_2 and JFW_Engineer_Repair_2 that should allow for better repairing of building controlers (you stock a daves arrow inside the MCT or something and it repairs that instead of the building but because the building is in the way, the building takes the hits from the repair beam)
*new script JFW_Reticle to change reticle per-player at runtime.
new script JFW_Goto_Player_Timer to go to the nearest player on a timer (everytime the timer expires, the object with the script on it goes to the nearest player)
new scripts JFW_Poke_Play_2D_Sound_Timer and JFW_Poke_Play_3D_Sound_Timer. These are like JFW_Poke_Play_2D_Sound and JFW_Poke_Play_3D_Sound but the timer limits how often the sound will play
Linux scripts.dll makefile fixes
Bug fixes & improvements to MDB_Unit_Limit and the ExpVehFac scripts
New script MDB_Sidebar_Key to set up the sidebar triggreable on a key (with a custom you can send to turn it on or off)
Fixes for the defintions of Find_Nearest_Building and Find_Nearest_Building_To_Pos in scripts.h

Now, onwards to 3.0 Smile


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 2.9 is out [message #209960 is a reply to message #209934] Thu, 27 July 2006 04:51 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)
Awesome, downloaded and installed, nice work and thanks. Very Happy
Re: scripts.dll 2.9 is out [message #209961 is a reply to message #209934] Thu, 27 July 2006 04:58 Go to previous messageGo to next message
-MP-Allzo is currently offline  -MP-Allzo
Messages: 6
Registered: April 2006
Location: uk
Karma: 0
Recruit
Nice! Very Happy
Re: scripts.dll 2.9 is out [message #209968 is a reply to message #209934] Thu, 27 July 2006 06:03 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
GameObject *Create_Building(const char *preset,const Vector3 & Position); //Create a building controller


For the WF / Airstrip, can it also position the vehicle creation point?


http://steamsignature.com/card/1/76561197975867233.png
Re: scripts.dll 2.9 is out [message #209975 is a reply to message #209934] Thu, 27 July 2006 06:28 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

No, the creation point is a different piece of data, I have to figure out how that works first.
But yeah, for 3.0 I can look into that.


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 2.9 is out [message #209985 is a reply to message #209934] Thu, 27 July 2006 07:55 Go to previous messageGo to next message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
Off topic, but jonwil, did you get my PM?

On topic, great work as usual!


-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
Re: scripts.dll 2.9 is out [message #210004 is a reply to message #209934] Thu, 27 July 2006 09:24 Go to previous messageGo to next message
Ma1kel is currently offline  Ma1kel
Messages: 956
Registered: July 2005
Location: Kingdom of the Netherland...
Karma: 0
Colonel
Have you recieved my PM?

Re: scripts.dll 2.9 is out [message #210025 is a reply to message #209934] Thu, 27 July 2006 11:15 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
CMSG crashs the server on this version
Re: scripts.dll 2.9 is out [message #210029 is a reply to message #209934] Thu, 27 July 2006 12:18 Go to previous messageGo to next message
Kamuix is currently offline  Kamuix
Messages: 1247
Registered: May 2005
Location: Ontario, Canada
Karma: 0
General (1 Star)
That was fast...
Re: scripts.dll 2.9 is out [message #210061 is a reply to message #209934] Thu, 27 July 2006 13:53 Go to previous messageGo to next message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Recruit

Benefits of Object-Oriented Design

[Updated on: Thu, 27 July 2006 15:02]

Report message to a moderator

Re: scripts.dll 2.9 is out [message #210065 is a reply to message #209934] Thu, 27 July 2006 14:19 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
your link is screwed up, take the "" from around the page address Wink

And.. not exactly sure why you posted it? heh Razz I use OOP for most projects I do anyway


http://steamsignature.com/card/1/76561197975867233.png
Re: scripts.dll 2.9 is out [message #210076 is a reply to message #209934] Thu, 27 July 2006 15:02 Go to previous messageGo to next message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Recruit

For Jon's benefit. And thanks for the heads up.
Re: scripts.dll 2.9 is out [message #210125 is a reply to message #209934] Fri, 28 July 2006 00:33 Go to previous messageGo to next message
SODPaddy is currently offline  SODPaddy
Messages: 233
Registered: August 2005
Location: Germany
Karma: 0
Recruit

very nice work

Website: www.Area54.eu

Once 54, Always 54.
(\__/)
(O.o )
(___)
Visit us at www.Area54.eu
Re: scripts.dll 2.9 is out [message #210291 is a reply to message #209934] Sat, 29 July 2006 02:56 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
*BUMP*

i want to create a console hook, but whenever i use the version i compiled. all the command go in FDS and it doesn't work. i use micrsoft visual express 8.0. you have used 7.0?
Re: scripts.dll 2.9 is out [message #210299 is a reply to message #209934] Sat, 29 July 2006 06:09 Go to previous messageGo to next message
AmunRa is currently offline  AmunRa
Messages: 574
Registered: September 2005
Location: Lilburn, Georgia
Karma: 0
Colonel

using this shit express editions probably doesn't help. Just get vs studio 2003 Wink
Re: scripts.dll 2.9 is out [message #210305 is a reply to message #210299] Sat, 29 July 2006 08:10 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

AmunRa wrote on Sat, 29 July 2006 15:09

using this shit express editions probably doesn't help. Just get vs studio 2003 Wink


it isn't shit, it works fine 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 2.9 is out [message #210308 is a reply to message #209934] Sat, 29 July 2006 08:26 Go to previous message
AmunRa is currently offline  AmunRa
Messages: 574
Registered: September 2005
Location: Lilburn, Georgia
Karma: 0
Colonel

not from my experiences with it Razz
Previous Topic: Player visceroids?
Next Topic: ssaow bug/problem --> server crash
Goto Forum:
  


Current Time: Sat Nov 23 20:09:36 MST 2024

Total time taken to generate the page: 0.01672 seconds