Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll 2.4
scripts.dll 2.4 [message #187666] Sun, 29 January 2006 19:25 Go to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

I am planning to get 2.3.1 out with any needed fixes then get CP2 into beta testing (its ready, just going to wait for 2.3.1 plus I gotta get a readme file) but after that, I am thinking about looking into a 2.4 release.
What features do people want to see in a 2.4 release?


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.4 [message #187681 is a reply to message #187666] Sun, 29 January 2006 20:59 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

  • join/leave hook
  • clientcommand for sending console commands and other stuff to the server
  • gameplay pending control
  • UDP flooding check
  • gameover hook
  • More ways to change settings on the server you would otherwise need to change in LE/objects.ddb
  • Client bandwidth-change reporting/logging (Crimsons server has running that)


Thats all Folks


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: Sun, 29 January 2006 21:08]

Report message to a moderator

Re: scripts.dll 2.4 [message #187682 is a reply to message #187666] Sun, 29 January 2006 21:05 Go to previous messageGo to next message
bisen11 is currently offline  bisen11
Messages: 797
Registered: December 2004
Karma: 0
Colonel
Scripts that kill spawners on the event of an objects death. A way to make more than one repair building for a base. (say a building on the right repairs the buildings near it and one on left repairs ones near it). And is there a script to make a bot shoot while following a waypath?

http://i6.photobucket.com/albums/y206/bisen11/bisensubzerosig2.jpg
Re: scripts.dll 2.4 [message #187686 is a reply to message #187666] Sun, 29 January 2006 22:44 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Join/Leave hook I can do (I know how to do join already, leave just requires finding all the places where leave/disconnect happens)

Client command for sending console commands and other stuff to the server I refuse to do since its a huge security hole. (if you really want the client to be able to run a command on the server, do what SSAOW does, implement a chat hook. You can then use the player ID passed to the chathook to check the players name, IP address or whatever else to verify that they are allowed to use that command.

Gameplay pending control I cant do since I dont know anything about that code.
UDP flooding check I dont know anything about so I cant do it.
Gameover hook I can do once I find the right code to do it.
More ways to change settings on the server you would otherwise need to change in LE/objects.ddb I can look at if people can tell me settings I should consider making changeable.
Client bandwidth-change reporting/logging I can look into.

Scripts that kill spawners on the event of an objects death. Something like JFW_Death_Destroy_Object should do this.
A way to make more than one repair building for a base. This is easy enough, you could probobly use TDA_ConYard or so right now (since that takes a list of buildings to repair IIRC) or I could do up one that uses a radius value to find the buildings to repair.

As for bots, not much is known about the whole area of waypaths and ActionParamsStruct and related areas. The scripts I have now for bots (e.g. JFW_Guard_Duty & others) are probobly as good as they are going to get.

Keep the ideas comming folks 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.4 [message #187689 is a reply to message #187666] Sun, 29 January 2006 23:12 Go to previous messageGo to next message
Kamuix is currently offline  Kamuix
Messages: 1247
Registered: May 2005
Location: Ontario, Canada
Karma: 0
General (1 Star)
A teleport script that instead of being team specified like the JFW one. Its specified by a player name.

A script for the MX0_Obelisk object that would allow it to work and be destroyable.< Probably impossoble to do but its an idea.

A "Kill <Player ID> Console command. Along with Kill2 for not taking away cash.

A Map Position console command.
Mappos <Player ID> <X> <Y> <Z> Moves the player to that map position Big Ups . I love this idea.

A script that u can use to specify which team players start on when they join. Instead of automaticly balancing the teams. Maybe.

There are some ideas i thought of Big Ups .





[Updated on: Sun, 29 January 2006 23:19]

Report message to a moderator

Re: scripts.dll 2.4 [message #187692 is a reply to message #187666] Sun, 29 January 2006 23:50 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

MX0_Obelisk thing is not possible.
Not going to do either the kill or the move console commands.
Dont see the use for a player-specific teleport script.
Not going to do that team thing either, I dont see any use for it 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.4 [message #187711 is a reply to message #187666] Mon, 30 January 2006 03:56 Go to previous messageGo to next message
theplague is currently offline  theplague
Messages: 261
Registered: May 2004
Karma: 0
Recruit
might be a little off topic, but with the client scripts, perhaps you can add a option where hosts can send files to clients automaticly, maybe map files, maybe sound files, however i do realise that there will be a major client security risk, maybe something can be put into place to stop it. (maybe limit it to .wav and .mix only and make it so it can't over write original map and sound files)

how about a Page hook? i know theres already a PPage hook, just need a page hook Razz

also, gameover hook you can do already (unless you got it set to buildingDestructionEndsGame=no) just everytime a building gets killed, check how many buildings are left on that buildings team, if it's 0, then you can do gameover stuff, cos the players haven't been destroy objected yet.

if your server has a time limit, create a invisible_object and attach a timer to it, read the time limit out of the config file with getProfileInt and set the timer to timeLimit - 0.5, thats when game will be over


http://users.tpg.com.au/ling44/av_firefox.gifhttp://users.tpg.com.au/ling44/av_rg.gif

[Updated on: Mon, 30 January 2006 03:57]

Report message to a moderator

Re: scripts.dll 2.4 [message #187720 is a reply to message #187666] Mon, 30 January 2006 05:57 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

If by "page", you mean hooking the WOL pages, I have no idea how to do that.

You can already hook the PPAGE, TPAGE, MESSAGE and TMSG console commands.

Being able to send data over the network sounds nice but there are issues we would need to work through before we did that.

As for gameover hook, I want to hook the actual end game code so that you can pick up a bunch of things you cant get at easily any other way.


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.4 [message #187752 is a reply to message #187686] Mon, 30 January 2006 11:56 Go to previous messageGo to next message
=HT=T-Bird is currently offline  =HT=T-Bird
Messages: 712
Registered: June 2005
Karma: 0
Colonel
Once you get joinhook/leavehook done, do you think you could add join/leave logging to the Gamelog and SSAOWLog? It would save us bot designers the work of having to parse the Renlog in ADDITION to SSAOWLog or Gamelog... Tell Me

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: scripts.dll 2.4 [message #187762 is a reply to message #187666] Mon, 30 January 2006 14:06 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

Gamelog and SSAOWlog are part of SSAOW, not scripts.dll

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.4 [message #187786 is a reply to message #187762] Mon, 30 January 2006 16:43 Go to previous messageGo to next message
=HT=T-Bird is currently offline  =HT=T-Bird
Messages: 712
Registered: June 2005
Karma: 0
Colonel
Cat998 wrote on Mon, 30 January 2006 15:06

Gamelog and SSAOWlog are part of SSAOW, not scripts.dll

LOL SSAOW is really another scripts.dll version! Go look at the SSAOW sources Cat...


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: scripts.dll 2.4 [message #187804 is a reply to message #187666] Mon, 30 January 2006 17:41 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

I meant original scripts.dll. SSAOW is done by WD.

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.4 [message #187808 is a reply to message #187666] Mon, 30 January 2006 18:17 Go to previous messageGo to next message
fl00d3d is currently offline  fl00d3d
Messages: 1107
Registered: August 2003
Location: Iowa, USA
Karma: 0
General (1 Star)
Viva la Resistance!
What do you need to know in order to stop the UDP flooding? This is a major issue that Cat and I are working on dilligently. We've tried some IDS approaches, but it should be "easier" to produce some sort of a patch for it.

I really don't know what you "do not know" about the UDP situation so I cannot offer anything in return. If you explain to me what you'd need to know in order to do this I may be able to help you, help us.

This is a very serious problem that many admins have been facing the last few months and should be a relatively easy fix (in my mind at least).

Please let Cat know if you have any questions for me - he seems to keep me centered on the correct threads as needed as my attention is very scattered atm.

Thanks!
Re: scripts.dll 2.4 [message #187815 is a reply to message #187666] Mon, 30 January 2006 18:55 Go to previous messageGo to next message
bisen11 is currently offline  bisen11
Messages: 797
Registered: December 2004
Karma: 0
Colonel
How bout a script that makes a door only open for a a certain team.

http://i6.photobucket.com/albums/y206/bisen11/bisensubzerosig2.jpg
Re: scripts.dll 2.4 [message #187829 is a reply to message #187666] Mon, 30 January 2006 20:16 Go to previous messageGo to next message
Kamuix is currently offline  Kamuix
Messages: 1247
Registered: May 2005
Location: Ontario, Canada
Karma: 0
General (1 Star)
I was thinking of a more practical door. Where you walk up to it and hit E(or whatever your action key is) And it opens.

[Updated on: Tue, 31 January 2006 14:47]

Report message to a moderator

Re: scripts.dll 2.4 [message #187838 is a reply to message #187829] Mon, 30 January 2006 20:40 Go to previous messageGo to next message
Napalmic
Messages: 57
Registered: May 2005
Location: United States
Karma: 0
Recruit
Buckery wrote on Mon, 30 January 2006 19:16

I was thinking of a more practical door. Where you walk up to it and hit E(or whatever your action key is) And she opens.


There's been four added toggle door scripts since 2.2 now? And some include requiring a key to open.


http://i14.photobucket.com/albums/a330/napalmic/siggy.jpg
Re: scripts.dll 2.4 [message #187845 is a reply to message #187666] Mon, 30 January 2006 21:31 Go to previous messageGo to next message
Kamuix is currently offline  Kamuix
Messages: 1247
Registered: May 2005
Location: Ontario, Canada
Karma: 0
General (1 Star)
My ideas better.
Re: scripts.dll 2.4 [message #187865 is a reply to message #187666] Tue, 31 January 2006 01:40 Go to previous messageGo to next message
Goztow is currently offline  Goztow
Messages: 9738
Registered: March 2005
Location: Belgium
Karma: 13
General (5 Stars)
Goztoe
Could you fix the bug/exploit where someone is on nod but seems to be on gdi, treasonaly kills people and can't be kicked because is not found in the playerlist (doesn't show on brenbot neather)?

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.4 [message #187874 is a reply to message #187666] Tue, 31 January 2006 04:42 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

So basicly the UDP flooding is where someone sends too many UDP packets to the renegade server and causes it to do what exactly? Crash? Freeze? Fail to accept normal connections?

Also, can anyone provide more information for the GDI vs NOD explot /bug mentioned? Anyone know how to reproduce it?


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.4 [message #187877 is a reply to message #187874] Tue, 31 January 2006 04:54 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

jonwil wrote on Tue, 31 January 2006 12:42

So basicly the UDP flooding is where someone sends too many UDP packets to the renegade server and causes it to do what exactly? Crash? Freeze? Fail to accept normal connections?



Some1 floods the server's gameport with a simple udp flooder
programm (a 0,5 Mbit connection can flood a 100 Mbit Server,
so its a huge FDS bug),all players that are playing on the server lose connection then, get 9999 ping and get disconnected from the server.

Im thinking about a code injection that checks the udp packets,
if they are valid, before they are reaching the normal FDS code.
Something like this.


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: Tue, 31 January 2006 05:02]

Report message to a moderator

Re: scripts.dll 2.4 [message #187882 is a reply to message #187829] Tue, 31 January 2006 05:42 Go to previous messageGo to next message
bisen11 is currently offline  bisen11
Messages: 797
Registered: December 2004
Karma: 0
Colonel
Buckery wrote on Mon, 30 January 2006 22:16

I was thinking of a more practical door. Where you walk up to it and hit E(or whatever your action key is) And she opens.


So the door is a "she" eh? And you want to go up to her and press E eh? Big Grin


http://i6.photobucket.com/albums/y206/bisen11/bisensubzerosig2.jpg
Re: scripts.dll 2.4 [message #187887 is a reply to message #187882] Tue, 31 January 2006 06:43 Go to previous messageGo to next message
TD is currently offline  TD
Messages: 966
Registered: May 2005
Karma: 0
Colonel
dude#1 wrote on Tue, 31 January 2006 13:42

Buckery wrote on Mon, 30 January 2006 22:16

I was thinking of a more practical door. Where you walk up to it and hit E(or whatever your action key is) And she opens.


So the door is a "she" eh? And you want to go up to her and press E eh? Big Grin

Lol, 'E' her!


http://i38.tinypic.com/6fs2s9.png
Re: scripts.dll 2.4 [message #187932 is a reply to message #187666] Tue, 31 January 2006 14:50 Go to previous messageGo to next message
Kamuix is currently offline  Kamuix
Messages: 1247
Registered: May 2005
Location: Ontario, Canada
Karma: 0
General (1 Star)
umm.. I never said that.
Re: scripts.dll 2.4 [message #188032 is a reply to message #187874] Wed, 01 February 2006 07:44 Go to previous messageGo to next message
Ma1kel is currently offline  Ma1kel
Messages: 956
Registered: July 2005
Location: Kingdom of the Netherland...
Karma: 0
Colonel
jonwil wrote on Tue, 31 January 2006 05:42

Also, can anyone provide more information for the GDI vs NOD explot /bug mentioned? Anyone know how to reproduce it?


It's a very rare bug, for the 2 year I'm playing Renegade on-line I only have seen it 2 times.


Re: scripts.dll 2.4 [message #188033 is a reply to message #188032] Wed, 01 February 2006 07:48 Go to previous messageGo to previous message
Goztow is currently offline  Goztow
Messages: 9738
Registered: March 2005
Location: Belgium
Karma: 13
General (5 Stars)
Goztoe
Ma1kel wrote on Wed, 01 February 2006 09:44

jonwil wrote on Tue, 31 January 2006 05:42

Also, can anyone provide more information for the GDI vs NOD explot /bug mentioned? Anyone know how to reproduce it?


It's a very rare bug, for the 2 year I'm playing Renegade on-line I only have seen it 2 times.

I've seen it twice in the last 2 months... It's rare indd but not that rare.


You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
Previous Topic: where do i get fds
Next Topic: C&C: The Woods Today
Goto Forum:
  


Current Time: Wed Dec 11 08:02:17 MST 2024

Total time taken to generate the page: 0.01263 seconds