Adblock breaks this site

My First Runescape Program

Discussion in 'Programming General' started by Pkpkpk, Oct 11, 2009.

  1. Pkpkpk

    Pkpkpk Guru
    $25 USD Donor New

    Joined:
    Apr 30, 2007
    Posts:
    1,155
    Referrals:
    1
    Sythe Gold:
    33
    My First Runescape Program

  2. deathbal sam

    deathbal sam Apprentice
    Banned

    Joined:
    Sep 25, 2008
    Posts:
    754
    Referrals:
    0
    Sythe Gold:
    0
    My First Runescape Program

    Why not tell us what language it is in and maybe share the code so we can help make things easier for you or give you tips.
     
  3. Jimmy

    Jimmy Ghost
    Retired Sectional Moderator $5 USD Donor

    Joined:
    Jun 24, 2008
    Posts:
    2,421
    Referrals:
    10
    Sythe Gold:
    25
    My First Runescape Program

    Yes... it is quite a mystery, especially when it's all in a folder named "Java" and the source is included ^_^

    P.S. Well documented for such a small applet
     
  4. Pkpkpk

    Pkpkpk Guru
    $25 USD Donor New

    Joined:
    Apr 30, 2007
    Posts:
    1,155
    Referrals:
    1
    Sythe Gold:
    33
    My First Runescape Program

    Your a genius. Thanks! ;)

    Any suggestions for another project around this level?
     
  5. deathbal sam

    deathbal sam Apprentice
    Banned

    Joined:
    Sep 25, 2008
    Posts:
    754
    Referrals:
    0
    Sythe Gold:
    0
    My First Runescape Program

    When you download it you see"ExpCalc.rar" i don't just download things carelessly (is that a word) like you Jimmy
     
  6. Whiteblackemoazn

    Whiteblackemoazn Member

    Joined:
    Oct 10, 2009
    Posts:
    29
    Referrals:
    0
    Sythe Gold:
    0
    My First Runescape Program

    very very smart
     
  7. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    My First Runescape Program

    How about some small calculators? I'd suggest maybe a max hit calculator, a combat calculator, skill calculators, etc. Those are all easy and might teach you a thing or two about the language's mechanics :D
     
  8. Pkpkpk

    Pkpkpk Guru
    $25 USD Donor New

    Joined:
    Apr 30, 2007
    Posts:
    1,155
    Referrals:
    1
    Sythe Gold:
    33
    My First Runescape Program

    ExpCalc = Experience Calculator ;)

    Thanks :nuts:

    The only problem is I don't know that exactly goes into the calculations for combat levels. What is each skill worth?:embar:
    I think I might try a skill calculator though, like for smithing. :)
     
  9. Jimmy

    Jimmy Ghost
    Retired Sectional Moderator $5 USD Donor

    Joined:
    Jun 24, 2008
    Posts:
    2,421
    Referrals:
    10
    Sythe Gold:
    25
    My First Runescape Program

    There is no danger in downloading a zipped file, and looking through the contents (and just fyi, I checked the source before running it as an applet, and I compiled the source myself).

    And yes, a skill calculator would be nice.
     
  10. Swan

    Swan When They Cry...
    Retired Global Moderator

    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner
    My First Runescape Program

    Are you trolling or just dumb? A virus won't execute unless you execute it, unless there is an exploit utilized by the website you download from, which is quite uncommon now that people are using more secure browser technology.
     
  11. Pkpkpk

    Pkpkpk Guru
    $25 USD Donor New

    Joined:
    Apr 30, 2007
    Posts:
    1,155
    Referrals:
    1
    Sythe Gold:
    33
    My First Runescape Program

    Lol :)
     
  12. WCCobra

    WCCobra Newcomer

    Joined:
    Oct 7, 2009
    Posts:
    7
    Referrals:
    0
    Sythe Gold:
    0
    My First Runescape Program


    Highest of the three:

    Melee = (1/4)*((13/10)*($attack+$strength)+$defense+$hp+(1/2)*$prayer+(1/2)*$summoning)

    Range = (1/4)*((13/10)*(3/2)*($range)+$defense+$hp+(1/2)*$prayer+(1/2)*$summoning);

    Magic = (1/4)*((13/10)*(3/2)*($magic)+$defense+$hp+(1/2)*$prayer+(1/2)*$summoning);
     
  13. Pkpkpk

    Pkpkpk Guru
    $25 USD Donor New

    Joined:
    Apr 30, 2007
    Posts:
    1,155
    Referrals:
    1
    Sythe Gold:
    33
    My First Runescape Program

    hmm complicated ^^
     
  14. WCCobra

    WCCobra Newcomer

    Joined:
    Oct 7, 2009
    Posts:
    7
    Referrals:
    0
    Sythe Gold:
    0
    My First Runescape Program

    It's not that bad actually... once you get past all the ( )'s

    you could just copy and paste it and modify the variables
     
  15. Pkpkpk

    Pkpkpk Guru
    $25 USD Donor New

    Joined:
    Apr 30, 2007
    Posts:
    1,155
    Referrals:
    1
    Sythe Gold:
    33
    My First Runescape Program

    Idk how summoning factors into it? and is the prayer like the bonus? (.15) or w/e?
     
  16. WCCobra

    WCCobra Newcomer

    Joined:
    Oct 7, 2009
    Posts:
    7
    Referrals:
    0
    Sythe Gold:
    0
    My First Runescape Program

    Summoning is .5
    Prayer is .5
    HP is 1
    Defense is 1
    (Strength + Attack) is 13/10ths
    and all of them are added up and multiplied by .25

    ***For mages and rangers, (Strength + Attack) is replaced by either Magic or Range. Magic or Range is then worth 3/2nds of 13/10ths

    You grab their stats from hiscores and calculate each of the three possible combat levels. Which ever is the highest is the persons actual combat level.

    For Example:

    Attack = 60
    Strength = 50
    Defense = 55
    HP = 58
    Range = 70
    Magic = 72
    Prayer = 30
    Summoning = 20

    (Melee) 70.25 = .25*( (1.3*110) + 55 + 58 + (.5*30) + (.5*20) )
    (Range) 68.625 = .25*( (1.3*1.5*70) + 55 + 58 + (.5*30) + (.5*20) )
    (Magic) 69.6 = .25*( (1.3*1.5*72) + 55 + 58 + (.5*30) + (.5*20) )

    Combat Level = 70.25
     
  17. Yochi

    Yochi Member

    Joined:
    Oct 16, 2009
    Posts:
    46
    Referrals:
    0
    Sythe Gold:
    0
    My First Runescape Program

    It's good mate, for your first rs program!
     
  18. Pkpkpk

    Pkpkpk Guru
    $25 USD Donor New

    Joined:
    Apr 30, 2007
    Posts:
    1,155
    Referrals:
    1
    Sythe Gold:
    33
    My First Runescape Program

    Oh I see
    Thanks!
     
< Runescape Applet | which book is better? >


 
 
Adblock breaks this site