• Welcome to #1 Roulette Forum & Message Board | www.RouletteForum.cc.

News:

WARNING: Forums often contain bad advice & systems that aren't properly tested. Do NOT believe everything. Read these links: The Facts About What Works & Why | How To Proplerly Test Systems | The Top 5 Proven Systems | Best Honest Online Casinos

Main Menu
Popular pages:

Roulette System

The Roulette Systems That Really Work

Roulette Computers

Hidden Electronics That Predict Spins

Roulette Strategy

Why Roulette Betting Strategies Lose

Roulette System

The Honest Live Online Roulette Casinos

Tom's RSS Pro: Tutorial V3 (Coding) In Depth

Started by ThomasGrant, Jul 26, 09:31 PM 2010

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ThomasGrant

This next Tutorial will be an In Depth Look Into Coding.
Everything I know about coding.
Or everything I learnt about coding.
Just from asking questions.

I must point out, that I am not an expert in coding.
Or writing scripts. I just ask questions.
And try out things that I learn.

I have my way of writing code.
I try and make it as logical as possible.
With lots of comments.
Just so I know what it is I am doing.

I will be using this post as a sounding board.
Trying out my ideas. And seeing if they work.

Hopefully, by the end of it.
I will have a bot that does exactly what I want it to.
With all the features I want in it.

Well, I hope that didn't deter you from following on.
As I begin this rant.

So let's get started...
"What we do in life, echoes in eternity"

*Link Removed*  The Roulette Professor. *Link Removed*

ThomasGrant

THE CODE

There is a great deal on writing code with Pascal on the internet.
Just do a search for Pascal or Delphi.
And I am sure you will come up with many links that can teach you something.

Here is an example.
link:://pascalprogramming.byethost15.com/lesson1.php

Pascal is not that hard.
It is fairly logical code.

So I hope that what little I have learnt over the past few years.
May assist you in some small way.

This will be a hands on Tutorial.
That means, I will be coding as I write this.
And implementing it into my bot.
Let's get started with some terms.

VARIABLES.

VAR for short.

What is it?
And how do you use them?

This is all my point of view.
So it may or may not be accurate.

VAR (Variable)
Is something you assign to something.

Let's look at an example.

Var name;

name:='Coco';
Print ('My dog is called '+name)'

That will print out this result.
"My dog is called Coco"

That is about as simple of an explanation of what a variable is.

Here is a bunch of variables that I did for a project of mine.

