Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » scripts.dll 2.1.3 progress report
scripts.dll 2.1.3 progress report [message #158467] Sun, 05 June 2005 06:36 Go to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Here is a list of all the changes (either implemented or going to be implemented) in 2.1.3 since 2.1.2:
General code cleanup (changing a few C runtime calls around, dropping use of certain "unsafe" runtime calls like strcpy, elss risk of buffer overflows etc)
Dropping all use of malloc() and free() switching to using new and delete exclusively
Fix a crash bug to do with one of the sound fixes added to 2.1.x
Removal of all the code in bhs.dll that was also in engine.cpp, now bhs.dll just uses engine.cpp directly (no noticable increase in file size for bhs.dll but it does mean a lot less code duplication Smile
Added code to the handler that handles new connections to the server.
If the nickname of the new player matches any of the following, the player is denied a connection and a console message listing the IP address of the denied player is displayed:
Nickname length = 0
Nickname length > 20
Nickname = Hostname
Nickname has non-ascii characters (i.e. below ' ' or above '~')
Nickname is all spaces
Nickname matches a name already in use on the server
Fix to the scripts JFW_GrantScore_Powerup and JFW_GrantMoney_Powerup so they actually work now (the bug was that I was giving the money/score to the powerup and not to the player that collected the powerup)
Also, note that gamedata.h is now obsolete, its contents are now part of engine.h. (as of 2.1.3)
So you can delete gamedata.h
A fix to the ICON command to fix a bug MAC reported with it
Further fixes to the AGT (to fix the "fires missiles too much" issue and the "multiple sets of guns" issue, whatever fix is needed for them)
And some new changes to disable certain network interfaces that could be used by a cheater to cheat (e.g. to run a console command on the server from the client or to kill someone from the client), this cheat stuff is done via a modified dll.

There might be other things that I changed that I have forgotten about too 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.1.3 progress report [message #158489 is a reply to message #158467] Sun, 05 June 2005 11:27 Go to previous messageGo to next message
Dan
Messages: 395
Registered: August 2003
Location: UK
Karma: 0
Commander
So, will you also fix the crash issue?
Re: scripts.dll 2.1.3 progress report [message #158490 is a reply to message #158467] Sun, 05 June 2005 11:32 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

And include an example for the Chathooking 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.1.3 progress report [message #158500 is a reply to message #158467] Sun, 05 June 2005 13:14 Go to previous messageGo to next message
[RG]Aslyfox is currently offline  [RG]Aslyfox
Messages: 45
Registered: May 2005
Karma: 0
Recruit
jonwil wrote on Sun, 05 June 2005 09:36


Fix a crash bug to do with one of the sound fixes added to 2.1.x


Read that Dan. So in answer to your question yes.
Re: scripts.dll 2.1.3 progress report [message #158514 is a reply to message #158467] Sun, 05 June 2005 14:34 Go to previous messageGo to next message
Dan
Messages: 395
Registered: August 2003
Location: UK
Karma: 0
Commander
I was talking about the crashes of the bhs.dll
Re: scripts.dll 2.1.3 progress report [message #158528 is a reply to message #158467] Sun, 05 June 2005 16:18 Go to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

There is more chathook stuff in 2.1.3
And the crash bug is a crash in bhs.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
Previous Topic: SSCP/ SSAOW bugs
Next Topic: Is anyone having Advanced Guard Tower problems?
Goto Forum:
  


Current Time: Tue Nov 19 07:34:07 MST 2024

Total time taken to generate the page: 0.00797 seconds