-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to sync. (Again) #83
Comments
@knifesk said > If you double tap the home screen as soon as the "Connecting to game server" message appears and then switch to settings and set the proxy up, everything works as expected This lets the proxy run for me but it does not create the files. |
So it does connects but the files are not created. Anyone else has the same issue? |
yes seems ios is broken |
How about android? |
Android works fine. |
i guess i'll have to charge my Tab3 to get the files until it is updated :( |
@daddyrubin then try a moment early.. It works for me... I have to do it several times to get it to work.. the problem is that you're setting the proxy a little late, as the monsters and rune request is already finished |
@knifesk Thanks. I was able to get it to work. There is a split second between when it says "Downloading necessary information...." and when it says "Connecting to game server..." that it goes blank. I was able to turn the proxy on at that time and it worked. Hope this helps anyone else. |
This used to work for me but it is broken since the last update. |
Does not work for me either since the new game patch. any news? |
Yeah, Im not able to get the files generated. It starts up normally and then just hangs endlessly. |
Same here. It gets to the Touch To Start then just hangs |
Same here does not work. Any other methods to try and get this to upload, besides manually? I really need some help on my account, and don't want to upload everything manually. |
everybody using ios or any android user having this issue ? |
iOS 9.3.2 |
iOS 8.1.2; same issue of having the proxy work just fine, logs activity as normal - all except for generating optimizer.json and other files. |
I was able to get it using daddyrubin's advice. If it doesn't generate the rune information, you gotta be a little bit quicker. It sucks, but it's the only way at the moment for it to work. Looks like they're detecting a proxy somehow. |
Sadly I don't have an IOS to test this.
|
I have a feeling that SW is using the CFProxySupport API to check if a proxy is set. Since iOS provides a way to check, they're probably actively trying to prevent it. |
No combination of turning proxy on when "Getting Friends List" or "Connecting to Game Server" as it gets to "Touch to Start" and hangs up trying to connect to the game. I've even tried 0.97 to see if that'll do anything either as that was the last working version for me. |
@skroll given that com2us recently changed the crypto key a new update with proxy detection is likely. Could you test this configuring/using a regular proxy and checking if game is ok ? |
@lstern I can confirm that with a fresh Squid install on a Centos 6.5 server that acts as my home gateway its working... Maybe the proxy modifies the HTTP headers and they are able to detect this specific proxy? edit1: Just checking the Log... I think this is the source of the problems...
an http verb that this proxy is probably not interpreting In my squid log I can see this CONNECT and then some GET/POST calls... So, I think the problem may be that this proxy doesnt support CONNECT edit2: edit3: tried changing proxys port from 8080 to squid default port and it still doesn't work |
@lstern Just used another proxy, and it worked just fine. I was able to sniff out the requests/responses, which I fed through the decryption routine and was able to get the raw JSON just fine. Didn't have to jump through hoops to get it to work. |
@skroll What do you mean by used another proxy? As opposed to 8080? |
@lstern No, I mean I used an entirely different proxy tool besides SWProxy. |
and this tool is...? |
Ah sorry, it was Charles Proxy: https://www.charlesproxy.com/ |
@skroll seems like a bug in the SW Proxy code, the code kakaroto got from https://github.com/abhinavsingh/proxy.py maybe you could isolate and send me the faulty request so I can replay it here and try to fix the bug |
@lstern Sure, where should I send it? |
I have an iOS device and Windows 10 laptop that I use as the proxy server, if you need help debugging let me know and I'll try and help, I have no coding background do you'll have to walk me through steps of its needed. |
Well I implemented the capturing of the data and decryption in Go using the proxy. Won't post it here since I know how @kakaroto feels about the decryption keys being in the wild. I'll see if I can use a different lib in the SWProxy code. |
@skroll current proxy seems to support 'connect' .Everything points to a bug in the proxy code probably related to 'connect' but without being able to use debug the code, I can't really fix it even using external help. |
I have tried many times and spent alot of time trying to get the file of my monsters and runes(10+ hrs, probably should've just given up...). I have had no success so I was wondering if one of the mods who has an android phone could get the file for me. I would give hive information to my account. |
@Knifetanner2 don't give your information to anyone, it's simply not worth it. @thatrandomguyo1 I agree with you that saying "shut your mouth" is not an acceptable way to talk to others, and no one is telling you not to ask questions or to post here, however your comment was viewed (clearly by more than one person) as arrogant and self-entitled and helped no one. Saying "I see that is bug is still open, is there anything I can do to help you in fixing it?" or even "is there a reason why this bug hasn't been fixed yet?" is still better than trying to use sarcasm to let us know that your urgent need for the fix is more important than global warming. @skroll @lstern yeah, CONNECT method is supported, and I know it used to work, maybe it stopped working recently? I have no idea. Using a proper proxy might be a good idea, I actually just googled "python proxy server" and copied the first implementation I found, it was a single file that did the job for the proof of concept I was looking to do. I'm sure there are better alternatives out there. If you want to port it to a different or more standard/complete proxy library, feel free to do it. |
I have mac/ios and have had the same problems, but i just tried the work around from @knifesk and it worked like a charm. Thank you for you all amazing people here!
I doubled tap home screen as soon as I saw "Downloading necessary information...." and went to set the proxy then got back in. |
I've done some poking around - It looks like the issue is that the device/registered request never actually gets marked as complete. I added some logic to mark it as complete (well, right now -any- post with a 0 content-length) and the parser is able to successfully grab my runes/monsters on ios, but it's screwing up the actual game. Not familiar enough with the HTTP protocol to know -why- it's not being marked as complete, going to have to screw around in wireshark and do some googling to dig further into it. |
Could you share the code ? Maybe we could do a dirt fix to mark only this On Sat, May 14, 2016 at 10:33 AM, Aureus notifications@github.com wrote:
|
Hack fix pull requested; I'll take a look at something less...horrible...after HoH is over. gotta get back to farming :) Edit: |
Thanks @aureus1 ! I Did some tests with android and this hack isn't breaking anything (did you experience any problem with this hack ?). As for the package build, are you using mac, linux or windows ? |
No issues that I've seen; game seems fine once it's loaded. Usually I'm on mac or windows, depending on which machine I happen to grab. |
accepted the pull request. Created a custom build here (windows-only). I'll create an official relase once someone confirm that this is working and someone creates a MacOS build. |
@aureus1 I'm building this using pyinstaller (pyinstaller SWProxy.spec) |
404 |
Try this one, looks like i forgot to publish it: https://github.com/aureus1/SWProxy/releases/download/ios_Fix/SWProxy |
hum, file is very small.seems like its not including Qt. Previous release On Sat, May 14, 2016 at 11:09 PM, Aureus notifications@github.com wrote:
|
Downloading + installing pyqt4 now; going to take a while over my cell phone connection (like it might be overnight - not available as a pip package, several 100MB worth of binary downloads). I'll post the binary when it finishes unless someone else gets to it first |
I manually added the lines of code for the fix created by @aureus1 to the .99.1 release running in a Linux environment and it works with no errors for iOS and Android devices. Hope that is helpful in any way. Thanks for the work on the fix! |
Got PyQt4 set up; new binary here: https://github.com/aureus1/SWProxy/releases/download/ios_Fix/SWProxy 15MB, looks like it has QT pulled in. |
I downloaded this PyQt4 and the file that @aureus1 posted in his last comment, but don't know what I'm doing... Any suggestions? iOS, and Windows 10 here |
Released a new version. @kupoback aureus1 file is a MacOS file. |
Ah okay. I have a mac as well. However, still unsure what to do. I'll just wait as things wrap up for a .exe or .dmg |
There already is a .exe: https://github.com/kakaroto/SWProxy/releases/tag/0.99.2 |
Ah, that I didn't see the link to. I just saw 0.99.1 Thank you. Once the game comes back online (can't seem to connect by default), I'll give this a try. Thank you |
Cannot connect on either Mac or PC. Fails instantly. Edit I got it to work. Had to re launch the app. A minor set back, but it works! Thank you! |
A big thank you to everyone who has worked on this, it is now working for me! Windows 10 marked it as an unknown program and didn't before, but clicked the "More info" and it allowed me to run it, then had to make sure the Firewall exceptions were in place. Thank you all! |
So is it just me or we can't sync the swproxy with the game again prior to the latest application?
The text was updated successfully, but these errors were encountered: