Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Class Mechanics » Druids

Reply
 
LinkBack Thread Tools
Old 09/15/11, 2:42 PM   #301
Dryadne
Glass Joe
 
Troll Druid
 
Darkmoon Faire (EU)
Error with Gale Rouser belt of the undertow.

The stats upon the 'Gale Rouser Belt of the Undertow' are incorrect

Scotland Offline
Reply With Quote
Old 09/15/11, 7:10 PM   #302
 Tecton
Soda Popinski
 
Tecton's Avatar
 
Troll Druid
 
Mal'Ganis
They match the stat breakdowns on WoWhead, could you clarify a little more?

Scotland Offline
Reply With Quote
Old 09/17/11, 6:41 PM   #303
cybrid
Glass Joe
 
Troll Druid
 
Ревущий фьорд (EU)
Not sure whether it was mentioned previously or helpful, but in order to properly support profile importing from battle.net character name and realm name should be URL-encoded when generating API URL. This is especially relevant for Russian realms or any character with non-English chars in name. With latest version of spreadsheet (110911) I was able to import my profile only after hardcoding URL-encoded values into the script. You can see the resulting URL below, as example.
Click Here ← Click Here
http://eu.battle.net/api/wow/character/%D1%80%D0%B5%D0%B2%D1%83%D1%89%D0%B8%D0%B9%20%D1%84%D1%8C%D0%BE%D1%80%D0%B4/%D0%B4%D0%B0%D0%B9%D0%BC%D0%B8%D1%80%D0%BE?fields=items,talents,professions


Edit: I now see URLEncode function present in code, but somehow it was not working.

Last edited by cybrid : 09/17/11 at 6:46 PM.

Offline
Reply With Quote
Old 09/18/11, 1:53 AM   #304
 Tecton
Soda Popinski
 
Tecton's Avatar
 
Troll Druid
 
Mal'Ganis
Cyrillic characters might not all be working, I'm just catching edge cases as they come up. I'll have a look at getting those working too.

[edit] Scratch that, forgot that some server names would need to be encoded too. Fixed in the version below: [/edit]
Attached Files
File Type: xls WrathCalcs 110918.xls (1.03 MB, 303 views)

Last edited by Tecton : 09/18/11 at 2:23 AM.

Scotland Offline
Reply With Quote
Old 09/18/11, 12:06 PM   #305
Elfstrom
Glass Joe
 
Night Elf Druid
 
Eonar


/sadface

I can get past this error by adding PtrSafe attribute after the Declare statement for the WideCharToMultiByte function; however, I then get a series of type mismatch errors in the UTF16To8 function which I believe are related to the use of the StrPtr function.

Found this link in trying to debug it, but I'm not the programmer I once was.

Compatibility Between the 32-bit and 64-bit Versions of Office 2010

I have Office 2010 64bit on Windows 7 Ultimate 64bit and am using WrathCalcs 110918.xlsm

This seems isolated to this one module and one function so it should be a relatively simple fix to an experienced VBA programmer.

Thanks,
Elfstrom

Last edited by Elfstrom : 09/18/11 at 12:11 PM.

United States Offline
Reply With Quote
Old 09/18/11, 12:32 PM   #306
Elfstrom
Glass Joe
 
Night Elf Druid
 
Eonar
The changes in red to Module4 appear to resolve the issue:

Private Declare PtrSafe Function WideCharToMultiByte Lib "Kernel32" (ByVal CodePage As Long, ByVal dwflags As Long, ByVal lpWideCharStr As LongPtr, ByVal cchWideChar As Long, ByVal lpMultiByteStr As LongPtr, ByVal cchMultiByte As Long, ByVal lpDefaultChar As Long, ByVal lpUsedDefaultChar As Long) As Long
However, now I get:



Function GetBattleNetJSON(charName As String, charServer As String, charRealm As String)
    Dim URL
    URL = "http://" & charRealm & "/api/wow/character/" & charServer & "/" & charName & "?fields=items,talents,professions"
    Set sc = CreateObject("ScriptControl")
    sc.Language = "JScript"
    Set xhr = CreateObject("Microsoft.XMLHTTP")
    xhr.Open "GET", URL, False
    xhr.send
    Set GetBattleNetJSON = sc.Eval("(" + xhr.responseText + ")")
End Function

United States Offline
Reply With Quote
Old 09/18/11, 1:35 PM   #307
 Tecton
