• Log in or sign up for an account here: https://www.sythe.org/login

Recent content by WCCobra

  1. W

    Homework Help

    brackets are messed up... the ELSE applies to the second IF, not the first (as it should). Current if (total == MAX) { if (total < sum) { System.out.println("total == MAX and is < sum."); } else { System.out.println("total is not equal...
  2. W

    Java Conventions + Basics

    Great guide. Good job
  3. W

    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...
  4. W

    Problem For School - Finding Average

    using System; namespace Application1 { class Program { static void Main(string[] args) { double i = 0; double sum = 0; for (i = 0; i < 10; i++) { sum = sum + i; }...
  5. W

    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
  6. W

    Sprry! Didn't know where to put this! (I need scripting help!)

    Never used AutoIT nor saw any code for it, but if it is similar to most other languages: While 1=1 Send (&#8220;LEFT&#8221;) Send (&#8220;RIGHT&#8221;) WEnd is an endless loop because 1 will always equal 1. You would need to use a variable and increment it to get out of the loop. $x = 1 While...
  7. W

    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);
Back
Top