System.ArgumentOutOfRangeException: Non-negative number required
See original GitHub issueWhen comparing the new Private Test Server client of GMS with the public server client, I get the following error after it compares to Map.wz, making the comparer process incomplete.
The comparison was aborted. System.ArgumentOutOfRangeException: Non-negative number required.
Parameter name: count
at System.IO.FileStream.set_Position(Int64 value)
at WzComparerR2.WzLib.Wz_Image_GetCheckSum() in C:\Users\Desktop\WzComparerR2 Localization\GMS\Stable\WzComparerR2\WzComparerR2.WzLib\Wz_Image.cs:line 110
at WzComparerR2.WzLib.Wz_Image_TryExtract(Exception&e) in C:\Users\Desktop\WzComparerR2 Localization\GMS\Stable\WzComparerR2\WzComparerR2.WzLib\Wz_Image.cs:line 57
at WzComparerR2.Comparer.EasyComparer.CompareImg(Wz_Image imgNew, Wz_Image imgOld, String imgName, String anchorName, String menuAnchorName, String outputDir, StreamWriter sw) in C:\Users\Desktop\WzComparerR2 Localization\GMS\Stable\WzComparerR2\WzCompareR2\Comparer\EasyComparer.cs:line 406
at WzComparerR2.Comparer.EasyComparer.OutputFile(List`1fileNew, List`1fileOld, Wz_Type type, List`1 diffLst, String outputDir, StreamWriter index) in C:\Users\Desktop\WzComparerR2 Localization\GMS\Stable\WzComparerR2\Comparer\EasyComparer.cs:line 329...
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
raspberry pi - .NET Core 3.1 System.IO.Port ...
System.ArgumentOutOfRangeException: Non-negative number required. ... Int32 count, CancellationToken cancellationToken) at System.IO.Ports.
Read more >ArgumentOutOfRangeException Class (System)
An ArgumentOutOfRangeException exception is thrown when a method is invoked and at least one of the arguments passed to the method is not...
Read more >looking for help with this error please non negative number ...
Exception Details: System.ArgumentOutOfRangeException: Non-negative number required. Parameter name: capacity. Source Error: ...
Read more >'Non-negative number required. Parameter name: capacity' ...
System.ArgumentOutOfRangeException: 'Non-negative number required. Parameter name: capacity' on calling Router.Calculate() #334 · Comments.
Read more >Non-negative number required. Parameter name: count ...
System.ArgumentOutOfRangeException: Non-negative number required. Parameter name: count ... Hello,. Just finished examining the demos and decided ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Sunaries try this commit : https://github.com/Kagamia/WzComparerR2/commit/5ecb5f308a1485f9a3d10dcd3f4b0b3d00eee6c7 , Of course I’m not sure whether it works. 😃
Finally this day comes 😆 I wonder how the patcher changed after this.