Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Read this one carefully folks. webbrowser/flash [C#]

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
CrossBreed
Cheater
Reputation: 0

Joined: 30 Oct 2007
Posts: 37

PostPosted: Fri Aug 01, 2008 7:36 pm    Post subject: Read this one carefully folks. webbrowser/flash [C#] Reply with quote

What i wish to do is navigate to a page using a webbrowser and have flash content load in a flash control rather than in the webbrowser window. that way i can login through the web browser, and then hack my flash games.
Back to top
View user's profile Send private message
Fredd
Expert Cheater
Reputation: 0

Joined: 18 Mar 2008
Posts: 240
Location: Somewhere past the rainbow, past the gold.....

PostPosted: Fri Aug 01, 2008 10:20 pm    Post subject: Reply with quote

What would help is to know how much you know already about c#.
If you can make a browser already, and you can make a program that finds variables and such, then go ahead and find somebody who knows how to combine em.
If you're starting from scratch, try something easier first.

_________________
Back to top
View user's profile Send private message
CrossBreed
Cheater
Reputation: 0

Joined: 30 Oct 2007
Posts: 37

PostPosted: Fri Aug 01, 2008 10:31 pm    Post subject: Reply with quote

Fredd wrote:
What would help is to know how much you know already about c#.
If you can make a browser already, and you can make a program that finds variables and such, then go ahead and find somebody who knows how to combine em.
If you're starting from scratch, try something easier first.


I dont know much about C#. But i am using a webbrowser component, which is very easy to setup.
Back to top
View user's profile Send private message
killersamurai
Expert Cheater
Reputation: 0

Joined: 10 Sep 2007
Posts: 197
Location: Colorado

PostPosted: Sat Aug 02, 2008 12:15 am    Post subject: Reply with quote

It's a simple task. You just need to make a web request then get the web response. After that, put it into a stream and put the stream into a string.

Code:

WebRequest request = WebRequest.Create(webBrowser.Url.ToString());
WebResponse response = request.GetResponse();

StreamReader sr = new StreamReader(response.GetResponseStream(), Encoding.GetEncoding(0));

String temp = String.Empty;

while ((temp = sr.ReadLine()) != null)
{
      <Do whatever needs to be done>
}

response.Close();
sr.Close();


Now you just have to search the string for the link to the game. Once you find it, load it into your control.
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Sat Aug 02, 2008 8:32 am    Post subject: Reply with quote

Why not..?

Code:

Temp = sr.ReadToEnd();

//parse


Only one call to the stream. =)

_________________
Wiccaan wrote:

Oh jeez, watchout I'm a bias person! Locked.


Auto Assembly Tuts:
In Depth Tutorial on AA
Extended
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites