Jump to content

Recommended Posts

  • Replies 617
  • Created
  • Last Reply

Top Posters In This Topic

Posted

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;

Posted

CAN somebody help me on this one?!

There is really no way to change this annoying black add...?

I've tried on the templates and on the JS.. can someone point me where to change it please??

Posted
I've found solution.

Need to add permissions for path to models

In my case it was chown -R apache:apache /path/to/models/

I don't know how to do this. Where should I write this?

Posted
CAN somebody help me on this one?!

There is really no way to change this annoying black add...?

What are you talking about?

I don't know how to do this. Where should I write this?

In system console

Posted

In system console

CMD.EXE or what? In cmd it says that "Chown не является внешней или внутреней ссылкой... и т.д. и т.п.". In httpd.exe I can't write anything.

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

Posted

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?

and just saw all the functions of your armory and its just GREAT! GJ, RESPECT, You't the man :)

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

Posted
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

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.

Posted
Warning: Smarty error: unable to read resource: "overall_menu_es_es.tpl" in /armeria/includes/classes/libs/Smarty-2.6.26/Smarty.class.php on line 1093

Thank you, menu added in 118 rev.

Posted
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 :)

Posted

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

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

Posted
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

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