HuntingNut
HuntingNut
   Login or Register
HomeCommunity ForumsPhoto AlbumsRegister
     
 

User Info

Welcome Anonymous


Membership:
Latest: patrad69
New Today: 0
New Yesterday: 1
Overall: 13133

People Online:
Members: 0
Visitors: 129
BOT: 1
Total: 130
Who Is Where:
 Visitors:
01: Forums
02: Photo Albums
03: Forums
04: Forums
05: Forums
06: Home
07: Forums
08: Forums
09: Forums
10: Forums
11: Photo Albums
12: Photo Albums
13: Forums
14: Forums
15: Forums
16: Your Account
17: Forums
18: Home
19: Forums
20: Forums
21: Photo Albums
22: Forums
23: Forums
24: Forums
25: Forums
26: Home
27: Photo Albums
28: Home
29: Forums
30: Forums
31: Forums
32: Home
33: Forums
34: Forums
35: Home
36: Photo Albums
37: Forums
38: Forums
39: Forums
40: Your Account
41: Forums
42: Forums
43: Photo Albums
44: Forums
45: Forums
46: Home
47: Forums
48: Forums
49: Forums
50: Forums
51: Forums
52: Home
53: Forums
54: Home
55: Photo Albums
56: Forums
57: Forums
58: Home
59: Forums
60: Forums
61: Forums
62: Home
63: Forums
64: Photo Albums
65: Your Account
66: Forums
67: Forums
68: Forums
69: Home
70: Your Account
71: Forums
72: Forums
73: Forums
74: Forums
75: Forums
76: Forums
77: Forums
78: Home
79: Home
80: Forums
81: Forums
82: Forums
83: Your Account
84: Home
85: Home
86: Home
87: Forums
88: Photo Albums
89: Home
90: Forums
91: Forums
92: Home
93: Home
94: Forums
95: Home
96: Home
97: Privacy Policy
98: Forums
99: Forums
100: Home
101: Privacy Policy
102: Forums
103: Forums
104: Forums
105: Home
106: Forums
107: Home
108: Forums
109: Forums
110: Forums
111: Forums
112: Forums
113: Home
114: Home
115: Home
116: Forums
117: Home
118: Home
119: Forums
120: Forums
121: Forums
122: Forums
123: Photo Albums
124: Forums
125: Home
126: Forums
127: Forums
128: Your Account
129: Forums
  BOT:
01: Home

Staff Online:

No staff members are online!
 

Coppermine Stats
Photo Albums
 Albums: 308
 Pictures: 2452
  · Views: 824941
  · Votes: 1316
  · Comments: 86
 

Error after "loading database" - regional settings problem
Post your bug reports or feature requests here!

View previous topic :: View next topic  
Author Message
quicklead
Rookie Member
Rookie Member


Joined: Sep 11, 2011
Posts: 1

PostPosted: Sun Sep 11, 2011 11:46 am    Post subject: Error after "loading database" - regional settings problem Reply with quote

Hi.

When I start PointBlank I get program error after "Loading database" message. When I change the regional settings in my system to use "." as a separator instead of "," that is used by default in my country the program runs fine.

Thanks for the nice and useful software!
Back to top
View user's profile
DallanC
Site Admin
Site Admin


Joined: Jan 18, 2005
Posts: 3572
Location: Utah

PostPosted: Sun Sep 11, 2011 3:26 pm    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

Its a known issue introduced with the last version. I have a fix and need to just complete some further testing to make sure it doesnt cause any additional issues.

That and a new feature (multi-target comparisons) will be in the next version, which should be out later today.


-DallanC
Back to top
View user's profile Photo Gallery
DallanC
Site Admin
Site Admin


Joined: Jan 18, 2005
Posts: 3572
Location: Utah

PostPosted: Sun Sep 11, 2011 9:19 pm    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

A fix is now pushed up.

To use the new Target Comparison feature, select any target and a Compare button will now be visible at the bottom of the tree view. Click that and you will be given a list of *ALL* targets in the database, check the checkboxes of the loads you wish to compare an then change the tab at the bottom of the screen. Its pretty easy and straight forward to use.

-DallanC
Back to top
View user's profile Photo Gallery
SyberShooter
Member
Member


Joined: Jul 23, 2010
Posts: 93
Location: Arizona

PostPosted: Wed Sep 14, 2011 11:54 am    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

Nice feature implementation however I get an unhandled exception - Index outside bounds of the array. the comparison results show a big red X. Maybe I'm doing something wrong? I did update all my .Net like suggested.

