Author Topic: Need some help with armor GUIDs
-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: Need some help with armor GUIDs
I made an ac tool script that does a lot of different things for and part of it has buffing somebody. To bane them I cast the spell on their armor's GUID, and it works fine as long as I ID the item once during the time I'm logged in. Then the command will work as long as I stay logged in. They can log off and come back and it still works.
The problem is that when I log off and come back on, the command no longer works. Nothing happens. I open trade and IDed the item again and the GUID is the same, nothing changed. What's causing it not to work?

Any solution(other than having to keep IDing the item after every time I log off and back in)?


edit: I posted this here and not on the AC Tools forum because I think the issue would effect other programs and not just AC Tool.

 

-----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
Magicon 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Need some help with armor GUIDs
mine works fine i made a simple one to buff a helm with acid bane 6 using the guid.i logged off and on and started the macro and still worked for me. been ages since i messed with this but seems to work fine.

// This line is necessary to select the proper window
SetActiveWindow Asheron's Call

while 1=1
call buffhelm
end

procedure buffhelm
SelectGUID 411087166
delay 500
CastSpell Acid Bane VI
delay 500
end

 

-----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: Need some help with armor GUIDs
Is that helm on somebody else? I'm buffing another person's armor, not mine.


edit: Nope, doesn't work if I relog. (this is targetting somebody else's item.)

 

-----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
Tacit_MT 
Posts: 978
Registered: Dec 12, '00
Extended Info (if available)
Real Post Cnt: 948
User ID: 58,626
Subject: Need some help with armor GUIDs
If it's on your character, the GUID is known to your client, so you'll always be able to cast on it. If it's on another character, your client will need to see it to 'know' about it before being able to cast on it in the game world. After seeing an item once, given enough time, your client will forget about it and will need to see it again, even if you haven't logged off. I ran a personal multi-char portal/bane bot ACTool script for the allegiance for months, and yes, it is aggrevating. But easily fixed, just by reloading the tradewindow dataset.

 

-----signature-----
follower of Tasher of the Knights of Fortune
Rydia - maxed all tinkers, spec all tinkers, 38% imbue
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: Need some help with armor GUIDs
Can you save the info some how, and reload it for later use, anyway other than opening trade and IDing the items again?

For instance thirst programs have a list of players and GUIDs and they are able to cast on a target without actually IDing them in game at the time they cast the spell, but I believe they have IDed them at one point in time before, when they originally got the GUID I assume. And then they just bring back the info some how when they log in and then can call a procedure to that GUID. *that's just my guess how it works*

I was able to select somebody by GUID for the first time, very very far away from me. Is this because players work differently, or is this because all players in game are already recognized by the client?



edit: I think I saw something in the AC tool help file that would scan all items in AC

Here it is, LoadDecalWorld. can anybody explain what this does, and can it possibly help me in reguards to finding where the GUID exists after my client forgets where it is?:



LoadDecalWorld

Description
Loads a dataset with all the items in a world. The fields in the dataset will be overwritten with a standard set of fields. Requires the AC Tool Decal Companion, latest Decal, and Decal Messages to work properly.

Field List
Name - Name of the item
Guid - GUID of the item
Count - Number of items in the stack
Value - Value
UsesLeft - Uses Left
TotalUses - Total uses
Type - Item type
Slot - Slot in the container
Container - Container guid housing the item
Distance - Distance between you and the item

Adding the optional Distance keyword calculates the distance between you and the object. This can slow the command somewhat.

Parameters
Dataset
Optional - Distance keyword


Example
SetActiveWindow Asheron's Call

Dataset Test
fld1=Integer // The f
end

LoadDecalWorld Test, Distance
DSFirst Test
SendText 14, First Name is Test[Name]






more edits:

Ok so it says:
Loads a dataset with all the items in a world.

Field List
Name - Name of the item
Guid - GUID of the item

SO this can load the GUId of everything in the AC world?

 

-----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
-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: Need some help with armor GUIDs
Alright so I figured out how to use the LoadDecalWorld feature, but it only shows your items, and monsters, players, corpses, and other player's weilded weapons/shield.


[ht]
It forgets it if I don't ID first, or go near the person first as you said in your post. So I need a way to 'load' the information and have my client 'remember' it. so that I can cast on it. I already have the GUID from when I IDed it manually and then found the GUID. Any help is greatly appreciated, I'd rather figure this out than have to use the trade window every time.

 

-----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
-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: Need some help with armor GUIDs
Ok looks like 'OID' is what I'm looking for. Anybody have any experience with this and using it to cast on armor with a utillity that I can somehow use coinciding with AC Tool, or inside AC Tool?

Edit: I found the original Insanity Bot source code which contains a lot of 'OID' references if anybody would like that. It's on sourceforge.

 

-----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
-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: Need some help with armor GUIDs
Alright I just found something that will tell me the OID of anything I select, now I just need to figure out how to cast a spell on that OID.

Here's the info on a pair of gaunts

Oid : 0x1a7867b9
fExists : true
szName : Bronze Chainmail Gauntlets
szPlural : Bronze Chainmail Gauntletss
oty : 0x00000012
ocm : 0x00000080
olc : 0x00000001
eqm : 0x00000020
eqmWearer : 0x00000000
mcm : 0x00000002
szMcm : Armor
cpyValue : 6139
material : 58
workmanship : 6
citemStack : 1
citemMaxStack : 1
cuseLeft : 0
cuseMax : 0
burden : 381
fInInventory : true
iitem : 6
spellid : 0
distApproach : 0
fContainer : false
citemMax : 0
citemContents : 0
icon : 5925
model : 55
Oid : 0x1a7867b9


How would I go about casting a spell on the gaunts, if I haven't IDed them since logging off, and if a target is weilding them>

 

-----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

Valid XHTML 1.0 Transitional Powered by PHP