|
iHP - HP Washing Calculation Program
|
|
2009-04-18, 04:05 PM
god Wrote:works for warriors, bowmens, and thieves o_O pirates are people too
2009-04-18, 04:07 PM
god Wrote:works for warriors, bowmens, and thieves o_O Yeah, Pirates is what I meant.
2009-04-18, 05:57 PM
If you have the formula, post it here and i can put it in, or you can just implement it yourself, if you know vb
Fuck your rapidshit. lolVB. Reading Source. afk.
Code: If cmbClass.Text = "Thief(2nd)" ThenThese are the same thing, you don't have to put them into two separate conditions. same with Code: ElseIf cmbClass.Text = "Fighter" ThenI'm pretty sure, but not 100%, that the syntax would be Code: If cmbClass.Text = "Thief(2nd)" OR cmbClass.Text = "Thief(3rd/4th)" ThenI haven't touched VB in four years.
2009-04-19, 04:13 AM
i haven't either...i just downloaded it again last night to write this program because i was too lazy to keep calculating how much mp i needed to wash lol
oh and, ive done all that because im more used to java...usually i just use else ifs and i kept forgetting vb doesnt need semi colons lol
2009-04-19, 04:23 AM
Java uses double pikes (||) to denote OR operators in conditional statements. Personally, I would go the route of Select Case for that particular function type, with a variable change, and a single formula elsewhere, since the formula gets executed regardless of job, and there are only x and y differences for each class.
Can't recall the syntax for a Select Case in VB, so a switch statement in java: Code: int x;
2009-04-19, 04:28 AM
lol, well, i also wanted a simple gui instead of it being through a terminal (or command in windows case) without having to mess with swing. i get lazy when it comes to coding.
1 hour in vb > 3 hours in java
2009-04-24, 03:22 AM
I believe the formula for both pirates is the same:
level x 18 + 111 (minimum mp to wash 1 point) Works for Corsairs at any rate.
2009-04-24, 03:41 AM
JoeTang Wrote:Java uses double pikes (||) to denote OR operators in conditional statements. Personally, I would go the route of Select Case for that particular function type, with a variable change, and a single formula elsewhere, since the formula gets executed regardless of job, and there are only x and y differences for each class. If you don't break it will not do what you expect ![]() ed: Yeah, Swing would be the reason I never updated my damage calculator for 4th job skills. I'd need about 30 checkbox/radio buttons with associated skill name + levels. :/ |
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)


