Thread: Problem with killstreak system 718+

Results 1 to 7 of 7
  1. #1 Problem with killstreak system 718+ 
    Registered Member
    Join Date
    Jun 2012
    Posts
    49
    Thanks given
    2
    Thanks received
    0
    Rep Power
    9
    i am trying to add this killstreak system
    http://www.rune-server.org/runescape...ml#post3858972

    i know it says for 677+ but i want to know if it can be used on 718

    i have added the codes but i am getting this error

    Code:
    starting...
    src\com\rs\game\player\Player.java:119: error: variable streak is already define
    d in class Player
        public int streak = 0;
                   ^
    src\com\rs\game\player\Player.java:1963: error: cannot find symbol
                                p.getPackets().sendGameMessage(getUsername()+ " is c
    urrently on a" +streak+ " Kill streak!"); // think this is correct way to do it.
    
                                ^
      symbol: variable p
    src\com\rs\game\player\Player.java:1964: error: incompatible types
                                      streak = 0;
                                               ^
      required: String
      found:    int
    3 errors
    Press any key to continue . . .
    add me on skype: skillzatcodz
    Reply With Quote  
     

  2. #2  
    Success is the worst teacher

    Santa Hat's Avatar
    Join Date
    Oct 2012
    Age
    27
    Posts
    3,334
    Thanks given
    807
    Thanks received
    1,185
    Rep Power
    190
    well for a start
    p.getPackets().sendGameMessage(getUsername()+ " is c
    urrently on a" +streak+ " Kill streak!"); // think this is correct way to do it.
    should be :

    player.getPackets().sendGameMessage(getUsername()+ " is c
    urrently on a" +streak+ " Kill streak!"); // think this is correct way to do it.
    and then im guessing you already have "streak" defined


    Reply With Quote  
     

  3. #3  
    Registered Member
    maffia-rpg's Avatar
    Join Date
    Jul 2011
    Posts
    2,775
    Thanks given
    587
    Thanks received
    759
    Rep Power
    120
    Quote Originally Posted by Santa Hat View Post
    well for a start

    should be :



    and then im guessing you already have "streak" defined
    This fail lmao, he IS in player.java already.
    Quote Originally Posted by Nando View Post
    why would I care about trying to get you to care about me homosexual?
    back to coding shit revisions
    1080% lost.
    Reply With Quote  
     

  4. Thankful user:


  5. #4  
    Registered Member Taylor Moon's Avatar
    Join Date
    Aug 2012
    Posts
    2,565
    Thanks given
    625
    Thanks received
    1,303
    Rep Power
    66
    Quote Originally Posted by Santa Hat View Post
    well for a start

    should be :



    and then im guessing you already have "streak" defined


    OT: You need to declare streak as an integer.
    Reply With Quote  
     

  6. #5  
    Registered Member
    Join Date
    Jun 2012
    Posts
    49
    Thanks given
    2
    Thanks received
    0
    Rep Power
    9
    Quote Originally Posted by Taylor Moon View Post


    OT: You need to declare streak as an integer.


    bro can you help me i pmed you
    Reply With Quote  
     

  7. #6  
    Success is the worst teacher

    Santa Hat's Avatar
    Join Date
    Oct 2012
    Age
    27
    Posts
    3,334
    Thanks given
    807
    Thanks received
    1,185
    Rep Power
    190
    Quote Originally Posted by maffia-rpg View Post
    This fail lmao, he IS in player.java already.
    then why does he put p. in i took a half look at it didnt really read thought he might of been using it for a command or some shit


    OT: You need to declare streak as an integer.
    I dont need to declare anything, im not using this shitty tutorial


    Reply With Quote  
     

  8. #7  
    Registered Member
    Join Date
    Jun 2012
    Posts
    49
    Thanks given
    2
    Thanks received
    0
    Rep Power
    9
    Quote Originally Posted by Santa Hat View Post
    then why does he put p. in i took a half look at it didnt really read thought he might of been using it for a command or some shit



    I dont need to declare anything, im not using this shitty tutorial

    bro can you help me i am willing to pay rsgp
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. My Killstreak System + Rewards
    By _Jet in forum Snippets
    Replies: 14
    Last Post: 02-23-2013, 06:25 PM
  2. [PI] killstreak command
    By nubia in forum Help
    Replies: 1
    Last Post: 02-04-2013, 07:58 AM
  3. [PI] KillStreak System HELP [PI]
    By YooYoo in forum Help
    Replies: 3
    Last Post: 01-12-2013, 05:46 PM
  4. Upgraded KillStreak System
    By Wolfs Darker in forum Tutorials
    Replies: 2
    Last Post: 12-27-2012, 10:35 PM
  5. [pi] killStreak help
    By MetalGear in forum Help
    Replies: 0
    Last Post: 09-10-2010, 10:33 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •