Forums
First  << 1 >>  Last
Forum Main>>IRC General>> Free Bot Scripts - Need new ideas...
NewehAccount

ID: 1445055
Level: 29
Posts: 2623
Score: 2218
NewehAccount [1445055]Reply | Quote | Report

Thread created on Sat Oct 19, 2013 17:23:26
Last replied to on Sun Apr 06, 2014 19:01:56
Sup, after losing my old thread and all my scripts with it! (Cant find the pastebin, I probs just need to search a bit harder but meh)

I have decided to start another. Now it appears Arsehole script has got most of the normal stuff down. So if anything else is needed feel free to request here and I will create it under the assumption that you are fine with the fact it gets put up for everyone else to use (the script, not your bot).


So yeah, nothing here at the moment but if you need anything specific just post below.

Super secret reinforced spam barrier 2.0
W0LFY
ID: 507262
Level: 27
Posts: 123
Score: -28
W0LFY [507262]Reply | Quote | Report

Posted on Sat Oct 19, 2013 20:12:26
Hey plort I still have a copy of ur old id script could use an update I am trying to find a decent lotto script and auto give away but had no luck if u wann try them

This is your old id script: http://pastebin.com/vdsgUPaF

Last Edited: Sun Oct 20, 2013 13:24:01
Super secret reinforced spam barrier 2.0
W0LFY
ID: 507262
Level: 27
Posts: 123
Score: -28
W0LFY [507262]Reply | Quote | Report

Posted on Sat Oct 19, 2013 20:29:19
Ohh forgot to add a decent shoucast scriptthat can be easliy configgured to use a trigger and a timmer that can be changed

Super secret reinforced spam barrier 2.0
Scootaloo

ID: 1590427
Level: 33
Posts: 2905
Score: 1809
PonyScootaloo [1590427]Reply | Quote | Report

Posted on Sun Oct 20, 2013 06:23:08
A command to make ANSII boobs appear in the room

I don't expect it, but it'd be cool. R+

8fe.png
Super secret reinforced spam barrier 2.0
PMV

ID: 1577993
Level: 57
Posts: 367
Score: 199
JFKPMV [1577993]Reply | Quote | Report

Posted on Tue Oct 22, 2013 22:27:19
I get asked often for a basic giveaway/lotto script.

I haven't had much time lately to make one, so if you're looking for something to do, that could be helpful.

Super secret reinforced spam barrier 2.0
Baltar69

ID: 1556410
Level: 49
Posts: 857
Score: 212
USBaltar69 [1556410]Reply | Quote | Report

Posted on Mon Oct 28, 2013 23:39:42
By PMV [1577993]
I get asked often for a basic giveaway/lotto script.


One feature that would be helpful in a giveaway/lotto script would be some mechanism to to allow admins an option to set the how often the same people win items. Could an admin set a time amount (in hr or mins or amount of prizes something) that a channel member who wins something cannot win a 2nd or 3rd prize etc. Either set it by a time interval or perhaps an amount interval where someone can only win 2 prizes in 30-60 mins or something..

Almost all bots I see for some reason do not appear as random in the number generations as they should. I know everyone says they have tested the bots and the numbers are random but I really wonder at times. A feature like this would hand out prizes a little more 'randomly' to everyone.

-Baltar







Super secret reinforced spam barrier 2.0
PMV

ID: 1577993
Level: 57
Posts: 367
Score: 199
JFKPMV [1577993]Reply | Quote | Report

Posted on Wed Oct 30, 2013 02:57:22
The problem with repeated draws lies with how random seeds work. A simple $rand isn't truly "random" to a lot of people's eyes as it can very easily pull the same number again in a short time, especially with a small range to work with.

For most of the lotto bots in the larger giveaway rooms, using $rand is "fine" because of how many people idle in those. It can very well still happen as evidenced with the recent hamster giveaways but still is a very small chance. For a smaller like a faction channel, it occurs much more often.

My idea of a workaround would be to keep a "winner's history" of like X number of IDs (names do not work since /nick newname will defeat it). If it pulls a player who's ID is in the list, it will re-roll it until one that isn't comes up. Then, it will put the winner's ID at the start of the list while knocking off the last entry. The buffer size can be adjusted to say 20% of the total number of people in the channel.

