Hi,
I am wanting to find the locations of nearby Gas Clouds,
i figured (incorrectly) that they would be in the object list, as a GameObject,
but i cannot find any gameobjects matching the name.
Any help or hints would be appreciated.
Hi,
I am wanting to find the locations of nearby Gas Clouds,
i figured (incorrectly) that they would be in the object list, as a GameObject,
but i cannot find any gameobjects matching the name.
Any help or hints would be appreciated.
Cinder Cloud is the name of the wintergrasp fire clouds.
Dump everything and check manually. There's a chance that they are Units and not GameObjects (another example of this are the BG portals in dalaran, they are also unit's)
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
"I cried a little earlier when I had to poop" - Sku
Clouds are not gameobjects, they are units.
Code:Dictionary<int, string> cloud_names = new Dictionary<int, string>(); cloud_names.Add(17407, "Felmist"); // <Mote of Shadow> cloud_names.Add(17378, "Swamp Gas"); // <Mote of Water> cloud_names.Add(17408, "Arcane Vortex"); // <Mote of Mana> cloud_names.Add(24222, "Windy Cloud"); // <Mote of Air> cloud_names.Add(32544, "Steam Cloud"); // <Crystalized Fire> and <Crystalized Water> cloud_names.Add(32522, "Cinder Cloud"); // <Crystalized Fire> cloud_names.Add(24879, "Arctic Cloud"); // <Crystalized Air> and <Crystalized Water> foreach (KeyValuePair<int, string> cloud in cloud_names) { if (cloud.Key == targetObj.EntryId) { IsCloud = true; break; } }
great, thanks heaps for your kind help
found it now.
GUID NAME LVL HEALTH MAXHEALTH
xxxxxxxxxxxxxxx Player xxxxxxxxxxxxx 79 5508 10090
-1067352640112805329 Bonescythe Ravager 75 10635 10635
-779122264075941082 Blighted Corpse 76 11001 11001
-779122263957811098 Bonescythe Ravager 75 10635 10635
-779122246912372354 Lifeblood Elemental 76 11001 11001
-779122263957864861 Bonescythe Ravager 75 10635 10635
-779122246912373767 Lifeblood Elemental 76 11001 11001
-779122189534058210 Steam Cloud 60 4979 4979 <---------------------
-779122263957876328 Bonescythe Ravager 76 11001 11001
-779122263957875496 Bonescythe Ravager 75 10635 10635
-779122246912377980 Lifeblood Elemental 76 11001 11001
-779122264075346154 Blighted Corpse 76 11001 11001
-779122246912213821 Lifeblood Elemental 76 11001 11001
-1067352640028927558 Mosswalker Victim 77 3413 11379
-779122255015770282 Blighted Corpse 77 11379 11379
Last edited by boomingranny; 06-11-2009 at 03:40 PM.
There's another (simpler) way.
On the same structure that holds the pointer to the mob name, offset 0x10 holds the type of mob (Beast, Humanoid, Critter, etc). Mob type 13 is cloud.
Which means (as of 3.1.2) that if [[currobj + 0x968] + 0x10] == 13, the mob is a cloud.
Any clues on hostility? There's got to be a better way than how shynd did it Only askin because it seems like that struct has a lot of nice little values.