New Life Games LLC

Homebrew Player Tracking and EFT Systems => NLG Homebrew Player Tracking and EFT Systems => Topic started by: foster on February 21, 2014, 08:57:40 PM

Title: My Homebrew TITO program for Windows 7 or 8 PC
Post by: foster on February 21, 2014, 08:57:40 PM
For windows 8 you must have the desktop icon on the start screen.
Most tablets wont work unless you can access the windows 8 desktop.
If I code it for a tablet Serial port support is not permitted under any circumstances the last time I checked.
It has to due with permissions, security for tablets

Program was coded in C# using Visual Studio 10 and uses the SerialPort Library in Net Frameworks
Program Features:
   TITO using System Validation
   SAS Communication log to window
   Enable or Disable Machine
   SAS Version and Machine Serial number (great for trouble shooting)
   Legacy Bonus Award.
   Keyless Handpay reset (remote jackpot or handpay must be enabled in the machine) can be manual or automatic.

Sample code

Code: [Select]
private void generalpoll()
{
  Byte[] GenPoll = { 0x80, 0x81 };
  SerialPort1.Parity = Parity.Mark;
  SerialPort1.Write(GenPoll, 0, 1);   // sends  0x80 gen pol to all machines  they wake up and listen for their address OR'ed with 0x80
  Thread.Sleep(20); gives the machine time to clear responses from its buffer (prevents duplicate responses)
  SerialPort1.Write(GenPoll, 1, 1); // sends out poll to mahne with address of 1
  SerialPort1.Parity = Parity.Space;
}

private void sendcommand (Byte[] commandbyte) // no delay needed if sending specific bytes to machine as a command, long poll, etc.
{
  SerialPort1.Parity = Parity.Mark;
  SerialPort1.Write(commandbyte, 0, 1);
  SerialPort1.Parity = Parity.Space;
  SerialPort1.Write(commandbyte, 1, commandbyte.Length-1)
}

Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: elchoud on June 25, 2014, 11:17:15 AM
Hi Foster,

 Thanks for posting.
 and what would be the next step?  :Scratch-Head:
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: foster on June 25, 2014, 01:04:04 PM
Not sure what you are asking?
 

Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: BellaireBob on July 13, 2014, 12:33:31 AM
i used sastest located in NLG File System with modified files to allow $100,000.00 EFT test feature to credit machine.
no more pumping money to run up credits to play.
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: foster on July 13, 2014, 02:07:50 AM
The original reason I wrote the program was for TITO using enhanced Validation, then modified it for system validation eliminating need for any database

I have since moved to a Arduino based system of my design that outputs to a VFD or LCD display and gets input from a keypad
The keypad and displays I use are from player tracking systems, usually from Bally Mastercomm.

Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: elchoud on October 26, 2014, 07:24:31 AM
  :wave: Hi Foster;
 My work is taking all my time, and unable to reply even with a short message sometimes.
 For me, sending the commands was the first step.
 The second step is receiving the data, I wish to know How to handle the parity error in order to receive messages? I'm looking to use Pc only, and not Arduino or Micro controller based boards.
Thanks in Advance.  :thank_you:
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: jlgpjong on October 30, 2014, 04:58:14 AM
Hi Foster,

I've been reading almost all of you post here and in the old website newlifegaming.net. I was able to experiment with your knowledge that you share here.

kindly share your idea for the command "credit transfer to gaming machine" in AFT transaction.


Thank you and more power!..
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: foster on November 12, 2014, 02:38:54 PM
  :wave: Hi Foster;
 My work is taking all my time, and unable to reply even with a short message sometimes.
 For me, sending the commands was the first step.
 The second step is receiving the data, I wish to know How to handle the parity error in order to receive messages? I'm looking to use Pc only, and not Arduino or Micro controller based boards.
Thanks in Advance.  :thank_you:


My code is in C# for PC Visual Studio 10
You should not get a parity error unless you are not switching from mark to space parity right after sending a general poll to  particular machine, or right after sending the address byte for particular poll as shown in my sample code. I was running it on a AMD 5400+ with Windows 7 and 8. and only would get an error if it could not open the serial port correctly due to an oversight of addressing a none existent port.

Be careful how you much you thread the code. any code dealing with one particular serial port should be 1 thread for both sending (TxD) and receiving (RxD) data.

Good Day Foster,

I've been reading almost all of you post here and in the old website newlifegaming.net. I was able to experiment with your knowledge that you share here.

kindly share your idea for the command "credit transfer to gaming machine" in AFT transaction.


Thank you and more power!..

I have not researched AFT processes but instead use legacy bonus for adding a value to a machine.
I know that AFT requires registering the machine with the AFT host before any AFT tranactions can occur, I was looking into how AFT was done but have not pursued it.
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: jlgpjong on November 14, 2014, 09:58:37 PM
Hi Foster,

