New Life Games LLC
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News:

Welcome to the NewLifeGames.com message forum! 

 


NLG Site Navigation Menu


Archives of old posts can be found at...... Newlifegames.net/nlg/

Author Topic: My Homebrew TITO program for Windows 7 or 8 PC  (Read 35643 times)

0 Members and 1 Guest are viewing this topic.

Offline foster

  • The S2000 Guru
  • Topic Moderator
  • NLG Member 251 to 500 Posts
  • *
  • Posts: 409
  • Reputation Power: 29
  • foster New User barely matters.foster New User barely matters.
  • Gender: Male
My Homebrew TITO program for Windows 7 or 8 PC
« 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)
}

« Last Edit: February 22, 2014, 01:42:00 AM by foster »
Coca-Cola and Slot Machine Addict

If you find this site helpful
Please Consider Making a Donation to help defray the cost of hosting and bandwidth. OR Subscribe to NLG

Offline elchoud

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 4
  • Reputation Power: 0
  • elchoud New User has no influence.
  • NLG
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #1 on: June 25, 2014, 11:17:15 AM »
Hi Foster,

 Thanks for posting.
 and what would be the next step?  :Scratch-Head:

Offline foster

  • The S2000 Guru
  • Topic Moderator
  • NLG Member 251 to 500 Posts
  • *
  • Posts: 409
  • Reputation Power: 29
  • foster New User barely matters.foster New User barely matters.
  • Gender: Male
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #2 on: June 25, 2014, 01:04:04 PM »
Not sure what you are asking?
 

Coca-Cola and Slot Machine Addict

If you find this site helpful
Please Consider Making a Donation to help defray the cost of hosting and bandwidth. OR Subscribe to NLG

Offline BellaireBob

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 32
  • Reputation Power: 2
  • BellaireBob New User has no influence.
  • NLG
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #3 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.

Offline foster

  • The S2000 Guru
  • Topic Moderator
  • NLG Member 251 to 500 Posts
  • *
  • Posts: 409
  • Reputation Power: 29
  • foster New User barely matters.foster New User barely matters.
  • Gender: Male
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #4 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.

Coca-Cola and Slot Machine Addict

If you find this site helpful
Please Consider Making a Donation to help defray the cost of hosting and bandwidth. OR Subscribe to NLG

Offline elchoud

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 4
  • Reputation Power: 0
  • elchoud New User has no influence.
  • NLG
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #5 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:

Offline jlgpjong

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 14
  • Reputation Power: 0
  • jlgpjong Hides in shadows.
  • Gender: Male
  • NLG
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #6 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!..
« Last Edit: August 28, 2017, 04:25:56 AM by jlgpjong »

Offline foster

  • The S2000 Guru
  • Topic Moderator
  • NLG Member 251 to 500 Posts
  • *
  • Posts: 409
  • Reputation Power: 29
  • foster New User barely matters.foster New User barely matters.
  • Gender: Male
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #7 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.
Coca-Cola and Slot Machine Addict

If you find this site helpful
Please Consider Making a Donation to help defray the cost of hosting and bandwidth. OR Subscribe to NLG

Offline jlgpjong

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 14
  • Reputation Power: 0
  • jlgpjong Hides in shadows.
  • Gender: Male
  • NLG
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #8 on: November 14, 2014, 09:58:37 PM »
Hi Foster,

Thank you! this is really helpful.

Jlgpjong.
« Last Edit: August 28, 2017, 04:23:17 AM by jlgpjong »

Offline rraven

  • Registered Unknown Member 0-2 Posts
  • *
  • Posts: 1
  • Reputation Power: 0
  • rraven New User has no influence.
  • NLG
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #9 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).

Offline jlgpjong

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 14
  • Reputation Power: 0
  • jlgpjong Hides in shadows.
  • Gender: Male
  • NLG
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #10 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?

Offline elchoud

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 4
  • Reputation Power: 0
  • elchoud New User has no influence.
  • NLG
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #11 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.

Offline Stag

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 19
  • Reputation Power: 1
  • Stag New User has no influence.
  • NLG
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #12 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?

