Thread: RuneScript

Page 11 of 24 FirstFirst ... 91011121321 ... LastLast
Results 101 to 110 of 231
  1. #101  
    Community Veteran

    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,528
    Thanks given
    573
    Thanks received
    1,410
    Rep Power
    2114
    Quote Originally Posted by Leanbow View Post
    Ash confirmed combat level isn't random number, it's calculated from npc stats. Not sure if this was known yet.



    Lvl 2 men in lumbridge have all 1 combat stats and 7 hp. That makes them lvl 2 by using player combat level formula
    if bonuses are assumed 0. - Do these stats feel realistic to u? (atleast it will result in correct cb lvl, and max hit with the formulas im using)
    Code:
    	  //lesser demon
    	  /*int atkLvl = 70;
    	  int strLvl = 70;
    	  int defLvl = 70;
    	  int rangeLvl = 1;
    	  int mageLvl = 1;
    	  int hpLvl = 79;
    	  int prayLvl = 1;*/
    	  
    	  //black dragon
    	  int atkLvl = 200;
    	  int strLvl = 200;
    	  int defLvl = 200;
    	  int rangeLvl = 1;
    	  int mageLvl = 1;
    	  int hpLvl = 190;
    	  int prayLvl = 1;
    Number of page #1 releases with most views & posts: (Updated: 2023)
    RS2 server section: 1
    RS2 client section: 2
    Reply With Quote  
     

  2. #102  
    Номер 1


    Leanbow's Avatar
    Join Date
    Feb 2008
    Posts
    5,895
    Thanks given
    1,564
    Thanks received
    2,624
    Rep Power
    5000
    Quote Originally Posted by mige5 View Post
    if bonuses are assumed 0. - Do these stats feel realistic to u? (atleast it will result in correct cb lvl, and max hit with the formulas im using)
    Code:
    	  //lesser demon
    	  /*int atkLvl = 70;
    	  int strLvl = 70;
    	  int defLvl = 70;
    	  int rangeLvl = 1;
    	  int mageLvl = 1;
    	  int hpLvl = 79;
    	  int prayLvl = 1;*/
    	  
    	  //black dragon
    	  int atkLvl = 200;
    	  int strLvl = 200;
    	  int defLvl = 200;
    	  int rangeLvl = 1;
    	  int mageLvl = 1;
    	  int hpLvl = 190;
    	  int prayLvl = 1;
    Bonuses aren't included in combat level, from what I've seen npcs have almost same bonuses as player, all defensives and offensives
    Reply With Quote  
     

  3. #103  
    Community Veteran

    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,528
    Thanks given
    573
    Thanks received
    1,410
    Rep Power
    2114
    Quote Originally Posted by Leanbow View Post
    Bonuses aren't included in combat level, from what I've seen npcs have almost same bonuses as player, all defensives and offensives
    yeah, but bonuses affect max hit - and I just checked how high str lvl is needed to hit the max hit with 0 bonuses, after that I just filled the atk and def lvls until the npcs combat lvl was reached.
    Number of page #1 releases with most views & posts: (Updated: 2023)
    RS2 server section: 1
    RS2 client section: 2
    Reply With Quote  
     

  4. #104  
    Renown Programmer & Respected Member

    Ryley's Avatar
    Join Date
    Aug 2011
    Posts
    596
    Thanks given
    254
    Thanks received
    521
    Rep Power
    1332
    Quote Originally Posted by mige5 View Post
    if bonuses are assumed 0. - Do these stats feel realistic to u? (atleast it will result in correct cb lvl, and max hit with the formulas im using)
    Code:
    	  //lesser demon
    	  /*int atkLvl = 70;
    	  int strLvl = 70;
    	  int defLvl = 70;
    	  int rangeLvl = 1;
    	  int mageLvl = 1;
    	  int hpLvl = 79;
    	  int prayLvl = 1;*/
    	  
    	  //black dragon
    	  int atkLvl = 200;
    	  int strLvl = 200;
    	  int defLvl = 200;
    	  int rangeLvl = 1;
    	  int mageLvl = 1;
    	  int hpLvl = 190;
    	  int prayLvl = 1;
    Yes.
    Reply With Quote  
     

  5. #105  
    RuneScript



    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    16,307
    Thanks given
    7,215
    Thanks received
    12,308
    Rep Power
    5000
    Quote Originally Posted by mige5 View Post
    if bonuses are assumed 0. - Do these stats feel realistic to u? (atleast it will result in correct cb lvl, and max hit with the formulas im using)
    Code:
    	  //lesser demon
    	  /*int atkLvl = 70;
    	  int strLvl = 70;
    	  int defLvl = 70;
    	  int rangeLvl = 1;
    	  int mageLvl = 1;
    	  int hpLvl = 79;
    	  int prayLvl = 1;*/
    	  
    	  //black dragon
    	  int atkLvl = 200;
    	  int strLvl = 200;
    	  int defLvl = 200;
    	  int rangeLvl = 1;
    	  int mageLvl = 1;
    	  int hpLvl = 190;
    	  int prayLvl = 1;
    looks right according to OSRS wiki

    Last edited by Scu11; 08-30-2015 at 10:57 PM.

    Attached image
    Reply With Quote  
     

  6. Thankful users:


  7. #106  
    Community Veteran

    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,528
    Thanks given
    573
    Thanks received
    1,410
    Rep Power
    2114
    cleaned up the formulas and reversed: (note, this is just for melee)

    Code:
    public int getStrLvlForMaxHit(int maxHit){//earliest str lvl to hit the max with 0 bonuses
    	  return (maxHit*10)-14;
      }
      
      public int getAtkAndDef(int hp, int str, int cb){//atk and def lvls are assumed to be the same, note: use the other formula to get the str value for param
    	  return (int) Math.ceil(((-0.25*hp - 0.325*str + cb) / 0.575));
      }
    PS. not saying this is even near the correct... but maybe something to start with.
    Number of page #1 releases with most views & posts: (Updated: 2023)
    RS2 server section: 1
    RS2 client section: 2
    Reply With Quote  
     

  8. Thankful user:


  9. #107  
    RuneScript



    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    16,307
    Thanks given
    7,215
    Thanks received
    12,308
    Rep Power
    5000
    Quote Originally Posted by mige5 View Post
    Code:
    public int getStrLvlForMaxHit(int maxHit){//earliest str lvl to hit the max with 0 bonuses
    	  return (maxHit*10)-14;
      }
    should be -13 not -14
    Last edited by Scu11; 09-01-2015 at 03:53 PM.

    Attached image
    Reply With Quote  
     

  10. Thankful user:


  11. #108  
    Developer


    Join Date
    Aug 2012
    Posts
    2,493
    Thanks given
    180
    Thanks received
    1,732
    Rep Power
    2487
    might be off-topic and idk who peckishwhale is, but why are they broadcasting a ring of life drop for him?

    Attached image

    edit: i might be wrong but it seems they are trolling the user (fake drop)?
    Reply With Quote  
     

  12. #109  
    Registered Member

    Join Date
    Dec 2012
    Posts
    2,999
    Thanks given
    894
    Thanks received
    921
    Rep Power
    2555
    Quote Originally Posted by Coder Savions View Post
    might be off-topic and idk who peckishwhale is, but why are they broadcasting a ring of life drop for him?

    Attached image
    b0aty (he has a popular ironman series and ring of life as well as his inability to obtain a zerker ring is a running joke)
    Attached image
    Reply With Quote  
     

  13. #110  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by Leanbow View Post
    Ash confirmed combat level isn't random number, it's calculated from npc stats. Not sure if this was known yet.



    Lvl 2 men in lumbridge have all 1 combat stats and 7 hp. That makes them lvl 2 by using player combat level formula
    I've known this for quite some time now

    Quote Originally Posted by RuneBeam View Post
    This is what I'm saying... I don't see why they use it at all. It seems to provide no tactical advantages over java; Everything is in global scope and seems to have no organization. I can only see this imposing restrictions with no real benefits over a decently written plugin API in a standard language, and a decent pipeline for creating content in it.
    The goal with the script language was to make everyone on their staff understand the code.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

Page 11 of 24 FirstFirst ... 91011121321 ... LastLast

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. [Official] RuneScript
    By Zonchord in forum Help
    Replies: 2
    Last Post: 07-04-2010, 03:28 AM
  2. RuneScript
    By Markian in forum Help
    Replies: 4
    Last Post: 03-15-2010, 06:12 AM
  3. RuneScript Base Bot
    By Linux in forum RuneScape Underground
    Replies: 10
    Last Post: 02-04-2010, 01:30 AM
  4. Project RuneScript
    By Vastiko in forum Projects
    Replies: 14
    Last Post: 10-25-2009, 09:08 PM
  5. What is runescript?
    By Meanz in forum RS2 Server
    Replies: 5
    Last Post: 08-18-2009, 02:18 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
  •