schwaxx / wfinfo Goto Github PK
View Code? Open in Web Editor NEWA Companion App for Warframe
License: Apache License 2.0
A Companion App for Warframe
License: Apache License 2.0
Hello. I've used WFInfo in the past and found it to be very useful in relic runs. I haven't used it in a few weeks. I tried it today and now it's no longer displaying ducat or platinum values. The pop-up in the corner now shows something along the lines of, e.g:
Orthos Prime Blueprint
Ducks>"Orthos Prime">Orthos Prime
And that's it, repeated in a similar format for each item on the results screen. It does pop-up in the corner, it does detect the right items (usually), but the actual display is just some broken text instead of the important numbers.
I'm using the old style popup if that matters.
Edit: After restarting it, it's now no longer even popping up at all. When I press Print Screen, WFInfo just freezes and I have to kill it from the Task Manager.
Edit 2: It seems like it gets its data from Warframe.Market, which has been extraordinarily slow lately. Could that be why?
It's my understanding that WFInfo does live online lookups for the ducat and plat values, and the vault status, of each item. It's also my understanding that this is the primary reason for long delays before the WFInfo popup appears, due to a slow network or the web server being slow.
So then, couldn't WFInfo use local data instead, or in addition to the above? Obvious the platinum values need to be looked up, but the ducat value of an item never changes, and the vault status changes very infrequently. If WFInfo had local data, it could immediately display the ducat value for an item. The platinum value could then be shown later once it's loaded in.
With how little time there is on the fissure reward screen, I think it's very important for WFInfo to display its information as soon as possible. What do you think of this?
Nothing gets detected if you use a custom UI scaling below 100. The rectangles that get scanned are way off so no text gets detected.
e. g. a custom scale of 70 means the UI is 30% smalled than expected.
A quick fix/hack that works reasonably is zooming the captured image by a factor of 100/scale before detecting text.
' Scale
Dim scaleIngame as Decimal = 70
Dim scale as Decimal = 100/scaleIngame
Dim scaledImage = New Bitmap(
CliptoImage,
CliptoImage.Width*scale,
CliptoImage.Height*scale)
' Crop
Dim scaleGraphics = Graphics.FromImage(CliptoImage)
scaleGraphics.DrawImage(
scaledImage,
New Rectangle(
0,
0,
CliptoImage.Width,
CliptoImage.Height),
New Rectangle(
(scaledImage.Width - CliptoImage.Width)/2,
(scaledImage.Height - CliptoImage.Height)/2,
CliptoImage.Width,
CliptoImage.Height),
GraphicsUnit.Pixel)
scaleGraphics.Dispose()
The proper fix woud be to fix the Public Function Crop
method to support scaling.
Public Function Crop
also crashes by the way if for some reason a width/height of 0 is calculated.
The scale should be configurable of at least be read from the WF config files.
e. g. via
cat %localappdata%\Warframe\EE.cfg | grep Flash.FlashDrawScale=
Flash.FlashDrawScale=0.69663656
I open WFInfo, run Warframe in borderless window mode. First few missions it works perfectly, but after a little while the green status light turns yellow and it stops working. Restarting the program doesn't work, might work to restart both, but that's impractical. Anything I can check to see why this happens?
Hi. I use the non-steam version of warframe. Will WFInfo work with non-steam version?
You probably should add a "How to compile" for the less techie users but anyways you can find missing dependencies here https://github.com/charlesw/tesseract
Hello, I have tried both the Beta and release versions of the software and I get the same error both times. The status light never turns green as other people have said it does, and when I try to use the software it just says "Something went wrong".
Seems like it should be fairly straightforward to add a check at the top for 'INVENTORY' text and then OCR for any text to the right of the mouse and check for plat pricing. Would be super handy!
tl;dr: can it work on this, please? - https://i.imgur.com/b0jNHjh.jpg
I keep getting the following error over and over. Any idea how to fix this?
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at WFInfo.Main.UpdateStatus()
at WFInfo.Main.tOnline_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3120.0 built by: NET472REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
WFInfo
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/Warframe%20Info/WFInfo%205_0_8/WFInfo.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3110.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Data.SQLite
Assembly Version: 1.0.107.0
Win32 Version: 1.0.107.0
CodeBase: file:///F:/Warframe%20Info/WFInfo%205_0_8/lib/System.Data.SQLite.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3120.0 built by: NET472REL1LAST
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.Security
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3101.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
CustomMarshalers
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/CustomMarshalers/v4.0_4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
Newtonsoft.Json
Assembly Version: 10.0.0.0
Win32 Version: 10.0.2.20802
CodeBase: file:///F:/Warframe%20Info/WFInfo%205_0_8/lib/Newtonsoft.Json.DLL
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
Tesseract
Assembly Version: 3.0.2.0
Win32 Version: 3.0.2.0
CodeBase: file:///F:/Warframe%20Info/WFInfo%205_0_8/lib/Tesseract.DLL
----------------------------------------
InteropRuntimeImplementer.LeptonicaApiSignaturesInstance
Assembly Version: 0.0.0.0
Win32 Version: 3.0.2.0
CodeBase: file:///F:/Warframe%20Info/WFInfo%205_0_8/lib/Tesseract.dll
----------------------------------------
InteropRuntimeImplementer.TessApiSignaturesInstance
Assembly Version: 0.0.0.0
Win32 Version: 3.0.2.0
CodeBase: file:///F:/Warframe%20Info/WFInfo%205_0_8/lib/Tesseract.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
i got this msg in debug and warframe crash if check a price in console
System.ArgumentException: Parametro non valido.
in System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
in WFInfo.Main.Crop(Image img, Int32 mode, Int32 pos, Int32 players)
in WFInfo.Main.VB$StateMachine_124_tPB_Tick.MoveNext()
my video resolution is 1028x800
Something went wrong message all the time. Here is the full log:
[18/11/2018 14:15:31] System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List
1.get_Item(Int32 index)
at WFInfo.Main.bgPPrice_DoWork(Object sender, DoWorkEventArgs e)
[18/11/2018 14:15:28]
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.get_Item(Int32 index)
at WFInfo.Main.bgPPrice_DoWork(Object sender, DoWorkEventArgs e)
[18/11/2018 14:15:25]
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.get_Item(Int32 index)
at WFInfo.Main.bgPPrice_DoWork(Object sender, DoWorkEventArgs e)
[18/11/2018 14:15:22]
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.get_Item(Int32 index)
at WFInfo.Main.bgPPrice_DoWork(Object sender, DoWorkEventArgs e)
[18/11/2018 14:15:19]
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.get_Item(Int32 index)
at WFInfo.Main.bgPPrice_DoWork(Object sender, DoWorkEventArgs e)
[18/11/2018 14:15:16]
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.get_Item(Int32 index)
at WFInfo.Main.bgPPrice_DoWork(Object sender, DoWorkEventArgs e)
[18/11/2018 14:15:13]
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List1.get_Item(Int32 index) at WFInfo.Main.bgPPrice_DoWork(Object sender, DoWorkEventArgs e)
[7/3/2018 11:16:04 AM]
System.InvalidCastException: Conversion from string ""Akbolto Prime">Akbolto Prime Ba" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format.
at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
at WFInfo.Main.VB$StateMachine_124_tPB_Tick.MoveNext()
That is the error I am getting, and I'm hoping to get some help on fixing it. I looked it up and I do NOT have the knowledge to properly fix it.
Hey, very great tool and increadibly helpful for a newer player like me.
There's something else that I'm struggling with:
Of course every relic can be worth it if you really want something out of it without trading but that's beside the point.
So your tool would be even more helpful if I could use it to display the plat/ducat prices of every item inside the relic when selecting them in the void relic refinement or the fissure relic selection screen:
I guess you're using OCR to read the relic rewards, so I hope this addition is not to much work for you.
Aside from that, being able to minimize the app window to system tray/task bar would be nice.
I've enjoyed using WFInfo, but this is starting to get really frustrating now instead of helping me. I clear a fissure, press Print Screen to see the information to help me make a decision, and instead I get a pop up saying... "Something went wrong". Press Print Screen again. "Something went wrong". Print Screen. "Something went wrong". "Something went wrong". "Something went wrong". And then the reward screen ends and I don't get to choose.
Something seems to go wrong more often than not, especially lately. Why is this happening? It doesn't even tell me what went wrong. Just "something". Sometimes it does work fine though, so it's not like it's completely broken. Just unreliable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.