Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll 2.1.3 progress report
scripts.dll 2.1.3 progress report [message #158468] Sun, 05 June 2005 06:38 Go to next message
jonwil is currently offline  jonwil
Messages: 3555
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 #158470 is a reply to message #158468] Sun, 05 June 2005 07:17 Go to previous messageGo to next message
Halo38 is currently offline  Halo38
Messages: 955
Registered: February 2003
Location: UK
Karma: 0
Colonel
jonwil wrote on Sun, 05 June 2005 09:38


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



Excellent! thanks Jon, can't stand those cheaters Smile


Online Portfolio - www.chettle1.com

Renegade projects - Halo38's Den hosted by www.laeubi.de

Creator of : C&C_Arid, C&C_Ancients, C&C_Bio, C&C_Duel Arena

Mod Wars Veteran
Re: scripts.dll 2.1.3 progress report [message #158501 is a reply to message #158470] Sun, 05 June 2005 13:16 Go to previous messageGo to next message
ghostSWT
Messages: 262
Registered: December 2003
Karma: 0
Recruit
Quote:

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
Isn't that all already fixed by SK's BandTest.dll???
Re: scripts.dll 2.1.3 progress report [message #158506 is a reply to message #158468] Sun, 05 June 2005 13:29 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

yes, but SK's Bandtest.dll isnt part of jonwils scripts.dll Very Happy

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 #158507 is a reply to message #158468] Sun, 05 June 2005 13:31 Go to previous messageGo to next message
TD is currently offline  TD
Messages: 966
Registered: May 2005
Karma: 0
Colonel
OMG SO GOOD.

New Scripts with fixes AND nickname hack fixed, just a file.



Reporting one bug:
I cannot choose f8 - extras with this new scripts. Renegade crashed if I try it.

Also, since this script renegade crashes more often...

But it's a great thing. I love it. Please consider looking into these two problems


EDIT:
Maps load faster now, do they even load FASTER when I use the speeded westwood maps that have been going around? Or doesnt that make any difference?

About the logs that scripts.dll saves, like text that has been typed. Can you please tell me how to disable this? Can you put in the option if it currently does not have it?


Typo fix:

win command says:
0= Nod
1=win

Should be 1= GDI

And at the teams and teams2 command, just place 2= Neutral. It's been discovered anyway, it'd be great if every command was in the list Very Happy


http://i38.tinypic.com/6fs2s9.png

[Updated on: Sun, 05 June 2005 13:53]

Report message to a moderator

Re: scripts.dll 2.1.3 progress report [message #158517 is a reply to message #158468] Sun, 05 June 2005 15:14 Go to previous messageGo to next message
Aircraftkiller is currently offline  Aircraftkiller
Messages: 8213
Registered: February 2003
Karma: 0
General (5 Stars)
It was already fixed, jonwil just did his thing where he steals SK's code again.

I don't know why BHS tolerates thievery...
Re: scripts.dll 2.1.3 progress report [message #158529 is a reply to message #158468] Sun, 05 June 2005 16:20 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

You cant disable those log files (why is it that you want to anyway?)


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 #158602 is a reply to message #158468] Sun, 05 June 2005 21:02 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

I tried with both <my WIP of 2.1.3> and <stock westwood> and I couldnt seem to get the EXTRAS command to crash.
Nor could I get it to do anything either.
What steps should I be taking to get the EXTRAS command to do something?

EDIT:
I made it do what it was supposed to do (now that I know how to activate it)
It isnt crashing here on my end, if it crashes for anyone else, I need the _except.txt for the crash so I can debug it.

Oh and BTW, I did NOT steal SKs code.


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

[Updated on: Sun, 05 June 2005 21:08]

Report message to a moderator

Re: scripts.dll 2.1.3 progress report [message #158616 is a reply to message #158602] Mon, 06 June 2005 01:17 Go to previous messageGo to next message
Goztow is currently offline  Goztow
Messages: 9727
Registered: March 2005
Location: Belgium
Karma: 13
General (5 Stars)
Goztoe
Good things that will be added, now start coding so I can protect our server Razz

You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
Re: scripts.dll 2.1.3 progress report [message #158617 is a reply to message #158468] Mon, 06 June 2005 01:21 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

bleh

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 #158623 is a reply to message #158468] Mon, 06 June 2005 02:10 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

I AM coding Smile
It just takes time 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 #158756 is a reply to message #158468] Mon, 06 June 2005 20:59 Go to previous messageGo to next message
Cyber030 is currently offline  Cyber030
Messages: 51
Registered: May 2005
Karma: 0
Recruit
Glad the new scripts are coming along. Have been awaiting some new ones.

http://i6.photobucket.com/albums/y202/gijoe2256/FSIG1copy.jpg
Re: scripts.dll 2.1.3 progress report [message #158823 is a reply to message #158468] Tue, 07 June 2005 11:22 Go to previous messageGo to next message
TD is currently offline  TD
Messages: 966
Registered: May 2005
Karma: 0
Colonel
Maps load faster now with the scripts, do they even load FASTER when I use the speeded westwood maps that have been going around? Or doesnt that make any difference?

http://i38.tinypic.com/6fs2s9.png
Re: scripts.dll 2.1.3 progress report [message #158910 is a reply to message #158468] Tue, 07 June 2005 16:41 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

Basicly, the standard westwood maps (and standard westwood always.dat/always2.dat) include files called always.dep and <mapname.dep>

The speeded westwood maps (which dont actually make things that much faster) remove the <mapname.dep> files from the map files.

RenAlert doesnt have the dep files in the first place which is why it can load so fast.
What my new code does is to tell the game not to read the dep files at all which gives the fastload effect for everyone (since it doesnt read always.dep or <mapname.dep> anymore)


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 #158913 is a reply to message #158468] Tue, 07 June 2005 17:01 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
what were the dep files for? some redundant function from the development of renegade?

http://steamsignature.com/card/1/76561197975867233.png
Re: scripts.dll 2.1.3 progress report [message #158916 is a reply to message #158468] Tue, 07 June 2005 17:11 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

No idea 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 #158964 is a reply to message #158602] Wed, 08 June 2005 04:27 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
jonwil wrote on Mon, 06 June 2005 00:02

Oh and BTW, I did NOT steal SKs code.



Except that if he never made it you'd have no clue how to make it, and would still be trying to make it pamsg spam them...


~Canucck

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

Blazer

...RG made me ugly

[Updated on: Wed, 08 June 2005 04:28]

Report message to a moderator

Re: scripts.dll 2.1.3 progress report [message #158969 is a reply to message #158468] Wed, 08 June 2005 05:21 Go to previous messageGo to next message
TD is currently offline  TD
Messages: 966
Registered: May 2005
Karma: 0
Colonel
Quick note:

About the extras, I now know why Renegade 'crashed'. I always use f8, ex, enter to get to extras. But ex now first chooses the exit command. So I have to type ext to get extras.

So what you mean is, I dont need the speeded maps as the scripts does exaclty the same and yet it is 2 mb only? Very Happy


http://i38.tinypic.com/6fs2s9.png
Re: scripts.dll 2.1.3 progress report [message #158970 is a reply to message #158468] Wed, 08 June 2005 06:03 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

Renx: WRONG.
v00d00 (our resident netcode expert) found the information I needed.

And TD: No, you dont need the speeded up maps, the scripts.dll will do that for you.


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 #158974 is a reply to message #158468] Wed, 08 June 2005 07:46 Go to previous messageGo to next message
TD is currently offline  TD
Messages: 966
Registered: May 2005
Karma: 0
Colonel
Alright, thanks jonwil. BTW, when will this newer and better version be coming out? Big Ups

EDIT: Wil this antinamehack thing stop people from hacking games that I host? Non-dedicated games, on WOL, the host game button.


Silent Kane, what do you mean by supporting cheaters? Can these scripts be used to cheat? If so, Renguard should read the scripts. And everytime a new scripts is released it should be checked by the renguard team.


http://i38.tinypic.com/6fs2s9.png

[Updated on: Wed, 08 June 2005 09:36]

Report message to a moderator

Re: scripts.dll 2.1.3 progress report [message #158977 is a reply to message #158970] Wed, 08 June 2005 08:34 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
jonwil wrote on Wed, 08 June 2005 08:33

Renx: WRONG.
v00d00 (our resident netcode expert) found the information I needed.

And TD: No, you dont need the speeded up maps, the scripts.dll will do that for you.


Just proving again that you're a retard code who can't do stuff himself. I bet half of "your" bhs.dll is stolen from me and the other half has been made with the help of other people.

And don't forget that you're supporting cheaters with your scripts.dll shit.


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
Re: scripts.dll 2.1.3 progress report [message #159015 is a reply to message #158468] Wed, 08 June 2005 12:17 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
Why don't you just get over yourself, ask SK if you can add his DLL into the patch, and credit him for it. Then credit him for the rest of his code you're using while you're at it.

~Canucck

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

Blazer

...RG made me ugly
Re: scripts.dll 2.1.3 progress report [message #159024 is a reply to message #158468] Wed, 08 June 2005 14:10 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

Yeah, teamwork Razz

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 #159027 is a reply to message #158468] Wed, 08 June 2005 14:15 Go to previous messageGo to next message
lightning is currently offline  lightning
Messages: 7
Registered: February 2004
Location: England,U.K
Karma: 0
Recruit
nice work jonwill

http://newren.renegadeforums.com/images/custom_avatars/40.jpg ROCKS Smile
Re: scripts.dll 2.1.3 progress report [message #159213 is a reply to message #158977] Fri, 10 June 2005 01:51 Go to previous messageGo to previous message
Slash0x is currently offline  Slash0x
Messages: 455
Registered: January 2004
Location: California
Karma: 0
Commander
Silent Kane wrote on Wed, 08 June 2005 11:34

Just proving again that you're a retard code who can't do stuff himself. I bet half of "your" bhs.dll is stolen from me and the other half has been made with the help of other people.


Question, how can it be stolen code if you never release the code to begin with (unless you have and I missed it in one of my absences from the Renegade community)?


L3T'5 4LL THR0W 3GG5 4T D4 N00B! Smile

[Updated on: Fri, 10 June 2005 01:52]

Report message to a moderator

Previous Topic: .Mix map preset problems
Next Topic: Server Side Sniper Mod
Goto Forum:
  


Current Time: Mon May 13 09:18:08 MST 2024

Total time taken to generate the page: 0.01212 seconds