Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll 2.9.2 is out
scripts.dll 2.9.2 is out [message #212114] Sun, 06 August 2006 21:02 Go to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

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

Changes in this release:
1.A one-off change to prevent bhs.dll 2.9.2 from working with any scripts.dll other than 2.9.2 unless you recompile scripts.dll with the needed change (this is to prevent all the people who are using 2.9.x with SSAOW 1.5 which DOES NOT work).
2.Changes for the future so that you cant mix scripts.dll and bhs.dll versions
3.A fix to Get_Player_Name_By_ID to make it return NULL instead of "None" if the player ID doesnt exist.
4.Fixes to places where Get_Remote_Host is used so that if it returns NULL, it wont crash.
5.A change to correctly release memory in the nickname exploit fixes when Get_IP_Address is used to obtain the IP address in order to print it later. (happens every time the code runs)
6.A fix to uses of Find_Base_For_Star() so that if it returns NULL (i.e. player is unteamed or w/e), it wont crash anymore.
and 7.A fix to the sidebar to correctly disable the buttons (infantry that costs money plus vehicles) if the relavent setting in BaseControlerClass is set (i.e. the buildings are down)


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.2 is out [message #212149 is a reply to message #212114] Mon, 07 August 2006 06:55 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
What about "PINFO"? Will that will crash the server when it's called?
Re: scripts.dll 2.9.2 is out [message #212258 is a reply to message #212114] Mon, 07 August 2006 20:19 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

Nope, the fixes I did fix the PINFO issue.


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.2 is out [message #212305 is a reply to message #212114] Tue, 08 August 2006 05:50 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
jonwil wrote on Sun, 06 August 2006 23:02


1.A one-off change to prevent bhs.dll 2.9.2 from working with any scripts.dll other than 2.9.2 unless you recompile scripts.dll with the needed change (this is to prevent all the people who are using 2.9.x with SSAOW 1.5 which DOES NOT work).



This needs not apply. SSAOW and SSCTF need their counterpart scripts.dll to work, however, bhs.dll is not required and can be upgraded (to the latest version (if aplicable)). Server hosters cannot do this if you force scripts.dll 2.9.2 and bhs.dll 2.9.2 to work only with eachother.

This is ok clentside, but, will cause havoc for server hosters trying to upgrade their servers.

Does this mean that SSAOW users will have to be stuck with what they get from SSAOW or have to use bhs.dll 2.8?

[Updated on: Tue, 08 August 2006 05:54]

Report message to a moderator

Re: scripts.dll 2.9.2 is out [message #212313 is a reply to message #212114] Tue, 08 August 2006 08:30 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

The real issue is that using a bhs.dll version with any scripts.dll version other than the one it was designed to be used for can cause bugs. I have several possible issues that may be caused because someone mixed SSAOW 1.5 and recent bhs.dll versions (2.8/2.9/whatever) and implemented this so that people wont try and mix incompatible dlls in future. I have also found problems in the past where people mixed dlls and had problems as a result.

Using anything other than bhs.dll 2.5.2 with SSAOW 1.5 WILL NOT WORK and anyone trying otherwise may think its working but its NOT working correctly.

If you wish to use SSAOW with scripts.dll 2.9, you will need to wait for SSAOW 1.6 which will be throughly tested by WhiteDragon (and checked by myself) to ensure complete compatiblity with scripts.dll 2.9 (obviously if scripts.dll 3.0 comes out before SSAOW 1.6, SSAOW 1.6 will use scripts.dll 3.0 and not scripts.dll 2.9)

Anyone who is using SSAOW 1.5 with any bhs.dll version other than 2.5.2 (regardless of what, if any, changes they made to SSAOW) will NOT get any support from me and probobly none from WhiteDragon either (although I dont pretend to speak for him)


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.2 is out [message #212314 is a reply to message #212305] Tue, 08 August 2006 08:30 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

Merovingian wrote on Tue, 08 August 2006 14:50

jonwil wrote on Sun, 06 August 2006 23:02


1.A one-off change to prevent bhs.dll 2.9.2 from working with any scripts.dll other than 2.9.2 unless you recompile scripts.dll with the needed change (this is to prevent all the people who are using 2.9.x with SSAOW 1.5 which DOES NOT work).



This needs not apply. SSAOW and SSCTF need their counterpart scripts.dll to work, however, bhs.dll is not required and can be upgraded (to the latest version (if aplicable)). Server hosters cannot do this if you force scripts.dll 2.9.2 and bhs.dll 2.9.2 to work only with eachother.

This is ok clentside, but, will cause havoc for server hosters trying to upgrade their servers.

Does this mean that SSAOW users will have to be stuck with what they get from SSAOW or have to use bhs.dll 2.8?


No, you shouldn't mix any scripts.dll with any bhs.dll or it will

crash the server sometimes.

If you have scripts.dll 2.4 you need to use bhs.dll 2.4,

if you have scripts.dll 2.2.2 you need to use bhs.dll 2.2.2


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.2 is out [message #212315 is a reply to message #212114] Tue, 08 August 2006 08:41 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
http://www.renegadeforums.com/index.php?t=msg&th=20731&a mp;start=0&rid=1350

This would work....?

no more bhs.dll + scripts.dll conflicts, and would also allow for bhs.dll to be updated along with the scripts2 without causeing any problems Smile
Re: scripts.dll 2.9.2 is out [message #212384 is a reply to message #212315] Tue, 08 August 2006 22:59 Go to previous messageGo to next message
nopol10 is currently offline  nopol10
Messages: 1043
Registered: February 2005
Location: Singapore
Karma: 0
General (1 Star)
"Error getting function from bhs.dll-AddCreateObjectHook"

I get this error while running Renegade. It didn't happen with 2.9


nopol10=Nopol=nopol(GSA)

http://i14.photobucket.com/albums/a330/napalmic/siggy.jpg
Re: scripts.dll 2.9.2 is out [message #212390 is a reply to message #212114] Tue, 08 August 2006 23:36 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

you need to copy bhs.dll too 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.2 is out [message #212481 is a reply to message #212114] Wed, 09 August 2006 14:40 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

omg jonwil,

you don't mention anywhere that you changed 2 functions

in bhs.dll.

AddObjectCreateHook to NewAddObjectCreateHook

and RemoveObjectCreateHook to NewRemoveObjectCreateHook

Angry Angry Tell Me Listen Sarcasm Sneaky


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."

[Updated on: Wed, 09 August 2006 14:40]

Report message to a moderator

Re: scripts.dll 2.9.2 is out [message #212516 is a reply to message #212114] Wed, 09 August 2006 17:39 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
new bug

id = 1 - 3 is ingame

id 5 is ingame

but id 4 is not ingame

PINFO will only go up to id 3
Re: scripts.dll 2.9.2 is out [message #212715 is a reply to message #212390] Fri, 11 August 2006 00:29 Go to previous messageGo to next message
nopol10 is currently offline  nopol10
Messages: 1043
Registered: February 2005
Location: Singapore
Karma: 0
General (1 Star)
I did copy the bhs.dll.

nopol10=Nopol=nopol(GSA)

http://i14.photobucket.com/albums/a330/napalmic/siggy.jpg
Re: scripts.dll 2.9.2 is out [message #212733 is a reply to message #212481] Fri, 11 August 2006 02:40 Go to previous message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
nopol10 wrote on Fri, 11 August 2006 02:29

I did copy the bhs.dll.




Cat998 wrote on Wed, 09 August 2006 23:40

omg jonwil,

you don't mention anywhere that you changed 2 functions

in bhs.dll.

AddObjectCreateHook to NewAddObjectCreateHook

and RemoveObjectCreateHook to NewRemoveObjectCreateHook

Angry Angry Tell Me Listen Sarcasm Sneaky

Previous Topic: Tiberian Sun Dropship Orca Transport.
Next Topic: stealth
Goto Forum:
  


Current Time: Tue Jul 09 19:33:36 MST 2024

Total time taken to generate the page: 0.00913 seconds