Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » new stuff in scripts.dll 2.1 for users and/or server owners
new stuff in scripts.dll 2.1 for users and/or server owners [message #135128] Sat, 29 January 2005 23:16 Go to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

1.Renegade has been changed so that it wont look for *.dep files anymore (it looks for something else).
This cuts loading time right down.
2.Renegade has been changed to output PNG screenshots instead of TGA (using the well-tested LIBPNG library), this means you dont need a seperate program to convert your screenshots anymore.
Although its impossible to tell from just the image, http://www.n00bstories.com/image.view.php?id=1352131339 is a screenshot I took via the new code Smile

Also, there are new console commands that server owners (and those writing server tools) can use:
Display current map name
Display current mod package name
Display the map at a given index in the map list
Display the index within the list of the current map
Change the map at a given index in the map list
Display the current radar mode
Play a music track for all players (obviously if they dont have bhs.dll and the music file, it wont work)
Stop all music playing for all players (again if they dont have bhs.dll it wont work)
Play a music track for a specific player (obviously if they dont have bhs.dll and the music file, it wont work)
Stop all music playing for a specific player (again if they dont have bhs.dll it wont work)
Display the current version of bhs.dll installed on the server
Display the current mine limit
Display the count of mines for a given team
Eject a given player from whatever vehicle they are in
Play a 3d sound for a given team (this was going to be in 2.0 but didnt get in in time, it works now)
Display an emoticon for a given player (like the radio command icons except no sound or text display and you can specify the w3d file to display)

I am also working on implementing these console commands (they may make 2.1 or they may be in a later version)
Display the current player limit
Change the current player limit
Display the time remaining
Change the time remaining/time limit


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
new stuff in scripts.dll 2.1 for users and/or server owners [message #135149] Sun, 30 January 2005 03:29 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

Wonderful! I'm so glad screenshots wont be in crappy TGA anymore. Why did you choose PNG over JPG (doenst really matter to me as windows can read PNG fine). I also know firsthand what ignoring the .dep files makes in load times. :bigups:
new stuff in scripts.dll 2.1 for users and/or server owners [message #135153] Sun, 30 January 2005 03:50 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
I took the time to make a list of the retarded/useless and pretty damn sure abused stuff.
[list][*]Display current map name
[*]Display current mod package name
[*]Display the current radar mode
[*]Play a music track for all players (obviously if they dont have bhs.dll and the music file, it wont work)
[*]Stop all music playing for all players (again if they dont have bhs.dll it wont work)
[*]Play a music track for a specific player (obviously if they dont have bhs.dll and the music file, it wont work)
[*]Stop all music playing for a specific player (again if they dont have bhs.dll it wont work)
[*]Play a 3d sound for a given team (this was going to be in 2.0 but didnt get in in time, it works now)
[*]Display an emoticon for a given player (like the radio command icons except no sound or text display and you can specify the w3d file to display)
[*]Display the current player limit
[*]Change the current player limit
[*]Display the time remaining
[*]Change the time remaining/time limit [/list:u]
Quote:

2.Renegade has been changed to output PNG screenshots instead of TGA (using the well-tested LIBPNG library

Sounds like it needs another dll to me, which is pretty retarded as well since D3D has builtin functions to easily create screenshots.


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
new stuff in scripts.dll 2.1 for users and/or server owners [message #135219] Sun, 30 January 2005 14:57 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

I chose PNG because it is lossless.
Plus, I perfer PNG.
And, libpng is easy to use 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
new stuff in scripts.dll 2.1 for users and/or server owners [message #135224] Sun, 30 January 2005 15:08 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
jonwil

And, libpng is easy to use Smile

If everyone would go by that, there would be only shit software out there.
The D3D features that provide the ability to create screenshots is about as easy to use. And 100% quality JPEG 0wnz PNG.


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
new stuff in scripts.dll 2.1 for users and/or server owners [message #136417] Sat, 05 February 2005 12:25 Go to previous messageGo to next message
idebo is currently offline  idebo
Messages: 390
Registered: October 2004
Location: Netherlands
Karma: 0
Commander
I like that all, but I like this one the most:

Quote:

Display the current mine limit

new stuff in scripts.dll 2.1 for users and/or server owners [message #136512] Sun, 06 February 2005 02:16 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
Quote:

Display current map name


what is the for? lol, it appears on game_info Razz
new stuff in scripts.dll 2.1 for users and/or server owners [message #136516] Sun, 06 February 2005 04:08 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Its easier to get the info if you are writing a regulator by using the MAP command instead of GAME_INFO

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
new stuff in scripts.dll 2.1 for users and/or server owners [message #136554] Sun, 06 February 2005 07:49 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

yeah, and it spams the log files.

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."
new stuff in scripts.dll 2.1 for users and/or server owners [message #136950] Mon, 07 February 2005 21:38 Go to previous messageGo to next message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Recruit

It's nice that you are at least making these features for everyone, but are they really needed? Wouldn't it make more sense to actually produce something that is at least practical? From where I stand, it looks like you are either running low on ideas or you are simply trying to make as many small things as possible to gain a bigger title.

If you are going to use your time to produce this stuff for this game, use it wisely. Make a GUI application to manage all of these instead of throwing them in as a command-line argument. Or better yet, figure out a way to do all of this stuff you are doing without having to rely on the end user to download more software. If you've managed to get this far, as you have claimed, then what is stopping you from passing this one simple hurdle that has plagued this game since its initial release?

Autodownload of maps from the server?
Punkbuster? (RenGuard without a client-side application being ran)

These two ideas are not only practical, but plausible with your "new resources." Do them instead of making a shortcut to show what the current map is. I'm not trying to sound like a dick here, but in all do honesty, what are you doing exactly? If I had spent my time making small expansions and command-line arguments at this time last year, a lot of this stuff probably wouldn't even be dreamed up as being possible.
new stuff in scripts.dll 2.1 for users and/or server owners [message #136994] Tue, 08 February 2005 09:01 Go to previous messageGo to next message
laeubi is currently offline  laeubi
Messages: 799
Registered: February 2003
Location: Germany
Karma: 0
Colonel

Punkbuster needs a Client Software too....

www.laeubi.de Find Mods, Maps, Tool, Files and More!
< All Tutorials you ever searched for >
< contact me >
"Don't say it is imposible... just find a solution!"
new stuff in scripts.dll 2.1 for users and/or server owners [message #137013] Tue, 08 February 2005 11:53 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

vloktboky

It's nice that you are at least making these features for everyone, but are they really needed? Wouldn't it make more sense to actually produce something that is at least practical? From where I stand, it looks like you are either running low on ideas or you are simply trying to make as many small things as possible to gain a bigger title.

Most if not all of the extra commands are by request of the server owners, which is who we are coding for.

vloktboky

If you are going to use your time to produce this stuff for this game, use it wisely. Make a GUI application to manage all of these instead of throwing them in as a command-line argument.

Ummm, the FDS is a server. It would be dumb to make it a neat cool GUI, not to mention that the same thing wouldn't work on linux. The reason they are command line arguments are so that other peoples (and ours as well) bots/code/whatever can interact with the FDS.

vloktboky

Or better yet, figure out a way to do all of this stuff you are doing without having to rely on the end user to download more software.

Yeah well, what about in the cases where the "more software" is software that THEY are writing? We are making it easier for other people to interact with the FDS. If we had the source code to it, yeah there are much more elegant solutions, but as it is, we are doing what we can to make it more permeable.

vloktboky

If you've managed to get this far, as you have claimed, then what is stopping you from passing this one simple hurdle that has plagued this game since its initial release?

I would say the biggest hurdle is not having the source code. I don't see where we have "claimed" to have "gotten far"? We do what we can to overlay functionality via the scripts.dll backdoor. If not for that and the debug symbols that WestWood accidentally left in the redhat8 FDS code, we would be hard pressed to add any new features at all.

vloktboky

Autodownload of maps from the server?
Punkbuster? (RenGuard without a client-side application being ran)


Autodownload is planned...there are several gotchas of course though. One being that renegade servers already use gobs of bandwidth, and 10 people downloading a map from the server at the same time would make it lag. Options to fix that would be a trickle download, which is slow, or server owner can set downloads to be from another location, then you have to deal with things like how Renegade wont accept new maps if you just drop them in, you have to restart the game...theres that "if we just had the source code" popping up again Smile The final solution will probably be totally replacing the server browser with our own app, so that downloads etc can be done before actually launching the game.

vloktboky

These two ideas are not only practical, but plausible with your "new resources."
Hmm I searched this entire section and didn't find the words "new resources", or even "resources", so I don't know what you are quoting there.

vloktboky

Do them instead of making a shortcut to show what the current map is.


As I said, the reason for the "shortcuts" is so that other people can easily write their own code to interface with the FDS. I'm talking about scripting languages, not "real code". It's a lot easier for server owners to write a mirc script, or VB, etc to populate some variables by sending a command(s) to the FDS, rather than writing their own scripts.dll hooks.

vloktboky

I'm not trying to sound like a dick here,

LOL...sure you are. Ever notice that when somebody says something lke that, that is exactly what they are doing? You know, like when someone says "no offense but..." and it always follows with something offensive Smile I have no problems with you asking questions, but your post is dripping with sarcasm. There are lots of other ways to make a point you know.

vloktboky

but in all do honesty, what are you doing exactly? If I had spent my time making small expansions and command-line arguments at this time last year, a lot of this stuff probably wouldn't even be dreamed up as being possible.

As I said, we are adding commands at the direct request of mod groups and script writers. Most people cannot write their own custom scripts.dll to do stuff like get the current number of deployed mines, change the mine limit, or a special script/action that is required for their mod to be realistic, so we give them simple commands to query the info, and now instead of having to be a wiz at C++ they just have to know how to parse some text or attach a script jonwil has written to an object. I don't see why this is so hard for you to understand.

Yes, there was a time when we all thought the things being done with Renegade today was impossible. But dedication and ingenuiity (yes I am speaking of your accomplishments as well), have allowed us to do more than we ever thought we could without having the source code.

BHS is here to support Renegade. Our goal is to fix as many bugs as we can, stop cheating, and add enhancements that the renegade server owners and players ask for. That is "what we are doing".
new stuff in scripts.dll 2.1 for users and/or server owners [message #137015] Tue, 08 February 2005 12:47 Go to previous messageGo to next message
WNxCABAL is currently offline  WNxCABAL
Messages: 1391
Registered: July 2004
Karma: 0
General (1 Star)
I think that told vloktboky Razz

Warrior Nation Number One Gaming Clan In The World Razz

http://www.tibnas.com/Outbound_Images/wnxcabal_cabalcc3kw_sig_ani.gif
new stuff in scripts.dll 2.1 for users and/or server owners [message #137019] Tue, 08 February 2005 12:53 Go to previous messageGo to next message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Recruit

My post was not dripping with sarcasm. You interpreted it as having such because you view me as doing such a thing. I have only myself to blame for that one, but I did not intend to sound like a dick when I said all of that. If I did, I wouldn't have said that.

Let me rephrase everything. It's a nice idea, but at the same time, it's all lacking practical use for the far future. Although getting the current map is useful in its own way, in the long run, it doesn't do much more or aid in anything else. All I am trying to say is instead of putting all of these simple features into one update, try to expand on them and get more use out of them. In the long run, many more people would be helped and Renegade itself would improve ten folds.

I'm only trying to help. I'm not here to argue with you or anyone else. Flaming is a waste of time, time that I would rather not waste.

On a more personal note, I'd like to apologize to you for anything I did or said to you in the past, and any offense that you may have taken from my last post. Like I said, I didn't mean to offend you or upset you. I only want to try to help out in any way I can in order to make up for the past year I spent doing just the opposite. Confused
new stuff in scripts.dll 2.1 for users and/or server owners [message #137098] Tue, 08 February 2005 18:12 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

I totally understand...I agree that the way we are doing things is very kludgy, but without having the source code we are pretty limited in how we can add features. Well, I take that back...for custom applications quite a bit more could be done, BUT to make enhancements that everyone can easily use, the best way so far has been to give them console commands that they can use to get the info or change the settings they need. Then all they need to know is how to send a renrem message and how to parse the resulting text.

I have proposed to BHS that we do away with the RenRem stuff altogether, and instead make direct calls to change settings and query information. This will require learning and mapping all of the various system calls and memory addresses, so I don't think we are going to tackle that until after RG 1.04 is out. I think it will be cool if it works as planned...we could even optionally build RG into the server itself instead of having an extra app.

If you are up to it please PM me your email or IM name, I would be glad to share some ideas.
new stuff in scripts.dll 2.1 for users and/or server owners [message #137581] Thu, 10 February 2005 19:23 Go to previous messageGo to next message
Alkaline is currently offline  Alkaline
Messages: 1132
Registered: November 2003
Karma: 0
General (1 Star)
Deleted
Hey, so if I am understanding this correctly, we can make music sound tracks for players from the music in the game?

Cool, I always hated the fact renegade had no music in it...

some map like river canyon had music that would play in single player LAN mode but not online multiplayer...

Would be nice to have the feature of playing single player mission music on multiplayer maps.


new stuff in scripts.dll 2.1 for users and/or server owners [message #137594] Thu, 10 February 2005 20:39 Go to previous messageGo to next message
flyingfox is currently offline  flyingfox
Messages: 1612
Registered: February 2003
Location: scotland, uk
Karma: 0
General (1 Star)
changing mine limits, time limits, maps (at any point during the game I imagine), don't seem very fair. Think, there will probably be a lot of people (moderators) on one server with access to these commands; i don't want somebody changing a map because he doesn't feel like playing it, extending time limits to 'get more fun out of the game', giving the game mine limits of 1000384795795 so people can lay 10 mines at each doorway and defeat the whole purpose of balancing their use.
new stuff in scripts.dll 2.1 for users and/or server owners [message #138057] Sun, 13 February 2005 13:51 Go to previous messageGo to next message
Chronojam is currently offline  Chronojam
Messages: 688
Registered: March 2003
Karma: 0
Colonel
Then play in real servers. Servers that would do that fucked up stuff are similar to servers where the mods randomly kick people for "fun" and if people on their team aren't good enough.
new stuff in scripts.dll 2.1 for users and/or server owners [message #138088] Sun, 13 February 2005 15:55 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Blazer


Autodownload is planned...there are several gotchas of course though. One being that renegade servers already use gobs of bandwidth, and 10 people downloading a map from the server at the same time would make it lag. Options to fix that would be a trickle download, which is slow, or server owner can set downloads to be from another location, then you have to deal with things like how Renegade wont accept new maps if you just drop them in, you have to restart the game...theres that "if we just had the source code" popping up again Smile The final solution will probably be totally replacing the server browser with our own app, so that downloads etc can be done before actually launching the game.



that would be awesome, but please please please, if you can make the downlaod from another location... I would rent a server just for that reason, or maybe go halves with someone (zunnie Wink )...

i would love to get fan made maps back on my servers without having empty servers... and also please if you can make it so that the map name isn't greyed out, because then people will just assume they cant join.

I really really would love to see this available Smile
new stuff in scripts.dll 2.1 for users and/or server owners [message #138624] Wed, 16 February 2005 10:13 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
Alkaline

Hey, so if I am understanding this correctly, we can make music sound tracks for players from the music in the game?

Cool, I always hated the fact renegade had no music in it...

some map like river canyon had music that would play in single player LAN mode but not online multiplayer...

Would be nice to have the feature of playing single player mission music on multiplayer maps.


im creating a !jukebox command for NR Smile

im going to make it as customizeable as possible by the server owner, including add your own music, etc Smile (the client will have to have the sound track in there data folder though unless only Renegade music is used)
Re: new stuff in scripts.dll 2.1 for users and/or server own [message #138678] Wed, 16 February 2005 17:02 Go to previous messageGo to next message
kurt421 is currently offline  kurt421
Messages: 47
Registered: August 2004
Karma: 0
Recruit
jonwil

Eject a given player from whatever vehicle they are in



Whats this? Confused


Ace Rimmer

"Smoke me a kipper, i'll be back for breakfast!"


http://img107.exs.cx/img107/2741/9c-2c-Blend2.jpg
new stuff in scripts.dll 2.1 for users and/or server owners [message #138719] Wed, 16 February 2005 20:42 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

the eject command is something mac wanted for proper vehicle management (like what Dragonade has)

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
new stuff in scripts.dll 2.1 for users and/or server owners [message #138735] Wed, 16 February 2005 21:33 Go to previous messageGo to next message
xptek is currently offline  xptek
Messages: 1410
Registered: August 2004
Location: USSA
Karma: 0
General (1 Star)
flyingfox

changing mine limits, time limits, maps (at any point during the game I imagine), don't seem very fair. Think, there will probably be a lot of people (moderators) on one server with access to these commands; i don't want somebody changing a map because he doesn't feel like playing it, extending time limits to 'get more fun out of the game', giving the game mine limits of 1000384795795 so people can lay 10 mines at each doorway and defeat the whole purpose of balancing their use.


If I remember correctly the mine limit can only be changed to around 127. As Chronojam said, play on servers you trust.


cause = time
new stuff in scripts.dll 2.1 for users and/or server owners [message #141771] Fri, 04 March 2005 04:00 Go to previous message
EA-DamageEverything
Messages: 423
Registered: January 2005
Location: Germany
Karma: 0
Commander
jonwil

to output PNG screenshots instead of TGA (using the well-tested LIBPNG library), this means you dont need a seperate program to convert your screenshots anymore. I work with Irfan, MSpaint is crappy.
Play a music track for all players Already works with sounds and the soundtrack from the always.dat.
Stop all music playing for all players Would be new.
Play a music track for a specific player Already works.
Stop all music playing for a specific player Would be new
Alkaline

some map like river canyon had music that would play in single player LAN mode but not online multiplayer. Play MutationRedux or Carnage_Club_Extreme for example, or sunken2, these maps have got a MP3 inside which you will hear if you turn the music in the Renegade settings on.online too...
jonwil

the eject command is something mac wanted for proper vehicle management (like what Dragonade has) Why don´t you put more from the Dragonade Mod in the next DLLs/SS-CP? I mean the !bind/!lock commands are very useful against GTA-n00bs. Vloktboky has given the source code out in public on renEvo...some guys are fixing some bugs....and add the Veteran-System, would be a good push forward to make Renegade interesting for many more ppl


And BTW, I have texture issues with QuickDraw.mix since I upgraded from 1.93 to 2.01 DLLs.....
Previous Topic: CRATES
Next Topic: OK i need a better understanding of this..
Goto Forum:
  


Current Time: Thu Nov 28 03:59:03 MST 2024

Total time taken to generate the page: 0.01238 seconds