December 13, 2024, 12:17:41 am
Username:

Password:

Topic: FOnline Reloaded Character Planner  (Read 94782 times)

mojuk

  • Posts: 332
    • View Profile
FOnline Reloaded Character Planner
« on: August 09, 2013, 09:59:52 am »
FOnline Reloaded Character Planner

Simple version of character planner made for FOnline Reloaded.
I will make reupload and post changelog in first post every time something is fixed/reworked.

If you spot any bugs or mistakes in calculations please let me know in this topic or by pm, thanks!

Changelog:
old:
Spoiler: show
- fixed refreshing PP value on speech skill change (reported by kaincallavis),
- added info about experience needed to reach current level
- Changed Bonus HtH Damage to More HtH Criticals and HtH Criticals to Better HtH Criticals perks,
- Merged Unarmed and Melee Weapons skill into one: Close Combat,
- Odd values of Endurance give additional +1 HP each 2 levels, starting from 2nd level (additional +12 HP),
- Last character perk from levelling should be chosen until level 30, or it will be lost,
- You can no longer make chars with 0 INT by abusing bonehead trait
- Removed "Best of Bad Lot" support perk,
- Removed Fast Reload perk,
- Increased level requirement of Quick Pockets to 6.
- x5 button bugfix
- option to reset current character
- option to save screen of current character
- fixed Throwing taging after character reset (reported by Martyr)
- fixed AC calculations (reported by OdijSuppi)


New:
- Lifegiver perks changed to +40/+30/+20 from +20/+30/+40
- Boneyard quest reward changed from +15% sg to +10% sg or +10% bg or +10% ew or +10% throwing or +10% close combat
- added First Aid and Small Guns books (they give skill points like other books)


FOnline Reloaded Character Planner
« Last Edit: April 30, 2015, 08:15:29 pm by mojuk »
:facepalm

Koniko

  • Supporter
  • Posts: 495
    • View Profile
Re: FOnline Reloaded Character Planner
« Reply #1 on: August 22, 2013, 04:53:05 pm »
Nice tool.

Kelin

  • Posts: 193
    • View Profile
Re: FOnline Reloaded Character Planner
« Reply #2 on: August 22, 2013, 09:25:34 pm »
I'm playing around with it right now, an extremely helpful tool indeed.  ;)

DocAN

  • Administrator
  • Posts: 795
  • Testing FO: Reloaded
    • View Profile
Re: FOnline Reloaded Character Planner
« Reply #3 on: August 22, 2013, 10:05:35 pm »
Some of our guys cant stop to play with it :D Exelent work Mojuk !
« Last Edit: August 22, 2013, 10:08:37 pm by DocAN »

kaincallavis

  • Supporter
  • Posts: 38
    • View Profile
Re: FOnline Reloaded Character Planner
« Reply #4 on: August 23, 2013, 02:24:20 am »
Great tool.
I've already made a bunch of character templates :D
Can't decide which ones to use X_X!

One bug I noticed is that it has a hard time updating the "party points" unless you get a new perk or implant - then it updates to the correct amount.
Thanks for the tool!
-Kain

mojuk

  • Posts: 332
    • View Profile
Re: FOnline Reloaded Character Planner
« Reply #5 on: August 23, 2013, 08:54:29 am »
One bug I noticed is that it has a hard time updating the "party points" unless you get a new perk or implant - then it updates to the correct amount.

Fixed. There was a problem with refreshing PP value on speech skill change.
Thanks for reporting.
:facepalm

Strike

  • Guest
Re: FOnline Reloaded Character Planner
« Reply #6 on: August 23, 2013, 08:39:19 pm »
I love it :)

DocAN

  • Administrator
  • Posts: 795
  • Testing FO: Reloaded
    • View Profile
Re: FOnline Reloaded Character Planner
« Reply #7 on: August 25, 2013, 09:33:00 am »
Mojuk, some players are asking if You could add expirence bar to the FRCP.

mojuk

  • Posts: 332
    • View Profile
Re: FOnline Reloaded Character Planner
« Reply #8 on: August 25, 2013, 01:36:19 pm »
Mojuk, some players are asking if You could add expirence bar to the FRCP.

Done. New version available to download in first post.
:facepalm

apocalypseman

  • Posts: 20
    • View Profile
Re: FOnline Reloaded Character Planner
« Reply #9 on: August 26, 2013, 12:15:49 am »
For some reason the character planner does not work. It shows up as a blank JAR file.
Adapt to the harshness or become one with the dust.

DocAN

  • Administrator
  • Posts: 795
  • Testing FO: Reloaded
    • View Profile
