Jump to content

World of Warcraft Armory


Recommended Posts

  • Replies 617
  • Created
  • Last Reply

Top Posters In This Topic

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;

Link to comment
Share on other sites

i mean the black banner on the top right..

Search for

<div id="ad_728x90"></div>

in *.tpl files

and BTW there is no Arena Season8 sets icons/models.. :)

I'll update icons/models archives as soon as i'll have enough time.

Bug:Item used is 0.equip is 1.

Now Item rev. 117 Item used is 1,equip is 0.

Sorry, what?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

I have found on 1 .tpl file and then i discovered that this is not the right file (i deleted it and nothing happen)

so can you tell me the REAL file name please?

Sorry. You should find

<div class="adbox">
<div class="ad-container">
<div id="ad_728x90"></div>
</div>
</div>

and delete this div. Tpl files: character_sheet_start.tpl, character_talents_start.tpl, overall_body_starter.tpl and overall_start.tpl

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Sorry. You should find
<div class="adbox">
<div class="ad-container">
<div id="ad_728x90"></div>
</div>
</div>

and delete this div. Tpl files: character_sheet_start.tpl, character_talents_start.tpl, overall_body_starter.tpl and overall_start.tpl

Thak you ill try it :)

Link to comment
Share on other sites

Fatal error: Smarty error: unable to write to $compile_dir '/var/www/armory/includes/cache'. Be sure $compile_dir is writable by the web server user. in /var/www/armory/includes/classes/libs/Smarty-2.6.26/Smarty.class.php on line 1093

chmod -R 777 /var/www/armory/includes/cache?

Link to comment
Share on other sites

why dont u tranlate your self in your language?

why must be the others doing all work, for the others???

because, not everyone knows about the source better than the one who created, it's much easier for him to do that and share with all others inluding me. besides, i'm not saying to do that, just asking. it's a question, not an affirmation. take care.

chmod -R 777 /var/www/armory/includes/cache?

when you use

chmod -R 777 folder

u making all users to be able to Read, Write and Execute in all folders and files inside that folder. (so it answers, since cache is included in that folder, it's rwx too)

-R = recursive, means all

777 is the binary that makes it rwx

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use