Jump to content

Pescao6

Members
  • Posts

    6
  • Joined

  • Last visited

Reputation

0 Neutral
  1. I have a nice spaghetti code program I did as a project for my Linux class. The main code is a bash script. I'm using perl to check if the player name is valid (not really important). I'm using bash to get the osrs hiscores. I'm using awk to put the combat stats into a file. I'm using python to read the combat stats file and calculate the combat level. Then this information gets passed to other python functions to calculate what rank I should assign my clanmates. import math def combat_level(stats): #1. Take your Prayer level and divide it by two and round down base = math.trunc(stats[5]/2) #2. Add this to your Hitpoints and Defence levels and divide the result by 4. base = (base+stats[3]+stats[1])/4 #3. Add your Strength and Attack levels together and multiply by 0.325. melee = (stats[2]+stats[0])*0.325 #Add this to your base combat level and you should have your melee combat level. #4. If your Magic or Ranged level is exceptionally higher than your Attack and Strength, #carry on - in the calculation noted below Magic is used, #but if your Ranged is exceptionally higher, use that instead in all cases higher = stats[6] if (higher < stats[4]): higher = stats[4] if (higher > stats[0]+14 and higher > stats[2]+14): #5. Divide your Magic level by 2 and round down, and then add your Magic level again to this magic = math.trunc(higher/2)+higher #6. Multiply this by 0.325 and add the result to your base combat level calculated above, #and you should have your magic combat level magic = magic*0.325 return math.trunc(base+magic) else: return math.trunc(base+melee) ... stats = [] try: f = open("osrs/temp") for line in f: line = line.rstrip("\n") stats.append(int(line)) finally: f.close() combat=combat_level(stats) ... Anyway, I just wanted to ask if anyone knows what the wiki means by "If your Magic or Ranged level is exceptionally higher than your Attack and Strength"? I just did +14, but I'm not sure if this is correct.
  2. I was shocked to see my favourite Farming Guide missing what may be the best auras of the game. Here is all the info on the Greenfingers auras: http://services.runescape.com/m=rswiki/en/Greenfingers http://services.runescape.com/m=rswiki/en/Greater_greenfingers http://services.runescape.com/m=rswiki/en/Master_greenfingers http://services.runescape.com/m=rswiki/en/Supreme_greenfingers http://services.runescape.com/m=rswiki/en/Legendary_greenfingers Please update it and thanks in advance. ;)
  3. I wish to update El Imperio Latino's information. Your Clan Name (as you want it to appear): El Imperio Latino A link to your clan's banner: http://209.85.12.237/30016/110/0/p1038540/original_minibanner.gif A link to your clan's website/forums: http://www.elimperiolatino.org/ A link to your clan's runehead/memberlist: http://www.runehead.com/clans/ml.php?clan=latinempire Your Clan Leaders: Cronoschild, Pescao6, Ricrey Your Clan's Main Focus: Warring & Skilling Clan Spanish Help & Support Community Miscellaneous Info: Clan Initials: IL Friends Chat: Pescao6 Clan Chat: El Imperio Latino IRC Channel: #il [irc.swiftirc.net] Other Memberlists: FA / Inactive / Retired Small update - Added Friends Chat and changed Clan Chat.
  4. I wish to update El Imperio Latino's information. Your Clan Name (as you want it to appear): El Imperio Latino A link to your clan's banner: http://209.85.12.237/30016/110/0/p1038540/original_minibanner.gif A link to your clan's website/forums: http://www.elimperiolatino.org/ A link to your clan's runehead/memberlist: http://www.runehead.com/clans/ml.php?clan=latinempire Your Clan Leaders: Cronoschild, Pescao6, Ricrey Your Clan's Main Focus: Warring & Skilling Clan Spanish Help & Support Community Miscellaneous Info: Clan Initials: IL Clan Chat: Pescao6 IRC Channel: #il [irc.swiftirc.net] Other Memberlists: FA / Inactive / Retired Please displace any other information.
  5. Humble pie: Options: Weight: 0kg Examine: Members only: Yes. Obtained from: Court Cases Reward. Category: Distractions and Diversions Uses: When you click it, it will give you a chance to increase any skill. The formula is the skill you chose * 10. Notes: It cannot be banked or traded. All Credits go to: Myself (Pescao6) This information was posted for use of Tip.It only.
  6. Hi everyone. Mod Achilles is organizing a gathering for everyone that speaks spanish. Quick find code: 42-43-763-59772409 So if you speak spanish, please spread the word to all of your friends.
  7. Clan Name: El Imperio Latino Leaders: Pescao6, Ramsys21 & Ricrey Co-Leaders: Macho_Man486 & Sir_Germen12 Warlords: Att_Str_Owu & Dreckzanro Msn Contacts: [email protected] RuneHead Memberlist: http://www.runehead.com/clans/ml.php?clan=latinempire IRC: #ilftw Best Way of Contacting Your Clan: Msn Messenger and Pms in our forum (http://z6.invisionfree.com/imperiolatino). Hope it's not too late.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.