Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Other » new fds bot, c++ php, perl
Re: new fds bot, c++ php, perl [message #209250 is a reply to message #207285] Sat, 22 July 2006 11: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 have run into another problem, i need to know weather scripts.dll exports its fucntions and how to include it. and how to get one program to say somthing to another, the way i would do it is this:


in the code of the first program(C++) i would put.

system("program name.exe what you would like to pass to the program");

is there another way. that is as simple as this?
Re: new fds bot, c++ php, perl [message #209262 is a reply to message #207285] Sat, 22 July 2006 12:53 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

nope sorry, you can't call scripts.dll from outside, you need to put your code into the scripts.dll source code.

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: new fds bot, c++ php, perl [message #209269 is a reply to message #207285] Sat, 22 July 2006 14: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)
damm! oh well. i will keep trying.

i one more other thing, how do i get ppage working. i dont want to page somone with green text. i want it this way so instead of saying "(aa009: hello this is a page" i want "(host to didaloca) this is a page" i tryed ppage but it doesnt work.
Re: new fds bot, c++ php, perl [message #209277 is a reply to message #207285] Sat, 22 July 2006 14:50 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

ppage <id> <message>

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: new fds bot, c++ php, perl [message #209284 is a reply to message #207285] Sat, 22 July 2006 16:12 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)
ahhhhhhhhh, thanks. it works now.
Re: new fds bot, c++ php, perl [message #209303 is a reply to message #207285] Sat, 22 July 2006 18: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)
new beta is out now.

i have added many improvements. it is now faster.

Please tell me if you find any bugs. it would be much appreciated.

  • Attachment: H-L BOT.zip
    (Size: 103.08KB, Downloaded 88 times)
Re: new fds bot, c++ php, perl [message #209355 is a reply to message #207285] Sun, 23 July 2006 07:01 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)
one more thing i forgot to mention if you say, hi; hello and hey the server will reply "Hi <player_name>" also i have changed it so it is not case sencitive, eg: i could typ bwhahaha to here the sound i could also type: BwHaHAHa and it would work.

look forward to here some comments!
Re: new fds bot, c++ php, perl [message #210300 is a reply to message #207285] Sat, 29 July 2006 06:27 Go to previous messageGo to next message
AmunRa is currently offline  AmunRa
Messages: 574
Registered: September 2005
Location: Lilburn, Georgia
Karma: 0
Colonel

This game will have long since been dead by the time you make something good out of this. As I said before, I believe you lack the experience to complete a project of this magnitude. It would also be helpful to stop using the shitty express editions of VC++ Razz

If anything, you should try coding it in VB, it is significantly easier than using C++ or anything like that. You should have started programming with VB before anything else to begin with anyway.

[Updated on: Sat, 29 July 2006 06:32]

Report message to a moderator

Re: new fds bot, c++ php, perl [message #210306 is a reply to message #210300] Sat, 29 July 2006 08:12 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

AmunRa wrote on Sat, 29 July 2006 15:27

This game will have long since been dead by the time you make something good out of this. As I said before, I believe you lack the experience to complete a project of this magnitude. It would also be helpful to stop using the shitty express editions of VC++ Razz

If anything, you should try coding it in VB, it is significantly easier than using C++ or anything like that. You should have started programming with VB before anything else to begin with anyway.


it isn't shit, and VB suckz


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: new fds bot, c++ php, perl [message #210315 is a reply to message #207285] Sat, 29 July 2006 09:23 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 admit, i don't like VB at all. a tryed to learn it, but in so used to the syntax of perl, php, c++, javascript, python that i cannot learn it. i have tryed many times.

the bot that i am making has come to a halt because i cannot get scripts.dll to WORK! no one will help me with it. im going to move over to cygwin if it has the windows.h header.
Re: new fds bot, c++ php, perl [message #210316 is a reply to message #207285] Sat, 29 July 2006 09:29 Go to previous messageGo to next message
AmunRa is currently offline  AmunRa
Messages: 574
Registered: September 2005
Location: Lilburn, Georgia
Karma: 0
Colonel

I'm kinda the same way with vb, I'm used to the syntax of it, but C++ sometimes throws me off. I haven't done anything with C++ in a good long time, due to a lack of time to actually do anything. I'm too short on free time Huh
Re: new fds bot, c++ php, perl [message #210321 is a reply to message #210315] Sat, 29 July 2006 10:30 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 Sat, 29 July 2006 18:23

i admit, i don't like VB at all. a tryed to learn it, but in so used to the syntax of perl, php, c++, javascript, python that i cannot learn it. i have tryed many times.

the bot that i am making has come to a halt because i cannot get scripts.dll to WORK! no one will help me with it. im going to move over to cygwin if it has the windows.h header.


Do you have ICQ or MSN ? then msg me and I'll help you Thumbs Up


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: new fds bot, c++ php, perl [message #210322 is a reply to message #207285] Sat, 29 July 2006 10:32 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)
msn, transport_tycoon_@hotmail.com. if i compile it without changing the source it works fine and all the commands are there. but if i compile it with the chathook enabled, FDS ignores it.
Re: new fds bot, c++ php, perl [message #210420 is a reply to message #207678] Sun, 30 July 2006 06:32 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

renlog sucks and is rather slow , you could make some hook in scripts.dll i suppose.

http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Re: new fds bot, c++ php, perl [message #210462 is a reply to message #207285] Sun, 30 July 2006 14:14 Go to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
i have done now, im just having a bit of trouble getting the message out of scripts.dll and into my bot.
Previous Topic: Can some1 help me
Next Topic: German Need help
Goto Forum:
  


Current Time: Thu Nov 21 08:40:24 MST 2024

Total time taken to generate the page: 0.00991 seconds