Official Pawn forums Forum Index
  
wowhead vs pawn normalization

 
Post new topic   Reply to topic    Official Pawn forums Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
gwolfhunter



Joined: 14 Feb 2009
Posts: 5

PostPosted: Sat Feb 14, 2009 8:09 am    Post subject: wowhead vs pawn normalization Reply with quote

I'm trying to use the same weights in both wowhead and pawn and can get the same raw scores for most pieces but the normalizations are way off.

any ideas? need more info?
Back to top
View user's profileSend private message
Vger
Pawn Mod Creator


Joined: 09 Jul 2007
Posts: 120
Location: Azjol-Nerub (US)

PostPosted: Sun Feb 15, 2009 2:22 am    Post subject: Reply with quote

Can you explain what you mean by "the normalizations are way off?" Maybe post an example? I don't know what that means.
Back to top
View user's profileSend private messageVisit poster's website
gwolfhunter



Joined: 14 Feb 2009
Posts: 5

PostPosted: Sun Feb 15, 2009 1:57 pm    Post subject: Reply with quote

My wowhead settings

I have the same values set in pawn, and have set nothing for gem slots.

Item
Pawn Raw (Normalized)
Wowhead Raw (Normalized)


http://www.wowhead.com/?item=40678
Pawn 3610 (16.87)
Wowhead 3609 (18.23)

http://www.wowhead.com/?item=44257
Pawn 5040 (23.55)
Wowhead 5040 (25.45)

http://www.wowhead.com/?item=42061
Pawn 2350 (10.98)
Wowhead 2350 (11.87)

http://www.wowhead.com/?item=43131
Pawn 4450 (20.79)
Wowhead 4450 (22.48)

http://www.wowhead.com/?item=40684
Pawn 1680 (7.85)
Wowhead 1680 (8.48)

The debug is saying the value is being divided by "1"
Back to top
View user's profileSend private message
gwolfhunter



Joined: 14 Feb 2009
Posts: 5

PostPosted: Sun Feb 15, 2009 2:14 pm    Post subject: Reply with quote

did some spreadsheet calcs

the total of my weights is 198

the normalization divisor that pawn seems to be using is 214
I don't know where the extra 16 is coming from

Agi = 30
Int = 30
Hit Rating = 25
Crit Rating = 20
Attack Power = 15
Armor Pen = 3
Mana per 5 = 15
Ranged DPS = 60

everything else is grey
Back to top
View user's profileSend private message
Vger
Pawn Mod Creator


Joined: 09 Jul 2007
Posts: 120
Location: Azjol-Nerub (US)

PostPosted: Sun Feb 15, 2009 2:27 pm    Post subject: Reply with quote

Thanks for the details. The number 16 was the key—that's the default value for colorless sockets, which were removed from Pawn since they're really only an enchantment. Your scale still has a value for that stat, though; Pawn forgot to remove it.

The good news is that the values are off, but the proportions are the same, so they still should be okay to use in comparisons. Pawn 1.1.9 will fix this issue and the numbers should match with Wowhead again. In the meantime, you can work around the bug with this:

/script PawnOptions.Scales["Pawn value"].Values.ColorlessSocket = nil PawnRecalculateScaleTotal("Pawn value")

Replace "Pawn value" with your scale's name, spelled and capitalized exactly the same. You only need to do that once (per scale, if you have multiples). Thanks for your help in tracking this down!
Back to top
View user's profileSend private messageVisit poster's website
gwolfhunter



Joined: 14 Feb 2009
Posts: 5

PostPosted: Mon Feb 16, 2009 10:21 am    Post subject: Reply with quote

works beautifully TY
Back to top
View user's profileSend private message
Display posts from previous:   
Post new topic   Reply to topic    Official Pawn forums Forum Index -> Bug Reports All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum