MMO News and theorycrafting for advanced MMO gamers. News and articles that relate to your gameplay. World of Warcraft, SWTOR, Guild Wars 2, Rift, TERA, Eve Online, Star Wars the Old Republic, Diablo3, The Secret World and all Western AAA MMOs

Your login from any MMO-Mechanics forum or site will work here.

Hello There, Guest! Register

Post Reply 
Gunnery/Arsenal DPS, Simulator, A new approach
02-24-2012, 11:15 AM (This post was last modified: 02-24-2012 11:18 AM by Qed.)
Post: #6
RE: Gunnery/Arsenal DPS, Simulator, A new approach
One last edit, if anyone wants to use this to calculate weights themselves, you can do it with the following additional script:

Code:
import os
os.system("python tsim_cl.py 0 0 0 0 0 0 0 0 0 > baseline.txt")
os.system("python tsim_cl.py 0 0 0 0 0 0 0 0 0 > error.txt")
os.system("python tsim_cl.py 0 0 0 30 0 0 0 0 0 > power.txt")
os.system("python tsim_cl.py 0 0 0 0 30 0 0 0 0 > crit.txt")
os.system("python tsim_cl.py 0 0 0 0 0 30 0 0 0 > surge.txt")
os.system("python tsim_cl.py 0 0 0 0 0 0 30 0 0 > acc.txt")
os.system("python tsim_cl.py 0 0 0 0 0 0 0 30 0 > alac.txt")

dps = {}

for stat in ["baseline","error","power","crit","surge","acc","alac"]:
    file = open(stat+".txt")
    for l in file:
        if l.find("DPS:") > -1:
            words = l.split()
            dps[stat] = float(words[1])
    file.close()

weight = {}

for stat in dps.keys():
    weight[stat] = (dps[stat]-dps["baseline"])/(dps["power"]-dps["baseline"])

for stat in weight.keys():
    print stat , ": " , weight[stat]

two last edits i guess... if we want to compare numbers across spreadsheets, we really need a canonical set of stats to start from. Certainly, I have been using my own personal stats (and then various iterations on them), to test the results, which might be half the explanation for different weights.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Gunnery/Arsenal DPS, Simulator, A new approach - Qed - 02-24-2012 11:15 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)