Re: FOnline Reloaded Character Planner
« Reply #10 on: August 26, 2013, 12:37:27 am »
It works fine for me. Check Your version of JAVA.

Strike

  • Guest
Re: FOnline Reloaded Character Planner
« Reply #11 on: August 26, 2013, 10:32:45 am »
For some reason the character planner does not work. It shows up as a blank JAR file.
I got same problem, I have latest Java version (Version 7 Update 25)
But I can't get it working since that last update.

Kelin

  • Posts: 193
    • View Profile
Re: FOnline Reloaded Character Planner
« Reply #12 on: August 26, 2013, 10:49:48 am »
I got same problem, I have latest Java version (Version 7 Update 25)
But I can't get it working since that last update.
For me it works, Java Version 7 Update 11 installed.

By the way I have a small suggestion regarding UI ergonomics. Assigning skillpoints is somewhat cumbersome, you have to keep clicking in order to raise your skill. Even using a keyboard doesn’t help that much, you still have to press a key instead of a mouse button repeatedly. It should work like in Opera’s char planner, when you hold your mouse button it automatically increases your skill points until all points are spent. It would be much more comfortable than clicking several hundreds of times when you are planning your character.

The good news is, it shouldn’t be that hard to implement. You can use for example the javax.swing.Timer class to repeatedly perform the action (basically to call some method that increases skill points).
Code: [Select]
private Timer timer;
...
timer = new Timer(90, new ActionListener()
        {
           public void actionPerformed(ActionEvent e)
           {
           // increase skill points
           }
        });
        timer.setInitialDelay(500);
Then you just register a change listener to detect when the button is released
Code: [Select]
ButtonModel model = button.getModel();
model.addChangeListener(new ChangeListener() {
           public void stateChanged(ChangeEvent ev) {
            if (ev.getSource() instanceof ButtonModel) {
                    ButtonModel model = (ButtonModel) ev.getSource();
                     if (model.isPressed()) {
                    timer.start();
                     else {
          timer.stop();

          }
                }
              }
            });
and finally you have probably something like this already coded
Code: [Select]
button.addActionListener(this);
...
   public void actionPerformed(ActionEvent e)
    {
        if(e.getActionCommand().equals("+"))
        {
               // increase skill points
        }
        if(e.getActionCommand().equals("-"))
        {
               // decrease skill points
        }       
    }
You can just leave it without any modification I think (to let users click click click if they want to :-) ). This is of course, the way I would do it, implementation doesn’t matter what matters is a happy program user ;).

Someone may consider this as nitpicking, but I see it as a serious usability issue worth fixing.

PS: I’ve just noticed there is a +5 button that has been very inconspicuous till now. After a while of testing it seems it really sped up the whole process of point splitting, nonetheless, my bet would be maybe half of users might not even notice this button (like I did) and also there is no -5, which makes this solution hard to spot when you glance at the skills panel.

PS: PS: So my advice is to add -5 button, that will cost you less time and less effort, OR... probably a better solution, get rid of +5 button and go for the same functionality as FCP had. If you feel playful you could even include both solutions, that would be great  8)  (so it would look like -5  -  +  +5 in the planner, or make a small checkbox that will display those +-5 buttons on request, just brainstorming)
« Last Edit: August 26, 2013, 02:40:23 pm by Kelin »

mojuk

  • Posts: 332
    • View Profile
Re: FOnline Reloaded Character Planner
« Reply #13 on: August 26, 2013, 01:47:51 pm »
For some reason the character planner does not work. It shows up as a blank JAR file.
I got same problem, I have latest Java version (Version 7 Update 25)
But I can't get it working since that last update.

I updated my Java to latest version as you guys and had same problem. It seams that is was only an issue with bad java executables association to .jar files after update. You can try to fix it manualy or download and use this small program:
http://johann.loefflmann.net/en/software/jarfix/index.html#Download
I used it and now everything is working fine.

Let me know if this solved the problem.

@Kelin
Thanks for constructive notes. Don't look at code, it's not well made in many ways :P Initial idea behind this app was different than what it turned out to be.
I made this +5 button as a quick fix for "clicking problem" until I have more free time to fix it how it should be done (aka "Kelin's idea" :P).
:facepalm

Kelin

  • Posts: 193
    • View Profile
Re: FOnline Reloaded Character Planner
« Reply #14 on: August 26, 2013, 02:32:48 pm »
@mojuk: I know the feeling, it starts with a small idea, then you add few more features and end up extending your code on daily basis because there is still lots to be improved. I’m glad you already thought about it and please don’t call me captain obvious  :D  because believe it or not, some people wouldn’t even think about it as something that needs to be adjusted. Anyway, now I’m much more serene when I know that the fix is coming “soon”  :P