Coder Social home page Coder Social logo

swproxy-plugins's People

Contributors

alexandernst avatar azrethos avatar daniellhotka avatar dotneb avatar fperegrinvs avatar j-saas avatar jake-griffin avatar jbag1489 avatar jzgdev avatar kakaroto avatar mschettler avatar peteandersen avatar raphaelddl avatar rtdean avatar stanleykylee avatar xzandro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swproxy-plugins's Issues

Changing network interface

Hello there

I've seen that there is an option to change the port for the proxy, but what about the network interface?
I have several interfaces vmbox and so on, and the proxy ist listening on the wrong one.
How about an option to change the listening ip address?

Cheers

How to get files to be written out?

I have both the SWPRoxy-plugins and SWProxy running on my machine (not at the same time). I was wondering why the swproxy-plugins doesn't write out any files. I enabled full logs and I can see it grabbing all the json , but I can't figure out where it's writing the optimizer and swafarm files out too. Is there a setting I need to change to enable this? I'm using the cli version of the code. And I'm downloading it directly from github vs downloading the releases.

SWProxy doesn't works Japan server

hello.
I am not good at English but please forgive me.

I used swproxy until last month.
But I tried to use it yesterday but it did not move.
I tried the latest version but did not start up.
I compiled from the source but started up, but various data are not generated.
Data is not generated but the game starts.

os windows7Ult
phone GalaxyS5(AOS6)

Create a screen of logs when executed.
Is it possible to take more detailed logs?
I would appreciate it if you let me know if you know.

swproxy

Not working

I Can't extract data. Have any1 same problem ?

Filenaming convention

Should we use the "Wizard ID" by SWParser for the filenames instead of "myruns.csv"?

For example: "xxxxxx-runs.csv"

Maybe that should make the filenames more consistent throughout.

Arena Logger

Time, match duration, win-loss, opponent name, teams,

ArenaLogger assumes -optimizer.json file is present, exception if it isn't

ERROR:root:Exception while executing plugin "Arena Logger": [Errno 2] No such file or directory: '12234369-optimizer.json' Traceback (most recent call last): File "SWPlugin.py", line 42, in call_plugins File "....\SWProxy\plugins\ArenaLogger.py", line 60, in process_request return self.log_end_battle(req_json, resp_json, config) File "....\SWProxy\plugins\ArenaLogger.py", line 90, in log_end_battle user_mons = self.build_unit_dictionary(wizard_id) File "....\SWProxy\plugins\ArenaLogger.py", line 63, in build_unit_dictionary with open('%s-optimizer.json' % wizard_id) as f: IOError: [Errno 2] No such file or directory: '123456789-optimizer.json'

I got this by starting the proxy while already logged in, so the optimizer didn't generate the files on HubUserLogin.

Generate Guild Battle Log

In addition to #23

Actually I've meant to generate .csv log from Guild Battle Log
log
for all guildmates battles (not only mine) together with GuildPoints Acquired.

Preferably in the following format:
Date, Enemy Guild, Opponent, Round 1 (Loss/Win), Round 2 (Loss/Win), Opponent Bonus GP (individual rank 0-3), Guild Points Acquired.

GoogleSheetWriter Traceback

Hello!
I've been trying to figure out of an error I've been having as of late with GoogleSheetWriter.

2016-04-06 12:58:26,528: yapsy - ERROR - Unable to import plugin: C:\Users\Konamiya\Desktop\SWProxy\plugins\GoogleSheetWriter Traceback (most recent call last): File "site-packages\yapsy\PluginManager.py", line 488, in loadPlugins File "C:\Users\Konamiya\Desktop\SWProxy\plugins\GoogleSheetWriter.py", line 2, in <module> import gspread ImportError: No module named gspread

I've not noticed this error before but at the end of the file it's clearly able to connect to google anyway?

2016-04-06 13:07:54,565: proxy - INFO - 192.168.0.163:59801 - CONNECT android.googleapis.com:443 2016-04-06 13:07:54,957: proxy - INFO - 192.168.0.163:59802 - CONNECT www.google.no:443

I'm not sure what's going on with it.
I'm using 64-bit version though, but I don't think that should matter. Image of python/gspread version.
http://i.imgur.com/2kqCA19.png

Any idea what's going on here?

GWLogger from cached file

