Closed Cookiezzz closed 11 years ago
Never tried, but it'll probably kinda work.
Afraid it doesn't look compatible with Windows Phone out of the box. Will see if I can fix something & will send to u if u want.
I don't have a WP device anymore so it's not much of use to me. But you're free to make a pull request.
Well, i have a WP and want to make some apps for me and other people to use, and by that learn coding WP apps :)
If i'm running into problems, mind if I contact you? Noticed your dutch so it'd be easy :)
Yeah sure, why not. ^^
I tried it a while ago and it didn't work back then. I will try it again when I have time though and it should work now since Async sockets are in place now. Not sure if WP runs into any other problems. I can try it with WP 7.5.
Didn't work out for me. If you manage to get it working, let me know:)
-----Oorspronkelijk bericht----- Van: DomiStyle Verzonden: 7/04/2013 2:16 Aan: ziellos2k/BattleNET CC: Cookiezzz Onderwerp: Re: [BattleNET] Question (#30)
I tried it a while ago and it didn't work back then. I will try it again when I have time though and it should work now since Async sockets are in place now. Not sure if WP runs into any other problems. I can try it with WP 7.5.
— Reply to this email directly or view it on GitHub.
I'm closing this, you're free to continue the discussion if you wish though. :smile:
Good reminder. I tested it out now.
There are some problems that prevent BattleNET to run on WP. Here are all the things that needs to be changed in order to get it running under Windows Phone 7:
It's not something that can't be done though. If I get time I will try to fix all of it but maybe someone else wants to take a look at it meanwhile.
I was able to fix most of the exceptions and converted all the sockets to be asynchronous. You can now connect but there are still some exceptions that prevent BattleNET to receive anything from the server. Will check if I can fix that too later.
Very Nice. What kind of exceptions left? Compatibility or real codin errors? My Windows phone account is still being activated, hooray for Microsoft..
File or assembly name 'System.Net.debug.resources, Version=2.0.5.0, Culture=en-US, PublicKeyToken=7cec85d7bea7798e', or one of its dependencies, was not found. Seems to be a problem with Windows Phone. Can't find a way to get rid of it though.
Try it, it worked for me when i got that nasty error :) Hope it works for u aswell.
Working on some NAS systems atm, so can't boot my win8
there is some branch to wp?
@nanomo No(t) for now no. DomiStyle is trying to convert the BattleNET code tho.
Not yet, trying to resolve the remaining 2 exceptions first.
@Cookiezzz That helps. ;)
Good to hear :) It worked out for me aswell one time. Cheers!
Implementing the async sockets in a mostly synchronous application is giving me some trouble though. Will take a closer look later. Atleast everything else appears to be working now except the socket. Sending the first login message appears to be working too.
@DomiStyle: Feel free to make a pull request or a patch. I'll setup a separate branch for it so others can take a look and perhaps contribute a bit using pull requests. Don't have a WP device anymore though so I'm probably not much help at the WP specific stuff. Well, I can use the emulator but meh. :smile:
(or make your own repository or branch in your fork, whatever floats your boat)
@ziellos2k Will do one soon without the async sockets. I don't really have the time to implement the sockets properly at the moment but maybe someone else does.
@DomiStyle Got some time to maybe send me what you got? Finally received my full WP developer account. I'll try look into your async sockets etc.
Cheers.
Any clue if this is compataible with Windows Phone 7.1/8.0 in C# ? Greetz