andanteyk / electronicobserver Goto Github PK
View Code? Open in Web Editor NEW艦これ補助ツール「七四式電子観測儀」
License: MIT License
艦これ補助ツール「七四式電子観測儀」
License: MIT License
艦隊一覧ウィンドウの連合艦隊ラベルのツールチップに、合算の制空値等を表示する
Just starting up in "Game Start" scene
すべての通知をミユート checked
2 ship in construction deck
Catch exception described as follow
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 ElectronicObserver.Notifier.NotifierConstruction.Notify(Int32 arsenalID, Int32 shipID)
在 ElectronicObserver.Notifier.NotifierConstruction.UpdateTimerTick()
在 System.Action.Invoke()
在 ElectronicObserver.Utility.SystemEvents.OnUpdateTimerTick()
在 ElectronicObserver.Window.FormMain.UIUpdateTimer_Tick(Object sender, EventArgs e)
在 System.Windows.Forms.Timer.OnTick(EventArgs e)
在 System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Not showing all the time
When open show error {"The time zone ID 'Tokyo Standard Time' was found on the local computer, but the registry information was corrupt."}
The problem is for unknown reason The program (and I) cannot find correct time zone info in registry.
Is it better to handle this exception and not hard code Tokyo standard time in program?
To fix this problem and enjoy the tool I've downloaded the source and changed the time zone setting to my current time zone.
艦これ統計データベースへの送信で、送るAPIをフィルタする機能がありますが、一部のAPIしか送らないというのはサーバ側での処理に支障を来す恐れがあると思います。艦これDBの作者様に直接聞いたわけではありませんが、たいていの専ブラやツールは一部のAPIしか受け取れない状況ではうまく動かないと思うので、危険ではないかと。
もし、艦これDBの作者様からOKを頂いているということでしたら、私の杞憂ですので無視してください。
おそらく、Nekoxy 移行が原因だと考えてます
Please add a separate fleet view for combined fleet.
Since it's only used for combined fleet, several information such as equipment icons could be omitted to save UI space. The separate sub-window would also help users by calculating the combined fighter power and LOS rather than manually calculating from the separate fleet 1 and fleet 2 sub-window.
Below is an illustration of the fleet view if stacked horizontally, but stacked vertically is okay too.
I really don't want to complete the new "「熟練搭乗員」養成" quarterly quest, but it keep showing up in the Quest Window. I know I can hide it if I uncheck "デイリー任務を表示", but it will hide all daily quests as well. Can we have a separate checkbox to just hide the "その他任務" ?
Thanks
被撃墜機数に噴式フェーズでの値を含める?
検討中
潜水艦魚雷・潜水艦電探によるカットインに対応する。
導入するか検討中
威力計算のキャップを変更する必要がある
要調査
アイテムを購入しようとすると、購入確認画面が開かずそのまま閉じる
設定文字コードが shift-jis 以外の時、デフォルトレコードからの読み込みが正しく行われない
HPバーを削るか被らせるかして縦に小さくする?設定の追加
簡単にできそうなら実装、そうでなければ保留
起動直後に別のプログラムにフォーカスがあると、タスクバーに表示されなくなることがある。
一度フォーカスされると以降表示されるようになる。
Records were always generating errors. Turns out .NET's DateTime.ToString() is a bit strange. Note the system Short Date in all these.
Here's how I think you expected dates to be:
Here's how my dates were:
One way to fix would be get the separators from the system:
And it would still work the original way:
After finishing a battle with combined fleet and come back to home port, ships in fleet 2 are actually in yellow-face condition, but the condition timer remind me that they are recover from bad-condition.
If I refresh by coming back to home port, the timer work fine then
The timer of fleet 1 seems work fine all the time.
(改善案)
Hello, can you add an ip address settings of upstream proxy server?
Sometimes we may use an remote proxy server instead of local.
After modifying code, i always found that it's a big commit with too much unnecessary line changed, especially if i change any form designing. It may be a big problem for code reviewing.
i notice that similar issue has been discussed in #76 , so i wander which kind of line ending do you use in this project.
FYI visual studio uses CRLF as default and hard to change it.
Also i notice that you use tab as indentation, but i'm using 4 spaces. So i want to confirm which kind do you prefer.
And when i change the form designing in visual studio, it change the .design.cs
file automatically, but bring a big change to this file. do you have any idea to avoid it?
I use kancolle-db.net a lot, and I want to contribute to its data collection. Can you add an option to support kancolle-db data collection?
If you are not familiar with it, this is the link:
Website:
http://kancolle-db.net/
Post sample:
https://github.com/about518/kanColleDbPost
@about518 maybe you can help with this?
タブと表の間のセパレータの位置が正しく復元されず、初期化されることがある。
(検討中 - 優先度低)
デフォルトのフォント設定にしたときサイズが変わらないように注意する必要がある
特にログイン時に、画面が白くなり読み込みまでに数分かかることがある
原因不明
通信設定:
観測儀の上流プロキシ設定に 127.0.0.1:8888 (航海日誌拡張版のポート)を指定した状態
VirtualBoxかVMwareがインストールされていて、かつIEのプロキシ設定で「設定を自動的に検出する」がチェックされていると発生する問題です。PCでAndroidのゲームを動かすために使われている、GenyMotionがVirtualBoxを含んでいるため影響範囲が拡大したようです。
解決策は、Nekoxyのアップストリーム設定でSystemProxyではなくDirectAccessを指定することです。SystemProxyは、航海日誌などとの連携をスムーズにするために実装されました。しかし、現状でうまく機能しているとは言い難いですし、むしろ被害が大きいのでDirectAccessにすることをお勧めします。
アップストリーム設定でSystemProxyを指定すると、NekoxyはIEのプロキシ設定から上流のプロキシのアドレスを取得してそちらにリクエストを転送します。上記の環境では、Nekoxyは謎のプロキシのアドレスを取得して、そちらにリクエストを転送します。
リクエストを受け取った謎のプロキシは、なぜかもう一度40620にリクエストを転送するため、ループができてしまいます。ループをぐるぐる回ってephemeralポートを使い切ったところで、最後のプロキシが外にリクエストを投げるので、通信が非常に遅くなる問題が生じます。
謎のプロキシの正体が何なのかはまだわかりませんが、DirectAccessを指定することで、このプロキシにリクエストを転送することがなくなるので問題が解決します。
If ship name is too long to fit in the panel, it will be ellipsised. But there seems to be a BUG that when a label is set to AutoEllipsis = true and ellipsis happens, it will be aligned to top regardless of property given.
I don't like the idea of setting UseCompatibleTextRendering so I tried to fix this by ellipsising the string myself, and it seems to be working (left one in the picture above) but I don't really like what I've done, maybe you can come up with a better solution (or more legit code).
つい先発見したエラーメッセージです
一応Logも添付きますけど、Windowsの使う言語は**語に設定されますから、そのエラーメッセージの半分も**語になりました...
[2015/5/1 上午 12:29:01][3] : Responseの受信中にエラーが発生しました。 : Year、Month 和 Day 參數描述無法表示的 DateTime。
[2015/5/1 上午 12:29:03][3] : Responseの受信中にエラーが発生しました。 : Year、Month 和 Day 參數描述無法表示的 DateTime。
[2015/5/1 上午 12:29:07][3] : Responseの受信中にエラーが発生しました。 : Year、Month 和 Day 參數描述無法表示的 DateTime。
着任(ログイン)の時も、戦闘終わりの後も、そのエラーメッセージも出ます
そして、艦隊の状態も更新できません
function GameStart and BattleStart in ShipParameterRecord.cs
if ( param == null ) {
param = new ShipParameterElement();
param.ShipID = (int)elem.api_id;
}
this[(int)elem.api_id]=param;//need added in if{}
キャッシュをクリアしようとすると操作不能になる。
原因不明
・「ボス戦闘/敵連合」の文字が赤くならない
・戦闘が開始しても敵艦隊候補表示のままで、艦隊パラメータが出ない
2015/5/29のアップデートで艦船図鑑⑤が追加されましたが、これをクリックすると以下のメッセージが飛んできます。
{"api_result":1,"api_result_msg":"成功","api_data":null}
ShipParameterRecord.AlbumOpened()やFormInformation.GetAlbumInfo()はapi_dataに値が入っていることが前提の処理となっているため、null参照でエラーとなってしまいます。
(プレイには影響ありませんが)
ちょっと影響範囲が広そうなのでIssueに登録だけしておきます。
I've been trying to eliminate flickers of the Browser, it's not a bug that breaks things, it just annoys me. After reading the code, at first I thought the flickers come from 74EO applying stylesheet to too many elements, so I reduced it to as less as possible (at least that's the shortest answer I can come up with).
But the flickers can still be seen when the page is loading slow. Then I found this :
private bool StyleSheetApplied {
get { return _styleSheetApplied; }
set {
if ( value ) {
//Browser.Anchor = AnchorStyles.None;
ApplyZoom();
SizeAdjuster_SizeChanged( null, new EventArgs() );
} else {
SizeAdjuster.SuspendLayout();
//Browser.Anchor = AnchorStyles.Top | AnchorStyles.Left;
Browser.Location = new Point( 0, 0 );
Browser.MinimumSize = new Size( 0, 0 );
Browser.Size = SizeAdjuster.Size;
SizeAdjuster.ResumeLayout();
}
_styleSheetApplied = value;
}
}
and it's called from here :
private void Browser_DocumentCompleted( object sender, WebBrowserDocumentCompletedEventArgs e ) {
StyleSheetApplied = false; // <- line 273
So every time Browser_DocumentCompleted is triggered after the stylesheet is applied (it could happen due to links in other js files loading slower than the game - that could happen a lot), a flicker will happen.
Now here comes the question: what is this line 273 for? I'd like to delete it to avoid Browser flickering.
ver. 2.5.3 現在、熟練度とレベルは同じ位置に表示されるため、見にくくなっている。
(設定によってどちらかのみ表示することはできるが、根本的解決にはなっていない。)
これの改善を行いたい。
例:
熟練度をアイコンにオーバーラップさせる
初回起動時のレイアウトファイルの保存を選択時に以下の例外が発生しました。
エラーレポート : 2015/05/02 12:47:43
エラー : DirectoryNotFoundException
パス 'PATH_TO_ElectronicObserver\Settings\WindowLayout.zip' の一部が見つかりませんでした。
追加情報 : ウィンドウ レイアウトの保存に失敗しました。
スタックトレース:
場所 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
場所 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
場所 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
場所 ElectronicObserver.Window.FormMain.SaveLayout(String path)
一応報告します。
多分今回メンテナンスの時、運営は api_req_map/start
と api_req_map/next
この2つ API の Response 内容を変更されました...
エラーレポート : 2016/5/3 上午 04:34:02
エラー : FormatException
輸入字串格式不正確。
追加情報 : Responseの受信中にエラーが発生しました。
スタックトレース:
於 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
於 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
於 Codeplex.Data.DynamicJson.TryGetMember(GetMemberBinder binder, Object& result)
於 CallSite.Target(Closure , CallSite , Object )
於 ElectronicObserver.Data.CompassData.get_GetItemID()
於 ElectronicObserver.Window.FormCompass.GetMaterialName(CompassData compass)
於 ElectronicObserver.Window.FormCompass.Updated(String apiname, Object data)
於 ElectronicObserver.Observer.APIReceivedEventHandler.Invoke(String apiname, Object data)
於 CallSite.Target(Closure , CallSite , APIReceivedEventHandler , String , Object )
於 ElectronicObserver.Observer.APIBase.OnResponseReceived(Object data)
於 ElectronicObserver.Observer.kcsapi.api_req_map.start.OnResponseReceived(Object data)
於 CallSite.Target(Closure , CallSite , APIBase , Object )
於 System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1](CallSite site, T0 arg0, T1 arg1)
於 CallSite.Target(Closure , CallSite , APIBase , Object )
於 ElectronicObserver.Observer.APIDictionary.OnResponseReceived(String apiname, Object data)
於 CallSite.Target(Closure , CallSite , APIDictionary , String , Object )
於 ElectronicObserver.Observer.APIObserver.LoadResponse(String path, String data)
通信内容 : api_req_map/start
svdata={"api_result":1,"api_result_msg":"\u6210\u529f","api_data":{"api_rashin_flg":1,"api_rashin_id":2,"api_maparea_id":2,"api_mapinfo_no":3,"api_no":2,"api_color_no":2,"api_event_id":2,"api_event_kind":0,"api_next":1,"api_bosscell_no":11,"api_bosscomp":1,"api_airsearch":{"api_plane_type":0,"api_result":0},"api_itemget":[{"api_usemst":4,"api_id":1,"api_getcount":30,"api_name":"","api_icon_id":1}],"api_from_no":0}}
エラーレポート : 2016/5/3 上午 04:35:16
エラー : FormatException
輸入字串格式不正確。
追加情報 : Responseの受信中にエラーが発生しました。
スタックトレース:
於 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
於 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
於 Codeplex.Data.DynamicJson.TryGetMember(GetMemberBinder binder, Object& result)
於 CallSite.Target(Closure , CallSite , Object )
於 ElectronicObserver.Data.CompassData.get_GetItemID()
於 ElectronicObserver.Window.FormCompass.GetMaterialName(CompassData compass)
於 ElectronicObserver.Window.FormCompass.Updated(String apiname, Object data)
於 ElectronicObserver.Observer.APIReceivedEventHandler.Invoke(String apiname, Object data)
於 CallSite.Target(Closure , CallSite , APIReceivedEventHandler , String , Object )
於 ElectronicObserver.Observer.APIBase.OnResponseReceived(Object data)
於 ElectronicObserver.Observer.kcsapi.api_req_map.next.OnResponseReceived(Object data)
於 CallSite.Target(Closure , CallSite , APIBase , Object )
於 System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1](CallSite site, T0 arg0, T1 arg1)
於 CallSite.Target(Closure , CallSite , APIBase , Object )
於 ElectronicObserver.Observer.APIDictionary.OnResponseReceived(String apiname, Object data)
於 CallSite.Target(Closure , CallSite , APIDictionary , String , Object )
於 ElectronicObserver.Observer.APIObserver.LoadResponse(String path, String data)
通信内容 : api_req_map/next
svdata={"api_result":1,"api_result_msg":"\u6210\u529f","api_data":{"api_rashin_flg":0,"api_rashin_id":0,"api_maparea_id":2,"api_mapinfo_no":3,"api_no":12,"api_color_no":2,"api_event_id":2,"api_event_kind":0,"api_next":2,"api_bosscell_no":11,"api_bosscomp":1,"api_comment_kind":0,"api_production_kind":0,"api_airsearch":{"api_plane_type":0,"api_result":0},"api_itemget":[{"api_usemst":4,"api_id":1,"api_getcount":15,"api_name":"","api_icon_id":1}]}}
I personally didn't enable "load on start" (起動時に読み込む) for Browser (I load page manually every time I start 74EO) so I haven't encount this problem, but I've noticed some users report they see "Region invalid" error from DMM and need to manually reload the browser for proxy to work.
Simple method to test:
File: Browser/FormBrowser.cs
@@ -329,10 +329,13 @@ namespace Browser {
/// 指定した URL のページを開きます。
/// </summary>
public void Navigate( string url ) {
if (url != Configuration.LogInPageURL || !Configuration.AppliesStyleSheet)
StyleSheetApplied = false;
+ if (!isProxySet) {
+ MessageBox.Show("Proxy not set, abort."); return;
+ }
Browser.Navigate( url );
}
/// <summary>
/// ブラウザを再読み込みします。
@@ -543,17 +546,20 @@ namespace Browser {
}
+ private bool isProxySet = false;
+
public void SetProxy( string proxy ) {
ushort port;
if ( ushort.TryParse( proxy, out port ) ) {
WinInetUtil.SetProxyInProcessForNekoxy( port );
} else {
WinInetUtil.SetProxyInProcess( proxy, "local" );
}
+ isProxySet = true;
//AddLog( 1, "setproxy:" + proxy );
}
NavigateToLogInPage() is called from FormBrowserHost.cs
, I literally have no idea about how this "async" thing works... So I think I can only leave this for you to fix.
(74E0 25, 74EO 25B)
(Windows 10)
I started noticing this problem in these 2 weeks.
Sometimes when I change my input method between English and Japanese, the 74EO will no longer take input.
Sometimes after this behavior happens, if I open the Win10 "Language Preferences", then 74EO will return to normal.
But sometimes this workaround does not work and I will have to kill it via Task Manager.
Maybe this is a problem of Flash/Windows10/IE/Edge...etc, I am not sure...
Thanks.
3スロ以下の艦娘の拡張スロットへの搭載装備が正しく反映されない
情報ウィンドウの演習の獲得経験値予測で、S勝利の場合が実際より1多いことがあります。ここの計算は、(int)( (int)expbase * 1.2 )
と先に整数に丸めてから1.2倍する必要があるようです。
「全個数」「余個数」などの列でソートすると、稀に項目が分離してしまうことがある。
Sometimes when I click the "File" menu of some tool window (eg: "装備一覧", "舰船图鉴" ) the menu would display but the tool window disappears. This bug doesn't happen right after I start 74EO, and I can't find a way to actively trigger it.
I found a workaround to make the window stop disappearing: enable and disable "Always on top" for 74EO. See the GIF on top for the behavior of the bug and the workaround.
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.