The Ultimate Site of Worms Armageddon

Worms: Armageddon => General discussion => Topic started by: PyroMan on August 02, 2014, 06:14 PM

Title: WO 2014: RandomBot
Post by: PyroMan on August 02, 2014, 06:14 PM
Since WO '14 is announced (which is awesome), i have a question for you guys: do you need RandomBot?
Im not sure that i`ll be able to run it all the time during WO, i have a lot of work these days.
But maybe we can find some trusted guy who i can give a script to keep it alive during WO weeks, in case if hosters need it.

Or if some1 tell me is there is any way to run mIRC scripts on Android, then i would keep it alive for a whole month without probs. Coz i cant keep my PC alive all the time.
Title: Re: WO 2014: RandomBot
Post by: Impossible on August 02, 2014, 06:36 PM
we sure need it cuz for now its the only possible way to keep pairings random and fair
Title: Re: WO 2014: RandomBot
Post by: dbanet on August 02, 2014, 07:06 PM
If it's not too big, I can try porting it to Tcl/EggDrop, so I'll be able to run it 24/7.
Title: Re: WO 2014: RandomBot
Post by: dbanet on August 02, 2014, 07:25 PM
You can share the source code via GitHub (https://github.com/).
Title: Re: WO 2014: RandomBot
Post by: PyroMan on August 02, 2014, 07:32 PM
If it's not too big, I can try porting it to Tcl/EggDrop, so I'll be able to run it 24/7.
453 lines of code, 319 lines of them for pairings.
But code is pretty simple though, using loops. just covering different conditions.
Title: Re: WO 2014: RandomBot
Post by: dbanet on August 02, 2014, 07:37 PM
Let me have a look. Either way someone will eventually have to do this.
Title: Re: WO 2014: RandomBot
Post by: dbanet on August 02, 2014, 07:38 PM
I've never scripted mIRC tho, so if someone knows both Tcl/EggDrop and mIRC scripting language, please appear suddenly from nowhere with a strong willing to port the subject from the first to the second.
Title: Re: WO 2014: RandomBot
Post by: MeTonaTOR on August 02, 2014, 07:42 PM
Since WO '14 is announced (which is awesome), i have a question for you guys: do you need RandomBot?
Im not sure that i`ll be able to run it all the time during WO, i have a lot of work these days.
But maybe we can find some trusted guy who i can give a script to keep it alive during WO weeks, in case if hosters need it.

Or if some1 tell me is there is any way to run mIRC scripts on Android, then i would keep it alive for a whole month without probs. Coz i cant keep my PC alive all the time.

sorry, UC is proud to have UCVerse WO Edition (Very closed beta) (wrote in PHP with alot of love <3) ;) <-- untested
and with txt generated file for reports ;) <-- untested too
Title: Re: WO 2014: RandomBot
Post by: PyroMan on August 02, 2014, 07:44 PM
You can share the source code via GitHub (https://github.com/).
i prefer pastebin.com, it doesnt require register and has mIRC syntax highlighting even :)
Here is a link, available to everyone: RandomBot script (http://pastebin.com/nrpunQsk)
and ye.. to understand it u`ll probably need to look into mirc code guide. at least for me it was pretty tricky to understand how it works, specially with loops and arrays.
Title: Re: WO 2014: RandomBot
Post by: dbanet on August 02, 2014, 07:45 PM
By the way, isn't the worm on your avatar picture inspired by artlebedev? Its face looks so damn similar. ::)

If that's a mockery, I'm your fan. :D :D
Title: Re: WO 2014: RandomBot
Post by: dbanet on August 02, 2014, 07:48 PM
I've looked in the code. Could be done, but I think you'd better come up with this a little bit earlier, at least BEFORE the WO has actually started...

... for now it looks like Zexorz's (try pronouncing this) solution might be just in place/time.
Title: Re: WO 2014: RandomBot
Post by: PyroMan on August 02, 2014, 07:51 PM
Since WO '14 is announced (which is awesome), i have a question for you guys: do you need RandomBot?
Im not sure that i`ll be able to run it all the time during WO, i have a lot of work these days.
But maybe we can find some trusted guy who i can give a script to keep it alive during WO weeks, in case if hosters need it.

Or if some1 tell me is there is any way to run mIRC scripts on Android, then i would keep it alive for a whole month without probs. Coz i cant keep my PC alive all the time.

sorry, UC is proud to have UCVerse WO Edition (Very closed beta) (wrote in PHP with alot of love <3) ;) <-- untested
and with txt generated file for reports ;) <-- untested too

Is that something that makes pairings? As i understand its some kind of program that people using to make pairings. But still, some mods prefer to make pairings online, visible to everyone. RandomBot is not necessary tool, but some mods might want to use it, i guess.
Title: Re: WO 2014: RandomBot
Post by: PyroMan on August 02, 2014, 07:53 PM
By the way, isn't the worm on your avatar picture inspired by artlebedev? Its face looks so damn similar. ::)

