Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll 2.5 is in progress
scripts.dll 2.5 is in progress [message #192581] Sun, 12 March 2006 04:45 Go to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma:
General (3 Stars)

So far, I have added the following:
A new console command to send a special packet needed for LFDS WOL (only on linux)
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.
Fix 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)
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)

I am also planning a new console command that will be a bit like Player_Info but it will print more information (hence all the new engine calls Smile.
It will print the following (not necessarily in this order):
Player ID
Player Name
Player Score
Player Team (as an integer, not as a string like GDI or NOD)
Player Ping
Player Address
Player KB/s
Player Rank
Player Kills
Player Deaths
Player Money
Player Kill/Death Ratio

It wont print the player time because I have yet to figure out how to correctly read that value Smile

EDIT: new console command complete & undergoing testing now plus new engine call Get_IP_Port which returns string like 1.2.3.4;5


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: Sun, 12 March 2006 05:15]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stealth skins?
Next Topic: scripts.dll 2.5.1 is out
Goto Forum:
  


Current Time: Sat Nov 30 08:46:29 MST 2024

Total time taken to generate the page: 0.01187 seconds