Jump to content


- - - - -

NEW! Airsoft Calc v1.2!


20 replies to this topic

#1 visionviper

    I'm not as crazy as you think I think you think I am.

  • Forum Regular
  • PipPipPipPip
  • 1,250 posts

Posted 04 November 2005 - 03:37 PM

Ok, v1.2 is finally out!


Changelog:
v1.2:
-Added BB Drop calculator
-Added Battery calculator
-Added FPS to m/s calculator
-Many improvements on code, especially error trapping
-Fixed grammatical errors in readme


Download here:

http://www.hootworld.net/software/FPSCalc.zip

The download size is 13kb

#2 blitz

    Regular Poster

  • Forum Regular
  • PipPipPipPip
  • 1,157 posts

Posted 04 November 2005 - 04:19 PM

very nice

#3 Marlowe

    Now with added Nam.

  • Admin
  • 305,974 posts

Posted 04 November 2005 - 06:08 PM

Just used this to get a rough ballpark figure on my (now working again) RPK's FPS, as I used a mixed mag of .2s and .25s, giving a range of readings. Worked very well. +1 to you. smile.gif

#4 visionviper

    I'm not as crazy as you think I think you think I am.

  • Forum Regular
  • PipPipPipPip
  • 1,250 posts

Posted 05 November 2005 - 04:02 AM

Thank you.

I am glad you guys like it.

Any suggestions on what to include for later releases would be good. I am trying to think of things to include, but I can't think of any yet. sad.gif

One thing I do plan to do is to make it a lot nicer looking, make it more pretty. biggrin.gif

Edited by visionviper, 05 November 2005 - 04:02 AM.


#5 mtdarkwolf

    Regular Poster

  • Regular Poster
  • PipPipPipPip
  • 206 posts

Posted 05 November 2005 - 04:09 AM

you could add a charge time calculator, and a calc for what setting to put it on. I forget the details but i know its been talked about. also if possible, a fps/mps + bb weight = joules calculator

note, i havent downlaoded the program, so if any ofthose are already on therre, sorry

#6 visionviper

    I'm not as crazy as you think I think you think I am.

  • Forum Regular
  • PipPipPipPip
  • 1,250 posts

Posted 05 November 2005 - 05:04 AM

Those all are on there.

biggrin.gif

#7 mtdarkwolf

    Regular Poster

  • Regular Poster
  • PipPipPipPip
  • 206 posts

Posted 05 November 2005 - 09:20 PM

shows what i know.

*Goes to download program*

#8 challenger 2 MBT

    Adv Member

  • Members
  • PipPipPip
  • 52 posts

Posted 07 November 2005 - 02:53 PM

nice job dude making this

#9 Skorn

    Skorn-lite, now with less added sugar!

  • Forum Regular
  • PipPipPipPip
  • 1,370 posts

Posted 07 November 2005 - 03:25 PM

much better than before biggrin.gif
Washington, Washington, 6 foot 20, fruitcaging killing for fun. Spread, Spread, Delaware, he's coming, he's coming, he's coming!

#10 visionviper

    I'm not as crazy as you think I think you think I am.

  • Forum Regular
  • PipPipPipPip
  • 1,250 posts

Posted 07 November 2005 - 03:34 PM

QUOTE
much better than before


QUOTE
nice job dude making this


Thanks.

#11 Marlowe

    Now with added Nam.

  • Admin
  • 305,974 posts

Posted 07 November 2005 - 04:11 PM

Perhaps a calculation of the distance the bb will travel, depending upon weight and velocity?

I couldn't see it on the application, but I was looking purely for velocity and force the other day. I know with variants like wind it can be hard to predict, but a rough ballpark figure pre-wind would be handy for individuals curious to see what sort of range they can expect. smile.gif

#12 Hissing_Sid

    This dog knows more about Airsoft than you.

  • Banned
  • PipPipPipPip
  • 4,979 posts

Posted 07 November 2005 - 04:24 PM

QUOTE (Marlowe @ Nov 7 2005, 05:11 PM)
Perhaps a calculation of the distance the bb will travel, depending upon weight and velocity?

I couldn't see it on the application, but I was looking purely for velocity and force the other day. I know with variants like wind it can be hard to predict, but a rough ballpark figure pre-wind would be handy for individuals curious to see what sort of range they can expect. smile.gif

Erm...

You don't need to know the weight to work out the distance... sort of.

If a gun is shooting at 1J, for example, a 0.2g BB is travelling at 100m/sec. In half a second (roughly) it will drop 1m due to gravity.

The same gun will shoot a 0.25g BB will be travelling about 75m/sec. It will also drop 1m in about half a second due to gravity.

The only difference is due to the speed the BB is travelling. So, a 0.2g BB will travel 50m before diving 1m. A 0.25g BB will travel 37m before diving 1m.


All you need to do is use the power calc to work out velocity using a given BB and then type that into the BB drop calc. wink.gif