If that's a mockery, I'm your fan. :D :D

My avatar is insired by Half-Life 2 Gordon Freeman, who is using Gravity Gun obviously. I made it after PX Gravity Gun been made by me, to use in video teaser specially for this new gun. Then just transfered to avatar.
Title: Re: WO 2014: RandomBot
Post by: MeTonaTOR on August 02, 2014, 07:54 PM
Since WO '14 is announced (which is awesome), i have a question for you guys: do you need RandomBot?
Im not sure that i`ll be able to run it all the time during WO, i have a lot of work these days.
But maybe we can find some trusted guy who i can give a script to keep it alive during WO weeks, in case if hosters need it.

Or if some1 tell me is there is any way to run mIRC scripts on Android, then i would keep it alive for a whole month without probs. Coz i cant keep my PC alive all the time.

sorry, UC is proud to have UCVerse WO Edition (Very closed beta) (wrote in PHP with alot of love <3) ;) <-- untested
and with txt generated file for reports ;) <-- untested too

Is that something that makes pairings? As i understand its some kind of program that people using to make pairings. But still, some mods prefer to make pairings online, visible to everyone. RandomBot is not necessary tool, but some mods might want to use it, i guess.

full automation

!register for register
admincommand: !start = starts pairing
!report = report, but sents a confirmation to player2, to accept it uses !confirm yes/no

and thats all, if tests goes as i've thinked, i'll share it publickly to everybody ;)
Title: Re: WO 2014: RandomBot
Post by: dbanet on August 02, 2014, 07:58 PM
By the way, isn't the worm on your avatar picture inspired by artlebedev? Its face looks so damn similar. ::)

If that's a mockery, I'm your fan. :D :D

My avatar is insired by Half-Life 2 Gordon Freeman, who is using Gravity Gun obviously. I made it after PX Gravity Gun been made by me, to use in video teaser specially for this new gun. Then just transfered to avatar.

http://ekb-room.ru/uploads/ekb/2014/07/artemij.jpg

Far too similar.
Title: Re: WO 2014: RandomBot
Post by: zippeurfou on August 02, 2014, 07:59 PM
Just adapt it to nodejs and host it on nodejitsu.
Title: Re: WO 2014: RandomBot
Post by: PyroMan on August 02, 2014, 08:01 PM
Since WO '14 is announced (which is awesome), i have a question for you guys: do you need RandomBot?
Im not sure that i`ll be able to run it all the time during WO, i have a lot of work these days.
But maybe we can find some trusted guy who i can give a script to keep it alive during WO weeks, in case if hosters need it.

Or if some1 tell me is there is any way to run mIRC scripts on Android, then i would keep it alive for a whole month without probs. Coz i cant keep my PC alive all the time.

sorry, UC is proud to have UCVerse WO Edition (Very closed beta) (wrote in PHP with alot of love <3) ;) <-- untested
and with txt generated file for reports ;) <-- untested too

Is that something that makes pairings? As i understand its some kind of program that people using to make pairings. But still, some mods prefer to make pairings online, visible to everyone. RandomBot is not necessary tool, but some mods might want to use it, i guess.

full automation

!register for register
admincommand: !start = starts pairing
!report = report, but sents a confirmation to player2, to accept it uses !confirm yes/no

and thats all, if tests goes as i've thinked, i'll share it publickly to everybody ;)

sounds cool. Is that works on channel and everyone able to register simply by writing "!register"?
and where will we get pairings results after "!start" input - on channel instantly aswell, using registered players?
Title: Re: WO 2014: RandomBot
Post by: dbanet on August 02, 2014, 08:03 PM
Just adapt it to nodejs and host it on nodejitsu.

No one discards this as an option, but can you do this, and do you want to do this?

I've come up with Tcl/EggDrop just because I can port it to Tcl, and because EggDrop is an IRC bot.
Title: Re: WO 2014: RandomBot
Post by: PyroMan on August 02, 2014, 08:03 PM
http://ekb-room.ru/uploads/ekb/2014/07/artemij.jpg
Far too similar.
http://img.playground.ru/images/4/1/030209.jpg

sry for offtop. Lets stop it, dbanet.
Title: Re: WO 2014: RandomBot
Post by: dbanet on August 02, 2014, 08:07 PM
http://ekb-room.ru/uploads/ekb/2014/07/artemij.jpg
Far too similar.
http://img.playground.ru/images/4/1/030209.jpg

sry for offtop. Lets stop it, dbanet.

But where's the hair, and why isn't the beard orange??? :P

