mars8022
-
Posts
7 -
Joined
-
Last visited
-
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by mars8022
-
-
Search for
<div id="ad_728x90"></div>
in *.tpl files
I'll update icons/models archives as soon as i'll have enough time.
Sorry, what?
item_template
spelltrigger_x = 0 used
spelltrigger_x = 1 equip
Flags > 524288 Unique-Equipped
maxcount = 1 Unique
http://www.wowhead.com/?item=50664 item Unique-Equipped
http://www.wowhead.com/?item=50348 item Unique Spell trigger is equip
I hope you can understand what I mean,sorry my bad english.
-
Bug:Item used is 0.equip is 1.
Now Item rev. 117 Item used is 1,equip is 0.
-
Patch 9579
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 867f162..fe4fd46 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -21715,5 +21715,33 @@ Object* Player::GetObjectByTypeMask(ObjectGuid guid, TypeMask typemask)
break;
}
return NULL;
}
+
+void Player::WriteWowArmoryDatabaseLog(uint32 type, uint32 data)
+{
+ uint32 pGuid = GetGUIDLow();
+ sLog.outDetail("WoWArmory: write feed log (guid: %u, type: %u, data: %u", pGuid, type, data);
+ if (type <= 0) // Unknown type
+ {
+ sLog.outError("WoWArmory: unknown type id: %d, ignore.", type);
+ return;
+ }
+ if (type == 3) // Do not write same bosses many times - just update counter.
+ {
+ QueryResult *result = CharacterDatabase.PQuery("SELECT counter FROM character_feed_log WHERE guid='%u' AND type=3 AND data='%u' LIMIT 1", pGuid, data);
+ if (result)
+ {
+ CharacterDatabase.PExecute("UPDATE character_feed_log SET counter=counter+1, date=NOW() WHERE guid='%u' AND type=3 AND data='%u' LIMIT 1", pGuid, data);
+ }
+ else
+ {
+ CharacterDatabase.PExecute("INSERT INTO character_feed_log (guid, type, data, counter) VALUES('%u', %d, '%u', 1)", pGuid, type, data);
+ }
+ delete result;
+ }
+ else
+ {
+ CharacterDatabase.PExecute("INSERT IGNORE INTO character_feed_log (guid, type, data, counter) VALUES('%u', %d, '%u', 1)", pGuid, type, data);
+ }
+}
diff --git a/src/game/Player.h b/src/game/Player.h
index a4166be..cb67f1b 100644
--- a/src/game/Player.h
+++ b/src/game/Player.h
@@ -2176,6 +2176,9 @@ class MANGOS_DLL_SPEC Player : public Unit
bool TeleportToHomebind(uint32 options = 0) { return TeleportTo(m_homebindMapId, m_homebindX, m_homebindY, m_homebindZ, GetOrientation(), options); }
Object* GetObjectByTypeMask(ObjectGuid guid, TypeMask typemask);
+
+ // WoWArmory
+ void WriteWowArmoryDatabaseLog(uint32 type, uint32 data);
// currently visible objects at player client
ObjectGuidSet m_clientGUIDs;
-
mangos: 9568
sd2: 1637
UDB 387
ACID 303
http://www.wowhead.com/?item=40268.Increases spell power of Holy Light by 141.It doesn't work.
http://www.wowhead.com/?item=40267.Increases spell power of Chain Lightning and Lightning Bolt by 165.It doesn't work.
http://www.wowhead.com/?item=40371.Your melee and ranged attacks have a chance to strike your enemy, dealing 1504 to 2256 arcane damage.It doesn't work.
-
Now rev.110 3D Model shown't Helmet.
-
3D Model no display cloak
World of Warcraft Armory
in Old3rd party projects
Posted
particulars item_template Flags
Flags = 524288 Unique-Equipped (Item Display)
Flags = 8 Heroic (Item Display)
Flags = 4194304 Throwing Weapon (Item Display)
Flags = 134217728 Binds to account (Item Display)
Flags = 32768 Honor Item (Item Not Display)
Flags = 4096 BG Items (Item Not Display)
Flags = 8 Heroic
Flags = 4104 Heroic
Flags = 134217728 Binds to account
Flags = 134742016 Unique-Equipped ,Binds to account
Flags = 524288 Unique-Equipped
Flags = 528384 Unique-Equipped
Flags = 593920 Unique-Equipped
Flags = 4194312 Heroic,Throwing Weapon
Flags = 4198408 Heroic,Throwing Weapon
Flags = 4227080 Heroic,Throwing Weapon
Flags = 4194304 Throwing Weapon
Flags = 4198400 Throwing Weapon
Flags = 4227072 Throwing Weapon
Flags = 524296 Heroic ,Unique-Equipped
Flags = 528392 Heroic ,Unique-Equipped
I hope I can help for you.