{###### Variables ##########}
var F : Text;
    S : String;
{InputQuery variables}
var qr,decision,decide;
{Chips, chip units, min chip settings}
var CU,chips,chips_set,Chip1,Chip2,Chip3,Chip4,Chip5,Chip6,Chip7,min_chip,chip_q;
{Print Variables}
var PT,pn,n,i,ds,nos;
{Cash amounts variables}
var start_amount,wish_amount,amount,stop_loss;
{Array Variables}
var gv,el_n;
{Casino Variables}
var CasinoName,TableName,TN,csp;
{Operation Variables}
var last_nr,ch_n,unit_value,spin_count,fl_stop,was_betting,sim_mode;
{Element Variables}
var k_el,k_el1,el_name,set_name;
var elements,elements1;
var elements_played,total_elements;
{Date variables}
var Year,Month,Day,h,m,sec,ms
{###### End Variables ######}


Many of these variables will be used in this application.

If you want a full description of what a variable is.
And how they are used.

Then LOOK IT UP...
Do a search on the internet for information.

How do you think I found out how to do this sort of stuff?
--------------------------------------------------------------

Variables can be used for anything.
And your scripts that you make.
Will need variables to make it run.
"What we do in life, echoes in eternity"

*Link Removed*  The Roulette Professor. *Link Removed*

ThomasGrant

Procedures
and
Functions


Here is a simple Button Object on the form.


And these are the events you can have with it.


When you double click on the button.
It creates a procedure for you automatically.

procedure Button1Click(Sender: TObject);
begin
 
end;


In between
begin

end;

Is where you enter in your code.

You can also give it a local variable at before it begins.

procedure Button1Click(Sender: TObject);
var name;{your name}
begin
 
end;


You can see I added in the variable name.
And I added in a comment after it.
{your name}

{} You use these to place comments.
Or you use this
// to place comments.

Functions

I must admit.
I don't know much about Functions.
Or what they do. Or how to use them.
But from what I do know.
They are similar to Procedures.

The functions that I use.
Where created by Silver.
He is the code guy at MMM.

Here is one of his functions that I use in my scripts.
function in_array(i_nr,i_array):boolean;
{check if the i_nr value is from the i_array array}
var k;
begin
result:=false;
for k:=0 to VarArrayHighBound(i_array,1) do
begin
if i_nr=i_array[k] then
begin
result:=True;
break;
end;
end;
end;


I had to look up what boolean meant.
I had no idea. Found out it has something to do with math.
And math, was not my favourite topic at school.

I understand procedures a lot more.
And how to use them.

So I will be concentrating on them.
"What we do in life, echoes in eternity"

*Link Removed*  The Roulette Professor. *Link Removed*

ThomasGrant

Local and Global Variables.

procedure Button1Click(Sender: TObject);
begin
 
end;


procedure Button1Click(Sender: TObject);
var name;{Local variable}
begin
 
end;


Local Variables
Are just that.
They are variables that are use only in the confines of that procedure or function.

var youname,familyname,kidsname;

When you have these at the start of the script.
They are are Global Variables.
And are used throughout the entires script.
"What we do in life, echoes in eternity"

*Link Removed*  The Roulette Professor. *Link Removed*

ThomasGrant

Ok, I have done nice code for my bot.
Came up with some good ideas.
I am in the process of writing it.
Then testing each step.
Got a few more things to do.
But it is looking good.

At the moment, I am trying to figure out how to transfer most of my
RSS script over to RSS PRO.

And then test it out.

Just not sure who in here is truly interested.
"What we do in life, echoes in eternity"

*Link Removed*  The Roulette Professor. *Link Removed*

VLS

Quote from: ThomasGrant on Jul 28, 09:26 PM 2010
Just not sure who in here is truly interested.

Hello dear Thomas, even if at the present time you don't get all the attention you deserve, don't despair. Just take it easy, write as an exercise for yourself and be certain there are others reading and following you. Even the shy ones who would never reply to a public forum!

Heck, even "ant farming" guides have "fans"...

Well, I don't think there is a too much large audience for that coming from google (i.e. I don't picture many people telling to themselves "... I think I'll google for ant-farming sites today!") BUT (and that's a big BUTT) the creator of the page is happy someone is reading... and eventually may get comments. But too targeted niches work just like that: slow.

What I can tell you is: Take pride you are serving a niche you enjoy belonging to, even if the replies are scarce.

Also you have it for reference. Give it time for the other to pick it up.

I appreciate them. Others sure are appreciative too.

Regards.
🡆 ROULETTEIDEAS․COM, home of the RIBOT WEB software, featuring Bet Selection and Money Management modules with a MULTI-LANGUAGE programming interface! ✔️

ThomasGrant

Thanks Victor for your kind words.

Well, if you all wana see what I have done so far.
Here it is.
This is the bot in action.
After some coding.
I got it to do what I want it to do.
Well almost.
Still along way to go.

Here is the link to the video.

link:://rouletteprofesor.com/rss-pro/my-bot-v3.html

I have also uploaded the src code.
"What we do in life, echoes in eternity"

*Link Removed*  The Roulette Professor. *Link Removed*

ThomasGrant

Just remember,
I created this.
With RSS Pro.
And if I can do it.
You can to.

Lots of good ideas in this one.

PS: I think RSS Pro is only $100
But I am not sure.

You would have to ask MMM admin for the exact price.
link:://:.money-maker-machine.com/forum/index.php?referredby=73
"What we do in life, echoes in eternity"

*Link Removed*  The Roulette Professor. *Link Removed*

VLS

Quote from: ThomasGrant on Jul 29, 11:25 AM 2010
Thanks Victor for your kind words.

A pleasure to cheer-up a fellow coder.

Heck, coding for personal satisfaction is the best way to enjoy it!

These days I'm in the "hall of the tortured souls". Creating commercial apps (with all the debugging and optimizing, etc.)... is not that fun as creating your first amateur programs and seeing the computer do as you want.

Newbie coder: Look, I created an object!

Pro coder: Darn on line 10,030 of the object there's a random bug... my God! where did this variable got this value from? Back to debugging since line 3,500 ;D

:-X

(Morality: keep it for fun for as long as you can AND enjoy it!  :) :thumbsup:)
🡆 ROULETTEIDEAS․COM, home of the RIBOT WEB software, featuring Bet Selection and Money Management modules with a MULTI-LANGUAGE programming interface! ✔️

Bayes

Hi Thomas,

Even though I'm not a fan of bots, I think it's great that you've taught yourself this stuff. Most people are intimidated by programming, and it is a fairly steep learning curve for the newbie. I had to do a programming module in Pascal many years ago at Uni, the pass mark was 45%, and I think I got 46%.  :D

Like anything, you get better with practice, and programming can get quite addictive.
"The trouble isn't what we don't know, it's what we think we know that just ain't so!" - Mark Twain

VLS

Quoteprogramming can get quite addictive.

Bayes, from addict to addict: AGREED!
🡆 ROULETTEIDEAS․COM, home of the RIBOT WEB software, featuring Bet Selection and Money Management modules with a MULTI-LANGUAGE programming interface! ✔️

ThomasGrant

Thanks Victor and Bayes.

Shore hope you get a chance to see the video.

Amazing how far I got in such a short time.
---------------------------------------------

One thing I know for certain.
This is the only RSS Pro tutorial out there.
For the time being that is.

With no assistance.
Had to look up a lot of things from google.

And got great help form delcode.com
link:://:.shareit.com/product.html?productid=300049463&affiliateid=200120267
"What we do in life, echoes in eternity"

*Link Removed*  The Roulette Professor. *Link Removed*

ThomasGrant

Tiago...

What an inspiration.

Tiago coded Roulette Bot Pro.
And
Super Roulette.

Plus he coded NWR (Never Winter Roulette)
And NWRS (Never Winter Roulette Scripter)

And he has coded other bots for private people.

Amazing programmer.

Been fortunate enough to be one of his beta testers.
Beta tested RBP, and Super.
"What we do in life, echoes in eternity"

*Link Removed*  The Roulette Professor. *Link Removed*

VLS

Yeah mate, I agree. Tiago is a great programmer. Thumbs up to him.
🡆 ROULETTEIDEAS․COM, home of the RIBOT WEB software, featuring Bet Selection and Money Management modules with a MULTI-LANGUAGE programming interface! ✔️

ThomasGrant

Seems like some people are having problems with viewing the video.
So here is the youtube link.

My first bot made with RSS-Pro.
"What we do in life, echoes in eternity"

*Link Removed*  The Roulette Professor. *Link Removed*

-