Our members are dedicated to PASSION and PURPOSE without drama!

A script flat betting 5 neighbors

Started by Ralph, November 25, 2012, 01:29:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ralph

The comes closer to the release of the BV bot.  Some smaller issues to test more. Then a hope a few more are ready to write script for it.
I will concentrate of scripting later, and hope all popular methods can be scripted in rather short time. All scripts will automatic be updated for all users, as soon I have added it to the server.


The script here place the next bet on the last shown number and the two neigbors on both sides.  For  those not familar with programming it is a good script to examinate as it is rather easy to understand how it works.


The script get  the winning number, betsize and the bet. As it is straight up bets, it is the number which is the code for the bet.
It returns the new bet and the betsize.  The win target and stop loss is set in the main program. For example play 0.01 until 50 units plus or 200   units loss. The first release will handle session with maximum 100 Euros including the win target, which is 10000 units of the lowest bet size.


Code (javascript) Select

function extfunc (number,betsize, bet){
var num = parseInt(number);
switch(num){
   case 0:
   return "3,26,0,32,15/" + betsize;
   break;
   case 1:
   return "16,33,1,24,15/" + betsize;
   break;
   case 2:
   return "4,21,2,25,17/" + betsize;
   break;
   case 3:
   return "12,35,3,26,0/" + betsize;
   break;
   case 4:
   return "15,19,4,21,2/" + betsize;
   break;
   case 5:
   return "23,10,5,24,16/" + betsize;
   break;
   case 6:
   return "17,34,6,27,13/" + betsize;
   break;
   case 7:
   return "18,29,7,28,12/" + betsize;
   break;
   case 8:
   return "11,30,8,23,10/" + betsize;
   break;
   case 9:
   return "14,31,9,22,18/" + betsize;
   break;
   case 10:
   return "8,23,10,5,24/" + betsize;
   break;
   case 11:
   return "13,36,11,30,8/" + betsize;
   break;
   case 12:
   return "7,28,12,35,3/" + betsize;
   break;
   case 13:
   return "6,27,13,36,11/" + betsize;
   break;
   case 14:
   return "1,20,14,31,9/" + betsize;
   break;
   case 15:
   return "0,32,15,19,4/" + betsize;
   break;
   case 16:
   return "5,24,16,33,1/" + betsize;
   break;
   case 17:
   return "2,25,17,34,6/" + betsize;
   break;
   case 18:
   return "9,22,18,29,7/" + betsize;
   break;
   case 19:
   return "32,15,19,4,21/" + betsize;
   break;
   case 20:
   return "33,1,20,14,31/" + betsize;
   break;
   case 21:
   return "19,4,21,2,25/" + betsize;
   break;
   case 22:
   return "31,9,22,18,29/" + betsize;
   break;
   case 23:
   return "30,8,23,10,5/" + betsize;
   break;
   case 24:
   return "10,5,24,16,33/" + betsize;
   break;
   case 25:
   return "21,2,25,17,34/" + betsize;
   break;
   case 26:
   return "35,3,26,0,32/" + betsize;
   break;
   case 27:
   return "34,6,27,13,36/" + betsize;
   break;
   case 28:
   return "29,7,28,12,35/" + betsize;
   break;
   case 29:
   return "22,18,29,7,28/" + betsize;
   break;
   case 30:
   return "36,11,30,8,23/" + betsize;
   break;
   case 31:
   return "20,14,31,9,22/" + betsize;
   break;
   case 32:
   return "26,0,32,15,19/" + betsize;
   break;
   case 33:
   return "24,16,33,1,20/" + betsize;
   break;
   case 34:
   return "25,17,34,6,27/" + betsize;
   break;
   case 35:
   return "28,12,35,3,26/" + betsize;
   break;
   case 36:
   return "27,13,36,11,30/" + betsize;
   break;
}
}



For programers  or others, this script can be codet a lot of other ways.  You can use the winning numbers as key to a dic and you can place the return numbers in an Array at the index of the winning number.