Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • calemx: death's-server has officially been released, come check us out  - [link]
      September 13, 2019, 04:14:21 AM
    • PavSwag: try autoscape,0rg today i will personally help you get RICH and well KNOWN - pav
      September 12, 2019, 12:26:40 PM
    • cbrophy: would my account from 2013 work?
      September 12, 2019, 05:04:43 AM
    • ragnoroker: RuneGuild has officially been released, come check us out - [link]
      September 11, 2019, 11:26:35 AM
    • ragnoroker: RuneGuild has officially been released, come check us out - [link]
      September 11, 2019, 11:26:31 AM
    • ragnoroker: RuneGuild is due to be released tomorrow! First few players will recieve some goodies. Sign up on our website [link] Join our discord for updates [link]
      September 07, 2019, 07:43:28 PM
    • ragnoroker: RuneGuild is due to be released tomorrow! First few players will recieve some goodies. Sign up on our website [link] Join our discord for updates [link]
      September 07, 2019, 07:42:59 PM
    • ChrisMeadows: Yo, what's the forum's discord?
      September 04, 2019, 08:33:06 PM
    • newerarsps: i cannot register to rsps list anyone can help?
      September 01, 2019, 11:24:00 PM
    • PavSwag: Date Registered: July 03, 2012, 03:54:45 PM Think im just as good vet as u man, + I have over 80B in rs3 think im good on anyones 100k ass lookin bank b oi
      August 27, 2019, 10:48:09 AM
    • PavSwag: autoscape is the most legit server i have  ever played. infernal dragons and twisted bows
      August 27, 2019, 10:41:20 AM
    • PavSwag: Join autoscape,0rg fun events daily for infernal mystery boxes only server with Infernal Twisted Bow
      August 26, 2019, 12:09:40 AM
    • Sblasko9: Date Registered: May 04, 2007
      August 25, 2019, 12:24:35 PM
    • ganch: but you're not falsely accusing us of having a rat in our cache
      August 24, 2019, 01:21:05 AM
    • bumfluff120: my acc was made in 2006, btw
      August 24, 2019, 01:06:55 AM
    • ganch: also @hodford, your account was made in 2013 btw. I am an owner of autoscape, I'd like to see your virustotal scan of our cache
      August 23, 2019, 10:18:15 PM
    • ganch: @hodford if autoscape cache has a keylogger in the cache, then how come you posted an ad for them?
      August 23, 2019, 10:12:05 PM
    • ragnoroker: New Server! - Join today, double exp this weekend :) - [link]
      August 22, 2019, 11:44:10 AM
    • ragnoroker: New Server! - Join today, double exp this weekend :) - [link]
      August 22, 2019, 11:44:02 AM
    • gogata: holy crap time to make a rsps again 10 years later since i made this acc LOL
      August 21, 2019, 03:23:51 PM

    Show Posts

    This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


    Topics - kronikz

    Pages: [1]
    1
    Java Programming / HW3
    « on: March 29, 2017, 02:36:07 PM »
    the assignment:

    my issue:
    1. How to I find each persons order total at the end of each loop?
    2. How do I find the total of all orders, and how do I add the sales tax to each person order?

    what I have:
    Code: Java
    1. importjava.util.Scanner;
    2.  
    3. publicclass HW1 {
    4.        
    5.         privatestaticint party =0;
    6.         privatestaticdouble[][] prices ={{5.00, 6.50, 9.50, 10.50, 6.00, 8.00}, {5.00, 7.50, 5.00}, {12.00, 14.00, 11.00, 18.00}};
    7.        
    8.         publicstaticvoid main(String[] args)
    9.         {
    10.                
    11.                 Scanner s =new Scanner(System.in);
    12.                 System.out.println("How many people are in your party?");
    13.                 party = s.nextInt();
    14.                
    15.                 double[] total =newdouble[party];
    16.                
    17.                 /* prints appetizer menu */1
    18.                 System.out.println("Type corresponding number to select item:\n"
    19.                                 +"1. Cream Of Tomato: $5.00\n"
    20.                                 +"2. Chicken Tortilla: $6.50\n"
    21.                                 +"3. Seafood Bisque: $9.50\n"
    22.                                 +"4. Ahi Tuna: $10.50\n"
    23.                                 +"5. House salad: $6.00\n"
    24.                                 +"6. Ceaser: $8.00");
    25.                
    26.                 for(int i =1; i <= total.length; i++)
    27.                 {
    28.                        
    29.                         System.out.println("What would person "+ i +" like to order for appetizers? (enter 0 for none)");
    30.                         int choice = s.nextInt();
    31.                        
    32.                         switch(choice)
    33.                         {
    34.                                 case1:
    35.                                         total[i]+= prices[0][1];
    36.                                         break;
    37.                                 case2:
    38.                                         total[i]+= prices[0][2];
    39.                                         break;
    40.                                 case3:
    41.                                         total[i]+= prices[0][3];
    42.                                         break;
    43.                                 case4:
    44.                                         total[i]+= prices[0][4];
    45.                                         break;
    46.                                 case5:
    47.                                         total[i]+= prices[0][5];
    48.                                         break;
    49.                                 case6:
    50.                                         total[i]+= prices[0][6];
    51.                                         break; 
    52.                                 default:
    53.                                         total[i]+=0;
    54.                                         break;
    55.                         }
    56.                         System.out.println("so far the check comes too: "+total);
    57.                        
    58.                 }//end appetizer for loop
    59.                
    60.                 for(int i =1; i <= party; i++)
    61.                         {
    62.                                
    63.                                 System.out.println("What would person "+ i +" like to order for finger foods? (enter 0 for none)");
    64.                                 int choice = s.nextInt();
    65.                                
    66.                                 switch(choice)
    67.                                 {
    68.                                         case1:
    69.                                                 total[i]+= prices[1][1];
    70.                                                 break;
    71.                                         case2:
    72.                                                 total[i]+= prices[1][2];
    73.                                                 break;
    74.                                         case3:
    75.                                                 total[i]+= prices[1][3];
    76.                                                 break;
    77.                                         default:
    78.                                                 total[i]+=0;
    79.                                 }
    80.                         }
    81.                
    82.                 for(int i =1; i <= party; i++)
    83.                 {
    84.                        
    85.                         System.out.println("What would person "+ i +" like to order for entrees? (enter 0 for none)");
    86.                         int choice = s.nextInt();
    87.                        
    88.                         switch(choice)
    89.                         {
    90.                                 case1:
    91.                                         total[i]+= prices[2][1];
    92.                                         break;
    93.                                 case2:
    94.                                         total[i]+= prices[2][2];
    95.                                         break;
    96.                                 case3:
    97.                                         total[i]+= prices[2][3];
    98.                                         break;
    99.                                 case4:
    100.                                         total[i]+= prices[2][4];
    101.                                         break;
    102.                                 default:
    103.                                         total[i]+=0;
    104.                         }
    105.                 }
    106.                
    107.                        
    108.                        
    109.                        
    110.         }
    111. }
    112. ]

    2
    Java Programming / Dice game.
    « on: December 06, 2015, 12:49:20 PM »
    Hello, for my computer science class in my senior of high school, I need to make a dice game that rolls 2 sets five dice. It needs to compare the 2 sets and if theres two of a kind, three of a kind, etc. Whatever set has the highest of a kind wins.

    I have no idea how to handle this. PLS HELP.

    What I tried:

    array to hold 6 values. then a for loop and if (roll == 1) count[1]++

    didnt work

    3
    Java Programming / how to practice?
    « on: November 27, 2015, 06:03:41 PM »
    I've been reading books and books on java and  they give no excerises for me to practice what I've learned. Was just wondering how I can get better at java without a teacher. What to practice and how?

    4

      [Website]
      [Download][/URL]

      Resolus is focused on giving each and every player a great experience when playing. Resolus strives for a strong community to have fun and partake in fun adventures to reach the top! There a many things to do in Resolus and more and more is coming each and every day! There will always be something new to do and Resolus plans to keep it that way. The server already includes great content to experience, such as:

      • Bossing: Plenty of bosses to battle off with! Including Avatar of Destruction! Try getting your hands on one of the monsters rares!
      • Training: Tons of monsters to train off and gain wealth while getting XP!
      • Minigames: Sick of training? Try out all 6 minigames including - Barrows, Fight Caves, Fight Pits, Duel Arena, Pest Control, and even Castle Wars!
      • PKing: Tons of locations to battle people off and find out who's the best player killer! Not interested in losing your items? Then check out FunPK!
      • Economy: Our economy is great because items won't just be handed out or dropped instantly by bosses. We don't want every player to be done with the game within a week, so there are many challenges along the way of mastering Resolus! The XP is fast, but not too fast. The drop rates are fair and we hope the player will always have something to do.

      Resolus is very open to criticism and suggestions! If you have any please post on our website! [/FONT]
      (click to show/hide)

      (click to show/hide)

      5
      Client Help / jarring
      « on: April 18, 2015, 02:19:19 PM »
      Can someone add my skype: horizon.designs

      and help me jar my client lmfao..

      6
      Client Help / cacheupdater
      « on: April 16, 2015, 07:24:42 PM »
      Public static final String VERSION_URL = "site.sdf/cacheversion.txt"; wtf am i supposed to put in cachversion.txt on my site

      7
      Snippets / Godsword specials [asteria]
      « on: April 14, 2015, 04:50:38 PM »
      These are really inaccurate but if you want your godswords to work on asteria here is a start..

      combatspecial.java
      Code: Java
      1.     ARMADYL_GODSWORD(newint[]{11694}, 50, 1.375, 1, CombatType.MELEE, WeaponInterface.TWO_HANDED_SWORD){
      2.         @Override
      3.         public CombatContainer container(Player player, Entity target){
      4.                 player.animation(new Animation(7074));
      5.             player.highGraphic(new Graphic(1222));
      6.  
      7.             returnnew CombatContainer(player, target, 1, CombatType.MELEE,
      8.                 true);
      9.         }
      10.     },
      11.     BANDOS_GODSWORD(newint[]{11696}, 100, 1.21, 1, CombatType.MELEE, WeaponInterface.TWO_HANDED_SWORD){
      12.         @Override
      13.         public CombatContainer container(Player player, Entity target){
      14.                 player.animation(new Animation(7073));
      15.             player.highGraphic(new Graphic(1223));
      16.  
      17.             returnnew CombatContainer(player, target, 1, CombatType.MELEE,
      18.                 true);
      19.         }
      20.     },
      21.     SARADOMIN_GODSWORD(newint[]{11698}, 50, 1.1, 1, CombatType.MELEE, WeaponInterface.TWO_HANDED_SWORD){
      22.         @Override
      23.         public CombatContainer container(Player player, Entity target){
      24.                 player.animation(new Animation(7071));
      25.             player.highGraphic(new Graphic(1220));
      26.  
      27.             returnnew CombatContainer(player, target, 1, CombatType.MELEE,
      28.                 true);
      29.         }
      30.     },
      31.     ZAMORAK_GODSWORD(newint[]{11700}, 60, 1.1, 1, CombatType.MELEE, WeaponInterface.TWO_HANDED_SWORD){
      32.         @Override
      33.         public CombatContainer container(Player player, Entity target){
      34.                 player.animation(new Animation(7070));
      35.             player.highGraphic(new Graphic(1221));
      36.  
      37.             returnnew CombatContainer(player, target, 1, CombatType.MELEE,
      38.                 true);
      39.         }
      40.     },

      weapon_interfaces + weapon_animations.json
      Code: [Select]
          {
          "hash": 11694,
          "item-id": 11694,
          "animation": {
            "standingAnimation": 7047,
            "walkingAnimation": 7046,
            "runningAnimation": 7039
          }
        },
          {
          "hash": 11696,
          "item-id": 11696,
          "animation": {
            "standingAnimation": 7047,
            "walkingAnimation": 7046,
            "runningAnimation": 7039
          }
        },
          {
          "hash": 11698,
          "item-id": 11698,
          "animation": {
            "standingAnimation": 7047,
            "walkingAnimation": 7046,
            "runningAnimation": 7039
          }
        },
          {
          "hash": 11700,
          "item-id": 11700,
          "animation": {
            "standingAnimation": 7047,
            "walkingAnimation": 7046,
            "runningAnimation": 7039
          }
        }

      Code: [Select]
        {
          "hash": 11694,
          "item-id": 11694,
          "interface": "TWO_HANDED_SWORD"
        },
        {
          "hash": 11696,
          "item-id": 11696,
          "interface": "TWO_HANDED_SWORD"
        },
        {
          "hash": 11698,
          "item-id": 11698,
          "interface": "TWO_HANDED_SWORD"
        },
        {
          "hash": 11700,
          "item-id": 11700,
          "interface": "TWO_HANDED_SWORD"
        }

      8
      Music / Slam
      « on: April 12, 2015, 09:52:59 PM »
      anyone into this awesome music!



      so freaking good!

      9
      Music / oink oink little piggy
      « on: January 03, 2015, 01:04:53 PM »

      10
      Off-Topic (Spam) / Post your address
      « on: September 02, 2014, 05:23:42 PM »
      hey everyone just thought we should all share eachothers adresses!

      -please no doxing on thread-


      Version 2 coming soon! Post your IP!

      11
      Off-Topic (Spam) / staff r stupid
      « on: August 31, 2014, 04:54:55 PM »
      I made a fudgeing post here offering a donation to the user who completed my request not any money

      I blame tom for being admin and stupid
      #StopTom2019042

      12
      Off-Topic (Spam) / fudge ur nan
      « on: August 03, 2014, 02:26:35 AM »

      13
      Downloads / OptimusScape 667 loading 711 [LOck this]
      « on: April 17, 2012, 05:25:36 PM »

      Well, ive decided to release since i will be moving back to 317's and a 508 im working on with my buddy RuneWings317, i havent had anytime to host any servers and this was the plan with this server, so for now im just doing projects and coding them. Well yeah, all the information +updates can be found here.

      well heres a list i guess to what the server has

      Its a 667 loading 711.

      all the skills are working, trading is fixed as well.
      I added some cool talking npcs to bring you around to cool places.
      i deleted crappy Mr Ex and replaced it with using the teletab instead as i find that a more efficient way of teleport.
      There a shit load of others, so yeah check it out.
      Download - removed due to fag leechers
      client - leechers


      some media -







      and before you say "oh you leeched shabba's source and client" well i basically deleted most of shabba's stuff so i dont really care what you call me, this source isnt finished just didnt feel like hosting :P

      some features -
      added pk point shop
      added Pk drop system
      fixed trade
      Portals
      donating sytem
      new skilling area
      started soul wars
      uhh fixed some stats for items
      voting rewards

      uhm idk if this is the new source, i just picked the one in my public dropbox so yeh...\

      creds
      Kronixz (me)
      Cj
      Ash
      Shabba 56 (most creds to him)
      do not release on any other sites please. or i will slam ur muff.

      goals:
      250 views[YES]
      500 views [YES]
      750[YES]
      1000 [YES]
      1250 [YES]

      1500 [YES]
      2000 [YES]
      2500[YES]
      3000[YES]
      3250[YES]
      3500[YES]
      4000[YES]
      4500[YES]
      5000[YES]

      Pages: [1]
      Copyright © 2017 MoparScape. All rights reserved.
      Powered by SMFPacks SEO Pro Mod |
      SimplePortal 2.3.5 © 2008-2012, SimplePortal