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

get it from http://www.sourceforge.net/projects/rentools/

Changes since 2.4:
A new console command to send a special packet needed for LFDS WOL (only on linux). Thanks to Silent_Kane, Blazer and inetkngeek for help figuring this out.
Code to disable the cd-key checking on GameSpy (since XWIS doesnt do it and since The First Decade CD keys are missing from the database GameSpy uses to check and since it is needed for LFDS WOL). Thanks to Silent_Kane for finding these offsets.
Fixed a bug with the code to send Set_Obj_Radar_Blip_Color and Set_Obj_Radar_Blip_Shape over the network
Changed several places in engine.cpp to use As_xxxGameObj instead of Is_xxx (which removes one level of indirection)
Fixed a bug in Attach_Script_Building
Moved JFW_Key_Hook_Base & JFW_Object_Created_Hook_Base to engine.h (so they can be accessed from any source file)
Added the following engine calls, all of which take a player ID:
Get_Team (gets the team of a player)
Get_Rank (gets the rank of a player, i.e. the position in the player list)
Get_Kills (gets the current kills of a player)
Get_Deaths (gets the current deaths of a player)
Get_Score (gets the current score of a player)
Get_Money (gets the current money of a player)
Get_Kill_To_Death_Ratio (gets the kill/death ratio of a player)
Get_IP_Port (gets the IP address and port of a player)
Added Get_Damage_Points and Get_Death_Points which get the damage and death points of an object
Added Get_C4_Mode which gets the C4 mode (i.e. remote, timed, proximity) of a C4 object
Fixed some bugs with the visible person in vehicle script
Added some stuff to keycfg.cpp to make it compile on Visual C++ 2005 (SaberHawk is compiling with 2005 and submitted these fixes)
Fixed some bugs with the renalert defence script (thanks SaberHawk and NeoSaber for these fixes)
Added a new console command to display information about players in the game.
Renamed the existing (non-working) page console command on the LFDS to gage and added a new page command that just prints its output on the screen in a format that the LFDS WOL implementation can grab and send as a proper WOL page.

Mainly this release will be of interest to modders (especially those doing server-side mods who might want to use the new engine calls) and also server owners (anyone with a LFDS should install this so that they are ready when LFDS WOL is released)


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.5 is out [message #192837 is a reply to message #192745] Tue, 14 March 2006 16:52 Go to previous messageGo to next message
Mad Ivan is currently offline  Mad Ivan
Messages: 513
Registered: February 2003
Location: United Kingdom
Karma: 0
Colonel
jonwil wrote on Tue, 14 March 2006 07:04

get it from
Code to disable the cd-key checking on GameSpy (since XWIS doesnt do it and since The First Decade CD keys are missing from the database GameSpy uses to check and since it is needed for LFDS WOL). Thanks to Silent_Kane for finding these offsets.



Doesnt this allow use of fake cd-keys?


Re: scripts.dll 2.5 is out [message #192897 is a reply to message #192745] Wed, 15 March 2006 02:52 Go to previous message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

Yes.
But, we needed it for LFDS WOL and to allow TFD CD keys to work.
And, XWIS does not check CD keys (so anyone with a fake key could play on XWIS anyway)


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
Previous Topic: Modding programs
Next Topic: mapping help
Goto Forum:
  


Current Time: Wed May 01 06:12:10 MST 2024

Total time taken to generate the page: 0.00578 seconds