Resource icon

Untagged Release diceMastermind (tool)

Status
Not open for further replies.

monday

Expert
Joined
Jun 23, 2014
Messages
1,125
Reaction score
149
It's a mod which saves how many times a certain sequence of dice results occured and generates a "predicted number" based on such data. It's not a cheat, it's a tool which can be modified to find some potential tendencies within the sequence of numbers. I tested it on "True Roleplay" server and unfortunately the results were as expected, approximately 1/6 of the predictions were right which is the same as random, but I'd like to share it anyway. I wouldn't advise anyone to use it with high hopes to get rich on some server, it's for someone who has patience and likes to play with such things.

There are 2 main phases of its work:
1st - Storing phase
It spams /dice and stores the resulted sequence to ini file (it takes really long time like 6-12 hours)

2nd - Checking/comparing phase
It also spams /dice but now it generates "predicted number" by checking what was the most common next number for the current sequence. Then increases "right" or "wrong" value inside the ini file depending on how accurate was prediction

Installation
1. Unpack the rar archive
2. Put "INI" folder and "diceMastermind.cs" file inside your cleo folder
3. To make it work properly it's neccessary to edit the message which you receive after using /dice. At the moment it's:
Code:
0AD4: 2@ = scan_string 0@ format "* Monday Michal throws a dice. Result: %d." 1@

Commands:
/storedice - (on/off) starts spamming the /dice command and stores the results to the ini file
/storedice <milliseconds> - same as above but with delay between each command
/checkdice - (on/off) starts spamming the /dice command, compares generated predicted number with the next one and stores how accurate was prediction to the ini file
/checkdice <milliseconds> - same as above but with delay between each command
/resultdice - (on/off) display the statistics about successful/failed predictions
/resetdice - reset saved predictions count (it doesn't reset the database with sequences)

Tested with
-Cleo 4.1
-Samp Functions 5.1
-MG Functions impossible 4.3
-SA-MP 0.3z R1

Additional info
According to "nbvf" user from Polish hacking forum he made a proper dice hack for the old version of "Mrucznik RP"* server using similar method. I don't know if it's possible to create fully functional dice hack which would work on the majority of servers but this mod is where I'd start searching.
*http://www.botyhaxsamp.fora.pl/sa-mp-cheats,10/mrucznik-rp-kasyno-cheat-hack-mod,1416.html
*http://www.botyhaxsamp.fora.pl/sa-m...skrypt-na-kostke-do-mrucznika-za-zl,1560.html


https://www.youtube.com/watch?v=B48EViURbVs

On the video above you can notice:
Predicted number - the most frequent number which occured after the same sequence while storing the data
Ratio - relation between correct predictions and all predictions. Random one = 1/6 which is 16.6666...%
Chance - even small increase in ratio above may be significant, that's why "chance" indicates in percents how much more/less probable it is to predict the numbers with the current tendency(comparing to random guessing)
Count - how many predictions were made (more predictions = more reliable result)

Source
http://pastebin.com/hGk5CDDt

Examplous database
Collected on "True Roleplay" server
http://pastebin.com/Wms6xa7N
 

Attachments

  • (random(6)+1) 100k long sequence.rar
    203.7 KB · Views: 701
  • diceMastermind.rar
    15 KB · Views: 976

Fu$10N

Expert
Joined
Mar 5, 2014
Messages
1,101
Reaction score
9
Nice man. Finally someone did something very good  :urtheman:

In the server where I play, the problem is that the command is /dice id money. Could you make it like this ? Because it's very awesome what you did here. Keep 'em coming [member=21092]monday[/member]  :urtheman: :urtheman: :urtheman: :trollface: :trollface:
 

godofwarz36

Active member
Joined
Jan 30, 2015
Messages
88
Reaction score
1
Umm a question...by checking and tweaking its prediction value won't it increase the probability of guessing it right the next time?
 

Vrana

Active member
Joined
Jun 24, 2014
Messages
128
Reaction score
0
Location
Serbia
Wait, I can use it when I play /lotto on RolePlay server's? I buy /lotto <number> and on every is lottery.
 

Jayco

Active member
Joined
Feb 7, 2015
Messages
52
Reaction score
2
Can u make /pdicehelp? to showing list of dicemastermind cmds?  :yesyes:
 

ImAliso

Active member
Joined
Apr 2, 2013
Messages
27
Reaction score
0
link for Samp Functions 5.1 and MG Functions impossible 4.3 would be great
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,125
Reaction score
149
but it doesn't work anyway so is there even a point?
 
Status
Not open for further replies.
Top