Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Other » new fds bot, c++ php, perl
new fds bot, c++ php, perl [message #207285] Sun, 09 July 2006 19:28 Go to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
hi,
i can script in c++, perl, and php (perl and php are basicly the same)

i need to know had to communicate with irc and fds i know that fds uses a loopback ip address for admins, but how would i use that with my bot? also how do i communicate with irc. i don't know how to use functions in a dll. because usally you don't get a readme. what variables would there be? for team chat public chat etc...
eg if somone types in public chat: "hello"
would there be a variable with player name and hello in it?

lastly what language would you suggest? i dont know how to compile perl/php into a exe.

thanks, dan.
Re: new fds bot, c++ php, perl [message #207313 is a reply to message #207285] Sun, 09 July 2006 23:30 Go to previous messageGo to next message
Goztow is currently offline  Goztow
Messages: 9718
Registered: March 2005
Location: Belgium
Karma: 12
General (5 Stars)
Goztoe
I'm sure you're full of good will but to be honnest: we already have a lot of regulators.

1. Brenbot, new version 1.43 in development by Packhunter
2. Nightregulator, by Nightma12, updated regulary
3. Cloudy server, by FnFall
4. Several private regulators

There really is no need for yet another one.

You could help with brenbot 1.43 maybe, which is coded in Perl and also allows plugins (in Perl).


You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
Re: new fds bot, c++ php, perl [message #207330 is a reply to message #207285] Mon, 10 July 2006 04: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 know there is many out but, none of these are customizeable i want to be able to create my own commands.

ty for replying

dan
Re: new fds bot, c++ php, perl [message #207331 is a reply to message #207330] Mon, 10 July 2006 04:14 Go to previous messageGo to next message
Goztow is currently offline  Goztow
Messages: 9718
Registered: March 2005
Location: Belgium
Karma: 12
General (5 Stars)
Goztoe
help-linux wrote on Mon, 10 July 2006 13:09

i know there is many out but, none of these are customizeable i want to be able to create my own commands.

ty for replying

dan

Brenbot 1.43 will support plugins, meaning you can add all your own commands and modules. It uses xhtml to allow you to customise existing commands.


You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord

[Updated on: Mon, 10 July 2006 04:15]

Report message to a moderator

Re: new fds bot, c++ php, perl [message #207346 is a reply to message #207285] Mon, 10 July 2006 08:29 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)
how long will it take for brenbot 1.43 to come out, because i cant wait very long. if it is longer than 2 weeks i will write my own.

ty for replying

dan
Re: new fds bot, c++ php, perl [message #207353 is a reply to message #207285] Mon, 10 July 2006 09:15 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
you can write your own commands in NightRegulator too?
Re: new fds bot, c++ php, perl [message #207365 is a reply to message #207285] Mon, 10 July 2006 11:03 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 don't know, but i also want this as a progect that i will use instead of a calculater or lan message script. i suppose i only need to know 2 things for it:

1)how do i send a msg to fds without using a dll
2)how do i get the text from the server to the program again, without using a dll
Re: new fds bot, c++ php, perl [message #207373 is a reply to message #207285] Mon, 10 July 2006 11:58 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
well if you coded it in NR, to send a message to the FDS you would type:

core.fdsmsg "<message here>"


www.NightRegulator.co.uk
Re: new fds bot, c++ php, perl [message #207389 is a reply to message #207285] Mon, 10 July 2006 13:21 Go to previous messageGo to next message
Torn is currently offline  Torn
Messages: 17
Registered: July 2006
Karma: 0
Recruit
o the comands ar cool its like !nag and the eve thing wont sais crap and dosnt stop saying crap LOL
Re: new fds bot, c++ php, perl [message #207399 is a reply to message #207285] Mon, 10 July 2006 14:50 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
LOL! Very Happy

!nag_stop Very Happy
Re: new fds bot, c++ php, perl [message #207443 is a reply to message #207285] Mon, 10 July 2006 19:52 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)
lol. i look all over the internet and cannot find any documentation to FDSTalk.dll i have seen in a forum someware that i need this dll. i can include dll's to my progect but i need a lib to go with it and they are very hard to come-by. i have tryed RenRem, that workes but it outputs too much, i have tryed FDSTalk.exe and that wont work, i have tryed WinRem but that doen't work. what can i do!
Re: new fds bot, c++ php, perl [message #207471 is a reply to message #207285] Tue, 11 July 2006 00:18 Go to previous messageGo to next message
Goztow is currently offline  Goztow
Messages: 9718
Registered: March 2005
Location: Belgium
Karma: 12
General (5 Stars)
Goztoe
http://www.renegadeforums.com/theme/Renegade_Forums/images/top_search.gif

*hint*


You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
Re: new fds bot, c++ php, perl [message #207486 is a reply to message #207285] Tue, 11 July 2006 02:15 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 did search that is why im asking here,believe me i looked for hours
Re: new fds bot, c++ php, perl [message #207509 is a reply to message #207285] Tue, 11 July 2006 04:09 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
I don't think the functions inside FDSTalk.dll are documented. You have to find the old BR.Netsource code to find them.

Let all your wishes be granted except one, so you will still have something to strieve for.
Re: new fds bot, c++ php, perl [message #207513 is a reply to message #207313] Tue, 11 July 2006 04:21 Go to previous messageGo to next message
light is currently offline  light
Messages: 988
Registered: January 2005
Karma: 0
Colonel
Goztow wrote on Mon, 10 July 2006 18:30


3. Cloudy server, by FnFall

CloudyServ (Not Cloudy server) is not made by FnFall, it was made by CloudyOne and Adad. CloudyOne doesn't work on it anymore however.

FnFall uses it on his servers, so do LTServ and a few other servers.


http://www.azupload.com/displayImage.php/setid2745.png
Re: new fds bot, c++ php, perl [message #207517 is a reply to message #207285] Tue, 11 July 2006 05:00 Go to previous messageGo to next message
Goztow is currently offline  Goztow
Messages: 9718
Registered: March 2005
Location: Belgium
Karma: 12
General (5 Stars)
Goztoe
I stand corrected.

You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
Re: new fds bot, c++ php, perl [message #207526 is a reply to message #207285] Tue, 11 July 2006 07: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 am currently looking at winrem and fdstalk.exe i dont know how to get them working they both look like they have executed(worked but ouput nothing) but fds shows nothing. my biggest problem is getting text from fds to the bot.

btw: i will be relesing the code that i make as well as binarys for linux and windows, well documented! so it is easyer for others to create their own bot.

as soon as i can get my bot and fds talking it should be easy (for me) from then on. i have already though of code that i could use.
Re: new fds bot, c++ php, perl [message #207527 is a reply to message #207285] Tue, 11 July 2006 07:24 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)
also i will be adding plugin support (perl)
Re: new fds bot, c++ php, perl [message #207554 is a reply to message #207285] Tue, 11 July 2006 09:27 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
what are you putting in as the parameters for FDSTalk.exe?
Re: new fds bot, c++ php, perl [message #207565 is a reply to message #207285] Tue, 11 July 2006 10: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)
FDSTalk.exe msg hello Bye! 127.0.0.1 4849 password


btw: this just windows errors, asking me to send a report

[Updated on: Tue, 11 July 2006 10:02]

Report message to a moderator

Re: new fds bot, c++ php, perl [message #207567 is a reply to message #207285] Tue, 11 July 2006 10:07 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 just realized after reviewing the readme that you need to put a 0 after the whole command, but is still doent work, bit without errors

EDIT: so i dont double post again i have got it working i just the local port 1234 and it works!

i just need to know how to read from renegade and how to use the functions in Scripts.dll and im on my way!

[Updated on: Tue, 11 July 2006 11:04]

Report message to a moderator

Re: new fds bot, c++ php, perl [message #207662 is a reply to message #207285] Wed, 12 July 2006 01:14 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 know now how to listen to renegade dialogue, i just need to know how to use scripts.dll anf thats it.

ty

dan
Re: new fds bot, c++ php, perl [message #207678 is a reply to message #207285] Wed, 12 July 2006 02:49 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
renlog_<date>.txt

Let all your wishes be granted except one, so you will still have something to strieve for.
Re: new fds bot, c++ php, perl [message #207722 is a reply to message #207285] Wed, 12 July 2006 10:37 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

renlog_<date>.txt


??? do you mean for getting diologue from renegade? anyway i need live dialogue.
Re: new fds bot, c++ php, perl [message #207940 is a reply to message #207285] Thu, 13 July 2006 17:21 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)
wow, 3 days running and no-one has replyed to this whole fourm.
Previous Topic: Can some1 help me
Next Topic: German Need help
Goto Forum:
  


Current Time: Sun Apr 28 10:37:48 MST 2024

Total time taken to generate the page: 0.01072 seconds