Answer the question
In order to leave comments, you need to log in
How to make authorization in a browser game in C#?
There is a game fdworlds.net . There is such a form.
It should work like this: enter login, pass, press connect. If you went to the character, then opposite lvl, exp and hp - the corresponding values \u200b\u200bappear. But damn it, nothing happens with authorization.
Could you, dear users of this resource, tell me how to carry out this action?
I'll be nicer to Velmy!
Answer the question
In order to leave comments, you need to log in
If the game is browser-based, then I would not watch it with Wireshark, but with something like HttpFox (plugin for FF) or Fiddler.
You can use HttpWebRequest or WebClient to make HTTP requests. Just don't forget about cookies. For example, here is a simple example of a WebClient'a successor with a CookieContainer, and at the same time a UserAgent (you don't need to do anything when using it, just execute requests by the created web client, it saves and sends cookies on its own). https://gist.github.com/AlexP11223/e814a5ef8e741ead1632
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question