HuntingNut
HuntingNut
   Login or Register
HomeCommunity ForumsPhoto AlbumsRegister
     
 

User Info

Welcome Anonymous


Membership:
Latest: surface33
New Today: 0
New Yesterday: 0
Overall: 11719

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

Staff Online:

No staff members are online!
 

Coppermine Stats
Photo Albums
 Albums: 303
 Pictures: 2283
  · Views: 215730
  · Votes: 1239
  · Comments: 85
 

Support our Advertisers

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: 2596
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: 2596
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: 2596
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: 2596
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: 2596
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


Advertisements
 


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 :.