Sorry it still looks more similar to lebedev, taking into account that I didn't recognize the gravity gun.  ???
Title: Re: WO 2014: RandomBot
Post by: zippeurfou on August 02, 2014, 08:12 PM
Yes I can do it. Actually I made a bot that would do the same as the matchmaking tool but in ag. I have the code to connect to WA through nodeJS and listen/register to what they say. However, I am really busy lately and I doubt I will have the time to do the adaptation any time soon :/
Title: Re: WO 2014: RandomBot
Post by: dbanet on August 02, 2014, 08:14 PM
Yes I can do it. Actually I made a bot that would do the same as the matchmaking tool but in ag. I have the code to connect to WA through nodeJS and listen/register to what they say. However, I am really busy lately and I doubt I will have the time to do the adaptation any time soon :/

These are basic things which an actual IRC bot should manage itself. It seems you like JavaScript programming (same as I), so you probably may be interested in HuBot. Google it.
Title: Re: WO 2014: RandomBot
Post by: dbanet on August 02, 2014, 08:22 PM
Anyway I think the ZexorZ's script should be chosen, as he actually got a working and probably fitting solution and has also got a server to host it on.
Title: Re: WO 2014: RandomBot
Post by: zippeurfou on August 02, 2014, 08:22 PM
Will take a look thanks. It's just that it hurts my eyes all these if statements ;).
The top thing would be to have a skeleton of HB to create our own hoster :)
Title: Re: WO 2014: RandomBot
Post by: dbanet on August 02, 2014, 08:45 PM
The top thing would be to have a skeleton of HB to create our own hoster :)

yea...  :(
Title: Re: WO 2014: RandomBot
Post by: MeTonaTOR on August 03, 2014, 09:03 PM
Since WO '14 is announced (which is awesome), i have a question for you guys: do you need RandomBot?
Im not sure that i`ll be able to run it all the time during WO, i have a lot of work these days.
But maybe we can find some trusted guy who i can give a script to keep it alive during WO weeks, in case if hosters need it.

Or if some1 tell me is there is any way to run mIRC scripts on Android, then i would keep it alive for a whole month without probs. Coz i cant keep my PC alive all the time.

sorry, UC is proud to have UCVerse WO Edition (Very closed beta) (wrote in PHP with alot of love <3) ;) <-- untested
and with txt generated file for reports ;) <-- untested too

Is that something that makes pairings? As i understand its some kind of program that people using to make pairings. But still, some mods prefer to make pairings online, visible to everyone. RandomBot is not necessary tool, but some mods might want to use it, i guess.

full automation

!register for register
admincommand: !start = starts pairing
!report = report, but sents a confirmation to player2, to accept it uses !confirm yes/no

and thats all, if tests goes as i've thinked, i'll share it publickly to everybody ;)

sounds cool. Is that works on channel and everyone able to register simply by writing "!register"?
and where will we get pairings results after "!start" input - on channel instantly aswell, using registered players?

Yes, !register 1/0 (1 can host/0 CANT)
And will output pairs just after !start

Tommorow will test it locally
Title: Re: WO 2014: RandomBot
Post by: PyroMan on August 04, 2014, 03:27 PM
Since WO '14 is announced (which is awesome), i have a question for you guys: do you need RandomBot?
Im not sure that i`ll be able to run it all the time during WO, i have a lot of work these days.
But maybe we can find some trusted guy who i can give a script to keep it alive during WO weeks, in case if hosters need it.

Or if some1 tell me is there is any way to run mIRC scripts on Android, then i would keep it alive for a whole month without probs. Coz i cant keep my PC alive all the time.

sorry, UC is proud to have UCVerse WO Edition (Very closed beta) (wrote in PHP with alot of love <3) ;) <-- untested
and with txt generated file for reports ;) <-- untested too

Is that something that makes pairings? As i understand its some kind of program that people using to make pairings. But still, some mods prefer to make pairings online, visible to everyone. RandomBot is not necessary tool, but some mods might want to use it, i guess.

full automation

!register for register
admincommand: !start = starts pairing
!report = report, but sents a confirmation to player2, to accept it uses !confirm yes/no

and thats all, if tests goes as i've thinked, i'll share it publickly to everybody ;)

sounds cool. Is that works on channel and everyone able to register simply by writing "!register"?
and where will we get pairings results after "!start" input - on channel instantly aswell, using registered players?

Yes, !register 1/0 (1 can host/0 CANT)
And will output pairs just after !start

Tommorow will test it locally

great job! wish u luck in testing and tweaking
Title: Re: WO 2014: RandomBot
Post by: PyroMan on August 15, 2014, 09:00 AM
Alright, yesterday i gave RandomBot to StepS as to trusted person, to host it for tournaments.
He able to keep it alive much longer than me, so thanks a lot for this support.

goodluck, havefun & fairplay to everyone <3