Thank you! this is really helpful.

Jlgpjong.
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: rraven on December 18, 2014, 06:03:07 AM
Hello everyone.
I have started researching the IGT SAS protocol for two weeks now, and with the help from nlg forums(thank you!!) and other internet resources, I succeeded mostly to make a  Win Service app.
I have for now a Service application made in .NET , a Ithaca Epic 950 printer connected to a COMport, and a bill acceptor connected to a paylink unit. Now, what my app does :
-it reads the banknotes from the Acceptor and sends the equivalent in credits to the Gaming machine.
-it reads the Bar-code coming from Acceptor and transforms it into credits, then its sending to the gaming machine.
-via SAS protocol it`s reading if the CASHOUT button on the machine was pressed, then reads the current credits and finally resets the Handpay, sending the corresponding credits transformed in cash, to the Ticket printer.
   The cash IN is done via SAS with the legacy BONUS payment.
I was wondering if is there another way to send credits to a machine, other than the legacy bonus payment, if anyone knows.
Anyway, here is a pic of a TEST program for sas( when I was figuring out the protocol). I cannot add a pic of my main application, because ,as i said, is just a Service App, no WinForm on it.
Sorry for my rough english.

LE: I forgot, the communication is done via Serial Port, with a board on PCI  with ASIX driver installed ( it supports 9 bit).
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: jlgpjong on January 12, 2015, 02:26:47 AM
Hello again ,


why I can't receive the General Poll


7E = Game has started.
7F = Game has ended.




Does anyone recieves this Poll when Playing game?
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: elchoud on January 14, 2015, 06:31:04 AM
Thank You very much Foster  :thank_you: , I appreciate all Your help.
Once I get some free time, I will try as per what You proposed.
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: Stag on January 10, 2016, 03:58:38 AM
Hi,


Was there a download link to this application I can't seem to find it sorry?
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: BellaireBob on January 10, 2016, 12:31:16 PM
files section of contributing members
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: Stag on January 10, 2016, 06:32:34 PM
Thanks, I had a look and I get access denied? Is there something I need to do to view this?
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: rickhunter on January 10, 2016, 06:57:16 PM
You need to be contributing member.  See link at the bottom of the page.
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: Stag on January 10, 2016, 11:29:59 PM
I got the membership status just can't seem to find it
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: cosmin.simion on February 03, 2016, 11:59:28 PM
Hello,

I've manage to connect the serial RS232 to SAS interface, the configuration on my computer Terminal is 19200 8n1. I am receiving from device 01. Is the configuration correct for the connection because I found something like I have to set one extra bit for wake-up and how should I send the information hex ASCII? Please give me an example of communication and configuration.


Thank you!
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: rubydev on August 08, 2017, 12:59:36 PM
I think i am not the one missing the link
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: RubySlipperLover on February 11, 2018, 03:07:12 PM
i was wondering why you changed the code to later take out the database. That’s my whole reason for wanting at least the tito side to work. I want it to be like a real casino, as in “checking off” (showing already redeemed) in the database when a ticket is used so it can’t be copied. I know most probably want to copy their tickets but i just really like that whole aspect. Is that the difference between system and enhanced validations?
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: RubySlipperLover on February 16, 2018, 04:39:21 PM
Also wondering where I can find this program in the NLG Filesystem It doesn’t seem to be there anymore.
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: foster on February 20, 2018, 02:09:19 AM
I never posted the actual source code or executable
protect my work and how to configure for correct com port
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: MartinS on April 22, 2018, 09:52:58 AM
Hello Foster
I've managed to get general polls to my IGT S+ from my Arduino. I can get event responses like (11- Slot door open) etc. I have tried and failed to do Long Polls! For example I can't do "Send Coin-In Meter". Would you kindly give me any hints? I've read SAS guide x100 times, can't see anything am missing.
Thanx.
Title: Re: My Homebrew TITO program for Windows 7 or 8 PC
Post by: ANIslots on October 05, 2018, 08:36:14 AM
someone asked the differnece between secure enchanced and system validation


the both required a host of some type
system validation the validation number is created by the host and can be what ever you want it to be (Bettor TITO makes it the amount of the ticket)
when redeemed the host will check this number against a database that returns the amount ( Bettor TITO just gets the amount from the ticket number and sents it to the slot machine, thus no need for a database)


secure enhanced validation the ticket number is generated by the slot machine based on a seed number . that itcket number  is sent to the host and recorded in the DB along with amount of ticket
when redeemed in any machine the ticket number is looked up in the DB and the amount sent to slot


in short if you use system your program is responsible for creating unique ticket numbers
secure enhanced the slot machine creates the unique ticket number
but beware you have to set a seed that happens with host, and you want to make sure the smae seeds are not used on multiple slots or you will get duplicate ticket numbers

SimplePortal 2.3.5 © 2008-2012, SimplePortal