Hi,
The GWLogger.py plugin doesn't seem to have enough time to fully populate the Google Sheet before the next event is triggered.
I have never managed to get the full data on the "Log" sheet and thus all subsequent sheets are not written correctly.
Is there a way to fill it from the cached file "guildwar-xx.json" ?

Minor issues brining plugins into SWProxy

I'm on SWProxy master, to get the plugins to load i had to remove

"plugins" parameter from process_request i.e fulllogger.py,

and change import SWPlugin to from SWPlugin import SWPlugin

without doing this, the plugins just wouldnt load, any clues why? I've got them loading now, considering issuing a pull request.

Are they working locally for your SWProxy? Have you backported from master into your fork?

SummonLogger new button x10

The summonlogger only recognize the first monster of the x10 batch

2016-05-17 10:20,Unknown Scroll,Mimick,Water,1,No
2016-05-17 10:20,Unknown Scroll,Mushroom,Water,1,No

Google sheet template

Hi,

Would it be possible to have a template of the Google Sheet used by the GoogleSheetWriter plugin ?

Thanks

Past two versions cause a DLL issue windows 7

Just want to say that v0.100 works fine

But everything since up to v0.102 does not, when dragged onto an admin CMD:
C:\Windows\system32>C:\Users\User1\Downloads\SWProxy-windows-3\SWProxy.exe Error loading Python DLL: C:\Users\User1\AppData\Local\Temp\_MEI24922\python27.dll <error code 14001>

Tested from things I've found online - this is not a permissions issue on my side.

127.0.0.1 issue

hi im just want to start using this swproxy
but why when i start the proxy my ip address is 127.0.0.1
and i cant connect from my phone to that ip address?
usualy i see other people ip is not like that so i think its something wrong with my pc the program?
im runing in on windows 8
thx

SWProxy Failed to Connect

I get a Failed to connected with the network. Please try again later. Error.

Here's my stats: Laptop on home, private network. Router is a Netgear Nighthawk R7000 (one of those $150+ routers with the 3 antennaes)
I right clicked the Norton Icon in my system tray and clicked Disable Auto-Protect and Disable Smart Firewall.
I have Windows 10, upgraded from windows 7 I am the only user on this laptop.
I right clicked SWProxy file and ran it normally and also ran it as administrator.
I typed in the IP address and port 8080 exactly into my iphone 6 WiFi settings (most up to date version of iOS).
I hit Start Proxy. Nothing changes on the black dos screen.
I open the game on my phone.
It says tap to start I tap It shows Checking For Updates Then immediately shows the Failed to connect error.

I have reset my router and tried turning the wifi on and off on my phone. I do not get any messages that lead up to a friend list. It just stops.

I have also noticed that no internet connections at all work on my phone now. However, the WifI icon still shows on my phone.

Events through proxy

Hi. I consistently use SWProxy (plugins) for my Swarfarm info, and I very consistently run into issues with events.

1st) Often, when I tap the Events icon in SW, nothing happens. At all. It just sits there. Occasionally the events screen will come up.
2nd) When I get into the events screen, tapping an event usually opens its details. Sometimes it fails.
3rd) If I get into an event detail, tapping on an event action either does nothing, or returns a parse error in SW. Very rarely does the action complete correctly.

All of these issues are resolved by swapping networks and bypassing SWProxy.

Just FYI.

Using outdated SWProxy source?

Has the newest build of SWProxy been merged in with this build? Seems like the old connection issues are back when I try and use this.

swarfarm logs don't seem to work

Got everything set up with the latest version and the proxy is running fine, no errors and the .csv logs are all created, but no logs are showing up at swarfarm personal logs.

SWProxy.exe doesn't work anymore

I can't start the latest SWProxy.exe. There is an error I can't rly read, because the consle window is closing so fast.. somethin with python27 dll missing?

I never had problems before.

Get team information for the runs in RunLogger.py

It will be really helpful to see what monsters were used for a specific run, so as to measure individual time taken by a team for a specific dungeon. If RunLogger.py could, also, return the monsters used for the run, it will be really easy to use this information, and decide a team for a particular dungeon.

GW logger

time,match duration, win/loss (2R), teams

optimizer.json missing?!

Hello

I'm sorry to open an issue for this, but nowhere is mentioned where to get this file and all other plugins just mention that the file is missing. I tried accessing several places with my account, but the file doesn't show up

where/how do I get it?

How do I contribute?

