Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Server DLLs
Server DLLs [message #216284] Wed, 30 August 2006 12:35 Go to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
i was wondering if i could get in contact with someone who know C++ well enough to modify the server scripts for me??

i need console commands added to the server to make my bot work properly Smile

if anyone can help me, plz contact me at one of the following areas:

MSN: bhmath@hotmail.com
Email: bhmath@gmail.com - I don't check my hotmail that often.
Xfire: MathK1LL
icon13.gif  Re: Server DLLs [message #216285 is a reply to message #216284] Wed, 30 August 2006 12:39 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)
But i'm not good enouph to help you

[Updated on: Wed, 30 August 2006 12:40]

Report message to a moderator

Re: Server DLLs [message #216287 is a reply to message #216284] Wed, 30 August 2006 13:20 Go to previous messageGo to next message
ghost is currently offline  ghost
Messages: 437
Registered: May 2005
Location: California
Karma: 0
Commander
What type of commands are you planning on doing?

http://img287.imageshack.us/img287/9936/davesigea4rw5.png
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
Re: Server DLLs [message #216295 is a reply to message #216284] Wed, 30 August 2006 13:51 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

There are just a few people around which know how to add
console commands...good luck

I would do it, if I would have time for it Huh


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: Server DLLs [message #216343 is a reply to message #216287] Wed, 30 August 2006 16:30 Go to previous messageGo to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
ghost wrote on Wed, 30 August 2006 14:20

What type of commands are you planning on doing?


I want to make a console command to drop bot reinforcements down at a player's location and another command to withdraw credits from someone's credits
Re: Server DLLs [message #216349 is a reply to message #216284] Wed, 30 August 2006 16:44 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 can do both but i cannot add commands, that is in bhs.dll.
Re: Server DLLs [message #216397 is a reply to message #216349] Thu, 31 August 2006 00:09 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
help-linux wrote on Wed, 30 August 2006 19:44

i can do both but i cannot add commands, that is in bhs.dll.


And various other DLL's around the place, including my BlackIntel.dll which contains reserved slots.


Let all your wishes be granted except one, so you will still have something to strieve for.
Re: Server DLLs [message #216399 is a reply to message #216284] Thu, 31 August 2006 00:23 Go to previous messageGo to next message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Recruit

I have a suggestion to this community. Has anyone ever tossed around the idea of having an external script or at the very least an XML feed that could allow someone to make their own console commands? The code takes whatever the user typed and can either look it up in an XML feed or pass it through a callback routine in an external script and the end user can define what happens when that command gets called. I'm sure a lot of server hosts may find such a feature quite useful to their needs.
Re: Server DLLs [message #216437 is a reply to message #216284] Thu, 31 August 2006 07:09 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 would definetly
Re: Server DLLs [message #216453 is a reply to message #216343] Thu, 31 August 2006 08:06 Go to previous messageGo to next message
LR01 is currently offline  LR01
Messages: 842
Registered: April 2006
Location: The Netherlands
Karma: 0
Colonel
MathK1LL wrote on Thu, 31 August 2006 01:30

ghost wrote on Wed, 30 August 2006 14:20

What type of commands are you planning on doing?


I want to make a console command to drop bot reinforcements down at a player's location and another command to withdraw credits from someone's credits


I thought about this before, Can't this be done with creating a Dave's arrow at the location of the player?


Moding can be real Fun...
Re: Server DLLs [message #216504 is a reply to message #216399] Thu, 31 August 2006 13:27 Go to previous messageGo to next message
=HT=T-Bird is currently offline  =HT=T-Bird
Messages: 712
Registered: June 2005
Karma: 0
Colonel
vloktboky wrote on Thu, 31 August 2006 02:23

I have a suggestion to this community. Has anyone ever tossed around the idea of having an external script or at the very least an XML feed that could allow someone to make their own console commands? The code takes whatever the user typed and can either look it up in an XML feed or pass it through a callback routine in an external script and the end user can define what happens when that command gets called. I'm sure a lot of server hosts may find such a feature quite useful to their needs.

Actually...what should be done is Add_Console_Command (void (*f) (int, char**), char* name)


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: Server DLLs [message #216505 is a reply to message #216284] Thu, 31 August 2006 13:30 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

Jonwil won't do it because he thinks console commands are a big
security hole, because of being able to change things during
the game.


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: Server DLLs [message #216513 is a reply to message #216284] Thu, 31 August 2006 14:09 Go to previous messageGo to next message
Dan
Messages: 395
Registered: August 2003
Location: UK
Karma: 0
Commander
The main concern is that if people have easy access to creating console commands, then it would be so easy for people to create cheats. Having a console command to replenish your health/ammo, do a various amount of other things would be very bad.
Re: Server DLLs [message #216517 is a reply to message #216504] Thu, 31 August 2006 14:20 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)
=HT=T-Bird wrote on Thu, 31 August 2006 21:27


Actually...what should be done is Add_Console_Command (void (*f) (int, char**), char* name)



please... tell me more.

as in please give me an example.
Re: Server DLLs [message #216522 is a reply to message #216513] Thu, 31 August 2006 14:49 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
Dan wrote on Thu, 31 August 2006 16:09

The main concern is that if people have easy access to creating console commands, then it would be so easy for people to create cheats. Having a console command to replenish your health/ammo, do a various amount of other things would be very bad.


server-side only?
Re: Server DLLs [message #216524 is a reply to message #216284] Thu, 31 August 2006 15:02 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

Yes, there are a lot of potential evil uses of console commands. I'm doing some lag testing and added 3 console commands. I have only released the compiled versions for the blackintel team though, as I know it is possible to exploit these to cheat... :/
If it weren't that dangerous, I would certainly show the code to add a command, but I think it's not a smart thing to do...
Wasn't this the (one of the) most important reason(s) for bhs.dll to be closed source?

[edit]
server side only could imo be released, however with a little bit of asm knownlege you will probably be able to figure out how to do it for the client side too, when you can see how it's done for the server side... I think you need only one or two memory addresses...


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/

[Updated on: Thu, 31 August 2006 15:04]

Report message to a moderator

Re: Server DLLs [message #216526 is a reply to message #216284] Thu, 31 August 2006 15:22 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)
can you PM me please with an example, it is for my bot and i will not release sources. when looking through scripts.dll sources i could not find a function called Add_Console_Command am i missing somthing?
Re: Server DLLs [message #216534 is a reply to message #216284] Thu, 31 August 2006 15:53 Go to previous messageGo to next message
Whitedragon is currently offline  Whitedragon
Messages: 831
Registered: February 2003
Location: California
Karma: 0
Colonel
There is no such function. He was just suggesting that it be added.

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 - )
Re: Server DLLs [message #216535 is a reply to message #216284] Thu, 31 August 2006 16:00 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)
oh, damm i really wanted somthing like that for my bot. o well.

if someone really did reverse engernear scripts.dll to find how it was done and change the client side scripts.dll wouldn't rengaurd detect it?

[Updated on: Thu, 31 August 2006 16:01]

Report message to a moderator

Re: Server DLLs [message #216536 is a reply to message #216535] Thu, 31 August 2006 16:06 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

help-linux wrote on Fri, 01 September 2006 01:00

oh, damm i really wanted somthing like that for my bot. o well.

if someone really did reverse engernear scripts.dll to find how it was done and change the client side scripts.dll wouldn't rengaurd detect it?


well there wasn't any need to reverse engineer the original

scripts.dll (scripts2.dll now) because it just contains scripts

(like the file says Very Happy). The important code is in

game.exe/server.dat. And no, because renguard excludes scripts.dll

frombeing scanned


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: Server DLLs [message #216537 is a reply to message #216284] Thu, 31 August 2006 16:13 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)
that opens a massive hole in rengaurd
Re: Server DLLs [message #216611 is a reply to message #216284] Fri, 01 September 2006 00:32 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
Exactly why BHS.dll is closed source.

Let all your wishes be granted except one, so you will still have something to strieve for.
Re: Server DLLs [message #216628 is a reply to message #216611] Fri, 01 September 2006 05:02 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)
dead6re wrote on Fri, 01 September 2006 08:32

Exactly why BHS.dll is closed source.



no no no, the fact that rengaurd doen't check scripts.dll.
Re: Server DLLs [message #216629 is a reply to message #216628] Fri, 01 September 2006 05:07 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

help-linux wrote on Fri, 01 September 2006 14:02

dead6re wrote on Fri, 01 September 2006 08:32

Exactly why BHS.dll is closed source.



no no no, the fact that rengaurd doen't check scripts.dll.



yes, so the risky code is in bhs.dll and closed source


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: Server DLLs [message #216634 is a reply to message #216284] Fri, 01 September 2006 05:49 Go to previous messageGo to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
but what if some reverse engernears it, rengaurd will not detect
Previous Topic: Tiberium Desolation is dead
Next Topic: Defence problem.
Goto Forum:
  


Current Time: Mon May 06 23:58:13 MST 2024

Total time taken to generate the page: 0.01182 seconds