Thanks
al

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at PointBlank.TargComparison.DrawTarget(Graphics g, TargetTreeNode nodexx, Int32 Left, Int32 Top, Int32 Width, Int32 Height)
at PointBlank.TargComparison.tabPage2_Paint(Object sender, PaintEventArgs e)
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3623 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PointBlank
Assembly Version: 1.0.4271.38082
Win32 Version: 1.0.4271.38082
CodeBase: file:///E:/Shooting/Gun%20Apps/PointBlank-2/PointBlank.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3623 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3624 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.mshtml
Assembly Version: 7.0.3300.0
Win32 Version: 7.0.3300.0
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.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.
Back to top
View user's profile
SyberShooter
Member
Member


Joined: Jul 23, 2010
Posts: 93
Location: Arizona

PostPosted: Wed Sep 14, 2011 11:58 am    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

Sometimes I CAN get it to work and it does compare 2 or 3 targets then other times it won't and just throws error after error.

Can't seem to find the key sequence difference yet.


Last edited by SyberShooter on Wed Sep 14, 2011 4:26 pm; edited 1 time in total
Back to top
View user's profile
DallanC
Site Admin
Site Admin


Joined: Jan 18, 2005
Posts: 3572
Location: Utah

PostPosted: Wed Sep 14, 2011 1:01 pm    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

SyberShooter wrote:
Sometimes I CAN get it to work and it does compare 2 or 3 or more targets then other times it won't and just throws error after error.

Can't seem to find the key sequence difference yet.

I will run some more tests on it tonight. I did test it pretty heavily with no issues, but it seems something is obviously is wrong. Lemme dig into it further tonight, if you can find repro steps it will make it that much easier.

Sorry for the inconvienence, glad you like it (when it does work lol).


-DallanC
Back to top
View user's profile Photo Gallery
SyberShooter
Member
Member


Joined: Jul 23, 2010
Posts: 93
Location: Arizona

PostPosted: Wed Sep 14, 2011 4:19 pm    Post subject: Re: Error after "loading database" - regional settings probl Reply with quote

I seem to have found the point it stops working. I currently have 147 targets in my db. when I get to # 55 I get the error
"InvalidArgument=value of "54" is not valid for SelectIndex.
ParameterName: SelectIndex"

I don't have to try a compare either, all I have to do is select any listed item after the 53rd one in the list (counting from 0) sometimes I can go back and compare two lower than 53 but after selecting a couple above 54 it then stops working for the lower numbers.
I started at item #1 in the list and use the down-arrow to move to each item. as soon as I hit the 55th item in the list I got the error

The invalid argument # in the error messages increments according to the line item #-1 (base 0 - I understand)
I will upload my data file if you need it for testing.

Looks like it might be an array overflow.
I should'a made this its own thread - sorry

al
Back to top
View user's profile
DallanC
Site Admin
Site Admin


Joined: Jan 18, 2005
Posts: 3572
Location: Utah

PostPosted: Wed Sep 14, 2011 7:21 pm    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

I reproduced it... working on a fix, its over-flowing the array of "draw colors" when you have alot of entrys selected.


-DallanC
Back to top
View user's profile Photo Gallery
DallanC
Site Admin
Site Admin


Joined: Jan 18, 2005
Posts: 3572
Location: Utah

PostPosted: Wed Sep 14, 2011 8:32 pm    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

Fixed, it will be in the next version release.

I also added a "Select All" button because it was REALLY annoying to try checking all of the targets one at a time.

I also found a bug in that when you duplicate a target, all of the shot info is set to inactive in the new copy. I will fix that as well.


-DallanC
Back to top
View user's profile Photo Gallery
SyberShooter
Member
Member


Joined: Jul 23, 2010
Posts: 93
Location: Arizona

PostPosted: Sun Sep 18, 2011 7:03 pm    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

[quote="DallanC"


I also found a bug in that when you duplicate a target, all of the shot info is set to inactive in the new copy. I will fix that as well.


-DallanC[/quote]

I thought that was a feature... not a bug! Smile

Is there a way to have all the targets in a collapsed tree and just expand the ones ya wanna work with?

Thanks
Al
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page    Forum Index » Bug Reports / Feature Requests
Page 1 of 1
All times are GMT - 7 Hours



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Valid CSS! Valid HTML 4.01!
Click to check if this page is realy HTML 4.01 compliant for speed :)

All logos and trademarks in this site are property of HuntingNut.com.
The comments are property of their posters, all the rest © 2011 by HuntingNut.com
Interactive software released under GNU GPL, Code Credits, Privacy Policy

.: Upgraded to DragonFly 9.2 by *Dizfunkshunal* :.