I'm implementing software to casino auto-play. I'm using .NET technology and C# language.
The main problem is how to capture data from casino game (here is the link to the game http://www.bet-at-home.com/redirNetentCasino.aspx?game=lrblackjack2-3h&pff=True ). I have never been dealing with Flash so I don't know a lot about this technology.
Well, I know that In the game we have server and client. Server is sending data to client and client is responding. For example server is sending information about dealt cards. My question is it's possible to capture data sent by server to client, I quess it is?? I need to now what kind of card I'm receiving. This data is sent in readable format or is ciphered?? Could you give me some hints?
The second option is to use a screen capture.. but this is very slow method. What are you thinking??
Thank you for help.
Regards,
Pablo
There are a couple of things you can do to interpret data from the game. First, you can use CheatEngine which is mostly the choice of Flash game hackers. The following links will help you get started:
How to hack flash games with cheat engine 5.5How to Cheat and Hack Flash based Games
The above method will not work for server based games like the ones hosted on Facebook. So, your second choice is capturing the network traffic and see what you can gather to attain the required information. For capturing the network from C#, you can use Pcap.NET. But before you try to do it programmatically, you should try it doing using Fiddler, which gathers plethora of information for you whenever you surf a website or when a plugin like Flash makes use of web.Get Fiddler and GL !
Related
I'm creating a small web chat application using ASP.NET, text chat is almost done using Ajax,SQL Server but now I'm going to create a voice system also. I've googled a lot but with no real luck, what are my options? Silverlight? VoIP? or something else? I've worked a lot with SL, is it my only way of implementing voice chat in web? can I use pure ASP.NET to have voice chat? how can I use TCP/IP for voice communication? is there any online sample showing voice chat or communication?
You can use assembly for voice chat should you want to, but it's very hard. I can't give a good answer without knowing how well you know ASP.NET/C#, but VoIP isn't hard to implement Normally.
Basically, you need a codec on each end, and a protocol to transfer packets - encoded obviously - from one end to the other (Mostly UDP).
Now, When I say Normally I mean in a perfect world where network issues - mostly related to NAT - don't exist.
Also you will need something other than ASP.NET, Like a plugin (Silverlight should do, but something mainstream like flash or java are recommended) to get a bit more control of the client's PC (Microphone, speakers).
I quite doubt you can do this alone, no offence. Therefore I would recommend using a library like SIP Communicator, Here's a Tutorial and Another.
I need to be able to record video from an external camera in a C# application.
Unfortunately a webcam is pretty much out of the question as the application will record outside and during the evening/night. That is why I was thinking of a camcorder since it also has manual control over exposure and focus, lower noise and better sensor.
So far I would use the AV/S-Video output from the camcorder and send the signal to a USB capture card (the computer is a laptop so no PCI-E cards).
How would I be able to access the video stream from the C# application, now that it comes from the capture card ?
Does my proposed system seem feasible (achievable, good video quality, good fps)? Does anybody have another working solution?
Thanks
This Code Project Article could be of a good starting point.
The Author mentions :
The main goal of the application was to make it flexible and
extensible. The application itself can communicate with any video
source – it may be an IP video camera or a server, it may be a local
camera attached to USB, it may be an MMS stream from a remote server,
or it may be any other video source. And more of it, the application
can work with all these video sources simultaneously, displaying them
all on a single screen.
The solution I used in the end was Microsoft Expression Encoder.
If I need to post this elsewhere let me know.
We have some old software thats being re-written, that uses a printerdriver to a propriatery printer.
I need to rewrite the software bypassing the print driver and go directly to the printer. I do have the specs for the printer communication, thats fine, but what Id like to do is monitor the communications to the printer to view its contents (from the existing software that Im re-writing) and compare it to the specs, and what I will be sending it for validation.
I have to make sure Im not missing anything.
Any ideas on how I might be able to accomplish this?
Thanks
To capture the traffic you have to basic options.
1. Use software
If you are using ethernet, you can use a program like WireShark or USBTrace to capture the packets that are being sent out. There are similar programs for USB.
2. Use hardware
Another option would be to use an external logic analyzer. It's basically a box that sits in-between the computer and the printer that captures all the data, then uses software to decode it. There are some inexpensive options available (USBEE, Bus Pirate, and Total Phase Beagle.
I own a USBEE and I've used it to debug a simple USB device. It works well enough for that. The software is a little clunky though.
I'm using Unity3D c# and want to read a video feed to display on a texture.
The issue here is that I would like to get the video from a live feed e.g. IP Camera. Guessing similar sites like this or this uses similar techniques live. Also testing against apps like this
Don't really know where to start, trying out TCPListener and Socket but can't really use a url, just ip and port.
Simple solution is to fetch single frames from image server application that provide such a feature. An example of such a technique can be found in Unity3d documentation
A simple Image server to test that setup could be any IP-cam application.
See this article for details.
Back in December I released Elpis, an open source Pandora Radio client... and then Pandora promptly squashed the ability for third party clients like mine to connect to the service without some seriously complicated work-arounds. It still somewhat works, as long as you never skip a song or change the station :P But I've pretty much ended support of Elpis because it's just not worth playing an ever harder game of cat a mouse...
So... there are a TON of streaming music services out there and I'm trying to figure out if there is at least one that has a decently open API with which I would be able to retrofit Elpis to use that service instead. I'm guess, due to licensing, the answer is going to be a definite no... but I wanted to at least query the community before giving up?
An no, I'm not talking about something like Last.FM's api that just lets you get the song info but something that actually lets you play the music. I don't really care if there's already a C# API for it... as long as it's got a REST, RPC, etc. web API, I can make it work.
Any suggestions?
I ended up recording my speaker in c# using a wasapi loopback capture routine. It has a webbrowser control so it knows the title, artist and album. The browser streams the music to my audio output jack, and a separate thread reads the music from my sound card. The only way they could ever protect against that is to stop streaming in the first place.
Spotify has an API that allows you to stream music. I've never personally used it, but a colleague of mine was working on a personal project that allowed him to change what was playing on his machine via a web service; accessible from another machine over the network or internet.
Note: I believe you need to have a Pro account to develop with it, though.