Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Win32 FDS » scripts.dll and custom commands on a server. (help meeded to make them work.)
scripts.dll and custom commands on a server. [message #281793] Fri, 31 August 2007 16:46 Go to previous message
qwertwert125 is currently offline  qwertwert125
Messages: 73
Registered: August 2007
Karma:
Recruit
I have finally got my server to the point of running.

I have realized that alot of servers have custom commands implemented into thier server.

examples:
!build turret:withdraws credits from player's total and places a turret at player's location
!buy mammoth: withdraws credits from player's total and spawns a mammoth in front of player
ect...

I would like to know how to do this.

1: I would like to know the excat name of the file i need to open.

2:I would like to know how to find the information in the file (what the line would look like eg: in xxxx.ini: colfgod: yes; as no one would really know what it is, it would help to have an explination.)

3: I realize this may require a C++ compiler. I have one of these and have a pretty good grasp on it. I would like to know the section of code that would make "!build turret" work so I may use it as a reference in future scripting.

Thanks

PS: if I am going in the wrong direction in getting commands to work, please DO NOT post any replys such as:
"you dont use c++ for it"
"youll need yaddayadda to do it"
"your wrong about suchandsuch"
...unless you describe how to fix such problem.

please be specific. remember
BAD DIRECTIONS: open the jar of peanutbutter
GOOD DIRECTIONS: open the jar of peanutbutter by unscrewing the lid.


fear me or i sahll do one of the following:
1)make you brain explode with a logical paradox from hell.
2)*use a statement of death, doom, and disembowlment surrounded by asteriks of debotchery*
3)eat cake.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with FDS
Next Topic: Field one man wall jump server side fix
Goto Forum:
  


Current Time: Thu Nov 28 07:58:13 MST 2024

Total time taken to generate the page: 0.00828 seconds