I have some code that I have been using and converting it to plugins so I can continue to pull from main line SWProxy. Can someone post a cheatsheet of git commands to contribute new files, etc.

If it matters I am developing on a mac and have the git tools installed.

Arena Logger

The arena logger plugin doesn't log revenge arena, don't know if is a known issue

TOA logger

time, stage, difficulty, win-loss clear time, team, final boss

Rune Efficiency values

I noticed that there is a difference in the values of the Barion's Rune efficiency, current and max potential. There are some where Barion's, which i would assume would be the lowest value because its how it is currently is higher than the current potential, and some where the current potential is higher than the max potential.

This may be correct and I am not understanding the values properly. If it is correct could someone explain what the values mean exactly? I was about to sell all under a 70% potential but noticed the differences.

Event Icon

I'm not sure if this is an issue with the parser or just being on the proxy, but while I am running the parser, which is all the time now because logging the runs is awesome, I am unable to load the events page or the notices/dev notes. As soon as I turn off the proxy it loads fine. Not sure if you were aware of that or not.

after all of setup..nothing happen..

hello..
i run sw proxy latest release in windows 10..after insert all of proxy setting in my phone n started the program, nothing happened,sw proxy cant get sw data from my phone..how to fix this? thanks

Errors in log showing up last couple of days.

Some errors have started showing up in the log the last couple of days. Just wanting to inform in case there is an issue.

INFO:SWProxy:Found Summoners War API request : BattleScenarioStart
INFO:SWProxy:Found Summoners War API request : BattleScenarioResult
WARNING:SWProxy:SwarfarmLogger - Error: ['null value in column "dungeon_id" violates not-null constraint\n', 'DETAIL: Failing row contains (316752, 17017589, 2016-07-01 16:15:58+00, 0, null, null, null, f, 00:01:26.026, 330, 0, null, null, null, null, 28328, 2).\n', ' null value in column "dungeon_id" violates not-null constraint\n', 'DETAIL: Failing row contains (316752, 17017589, 2016-07-01 16:15:58+00, 0, null, null, null, f, 00:01:26.026, 330, 0, null, null, null, null, 28328, 2).\n']
INFO:SWProxy:Found Summoners War API request : BattleScenarioStart
INFO:SWProxy:Found Summoners War API request : BattleScenarioResult
Exception in thread Thread-1212:
Traceback (most recent call last):
File "threading.py", line 810, in bootstrap_inner
File "threading.py", line 763, in run
File "C:\Users\offic\Desktop\SW\plugins\SwarfarmLogger.py", line 67, in process_data
resp = urllib.urlopen(url, data=urllib.urlencode({'data': data}))
File "urllib.py", line 89, in urlopen
File "urllib.py", line 215, in open
File "urllib.py", line 443, in open_https
File "httplib.py", line 1049, in endheaders
File "httplib.py", line 893, in _send_output
File "httplib.py", line 855, in send
File "httplib.py", line 1274, in connect
File "ssl.py", line 352, in wrap_socket
File "ssl.py", line 579, in __init

File "ssl.py", line 808, in do_handshake
IOError: [Errno socket error] [Errno 10054] An existing connection was forcibly closed by the remote host

INFO:SWProxy:Found Summoners War API request : SellRune
INFO:SWProxy:Found Summoners War API request : BattleScenarioStart
INFO:SWProxy:Found Summoners War API request : BattleScenarioResult
INFO:SWProxy:Found Summoners War API request : SellRune
Exception in thread Thread-1223:
Traceback (most recent call last):
File "threading.py", line 810, in bootstrap_inner
File "threading.py", line 763, in run
File "C:\Users\offic\Desktop\SW\plugins\SwarfarmLogger.py", line 67, in process_data
resp = urllib.urlopen(url, data=urllib.urlencode({'data': data}))
File "urllib.py", line 89, in urlopen
File "urllib.py", line 215, in open
File "urllib.py", line 443, in open_https
File "httplib.py", line 1049, in endheaders
File "httplib.py", line 893, in _send_output
File "httplib.py", line 855, in send
File "httplib.py", line 1274, in connect
File "ssl.py", line 352, in wrap_socket
File "ssl.py", line 579, in __init

File "ssl.py", line 808, in do_handshake
IOError: [Errno socket error] [Errno 10054] An existing connection was forcibly closed by the remote host