It is a lot of work to implement and can be defeated easily in hectic rooms with a million guests in it (quitting and rejoining under a different account after winning to 'skip the buffer'), which is why a lot of these larger giveaway channels don't bother with it. But for a small trusted environment like a inter-faction giveaway, it's the best solution I can think of.

That's how I designed a trivia bot once to avoid repeated questions.

Super secret reinforced spam barrier 2.0
NewehAccount

ID: 1445055
Level: 29
Posts: 2623
Score: 2218
NewehAccount [1445055]Reply | Quote | Report

Posted on Wed Oct 30, 2013 06:34:21
By PMV [1577993]
The problem with repeated draws lies with how random seeds work. A simple $rand isn't truly "random" to a lot of people's eyes as it can very easily pull the same number again in a short time, especially with a small range to work with.

For most of the lotto bots in the larger giveaway rooms, using $rand is "fine" because of how many people idle in those. It can very well still happen as evidenced with the recent hamster giveaways but still is a very small chance. For a smaller like a faction channel, it occurs much more often.

My idea of a workaround would be to keep a "winner's history" of like X number of IDs (names do not work since /nick newname will defeat it). If it pulls a player who's ID is in the list, it will re-roll it until one that isn't comes up. Then, it will put the winner's ID at the start of the list while knocking off the last entry. The buffer size can be adjusted to say 20% of the total number of people in the channel.

It is a lot of work to implement and can be defeated easily in hectic rooms with a million guests in it (quitting and rejoining under a different account after winning to 'skip the buffer'), which is why a lot of these larger giveaway channels don't bother with it. But for a small trusted environment like a inter-faction giveaway, it's the best solution I can think of.

That's how I designed a trivia bot once to avoid repeated questions.




Yeah, to be honest its not *that* hard to do, realistically it would just be an array of userIDs and while (lottoWinners.contains(ID)) { ID = lottoEntrants.random(); } lottoWinners.remove(0); Or just even more optimised ... disallow them from joining

In fact the lotto bot in Hamster already actually had this feature for last winner but it wasn't active as the random should technically be considered random enough (although I suppose it could be construed as unfair).

Im currently recoding it all in a different language other than mSL as I really hate the lack of arrays, json parsing etc. mSL is great for small little things but when you start going for more and more it quickly becomes a mess.


The issue is somewhat like what happened to iPods shuffle algorithm, people complained that it was too random and kept selecting tons of songs from the same album etc.

Last Edited: Wed Oct 30, 2013 06:37:18
Super secret reinforced spam barrier 2.0
PMV

ID: 1577993
Level: 57
Posts: 367
Score: 199
JFKPMV [1577993]Reply | Quote | Report

Posted on Wed Oct 30, 2013 20:02:22
Yea, msl has it's own little issues. It becomes a fun challenge to try to generate "pseudo arrays" using tokenized strings and hash tables lol.

The main reason I stuck with it was because most people already run their bots within it. I'm honestly surprised that I was able to put together what I have been able to with Asshole.

Super secret reinforced spam barrier 2.0
Dexter

ID: 1381769
Level: 49
Posts: 781
Score: 165
IBBDexter [1381769]Reply | Quote | Report

Posted on Sat Jan 18, 2014 00:20:43
Not sure how feasible it is...
But if it could work for all Boosters it would be awesome.

z1iyUDd.png

The price is taken from the cheapest from the bazaars and it links to the bazaar also.


SEEMS this would be Illegeal, PMV's script is best legal method right now

Last Edited: Sat Jan 18, 2014 23:32:08
705.png
Super secret reinforced spam barrier 2.0
djalex9

ID: 1423889
Level: 15
Posts: 18
Score: 3
djalex9 [1423889]Reply | Quote | Report

Posted on Sun Apr 06, 2014 19:01:56
how do i make my scriped and bot so i can do my own lottos and give aways and ban people who are not following the rules please mail me if you can help me

Forum Main>>IRC General>> Free Bot Scripts - Need new ideas...
First  << 1 >>  Last