Offline BellaireBob

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 32
  • Reputation Power: 2
  • BellaireBob New User has no influence.
  • NLG
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #13 on: January 10, 2016, 12:31:16 PM »
files section of contributing members

Offline Stag

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 19
  • Reputation Power: 1
  • Stag New User has no influence.
  • NLG
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #14 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?

Offline rickhunter

  • Sr NLG Member
  • NLG Member 501 to 10,000 Posts
  • *
  • Posts: 7515
  • Reputation Power: 446
  • rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!rickhunter Is an-NLG GOD!
  • Gender: Male
  • I Void Warranties.
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #15 on: January 10, 2016, 06:57:16 PM »
You need to be contributing member.  See link at the bottom of the page.
If you find the site helpful, consider becoming a contributing member.  It pays for costs and keeps this site alive.  I do not respond to requests for private, one-on-one help. Your questions should be posted in the appropriate forum where they may help others as well.

Offline Stag

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 19
  • Reputation Power: 1
  • Stag New User has no influence.
  • NLG
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #16 on: January 10, 2016, 11:29:59 PM »
I got the membership status just can't seem to find it

Offline cosmin.simion

  • Registered Unknown Member 0-2 Posts
  • *
  • Posts: 1
  • Reputation Power: 0
  • cosmin.simion New User has no influence.
  • Gender: Male
  • NLG
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #17 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!

Offline rubydev

  • Registered Unknown Member 0-2 Posts
  • *
  • Posts: 1
  • Reputation Power: 0
  • rubydev New User has no influence.
  • NLG
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #18 on: August 08, 2017, 12:59:36 PM »
I think i am not the one missing the link

Offline RubySlipperLover

  • NLG Member 101 to 250 Posts
  • ***
  • Posts: 203
  • Reputation Power: 17
  • RubySlipperLover New User has no influence.
  • Gender: Male
  • There’s no place like home
Re: My Homebrew TITO program for Windows 7 or 8 PC
« Reply #19 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?
« Last Edit: February 11, 2018, 03:46:26 PM by RubySlipperLover »

 

Cell Phone and Pad Mode

imode wap wap2

NLG Archives

Archives @ newlifegames.net Wayback Machine

Contact Us

NLG Shop 928 754-4147 Email Us 1788 Highway 95 30 BHC City AZ 86442
If you find this site helpful, please consider becoming a Contributing NLG Member with a monthly subscription to help cover the cost of pizza, coffee, aspirin, hosting, and bandwidth.
Contributing Members: get unlimited personal messages, can save topics and replies as drafts,
can post to the Classified ads, get unlimited access to the downloads, and also get this minty badge:



**Subscription Link** (Click Here) **Subscription Link**



           
If you would rather remain anonymous Thank You or just want to help support the site, please use this "make a donation" button:




From your entire NLG staff, thank you for supporting NLG.


New Life Games LLC 1788 HIGHWAY 95 UNIT 30 BULLHEAD CITY AZ 86442




Newlifegames.com     Newlifegames.net     Newlifegames.org

Newlifegame.com     Newlifegame.net     Newlifegame.org    Newlifegames.us

   New Life Games     NewLifeGames  NLG

 We Bring new Life to old Games    1-888-NLG-SLOTS

Are all Copyright and Trademarks of New Life Games LLC 1992 - 2022


FAIR USE NOTICE:



This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner.
We make such material available in an effort to advance awareness and understanding of the issues involved.
We believe this constitutes a fair use of any such copyrighted material as provided for in section 107 of the US Copyright Law.
In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those
who have expressed a prior interest in receiving the included information for research and educational purposes.

For more information please visit: http://www.law.cornell.edu/uscode/17/107.shtml
If you wish to use copyrighted material from this site for purposes of your own that go beyond fair use,
you must obtain permission directly from the copyright owner.




The NewLifeGames.com website is optimized for use with Firefox and a minimum screen resolution of 1600 x 900 pixels.

SimplePortal 2.3.5 © 2008-2012, SimplePortal