Soda Popinski
 
Tecton's Avatar
 
Troll Druid
 
Mal'Ganis
Yeah, I'm trying to resolve that one at the moment, thanks for the detailed info!

Scotland Offline
Reply With Quote
Old 09/18/11, 2:22 PM   #308
Elfstrom
Glass Joe
 
Night Elf Druid
 
Eonar
Try using JavaScriptSerializer.Serialize to parse your JSON.

Last edited by Elfstrom : 09/19/11 at 12:33 AM.

United States Offline
Reply With Quote
Old 09/26/11, 8:39 PM   #309
Larrabee
Glass Joe
 
Night Elf Druid
 
Neptulon (EU)
Latest wrathcalcs doesn't work.


Run-time Error '13':

Type Mismatch




Name: Larrabee
Region: eu.battle.net

Last edited by Larrabee : 09/27/11 at 11:51 AM.

Offline
Reply With Quote
Old 09/26/11, 9:02 PM   #310
 Tecton
Soda Popinski
 
Tecton's Avatar
 
Troll Druid
 
Mal'Ganis
Just checked it and it's importing your armory without issues (and identifying the correct gloves). What version are you using?

Scotland Offline
Reply With Quote
Old 09/27/11, 8:43 PM   #311
 Hamlet
<Druid Trainer>
 
Hamlet's Avatar
 
Tauren Druid
 
Mal'Ganis
This has the set bonuses, although it seems to be evaluating the 4p higher than I first time I looked at it. Will have to recheck and see if something is up.
Attached Files
File Type: xls WrathCalcs 110926 PTR.xls (1.02 MB, 111 views)


United States Offline
Reply With Quote
Old 09/28/11, 6:41 AM   #312
Erdluf
Great Tiger
 
Night Elf Druid
 
Echo Isles
I'd really like to see simulationcraft numbers for the 4-piece.

As an extremely rough approximation for 4t13 I just assumed it eliminated two non-NG, non-Eclipse Wraths from our rotation. That would be a bit more than a 3% boost to DPS. That assumption is probably too optimistic, but by less than a factor of two.

United States Offline
Reply With Quote
Old 09/28/11, 7:36 AM   #313
Latas
Don Flamenco
 
Night Elf Druid
 
Uther
Originally Posted by Erdluf View Post
I'd really like to see simulationcraft numbers for the 4-piece.

As an extremely rough approximation for 4t13 I just assumed it eliminated two non-NG, non-Eclipse Wraths from our rotation. That would be a bit more than a 3% boost to DPS. That assumption is probably too optimistic, but by less than a factor of two.
It would eliminate one and replace one with a starsurge.

Offline
Reply With Quote
Old 09/28/11, 8:20 AM   #314
 Tecton
Soda Popinski
 
Tecton's Avatar
 
Troll Druid
 
Mal'Ganis
A couple of formatting changes there guys, so hold off on using the profiling features, I'm fixing it as we speak. Also, new gear and epic gems incoming.

[edit] Updated version attached.

I've amended the crafted leather legs to have an intellect bonus rather than agility, there are a few placeholder weapons without stats in the list at the moment, I've added them and can update when they get fixed on PTR. Also updated a T13 gearset on the setup page for comparison purposes. Let me know if I've missed anything or there are any snags, other than that this should be fine for live use as well.

Just noticed the edit above re: Javascript, I'll give that a shot, thanks.[/edit]
Attached Files
File Type: xls WrathCalcs 110928 PTR.xls (1.02 MB, 115 views)

Last edited by Tecton : 09/28/11 at 8:48 AM.

Scotland Offline
Reply With Quote
Old 09/28/11, 10:07 AM   #315
 Tecton
Soda Popinski
 
Tecton's Avatar
 
Troll Druid
 
Mal'Ganis
Just noticed we've got differences between MMO-C and WoWhead databases on trinket cooldown (specifically, the ridiculously good Valorous Rune - Item - World of Warcraft). Can anyone remember which one was correct last time?

Scotland Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Class Mechanics » Druids

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Balance] Theorycraft / Spreadsheet Thread (WrathCalcs) Hamlet Druids 0 06/30/10 7:36 PM
TreeCalcs: WrathCalcs, respecced Hamlet Druids 42 02/04/10 3:31 PM
WrathCalcs - Moonkin DPS Spreadsheet Adoriele Druids 93 06/09/09 6:37 PM