Edited by Hissing Sid, 07 November 2005 - 04:25 PM.

Posted Image
Deal with it.

#13 Pendra

    Surprise and Terror!

  • Regular Poster
  • PipPipPipPip
  • 787 posts
  • Gender:Male
  • Location:The other side!
  • Country:Hungary

Posted 07 November 2005 - 08:09 PM

I think this ' , ' - ' . ' error is due to some Visual Basic error. I think it hard codes the version of the comma into the exe and you have the problem. Here is a workaround:

Dim STR As String
Dim VALUE As Single
Dim SW As Boolean
SW = True // we assume the input is OK
STR = TextBox1.Text()
// reads the textbox into a string
STR = STR.Replace(".", ",") // replaces all ' . ' with ' , '
If IsNumeric(STR) Then // and check if it produces a correct number
VALUE = STR // if yes then it will be the value which can be used for calculations
ELSE // in case the ' , ' did not produce correct number
STR = STR.Replace(",", ".") // replaces all ' , ' to ' . '
IF IsNumeric(STR) Then
VALUE = STR
ELSE
SW = False // in case no swapping works (due to other characters present) the input is not OK, and cannot be used
END IF
End If

If (SW = TRUE) then // if the value is OK then the calculations can be performed
// ... DO ALL CALCULATIONS WITH THE VALUE ...
End If

An other thing about battery calc:
My charger instruction manual says that I have to multiply the charging time by 1.4 (1700 mAH / 170 mAh = 10 H * 1.4 = 14 H total charging time)

#14 visionviper

    I'm not as crazy as you think I think you think I am.

  • Forum Regular
  • PipPipPipPip
  • 1,250 posts

Posted 07 November 2005 - 09:05 PM

QUOTE
My charger instruction manual says that I have to multiply the charging time by 1.4


I will add an option to multiply the charging time, will release in v1.3.

As for the "," and "." I wasn't really planning on changing anything code wise becuase I specify in the readme to use a "." and not a "," I may change it so if you do use a "," it will work fine just to do it, but we will see. I have to wait and see how the second half of the semester goes and how work goes, etc.

#15 Pendra

    Surprise and Terror!

  • Regular Poster
  • PipPipPipPip
  • 787 posts
  • Gender:Male
  • Location:The other side!
  • Country:Hungary

Posted 07 November 2005 - 09:19 PM

I forgot to mention, this version does not work at all for us ' , ' users. It identifies the ' , ' as a character and tells that there is no value in the box. The I used ' . ' and it produced a type mismatch. It only works if you use integer values (like 20 g bullets which need around 100 J to fire).
If you sent me the source code, I will remedy this issue once and for all.

#16 visionviper

    I'm not as crazy as you think I think you think I am.

  • Forum Regular
  • PipPipPipPip
  • 1,250 posts

Posted 07 November 2005 - 09:39 PM

Like I said, we shall see. If I decide to change it, I will do it. Not becuase I don't think you arn't capable, or that I do not trust you, it is just that I will learn more if I do it myself.

#17 Pendra

    Surprise and Terror!

  • Regular Poster
  • PipPipPipPip
  • 787 posts
  • Gender:Male
  • Location:The other side!
  • Country:Hungary

Posted 08 November 2005 - 02:18 AM

Ok I mocked this up in about 3 hours, source included. See if you can kill it.
www.variagame.hu/ASCP.zip
BTW I think Visual Basic sux. I'd rather use Delphi or C++.

Edited by Pendra, 08 November 2005 - 02:26 AM.


#18 visionviper

    I'm not as crazy as you think I think you think I am.

  • Forum Regular
  • PipPipPipPip
  • 1,250 posts

Posted 08 November 2005 - 06:55 AM

So many files..... lol

Eh, it was kind of confusing. It took me awhile to figure out how to use it.

#19 visionviper

    I'm not as crazy as you think I think you think I am.

  • Forum Regular
  • PipPipPipPip
  • 1,250 posts

Posted 14 November 2005 - 10:45 PM

v1.25 released.

Changelog:
v1.25:
-Added the multiplier for the battery calculator
-Improvements to code made

#20 whogben

    Regular Poster

  • Regular Poster
  • PipPipPipPip
  • 271 posts

Posted 03 December 2005 - 09:41 PM

I can't run your calculator cause I don't have a windows computer - so correct me if I'm wrong, but I have a good feature option:

Effective Range:

you enter the ammo type you are using, say, KSC perfect .2g, and the program uses data you will need to collect (im thinking the drag constant) and when given an FPS value gives you a feet-dropped amount for 50 ft, 60ft, 70ft, so on until it has dropped 10 feet. There should be a hopup consideration in this, but since peopel dont know their hopup in units valuable to your program - they test it and enter into the program a distance and an amt of bb drop, so it can detect hopup.
(Sloganizer image removed for non PG-13 content)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Site Meter