Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » Idea for new structure on scripts.dll 3.0
Idea for new structure on scripts.dll 3.0 [message #212184] Mon, 07 August 2006 11:54 Go to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
Heya!

i have an idea for a new structure on scripts.dll 3.0, since on 2.9.2 you cannot mix + match the bhs.dll's, i have no way of updating them to the latest bhs.dll so that NR can use the commands in it without fucking up SSAOW or any custom scripts the server owner may have


at the moment this is how it works:

scripts.dll = SSAOW, SSCTF, Jonwils scripts + anything else
scripts2.dll = Westwoods Scripts

as you can probably tell, i can update the scripts.dll ot the latest of jonwils scripts without removing ssaow or anything similar and then NR will not have access to the new commands in bhs.dll

so heres what i suggest:

scripts.dll = SSAOW, SSCTF or anything else the server owner adds
scripts2.dll = Jonwils Scripts
scripts3.dll = Westwoods Scripts

by default, (and on the client) scripts.dll itself will just be a blank dll that calls scripts2 + scritps3, and all WD would have to do would be to edit that dll and add his code

if it was done this way, when NR needs commands that are in a later version of bhs.dll, NR or any other bot.... could update bhs.dll as well as scripts2.dll

suggestions/comments plz? Big Grin Thumbs Up
Re: Idea for new structure on scripts.dll 3.0 [message #212187 is a reply to message #212184] Mon, 07 August 2006 12:35 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

Nightma12 wrote on Mon, 07 August 2006 20:54

since on 2.9.2 you cannot mix + match the bhs.dll's


It's not since 2.9.2, you should never mix them in ANY version.

I think it would be too difficult to have 3 dlls,

because you would need to export everything in one dll, so

that the other one can use it. Sarcasm


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: Idea for new structure on scripts.dll 3.0 [message #212240 is a reply to message #212184] Mon, 07 August 2006 17:37 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
im sure its not that hard...

and also what might be a better idea...

scripts2 = scriptsJW.dll
scripts3= scriptsWW.dll

instead...? perhaps that would be easier?
Re: Idea for new structure on scripts.dll 3.0 [message #212244 is a reply to message #212184] Mon, 07 August 2006 17:53 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

well, scripts.dll is opensource, you can do whatever you want Big Ups

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: Idea for new structure on scripts.dll 3.0 [message #212361 is a reply to message #212184] Tue, 08 August 2006 17:22 Go to previous messageGo to next message
=HT=T-Bird is currently offline  =HT=T-Bird
Messages: 712
Registered: June 2005
Karma: 0
Colonel
Actually, shouldn't we do a Renegade version of HL's MetaMod? (i.e. full-blown admin plugins that can be run in parallel) Such an endeavor would open up many possibilities...how about a version of DS/DA that lives within the FDS itself?

HTT-Bird (IRC)
HTTBird (WOL)
Proud HazTeam Lieutenant.
BlackIntel Coder & Moderator.

If you have trouble running BIATCH on your FDS, have some questions about a BIATCH message or log entry, or think that BIATCH spit out a false positive, PLEASE contact the BlackIntel coding team and avoid wasting the time of others.
Re: Idea for new structure on scripts.dll 3.0 [message #212502 is a reply to message #212184] Wed, 09 August 2006 16:53 Go to previous messageGo to next message
Whitedragon is currently offline  Whitedragon
Messages: 832
Registered: February 2003
Location: California
Karma: 1
Colonel
I've thought about doing something like this before, however it won't fix the problems with mixing different versions of scripts.dll and bhs.dll.

Black-Cell.net
Network Administrator (2003 - )

DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )

Dragonade, Renegade's first server side modification
Lead coder (2005 - )
Better Idea [message #212609 is a reply to message #212184] Thu, 10 August 2006 11:45 Go to previous messageGo to next message
CdCyBoRg is currently offline  CdCyBoRg
Messages: 76
Registered: June 2005
Location: England
Karma: 0
Recruit

Or.. Jon Wil dont take all the credit for Bhs.dll and he makes the program public so others can edit in there own way.

I Am TeH OnE
Re: Better Idea [message #212619 is a reply to message #212609] Thu, 10 August 2006 13:17 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

CdCyBoRg wrote on Thu, 10 August 2006 20:45

Or.. Jon Wil dont take all the credit for Bhs.dll and he makes the program public so others can edit in there own way.


There is no need to do that.


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: Idea for new structure on scripts.dll 3.0 [message #212633 is a reply to message #212184] Thu, 10 August 2006 14:32 Go to previous messageGo to next message
Caveman is currently offline  Caveman
Messages: 2476
Registered: July 2005
Location: Wales, UK
Karma: 0
General (2 Stars)

Quote:

CdCyBoRg wrote on Thu, 10 August 2006 20:45

Or.. Jon Wil dont take all the credit for Bhs.dll and he makes the program public so others can edit in there own way.




That was totally out of line, wasn't needed at all. If it wasn't for JonWil we wouldn't have the commands we have today.
Have some respect.


CarrierII wrote

BLUEHTHEN YOU AR NOT JUST A BIG CHEATAS AND YOU THE BIG HEAD JUST YOU USE FLY H4X FUCK YOU BIG CHEATAS YOUR CHEATZ IS BAD YOU WANT I WRAUGHT THIS YOUR CHEATZ IS BAD HEY IS 1 YEAR YOUR PROMESS A FLY HAX IN MULTIPLAYER AND IS DONT JUST TROOPRM02 I TELL IT ALL WHO REPLYER IN THIS FORUM YOU CHEATZ

Please don't make me type something like that again, not using puntuation is annoying.


http://r9.fodey.com/2158/bc450f3ca15045e9bdd7651fa49f3a0a.0.gif

[Updated on: Thu, 10 August 2006 14:33]

Report message to a moderator

Re: Better Idea [message #212899 is a reply to message #212609] Sat, 12 August 2006 07:46 Go to previous messageGo to next message
Dan
Messages: 395
Registered: August 2003
Location: UK
Karma: 0
Commander
CdCyBoRg wrote on Thu, 10 August 2006 14:45

Or.. Jon Wil dont take all the credit for Bhs.dll and he makes the program public so others can edit in there own way.


That's not why bhs.dll is kept private. As far as I know, bhs.dll is closed source because it contains code such as what is used to create new console commands. And if that sort of code was open source then it would be much easier for people to write some pretty nasty cheats.
Re: Idea for new structure on scripts.dll 3.0 [message #212902 is a reply to message #212184] Sat, 12 August 2006 07:49 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Yes, there is code in bhs.dll that could definatly help cheaters.


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: Better Idea [message #212976 is a reply to message #212899] Sun, 13 August 2006 00:38 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
Dan wrote on Sat, 12 August 2006 15:46

CdCyBoRg wrote on Thu, 10 August 2006 14:45

Or.. Jon Wil dont take all the credit for Bhs.dll and he makes the program public so others can edit in there own way.


That's not why bhs.dll is kept private. As far as I know, bhs.dll is closed source because it contains code such as what is used to create new console commands. And if that sort of code was open source then it would be much easier for people to write some pretty nasty cheats.


i was going to say somthing along the lines of that... i was going to say if poeple new how to create command someone somewhere would screw everything up and blame jonwil for it, or start nagging for help.
Re: Idea for new structure on scripts.dll 3.0 [message #212988 is a reply to message #212184] Sun, 13 August 2006 03:50 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
ConsoleCommand::ConsoleCommand()
{
	__asm {
		lea eax, this
		push eax
		mov ecx, 0xAddress
		mov eax, 0xAddress
		call eax
	}
}


A little help.


Let all your wishes be granted except one, so you will still have something to strieve for.
Re: Idea for new structure on scripts.dll 3.0 [message #213006 is a reply to message #212184] Sun, 13 August 2006 07:43 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
so you can create your owncommands? woot!

and the other woot is:
dead6re


	__asm {
		lea eax, this
		push eax
		mov ecx, 0xAddress
		mov eax, 0xAddress
		call eax
	}




assembler!!!!! i never though this is possible, though the "__" suggests that it is a compiler statment???
Re: Idea for new structure on scripts.dll 3.0 [message #213009 is a reply to message #212184] Sun, 13 August 2006 08:13 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
__ASM means in is Inline Assembler.

Let all your wishes be granted except one, so you will still have something to strieve for.
Re: Idea for new structure on scripts.dll 3.0 [message #213035 is a reply to message #212184] Sun, 13 August 2006 11:42 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
ConsoleCommand::ConsoleCommand()
{
        __asm {
                lea eax, this
                push eax
                mov ecx, 0xAddress
                mov eax, 0xAddress
                call eax
        }
}


so would this function do? if called?
Re: Idea for new structure on scripts.dll 3.0 [message #213118 is a reply to message #212184] Mon, 14 August 2006 00:45 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
Nothing very much at the moment because your missing the rest of the code. The function is currently the constructor of my ConsoleCommand class. It would register my ConsoleCommand to the program if called.

Let all your wishes be granted except one, so you will still have something to strieve for.
Re: Idea for new structure on scripts.dll 3.0 [message #213123 is a reply to message #212184] Mon, 14 August 2006 01:08 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
iv got to learn asembler...
Re: Idea for new structure on scripts.dll 3.0 [message #213130 is a reply to message #212184] Mon, 14 August 2006 01:57 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
Not Easy, My current project is Reserved Slots for Renegade. I'm very close to releasing publically.

Let all your wishes be granted except one, so you will still have something to strieve for.
Re: Idea for new structure on scripts.dll 3.0 [message #213642 is a reply to message #212184] Wed, 16 August 2006 19:21 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
what is your project?
Re: Idea for new structure on scripts.dll 3.0 [message #213697 is a reply to message #212184] Thu, 17 August 2006 06:26 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
I said Reserved Slots, I just need a way of getting a name from direct connect if it is possible.

Let all your wishes be granted except one, so you will still have something to strieve for.
Re: Idea for new structure on scripts.dll 3.0 [message #213699 is a reply to message #213697] Thu, 17 August 2006 06:50 Go to previous messageGo to next message
Caveman is currently offline  Caveman
Messages: 2476
Registered: July 2005
Location: Wales, UK
Karma: 0
General (2 Stars)

regex? I remember a friend of mine had a problem with people that have spaces in their name.. He said something about regex.

CarrierII wrote

BLUEHTHEN YOU AR NOT JUST A BIG CHEATAS AND YOU THE BIG HEAD JUST YOU USE FLY H4X FUCK YOU BIG CHEATAS YOUR CHEATZ IS BAD YOU WANT I WRAUGHT THIS YOUR CHEATZ IS BAD HEY IS 1 YEAR YOUR PROMESS A FLY HAX IN MULTIPLAYER AND IS DONT JUST TROOPRM02 I TELL IT ALL WHO REPLYER IN THIS FORUM YOU CHEATZ

Please don't make me type something like that again, not using puntuation is annoying.


http://r9.fodey.com/2158/bc450f3ca15045e9bdd7651fa49f3a0a.0.gif
Re: Idea for new structure on scripts.dll 3.0 [message #213702 is a reply to message #212184] Thu, 17 August 2006 07:36 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
i mean what will it do?
Re: Idea for new structure on scripts.dll 3.0 [message #213703 is a reply to message #213702] Thu, 17 August 2006 07:43 Go to previous messageGo to next message
Caveman is currently offline  Caveman
Messages: 2476
Registered: July 2005
Location: Wales, UK
Karma: 0
General (2 Stars)

After a couple weeks of very hard work, I am able to present Reserved Slots to you. 

Basically this allows any user to join the game if they have access using any the the last four slots in the game if the game is already full.

Just to warn you all, this is still in a BETA stage, so any bugs you find, please let me know. This also only works for the Windows RenegadeFDS.


CarrierII wrote

BLUEHTHEN YOU AR NOT JUST A BIG CHEATAS AND YOU THE BIG HEAD JUST YOU USE FLY H4X FUCK YOU BIG CHEATAS YOUR CHEATZ IS BAD YOU WANT I WRAUGHT THIS YOUR CHEATZ IS BAD HEY IS 1 YEAR YOUR PROMESS A FLY HAX IN MULTIPLAYER AND IS DONT JUST TROOPRM02 I TELL IT ALL WHO REPLYER IN THIS FORUM YOU CHEATZ

Please don't make me type something like that again, not using puntuation is annoying.


http://r9.fodey.com/2158/bc450f3ca15045e9bdd7651fa49f3a0a.0.gif
Re: Idea for new structure on scripts.dll 3.0 [message #213786 is a reply to message #212184] Thu, 17 August 2006 20:52 Go to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
cool
Previous Topic: Map Rotation Editor
Next Topic: Night regulator
Goto Forum:
  


Current Time: Sat Nov 09 14:19:54 MST 2024

Total time taken to generate the page: 0.01331 seconds