Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll and bhs.dll 1.9 is almost ready
scripts.dll and bhs.dll 1.9 is almost ready [message #108088] Sun, 15 August 2004 05:27 Go to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

Just got the last scripts to test (all 40 of them... although not all of those need to be tested before I can release Smile

For now, here is the readme file for BHS.DLL to wet your appetite.
BHS.DLL is a new dll created by Blackhand Studios to go alongside the custom scripts.dll and provide
gameplay fixes, new console commands and other enhancements. Basicly, all the stuff we are doing that
requires code to run client-side, sending data over the network or patches to the code.

BHS.DLL adds the following new console commands:
ID displays the name and ID of all players matching a specified string (e.g. ID jon matches jonwil and jonathan and abcjon but not abcjoe). Passing no string means "print all players".
PAMSG sends an admin message to a particular player
PPAGE sends a page to a particular player
SNDP plays a .wav sound (which can be from the always.dat of whichever mod is involved or one stored directly in the renegade data folder) for a specific player
SNDA is like SNDP but plays the sound for everyone
TEAM changes the team of a given player to the specified team. If they are alredy that team, nothing will happen
TEAM2 changes the team of a given player to the specified team. If they are alredy that team, nothing will happen. Unlike TEAM, it doesnt reset their score or cash.
DONATE takes a specified amount of cash from one player and gives it to another player
EXIT exits renegade
VERSION sends a message to the client of the specified player. The client then responds with a message indicating if bhs.dll is installed (and its version), this is then displayed on the console

EXIT runs client-side only.
ID runs both client-side and server-side.
everything else is server-side only.
All commands will work even if BHS.DLL is not installed on the client except the SNDP and SNDA commands.

Also, BHS.DLL fixes the following script commands to work in multiplayer:
Set_Animation
Set_Animation_Frame
Enable_Stealth
Create_Explosion
Create_Explosion_At_Bone
Set_Fog_Enable
Set_Fog_Range
Set_War_Blitz
Fade_Background_Music
Set_Background_Music
Stop_Background_Music
Create_Sound
Create_2D_Sound
Create_2D_WAV_Sound
Create_3D_WAV_Sound_At_Bone
Create_3D_Sound_At_Bone
Play_Building_Announcement

BHS.DLL also adds versions of the following script commands (named with _Player at the end and called directly without the Commands-> in front)
which take a GameObject and activate for the player represented by that object. Should that object not represent a player, nothing happens,.
Fade_Background_Music
Set_Background_Music
Stop_Background_Music
Enable_Radar
Display_GDI_Player_Terminal
Display_NOD_Player_Terminal
Set_Screen_Fade_Color
Set_Screen_Fade_Opacity

All of the commands except Create_Explosion and Create_Explsion_At_Bone require the client to have BHS.DLL (and scripts.dll) installed.
In some cases, not having it will render the map useless (e.g. they miss out on being able to access PTs because of the Display_Player_Terminal
commands or they dont get their radar disabled by Enable_Radar and gain an advantage) but in others (e.g. if Create_Sound is used to play sounds), it doesnt matter.
As mentioned below, use JFW_BHS_DLL if you want BHS.DLL to be required for the map.

Also, BHS.DLL contains working Poke in multiplayer. This means that a script can respond to the Poked event and machines
other than the host can walk up to the object and use the action key on it. Like the script command fixes, this only works
if the client has BHS.DLL installed.

Note that if you build a map that uses features such as Poke or Stealth or other "client is required" items
(i.e. if the client doesnt have bhs.dll installed, the map is unusable or not having it gives an advantage like with Enable_Stealth),
put the script JFW_BHS_DLL on an object in the map somewhere (something like a special Daves Arrow is good since its created on map startup).
This script prints a message to the console which regulators such as BrenBot can use to kick players without BHS.DLL installed.

BHS.DLL also features working radio command icons in multiplayer for all clients who have BHS.DLL installed.

The linux version of BHS.DLL also contains a fix to make the IP address display properly in the PLAYER_INFO console command.
And it contains a new logfile which has the same name as the regular renlog file but with bhs_ at the front.
This file will contain all f2/f3 console messages and also all "xxx changed teams" messages. (this fixes the LFDS bugs where those messages may not be logged properly).


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
scripts.dll and bhs.dll 1.9 is almost ready [message #108094] Sun, 15 August 2004 06:38 Go to previous messageGo to next message
FynexFox is currently offline  FynexFox
Messages: 138
Registered: May 2003
Karma: 0
Recruit
BAWSOME! Nice job Jonwil, youve done it again!


FIRST POST!
scripts.dll and bhs.dll 1.9 is almost ready [message #108095] Sun, 15 August 2004 07:04 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
You mean, I Have done it. All of that expect a few things were done by me.

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
scripts.dll and bhs.dll 1.9 is almost ready [message #108096] Sun, 15 August 2004 07:08 Go to previous messageGo to next message
WNxPunk is currently offline  WNxPunk
Messages: 34
Registered: February 2004
Karma: 0
Recruit
*drules*

Punk signing off.
http://securi.nemek.co.uk/wn/punk_sig.jpg
scripts.dll and bhs.dll 1.9 is almost ready [message #108099] Sun, 15 August 2004 07:34 Go to previous messageGo to next message
Drkpwn3r is currently offline  Drkpwn3r
Messages: 317
Registered: March 2004
Location: Unknown to you.
Karma: 0
Recruit

Silent Kane

You mean, I Have done it. All of that expect a few things were done by me.

Just let it go... You're only bringing down your own rep. in arguing about it, I can see that some people know when it's useless to fight about something. :rolleyes:

Also, great work jonwil, keep it up Cool


http://signatures.wow.tsugaming.com/tsumisaari/2/darius.png
scripts.dll and bhs.dll 1.9 is almost ready [message #108100] Sun, 15 August 2004 07:48 Go to previous messageGo to next message
Renx is currently offline  Renx
Messages: 2321
Registered: April 2003
Location: Canada
Karma: 0
General (2 Stars)
Category Moderator
Silent Kane did an good job on those commands, they work great Cool

~Canucck

http://www.sloganizer.net/en/style7,Espion.png

Blazer

...RG made me ugly
scripts.dll and bhs.dll 1.9 is almost ready [message #108102] Sun, 15 August 2004 07:57 Go to previous messageGo to next message
Try_lee is currently offline  Try_lee
Messages: 542
Registered: February 2003
Location: Reading, England
Karma: 0
Colonel
Yup they're good... Shame they removed the n00b command though. Now that was a good use of the thingy!

YARR! The pirate life is for me! http://www.n00bstories.com/image.fetch.php?id=1202408761
scripts.dll and bhs.dll 1.9 is almost ready [message #108117] Sun, 15 August 2004 09:11 Go to previous messageGo to next message
Renx is currently offline  Renx
Messages: 2321
Registered: April 2003
Location: Canada
Karma: 0
General (2 Stars)
Category Moderator
I don't see the harm in it....it's funny. Unless it uses some sort of crazy engine call that can't be released to the public :S Confused

~Canucck

http://www.sloganizer.net/en/style7,Espion.png

Blazer

...RG made me ugly
scripts.dll and bhs.dll 1.9 is almost ready [message #108124] Sun, 15 August 2004 09:43 Go to previous messageGo to next message
NeoX is currently offline  NeoX
Messages: 408
Registered: April 2003
Location: Canada, Ontario, Acton
Karma: 0
Commander
Thats not a console command...thats a command with the irc server....
scripts.dll and bhs.dll 1.9 is almost ready [message #108126] Sun, 15 August 2004 09:48 Go to previous messageGo to next message
Renx is currently offline  Renx
Messages: 2321
Registered: April 2003
Location: Canada
Karma: 0
General (2 Stars)
Category Moderator
IRC commands trigger console commands...

EDIT: Oh, you're thinking of the brenbot !n00b command, this is different. Lookie:
http://www.n00bstories.com/image.fetch.php?id=1244388850


~Canucck

http://www.sloganizer.net/en/style7,Espion.png

Blazer

...RG made me ugly

[Updated on: Sun, 15 August 2004 09:50]

Report message to a moderator

scripts.dll and bhs.dll 1.9 is almost ready [message #108127] Sun, 15 August 2004 09:49 Go to previous messageGo to next message
xptek is currently offline  xptek
Messages: 1410
Registered: August 2004
Location: USSA
Karma: 0
General (1 Star)
Edit: No Image for this ID!

It was done as a console command as well. Smile


cause = time
scripts.dll and bhs.dll 1.9 is almost ready [message #108128] Sun, 15 August 2004 09:55 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
Please don't link to screenshots from my gallery without asking me.

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
scripts.dll and bhs.dll 1.9 is almost ready [message #108129] Sun, 15 August 2004 09:57 Go to previous messageGo to next message
xptek is currently offline  xptek
Messages: 1410
Registered: August 2004
Location: USSA
Karma: 0
General (1 Star)
Sorry. I'll make sure to ask next time.

cause = time
scripts.dll and bhs.dll 1.9 is almost ready [message #108130] Sun, 15 August 2004 10:01 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
Here's a save version of the screenshot:
http://www.n00bstories.com/image.fetch.php?id=1142543989


Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
scripts.dll and bhs.dll 1.9 is almost ready [message #108139] Sun, 15 August 2004 11:02 Go to previous messageGo to next message
snipesimo is currently offline  snipesimo
Messages: 764
Registered: February 2003
Karma: 0
Colonel
Did you fix or implement and document the bug SK refused to touch?
scripts.dll and bhs.dll 1.9 is almost ready [message #108141] Sun, 15 August 2004 11:08 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
I allready added it to my dll.

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
scripts.dll and bhs.dll 1.9 is almost ready [message #108142] Sun, 15 August 2004 11:12 Go to previous messageGo to next message
snipesimo is currently offline  snipesimo
Messages: 764
Registered: February 2003
Karma: 0
Colonel
Okay, thank you.
scripts.dll and bhs.dll 1.9 is almost ready [message #108227] Sun, 15 August 2004 20:00 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

snipesimo, which bug are you refering to?

The next version of RenGuard will feature checks on the dlls in the renegade folder (since there are dlls there that can be used to run code on the client).

scripts.dll 1.9 plus bhs.dll 1.9 will be on the approved list, as will all dlls from westwood. (those that come with ren itself)
as will the various Miles Sound System enhancements (some of which will ne in Core Patch 1)
And the RTPatch patching engine we are using for the core patches (patchw32.dll)
And anything else Blackhand Studios releases.

Any unauthorized dll files wont be allowed in.
And, unless something has changed since I last talked to the team, the dll from Silent_Kane is not authorized.


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
scripts.dll and bhs.dll 1.9 is almost ready [message #108231] Sun, 15 August 2004 20:15 Go to previous messageGo to next message
snipesimo is currently offline  snipesimo
Messages: 764
Registered: February 2003
Karma: 0
Colonel
wee.log being put on your C: drive. Document the feature, make it gamechat_date.txt and put it in the Renegade directory. It currently contains all the in-game text from a game played.
scripts.dll and bhs.dll 1.9 is almost ready [message #108234] Sun, 15 August 2004 20:39 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
Then your DLL isn't allowed either, since it's mine.

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
scripts.dll and bhs.dll 1.9 is almost ready [message #108235] Sun, 15 August 2004 21:07 Go to previous messageGo to next message
xptek is currently offline  xptek
Messages: 1410
Registered: August 2004
Location: USSA
Karma: 0
General (1 Star)
jonwil

Any unauthorized dll files wont be allowed in.
And, unless something has changed since I last talked to the team, the dll from Silent_Kane is not authorized.


That really doesn't seem fair. If Silent Kane's DLL is legit then it should be allowed regardless of personality conflicts. Smile


cause = time
scripts.dll and bhs.dll 1.9 is almost ready [message #108239] Sun, 15 August 2004 22:28 Go to previous messageGo to next message
Spice
Messages: 1448
Registered: November 2003
Location: Ohio
Karma: 0
General (1 Star)
Did you ever get the MP3 player working? Nice Job both of you.

http://img46.imageshack.us/img46/8027/userbar358428pu3.gif
scripts.dll and bhs.dll 1.9 is almost ready [message #108240] Sun, 15 August 2004 22:52 Go to previous messageGo to next message
Crimson is currently offline  Crimson
Messages: 7429
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (5 Stars)
ADMINISTRATOR
It's not legit. It contains code that would allow a server admin to cheat in his own game.

I'm the bawss.
scripts.dll and bhs.dll 1.9 is almost ready [message #108243] Sun, 15 August 2004 23:03 Go to previous messageGo to next message
Aircraftkiller is currently offline  Aircraftkiller
Messages: 8213
Registered: February 2003
Karma: 0
General (5 Stars)
Not like they can't without it...
scripts.dll and bhs.dll 1.9 is almost ready [message #108244] Sun, 15 August 2004 23:09 Go to previous messageGo to previous message
Crimson is currently offline  Crimson
Messages: 7429
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (5 Stars)
ADMINISTRATOR
There are for more things they can do with the DLL than without.

I'm the bawss.
Previous Topic: CNC Reborn : Titan
Next Topic: scripts.dll 1.9 is out
Goto Forum:
  


Current Time: Mon Jul 08 01:49:26 MST 2024

Total time taken to generate the page: 0.01230 seconds