XP Calculator App

Discuss anything and everything about PkHonor.
Raj
Developer
Posts: 2618
Joined: Sun Dec 30, 2018 2:50 am

XP Calculator App

Post by Raj » Fri May 14, 2021 12:50 am

Good evening nerds,

In my journey to prove that I'm employable (edit 6 months later: employed btw lfg), I've made an app that is literally pointless to anyone who doesn't play this game. Therefore it'd be silly not to give it to the people who play this game. It calculates the amount of XP, actions, and supplies needed for various XP goals. Said cba to some skills and just added the training methods that are actually used for 2b xp instead of sitting there looking up the xp rates for smithing bronze med helms and stuff. Will add later maybe but not gonna bother probably cause there's like a 99% chance no one will use them and the people reading my source don't really know enough about the game for me to care much. So if you for some reason want something added for your bronze dart tip locked fletching and smithing pure shoot me a pm or something.

JAR

Source

Changelog:
Spoiler: show
11/6/21:
  • Brings combat XP up to date in accordance with the latest server update (viewtopic.php?f=10&t=83607)
  • Adds input boxes for currently owned supplies, and displays remaining amount needed. Select an activity in the table by clicking it to use.
  • Automatically formats EXP inputs after pressing the calculate button
  • Fixes base XP for Superior Dragon Bones
  • Adds the IntelliJ UI Designer library JAR to the Git repo in case any other devs want to poke around. Message me if there's issues

User avatar
Brant
Fanatic
Posts: 4194
Joined: Tue Aug 12, 2014 3:17 am

Re: XP Calculator App

Post by Brant » Fri May 14, 2021 1:22 am

Nerd. 😎

User avatar
Stale fish1
Wise One
Posts: 953
Joined: Sun Apr 14, 2019 2:39 am

Re: XP Calculator App

Post by Stale fish1 » Fri May 14, 2021 5:44 pm

Can confirm, downloaded with only 1 extra porno attached.

Edit: was a previously downloaded porno nvm it's safe

User avatar
Lykos
Premium Donator
Posts: 813
Joined: Tue Jun 12, 2018 11:03 pm

Re: XP Calculator App

Post by Lykos » Fri May 14, 2021 10:03 pm

This is fucking awesome Raj, well done!
Image
THE DISCONTINUED-DRIVEN RUNESCAPE PRIVATE SERVER


Image
Rest In Peace Lieven

User avatar
Respire1337
Premium Donator
Posts: 2543
Joined: Fri Dec 02, 2016 9:56 pm

Re: XP Calculator App

Post by Respire1337 » Sat May 15, 2021 1:05 pm

Stale fish1 wrote: Fri May 14, 2021 5:44 pm Can confirm, downloaded with only 1 extra porno attached.

Edit: was a previously downloaded porno nvm it's safe
I mean...coming from you...is it truly safe? Also, well done Raj <3
Image

User avatar
Stale fish1
Wise One
Posts: 953
Joined: Sun Apr 14, 2019 2:39 am

Re: XP Calculator App

Post by Stale fish1 » Sat May 15, 2021 2:34 pm

Respire1337 wrote: Sat May 15, 2021 1:05 pm
Stale fish1 wrote: Fri May 14, 2021 5:44 pm Can confirm, downloaded with only 1 extra porno attached.

Edit: was a previously downloaded porno nvm it's safe
I mean...coming from you...is it truly safe? Also, well done Raj <3
100% not

User avatar
Sgt salty
Junior Member
Posts: 54
Joined: Sun Apr 25, 2021 7:31 pm

Re: XP Calculator App

Post by Sgt salty » Thu May 27, 2021 6:27 am

Well done!

0 life fe
Premium Donator
Posts: 20
Joined: Thu Jul 23, 2020 3:09 am

Re: XP Calculator App

Post by 0 life fe » Thu May 27, 2021 9:44 pm

Image

But malwarebytes says no?

User avatar
Brant
Fanatic
Posts: 4194
Joined: Tue Aug 12, 2014 3:17 am

Re: XP Calculator App

Post by Brant » Thu May 27, 2021 9:54 pm

0 life fe wrote: Thu May 27, 2021 9:44 pm Image

But malwarebytes says no?
It's because it's a jar type file, they will always get flagged because they can potentially destroy your computer. The only way it won't get flagged for that is if it's signed (I believe)

Raj
Developer
Posts: 2618
Joined: Sun Dec 30, 2018 2:50 am

Re: XP Calculator App

Post by Raj » Fri May 28, 2021 11:46 am

Brant wrote: Thu May 27, 2021 9:54 pm It's because it's a jar type file, they will always get flagged because they can potentially destroy your computer. The only way it won't get flagged for that is if it's signed (I believe)
It's not signed, however neither is the PkHonor JAR client from https://play.pkhonor.net/, which gives me the same notification but with a "Keep" or "Discard" warning (and an equivalent signature verification result - unsigned). My best guess is it's a general flag in Chrome for JARs.

I also updated the link to the JAR with one which is self-signed. It didn't remove the Chrome warning on my end but now that it's there, it's there. @0 life fe, if you need peace of mind, you can check the source and verify I'm not using any file IO or networking (outside of loading the skill icons via Swing's ImageIcon class, and doing the highscores requests, which are done through JSoup, which is widely used and documented). You can even run the application sandboxed since the resources for the icons are self-contained in the JAR.

That's about all your getting out of me on this one. I'm not grappling with Chrome's download security for a project this small.

Edit:
From what I understand having the JAR signed in a way that will make that message go away will cost me ~100 USD, a bit of paperwork with a certificate authority, and potentially a trip to their office with my ID. Nope

Post Reply