INFO:SWProxy:Found Summoners War API request : BattleScenarioStart
INFO:SWProxy:Found Summoners War API request : BattleScenarioResult
WARNING:SWProxy:SwarfarmLogger - Error: ['\r\n', '<title>405 Not Allowed</title>\r\n', '\r\n', '

405 Not Allowed

\r\n', '
nginx\r\n', '\r\n', '\r\n']
INFO:SWProxy:Found Summoners War API request : SellRune
INFO:SWProxy:Found Summoners War API request : BattleScenarioStart
INFO:SWProxy:Found Summoners War API request : BattleScenarioResult
WARNING:SWProxy:SwarfarmLogger - Error: ['null value in column "dungeon_id" violates not-null constraint\n', 'DETAIL: Failing row contains (316767, 17017589, 2016-07-01 16:27:10+00, 0, null, null, null, f, 00:01:54.916, 978, 0, null, null, null, null, 28328, 0).\n', ' null value in column "dungeon_id" violates not-null constraint\n', 'DETAIL: Failing row contains (316767, 17017589, 2016-07-01 16:27:10+00, 0, null, null, null, f, 00:01:54.916, 978, 0, null, null, null, null, 28328, 0).\n']
INFO:SWProxy:Found Summoners War API request : BattleScenarioStart

EU server. Nothing happens.

Hi there.
First of all, i appreciate everything you guys have done.
Now lets go for my issue.
I downloaded the last release for android, not the Asia Server because i play on EU server.
All right, everything set, proxy on swproxy, phone and wifi. Then i started the game and nothing happend. All i see is the message "proxy is running".
How to fix it?

Thanks in advance.

Sry if its a repeated question. But i really didnt see it.

Add rune_id to RunLogger

I would suggest adding rune['rune_id'] to the csv line. It will help keep track of new runes, at the end of the day I can never remember all the runes I kept and which ones might be sellable now due to additional ones found. With the rune_id I can quickly check the wizard_id.json file and see if it is still in my possession.

The cleanest way I could think of doing it was check the run_logger file for the existence of the header, say ",ID," and if it doesnt exist update file by adjusting the header and adding ",0," to each line right after the drop type column entry.

support multiple users connecting the same proxy

I guess we should write one file per user ut also have a config option that would write data to a unified csv. Its worth noting that extra columns should be appended to file's end to maintain retro-compatibility

Doesn't log failed battle

The swarfarm run logger doesn't log the failed battle with error message like:

SwarfarmLogger - Error: ['null value in column "dungeon_id" violates not-null constraint\n', 'DETAIL: Failing row contains (392560, 2899748, 2016-07-09 01:23:30+00, 1, null, null, null, f, 00:00:39.218, 963, 0, null, null, null, null, 27541, 0).\n', ' null value in column "dungeon_id" violates not-null constraint\n', 'DETAIL: Failing row contains (392560, 2899748, 2016-07-09 01:23:30+00, 1, null, null, null, f, 00:00:39.218, 963, 0, null, null, null, null, 27541, 0).\n']

Unable to run from source on Windows 10

Hi,

SWProxy.exe runs fine but when I try to run it from the python source code, events are not logged at all.
The source code is the one from the same release as the exe.
They both run on the same address and port and use the same swproxy.config file.
On both instances, i get this error, but the exe version still works and detects every event, but not when running from source. It is not blocked by the firewall as I tried after disabling it.

ERROR:proxy:Exception while receiving from connection client <socket._socketobject object at 0x039AEF80> with reason error(10053, 'Une connexion \xe9tablie a \xe9t\xe9 abandonn\xe9e par un logiciel de votre ordinateur h\xf4te') Traceback (most recent call last): File "D:\Downloads\SWProxy-plugins-7\proxy.py", line 272, in recv data = self.conn.recv(bytes) error: [Errno 10053] Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte

Unable to Connect

When I use this, with the latest version of SW, and Windows 10 (latest version) on iOS, I am now unable to connect.

Turning off firewall, antivirus, giving the program admin rights, turning on Proxy after "Getting friends list" all have proven to be ineffective.

Has anyone else ran into this issue with this combo? Has anyone had success on another OS? I have a Mac

SWProxy-plugins on raspberry pi

Hi

i would like to run SWProxy-plugins on a the raspberry pi. The normal version works well. But Version needs some more packages:

  • gspread
  • oauth2client

Thats no problem. But win32api, win32con breaks the hole plan :/. Is this needed in any case?

Greetings

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.