|
|
|
|
[VN
Boards Archive] |
Welcome to the Vault Network
forum archive.
This is not a complete archive, time didn't allot us the
opportunity to properly backup the majority of the boards
deemed "expendable". Most boards on this list have at least
20-40 pages archived (non-logged in pages, 15 topics per
page).
Popular boards may have as many as 250 pages archived at 50
topics per page, while others deemed of historical
signifigance may be archived in their entirety.
We may not agree with how the board shutdown was managed, but
we've done what we could to preserve some of its history in
lieu of that.
Please enjoy the archive.
~
Managers, Moderators, VIP's, and regular posters.
|
Author |
Topic: Visual Basic 6 help again
|
KhaanVrenn
Posts:
????
Registered:
????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
|
Subject:
Visual Basic 6 help again
|
Ok, so I've fixed all of the AC Constants issues in LTx's Darkside Filter, and all items are being correctly identified.. making great progress there! However, I've run into a snag concerning adding Void Magic... there is this bit of code inside of Utils.bs in the source Engine folder: Public Function MagicSchoolToSkillId(ByVal iMagicSchool As Integer) As Long Dim lRet As Long Select Case iMagicSchool Case SCHOOL_CREATURE lRet = eSkillCreatureEnchantment Case SCHOOL_ITEM lRet = eSkillItemEnchantment Case SCHOOL_WAR lRet = eSkillWarMagic Case SCHOOL_LIFE lRet = eSkillLifeMagic Case SCHOOL_VOID lRet = eSkillVoidMagic Case Else PrintErrorMessage "MagicSchoolToSkillId: unknown magic school " & iMagicSchool lRet = eSkillCreatureEnchantment End Select MagicSchoolToSkillId = lRet End Function Sorry for the loss of formatting... anyways, on compile, I get a 'variable not defined' error for eSkillVoidMagic, so I tried back-tracing any of the other schools to see where they are defined. There is nothing, and I'm using a very robust text search utility. I'm stumped. = | There is a LTEngine_Compatibility.dll file (and similar compatibility dll's in the other source folders), and they are required references for each compile job. Could these eSkillxxx variables be defined in there? What are these compatibility files? Googling isn't getting me much <3... halp?
-----signature-----
|
Link to this post
|
-Eps
Title: I Love Boobies. And Butts, too!
Posts:
17,344
Registered:
May 30, '07
Extended Info (if available)
Real Post Cnt: 32,011
User ID: 1,226,605
|
Subject:
Visual Basic 6 help again
|
eww vb6
-----signature-----
#dnn #og-ac http://tinyurl.com/ACDTChat Fastest 1-275 in AC history. Plugin Users: 100+ Buy Plugins Relogger, ValSalv, and AutoVendor(route trigger): http://bit.ly/ACaCAl [Trade] +Envoy Sparker says, "Rep check: Eps Levelin, PST."
|
Link to this post
|
Zegeger
Posts:
974
Registered:
Apr 27, '01
Extended Info (if available)
Real Post Cnt: 965
User ID: 92,000
|
Subject:
Visual Basic 6 help again
|
Perhaps DecalFilters.eSkillID.eSkillVoidMagic
-----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
|
Link to this post
|
KhaanVrenn
Posts:
????
Registered:
????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
|
Subject:
Visual Basic 6 help again
|
You sir, are a genius = ] Except, I have no idea how to proceed. First off, I should have clarified that the Void Magic ELSE clause was added by me.. in case that didn't make sense. Anyways, looking at eSkillCreatureEnchantment, for example, and searching all scripts came up empty. That is the only place it is ever referenced, so if it wasn't DIM'd somewhere, why isn't it throwing an undefined hissy? The answer may be in your answer... using the VB Object Browser and viewing the objects associated with DecalFilter eSkillID, I can see all the eSkill(s), but all of the new ones aren't there, such as Light Weapon, Heavy Weapon, etc., and also eSkillVoidMagic is missing. So is the connection to DecalFilter initializing the 4 schools that are there, so they don't throw errors? If that's the answer, then how do I 'add' this to the DecalFilter? Curiously, I added the new skills (including Void Magic) to the Darkside Filter eSkillID ENUM section, and they are working nicely... Nether wands are now correctly ID'd, as well as all the weapon wields. So when the Darkside Filter talks to DecalFilter, it sees the new skills, but my Object Browser in the VB 6 IDE does not see them... that has to be the clue... thanks for your comment = ]
-----signature-----
|
Link to this post
|
KhaanVrenn
Posts:
????
Registered:
????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
|
Subject:
Visual Basic 6 help again
|
Resolved Installed the newest Decal (2.9.6.5), and the Object Browser in VB6 immediately showed the eSkillVoidMagic available in Decal. Project compiled without error.
-----signature-----
|
Link to this post
|
|
|
© 2012. All
Rights Reserved. |
|
|
|
|