HuntingNut
HuntingNut
   Login or Register
HomeCommunity ForumsPhoto AlbumsRegister
     
 

User Info

Welcome Anonymous


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

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

Staff Online:

No staff members are online!
 

Coppermine Stats
Photo Albums
 Albums: 308
 Pictures: 2452
  · Views: 825063
  · 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* :.