VaultNetwork.netVault Network Boards
Author Topic: New Decal beta release (2962) [Locked]
mrFlipo  2 stars
Posts: 321
Registered: 2003-6-24 17:15:28
Sitting at pick the toon screen you will see some awesome temps from
your graphics card.
Hazridi  2 stars
Posts: 411
Registered: 2001-3-15 13:24:12
Never seems to be an issue for me, that's kinda interesting. Of course I'm the freak who leaves his computer case open so I can get inside it easily whenever I want.

 

-----signature-----
Hazridi of WE, VT, HG, SC
Decal Core Dev - http://www.decaldev.com - Beta at http://www.decaldev.com/beta
Zegeger  1 star
Posts: 93
Registered: 2001-4-27 18:20:56
The following sections worked previously. Do I need to change anything?

Select Case pMsg.Type
Case GAME_EVENT
Select Case pMsg.Value("event"
Case LOGIN_INFO
28: Set v = pMsg.Struct("properties"
29: If (v.Value("flags" And &H80& <> 0 Then
30: n = v.Value("qwordCount" - 1
31: If (n >= 0) Then
32: Set w = v.Struct("qwords"
33: For i = 0 To n
34: Set x = w.Struct(i)

--------------------------------------------------------------------------------
AgentZ v1.2.0 (2/27/2011 11:51:26 PM)
Error #-2147467262 occured in 'NetEcho_EchoMessage' of class 'NetEchoHandler' at line 34
Specified cast is not valid.

Case IDENTIFY
52: If pMsg.Value("success" = 1 Then
53:
54: If HUDTarget.GetObject(tmp) Then
55: If pMsg.Value("object" = tmp.guid Then
56: If pMsg.Value("flags" And &H100& Then
57: IDHealth = pMsg.Value("health"
58: IDHealthMax = pMsg.Value("healthMax"
59: IDHealthPer = IDHealth / IDHealthMax
60: If IDHealthPer > 1# Then IDHealthPer = 1#
61: Call HUDTarget.TargetHud.UpdateHealth
62: End If
63: IDSpells = ""
64: n = pMsg.Value("spellCount" - 1

--------------------------------------------------------------------------------
AgentZ v1.2.0 (2/27/2011 11:52:33 PM)
Error #-2147483640 occured in 'NetEcho_EchoMessage' of class 'NetEchoHandler' at line 64
Error HRESULT E_FAIL has been returned from a call to a COM component.

 

-----signature-----
Zegeger - HG - 246 - Axe
AgentZ - http://decal.zegeger.net
"Ambition is a poor excuse for not having sense enough to be lazy." - Edgar Bergen
"Imagination is more important then knowledge." - Albert Einstein
Hazridi  2 stars
Posts: 411
Registered: 2001-3-15 13:24:12
I wouldn't change your plugin code, no. This version of Decal definitely is throwing spurious E_FAIL hresults that shouldn't be there. Wait for the next release.

 

-----signature-----
Hazridi of WE, VT, HG, SC
Decal Core Dev - http://www.decaldev.com - Beta at http://www.decaldev.com/beta
Zegeger  1 star
Posts: 93
Registered: 2001-4-27 18:20:56
What about the first error "cast is not valid". I am also getting that in this section.

30 Set Options = pMsg.Struct("options"
40 If (Options.Value("flags" And &H200& <> 0 Then
50 n = Options.Value("optionPropertyCount" - 1
60 If (n >= 0) Then
70 Set OptionsProp = Options.Struct("optionProperties"
80 For i = 0 To n
90 Set OptionsPropItem = OptionsProp.Struct(i)

--------------------------------------------------------------------------------
AgentZ v1.2.0 (2/28/2011 12:43:14 AM)
Error #-2147467262 occured in 'HandleOptions' of class 'NetEchoHandler' at line 90
Specified cast is not valid.

 

-----signature-----
Zegeger - HG - 246 - Axe
AgentZ - http://decal.zegeger.net
"Ambition is a poor excuse for not having sense enough to be lazy." - Edgar Bergen
"Imagination is more important then knowledge." - Albert Einstein
Hazridi  2 stars
Posts: 411
Registered: 2001-3-15 13:24:12
It's honestly been so long since I've done anything with the parser in VB6 that I don't remember if that's valid syntax or not anymore. If it was working in 2.9.6.0 and 2.9.6.1 then it's a bug if it fails now.

 

-----signature-----
Hazridi of WE, VT, HG, SC
Decal Core Dev - http://www.decaldev.com - Beta at http://www.decaldev.com/beta
Hazridi  2 stars
Posts: 411
Registered: 2001-3-15 13:24:12
What type is x and OptionsPropItem declared as? (Dim OptionsPropItem as XXXX)

 

-----signature-----
Hazridi of WE, VT, HG, SC
Decal Core Dev - http://www.decaldev.com - Beta at http://www.decaldev.com/beta
mav_sc  1 star
Posts: 131
Registered:
mrFlipo posted:

Sitting at pick the toon screen you will see some awesome temps from
your graphics card.



I have two AC boxes that both run ATI 5870 cards. W/O AC Power Saver my cards would heat up, fans would scream, entire room would eventually heat up.

W/ AC Power saver life is normal.

Thank you AC Power Saver, you saved my GPU's!
Zegeger  1 star
Posts: 93
Registered: 2001-4-27 18:20:56
Dim Options As DecalNet.IMessageMember
Dim OptionsProp As DecalNet.IMessageMember
Dim OptionsPropItem As DecalNet.IMessageMember

Dim v As DecalNet.IMessageMember
Dim w As DecalNet.IMessageMember
Dim x As DecalNet.IMessageMember

 

-----signature-----
Zegeger - HG - 246 - Axe
AgentZ - http://decal.zegeger.net
"Ambition is a poor excuse for not having sense enough to be lazy." - Edgar Bergen
"Imagination is more important then knowledge." - Albert Einstein
Virindi-Inquisitor  4 stars
Posts: 1,538
Registered: 2001-11-18 22:25:54
Zegeger: For the error "Specified cast is not valid.", change your variable 'i' from Integer to Long. Tell me if it works then.

I have committed a fix to the tree and the issue will be solved in the next release candidate.

Edit: just saw that your second issue is actually different. We still need to work on that one...it looks like you are getting spellcount without verifying first flags & 0x10 != 0. Is this accurate?

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com

VaultNetwork.net is an independently operated community forum and is not affiliated with, endorsed by, or technically based on IGN, GameSpy, FilePlanet, GameStats, or the former IGN/GameSpy Vault Network.
References to VaultNetwork.net mean this site/domain. VNBoards-style presentation is a visual homage only. By using this site, you agree to the forum rules.