Command and Conquer: Renegade Official Forums - RDF feed
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
i am going to post any updates here, i have 1.0 out but to break a promise it has not got a ladder built in yet. i have added: more memory leaks cleared up; a dialog to send commands to FDS; a nice little icon to go with it. download it here: http://www.help-linux.com/stuff/H-L_Bot-1.0.zip hopefully for 2.0 i am going to have: RG server; ladders; more commands; dynamic custom map loading. i am going to rename it soon as my help-linux site is going down, any suggestions would be much appriciated.
help-linux wrote on Mon, 28 August 2006 17:37 i am going to rename it soon as my help-linux site is going down, any suggestions would be much appriciated. how come? you and i worked hard on that. edit: tell you what, host it on my site if you want so all that coding dosnt get wasted.
dont worrie i am getting anouther domain name, i have backed up the whole site. TGPaddy wrote on Mon, 28 August 2006 23:48 Cannot start. what does it say?
oh right. what happened to help-linux anyway?
omnis? your hosters? what have they done?
wont send me my password for the acount. so i cannot pay this months fee.
well i can log on to ftp perfectly fine. or do you mean another password?
did that change or is the password the same as ftp?
I think HL Bot is a good name and I can't wait for the other fuetures. 1 question, would it be possible to use brenbot plugins with HL Bot?
Quote: 1 question, would it be possible to use brenbot plugins with HL Bot? not without alot ofwork on help-linux's part as they are Perl plugins..
yeah, and with school starting for us(year 11) in just over a week, i doubt he wont have as much time to do the bot.
the17doctor wrote on Tue, 29 August 2006 00:53 help-linux wrote on Mon, 28 August 2006 17:37 i am going to rename it soon as my help-linux site is going down, any suggestions would be much appriciated. how come? you and i worked hard on that. edit: tell you what, host it on my site if you want so all that coding dosnt get wasted. Quote: This application could not be started, because those is config not correct
Quote: This application could not be started, because those is config not correct [/quote] the config file, "config.cfg" had not been configured correctly. on fds_path make sure there is no trailing slash. plugins from brenbot would not work as the way that brenbot talks to them, if i knew how to make them myself i could make mine a little more universal. if there is features you would like to suggest, i would work to get them in(exept ladder, i am working on that right now). the bad thing about HL Bot is that Help-Linux.com is going down, although i mite keep it.
TGPaddy wrote on Tue, 29 August 2006 04:42 the17doctor wrote on Tue, 29 August 2006 00:53 help-linux wrote on Mon, 28 August 2006 17:37 i am going to rename it soon as my help-linux site is going down, any suggestions would be much appriciated. how come? you and i worked hard on that. edit: tell you what, host it on my site if you want so all that coding dosnt get wasted. Quote: This application could not be started, because those is config not correct i was talking about the site, as help-linux has said, the site is going down, me and him worked on the forum quite a bit.(it isnt finished though)
the17doctor wrote on Tue, 29 August 2006 11:55 TGPaddy wrote on Tue, 29 August 2006 04:42 the17doctor wrote on Tue, 29 August 2006 00:53 help-linux wrote on Mon, 28 August 2006 17:37 i am going to rename it soon as my help-linux site is going down, any suggestions would be much appriciated. how come? you and i worked hard on that. edit: tell you what, host it on my site if you want so all that coding dosnt get wasted. Quote: This application could not be started, because those is config not correct i was talking about the site, as help-linux has said, the site is going down, me and him worked on the forum quite a bit.(it isnt finished though) and as i said before, i have backed the whole thing up onto my computer ready for the next domain name.
Quote: plugins from brenbot would not work as the way that brenbot talks to them, if i knew how to make them myself i could make mine a little more universal. it shouldnt b too hard to get NR plugins working in HL Bot? all you would have to do would b to place the dlls in yor bot dir.. then call the right functions
Quote: fds_path = C:\Westwood\RenegadeFDS\Server
TGPaddy wrote on Tue, 29 August 2006 14:09 Quote: fds_path = C:\Westwood\RenegadeFDS\Server can i have a screen shot Nightma12 wrote on Tue, 29 August 2006 13:41 Quote: plugins from brenbot would not work as the way that brenbot talks to them, if i knew how to make them myself i could make mine a little more universal. it shouldnt b too hard to get NR plugins working in HL Bot? all you would have to do would b to place the dlls in yor bot dir.. then call the right functions unfortanetly the bot will only call dllparse function and send to the fds what it returned unless it is ""
i have a screenshot buts its German. Where must HL bot insert?
ROFL, this is a stand alone bot, read the readme!
Quote: HL-Bot made by Daniel Astbury Hi, thanks for testing this for me. just put make sure all files in zip are in one folder. edit config.cfg. fds_ip = The remote ip address FDS listens on eg: 127.0.0.1 fds_port = this is the port FDS listens on eg: 4848 fds_pass = this is your admin password for FDS eg: My_great_password auto_secs = this is the number of seconds to wait till the next auto announce Note: if this is set to somthing other than a number it wil probably crash the bot edit rules.txt for the command !rules edit auto.txt for the autoannounce 1 line = an announcement. if you type in public chat "hi, hey" or "hello" the bot will reply to this. Thanks to Cat998 for helping me get the UDP socket open. as of 0.80 there is now plugin support!!! just create a dll with the function: const char * dllparse(char * message) { //do somthing with message here }
hmm, must of put an old readme in here. what made you think it was a plugin? anyway here is a updated version of the readme: http://www.help-linux.com/stuff/H-L_Bot-1.0.zip
Nightma12 wrote on Tue, 29 August 2006 13:41 Quote: plugins from brenbot would not work as the way that brenbot talks to them, if i knew how to make them myself i could make mine a little more universal. it shouldnt b too hard to get NR plugins working in HL Bot? all you would have to do would b to place the dlls in yor bot dir.. then call the right functions unfortanetly the bot will only call dllparse function and send to the fds what it returned unless it is "" [/quote] meaning you edit the bot to call the right functions what would be nice would be some kind of universal plugin system across all the bots
does anybody know any plugin tutorials for brenbot? i could make it universal to brenbot
you would have some issues with that as you would need to be able to compile Perl.... NR plugins would just b a case of calling a few functions lol
it is easy to compile perl, but it would have to be in a dll and it would also have to be wrapped.
i dont see how you would b able to do that.... but give it a shot!
but first of all i need to know how to create them in the first place lol
all brenbot really is is perl scripts compacted into an executable file. Therefore you cannot make a dll out of perl.
ok, i had a thought. i could create a command system where the bot parses the commands eg: Trigger = !help Arguments = 0 send_to_fds = ppage <player_id> commands are: !help or Trigger = !help Arguments = 1 if <Arguement 1> == help then send_to_fds = ppage <player_id> this will display all the commands else send_to_fds = ppage <player_id> command not found! do you think this could be a good plugin routine?
take a look at the NR plugin compabilities: www.aohost.co.uk/NRplugin.dll.txt ^^^ that is a list of functions within NRplugin that can be used as hooks and heres a list of functions within NRcore.dll that you are able to call from the plugin: www.aohost.co.uk/NRcore.dll.txt i also have an NRCommands.dll.txt and when you add a command into it it REALYL DOES feel as if it is really built into the bot... even the permission structure is easy to replicate with good documentation so the command even appears on the GUI.... thats basically the kind of thing that you would need to do to have a decent + powerful plugin system i really doubt any of your current systems would be sufficiant enough to create powerful plugins, although your commands system has potential, it would need alot of upgrades as your basically writing your own language... its best to stick inside dlls and stick with a language well known (eg, C++)
Nightma12 wrote on Tue, 29 August 2006 22:03 i really doubt any of your current systems would be sufficiant enough to create powerful plugins, although your commands system has potential, it would need alot of upgrades as your basically writing your own language... its best to stick inside dlls and stick with a language well known (eg, C++) thanks for the advice! i am doing it in c++, i have a 2.0 with this implimented. it took a long time but i did it, well here it is: http://www.help-linux.com/stuff/H-L_Bot-2.0.zip it is very small at the moment but i getting the hang of writing it. the code that parses plugin.txt is already capible of parsing multible things but i am tired and cannot think logically anymore. i have included a sample plugin.txt, that impliments the !website command. enjoy!
i had a look at those source files and i am no VN programmer, seriously(lol spelling) me and VB dont mix. i hate the syntax! but nice programming, nightregulator is the best out yet. but i have a question, i see that there is a list of bad names, but what if someone actully has those names? like "gdi" or "nod" in fact there is a player called "nod" so he cannot join any server with NR running on it or am i just reading it wrong?
im gonna learn vb to create a few plugins for NR.
Quote: i see that there is a list of bad names, but what if someone actully has those names? like "gdi" or "nod" in fact there is a player called "nod" so he cannot join any server with NR running on it or am i just reading it wrong? those names are their either coz of FDS exploits, or coz it fucks up the parseing on NR if somebody join under the name NOD, it fucks up the game_info command, as renlog will output NOD: 23/32, but then the player could type things like 0/32 and NR would then think that nobody is on team NOD... so i make it auto-kick names that would screw something up the server owner would either have to disable auto-kick malicious nicks on the NR Settings tab, or edit NRplugin.dll to remove the name EDIT: some names are in there just so that someone dousnt join with a dodgey nickname too lol
ah, i knew it would be somthing like that. anyways, this is off topic but what do you think of the image in my sig? i am a first timer so go easy.
it's good. this is also off topic, but where can i get visual basic 6.0(yes, i used google to no luck)
PM EDIT: help-linux, and yeah, it could be better but for a first timer it looks pretty good! i know i couldnt do any better!
or that website i tolf you about begining with a "ph"
i forgot about that. but anyway, nightma, linked me to a download. thanks again
Nightma12 wrote on Wed, 30 August 2006 00:03 PM EDIT: help-linux, and yeah, it could be better but for a first timer it looks pretty good! i know i couldnt do any better! thanks! i just realized, take a look at this: http://help-linux.com/stuff/HL.png it looks like the letters are poping out of the screen.
i have improved the parseing engine for plugin.txt and added a renegade server startup question at the begining. http://www.help-linux.com/stuff/H-L_Bot-2.1.zip looking forward to some coments.
HL Bot 2.2 is here!: http://www.help-linux.com/stuff/H-L_Bot-2.2.zip i was wondering weather i should add an installer, so you only download one file, an *.msi, should i?
might as well, that way, users can configure it in one conveniant installer and also put icons in their start menu without haveing to manually do it.
here is is then: http://www.help-linux.com/stuff/HL-Bot-2.20.msi hope this is easyer
i am having a problem, i have asked this before but i casnnot find the thread. when you type "pinfo" into the fds with is the output eg: player_id, player_name, score, etc. i already know this: ID,player name,score,team,ping,ip;port,kbits,something,kills,deaths,cr edits,something
Quote: PINFO new console command to print information about players in the game. Data is comma delimited and is printed in the following order: Player ID Player Name Player Score Player Team Player Ping Player IP Player KB/s Player Rank (position in the player list) Player Kills Player Deaths Player Money Player Kill/Death Ratio
ahhh, thanks! thank you very much indeed.
i am re-disgning the was the bot parses commands so expect a late release.
I'd suggest offering a standalone version as well. I hate having to run installers on my servers.
I do not reccommend useing pinfo as there is a bug where it wont show all the players EDIT: you may also wish to include this with your bot: www.aohost.co.uk/ssaow.zip its SSAOW 1.5 upgraded to scripts.dll 2.9.2, which has all those console commands on it
Nightma12 wrote on Fri, 01 September 2006 09:53 I do not reccommend useing pinfo as there is a bug where it wont show all the players EDIT: you may also wish to include this with your bot: www.aohost.co.uk/ssaow.zip its SSAOW 1.5 upgraded to scripts.dll 2.9.2, which has all those console commands on it Thanks!!! i have been waiting for weeks for a version to comeout with the latest scripts! thanks! also i am using the fact that pinfo output infomation on all the players to my advantage. if i want a specific player the bot runs through all the lines untill the correct player name or id is found then it puts all the infomation into a struct. and oh yeah, this is bot a bug that is why why has "Start PINFO output" and "End PINFO output" xptek wrote on Fri, 01 September 2006 03:46 I'd suggest offering a standalone version as well. I hate having to run installers on my servers. this can be easily done.
iv run into a stupid problem, here is alittle code: cout << "player_name - " << player_name << endl; string pID = get_player_id((char *)player_name.c_str()); if(pID == "NULL") { return; } string id, playername; splitstring(pID, ": ", id, playername); playerobj *obj; obj = get_player_obj(atoi(id.c_str())); cout << "ID = " << obj->Player_ID << "<< score = " << obj->Player_Score << endl; if(obj == NULL) { return; } but if i do this: string pID = get_player_id((char *)player_name.c_str()); if(pID == "NULL") { return; } string id, playername; splitstring(pID, ": ", id, playername); playerobj *obj; obj = get_player_obj(atoi(id.c_str())); if(obj == NULL) { return; } it wont work properly. why would a "cout" affect it? this is in the main parse function btw.
never mind found it: needs a "Sleep(50);" where "cout << player_name << endl;" was
ok so i lied about the late release, this one is faster and more reliable, plus i have added 3 commands, !nextmap - what is the next map? !thismap - what is this map? !gameover - can only be used by the poeple in admins.txt. and with the new parsing engine it is easier for me to add commands. it is also much faster than before. if you want any commands added or have any suggestions please say!
Quote: and oh yeah, this is bot a bug that is why why has "Start PINFO output" and "End PINFO output" and it often misses players out... it loops thoug the player ID's, if id 1 is ingame, print id 1, if id is ingame print id 2, if id 3 i not ingame then quit loop problem then is that if id 4 is also ingame.. it will skip them out what is the point in !thismap???? lol.. and y dont u make it !next? so much easier
all someone has to do is press and hold L(default) to find out what the map they are on is called.
Or just walk outside a building and look But I guess it's ok for usage in IRC, instead of for example the combined usage of the !gi/!gameinfo commands
does anybody else get this error when trying to run: i cant find what it is :S
i become this error to...since the first beta...
I have the same error message on a pc without VC 2005 installed. On this pc (with 2005) it works properly. I think there are some build options you need to change, I got this problem myself too once, but I'm unsure on how I fixed it. I know it had to do with the build options though. Might be the manifest settings.
i think i know, i need to re-compile it.
Seems to start properly now
does it say "Found bad line in config" ? this is what i get with that exe, i have built a new one.
if at first it dosnt run, start the bot after your FDS has loaded up
right after realising a load of bugs, i have fixed mosgt of them, but i cant offer a release yet as help-linux.com is not down. but when the new domain come on i will have a server for it too. todo: a few more sounds; i am going to improve the plugin.txt feature to include "if" statements; read from logs instead so you dont need rlmon. maby shortcus as in, you type into teamchat: bapp and it will translate that into "beacon at power plant"; mIRC support i will make it optional; maby rengaurd server, hopefully Crimson will let me. fingers crossed. more commands for admins/mods ladder (i have almost got this finished) fix a memory leak, i am having trouble finding. also i am re-writing code to make it easyer to add commands, but i also need to add code so it is easyer to get game info and add general game commands. any suggestions you would like to make?
expect ^^this^^ release to be a dew days as i am having trouble with the ladder.
help-linux wrote on Mon, 04 September 2006 18:17 maby shortcus as in, you type into teamchat: bapp and it will translate that into "beacon at power plant"; Good luck if your going to make those work ingame.
dead6re wrote on Tue, 05 September 2006 16:51 help-linux wrote on Mon, 04 September 2006 18:17 maby shortcus as in, you type into teamchat: bapp and it will translate that into "beacon at power plant"; Good luck if your going to make those work ingame. i am going to make use of TMSG
Uh. So basically to in-game users, it will show like this. Quote: Dead6re: reppp Dead6re: Repair the Power Plant! --- Ugly method.
maybe you should try and do it like black-cell.net have. basically, if you download the client side part of it, if you press F4, it will say 'Repair the <building' where <building> is the building with lowest health.
i can't because that is in keys.config, i dont think it is that ugly. anyway it is better than nothing.
Neither of those 2 methods are done in the bot.
you mean, you press Ctrl+f4 to get text and you type bla to get text? the second one is
it doesn't look that bad does it?
does anybody know the exact stntax of gamelog.txt?
help-linux wrote on Tue, 05 September 2006 18:23 it doesn't look that bad does it? that needs to be something universal across all the bots if that is going to be done... im going out now, but i will PM you when i get back
does anybody have: FDSTalk.dll FDSTalk.lib FDSTalk.h i have lost all the sources to my bot and well i lost this as well
btw, people, just so you know, since he created that post he has found the source codes.
i have finally got somewhere! i have fixed the bot so 3.0 will be a stable release(hopefully). features for 3.0 1: !makeadmin 2: !makemod 3: a set respond time (not configureable) so slow computers will work. 4: a nicly laid out log 5: irc support(mabe) 6: a whole load of shortcuts EG: iapc = Incomming APC! 7: user shortcuts EG: !makeshortcut afk I am Away from keyboard this is so only *THIS* user can use this shortcut. 3 per person. 8: !qkick 9: !ban 9: !setnextmap mabe some more.
i was tired, it was 2 in the moring. you also forgot to correct "keybaurd". in some cases this can get on peoples nerves, and in others it is ok. this case it is ok because one spelling i though i knew, corrected, is one spelling i always write. unles it is a genuine typo.
i finally got ladder working after about 3 hours of debugging/coding. mostly the grueling task of debugging. also find where the bot was leaking memory so it shouldn't do it now.
the bot uses as little as 3 MB of ram when 2 players are in game.
You should also alow us to turn off the IRC option, if we just want to use it for a quick game
i am going to make it as custimizeable as possible so turing irc off wil be an option. any thing you would like to see in 3.0 please post!
wow, version 3 already, even brenbot is only up to version 1.43 ! if your site is still down feel free to send it to me on MSN and I will host it for you
he's hosting it on his other site: http://danielsgames.co.uk
danpaul88 wrote on Tue, 12 September 2006 18:29 wow, version 3 already, even brenbot is only up to version 1.43 ! if your site is still down feel free to send it to me on MSN and I will host it for you almost, but i have alot to do yet. mIRC is not yet even though about, it should take about 2 weeks to get ready for this release. i want to get it stable and running on low resources. at the moment it will use about 10MB on a big server and about 500k per person. i have already got all the radio command shortcuts from blackintells list working. the reason it is at version 3 is because i started out (0.50) at praticly nothing, i then added commands, improved etc. and now i am working on a few moderator and admin commands.
the17doctor wrote on Tue, 12 September 2006 19:12 he's hosting it on his other site: http://danielsgames.co.uk isn't addvertising illegal here? just kidding. btw, thanks for all the comments and support.
tripple post can a moderator change the title of this thread please to Official SBot Thread please. i plan to rename to Smart Bot. also i may post the sources to 0.50 so other poeple can use them as a basis on how to write there own regualator. i don't know weather i should because there is will bots poping up all over the place!
just edit your first post and change the title in it btw, i recommend studying this image:
the17doctor wrote on Tue, 12 September 2006 19:56 just edit your first post and change the title in it btw, i recommend studying this image: cool, never knew that was possible
well now you do