I need the translation for all client languages for this sentence.
You can't use that here.
EN: You can't use that here.
DE: ?
FR: ?
SP: ?
RU: ?
...
Anyone could help me? Thanks for helping![]()
I need the translation for all client languages for this sentence.
You can't use that here.
EN: You can't use that here.
DE: ?
FR: ?
SP: ?
RU: ?
...
Anyone could help me? Thanks for helping![]()
GlobalStrings.lua for the various languages.
You're looking for SPELL_FAILED_NOT_HERE.
You can download language packs and look at lua file Interface\FrameXML\GlobalStrings.lua.
Oh, and you must be doing something wrong if you need that localized text.Code:SPELL_FAILED_NOT_HERE = "You can't use that here.";
Last edited by TOM_RUS; 10-21-2012 at 07:26 AM.
DE: "Ihr könnt das hier nicht verwenden."
Catch the event 'UI_ERROR_MESSAGE' and compare the localized error message with the return of the following lua-script: "return GetText(\"SPELL_FAILED_NOT_HERE\");"
There's also map markers and i'm pretty sure you can read it's positions from memory and check if you are near to any of them.
ArcheologyGetVisibleBlobID lua returns POI ID (when you have map opened in client), you can pass that number to CGResearchFrame::GetPOIData function (0x00A0E640) which returns a pointer to struct containing all info you need. Look at CGWorldMap::SetMap (0x009D0530), CGResearchFrame::CreateArchaeologyBlobs (0x00A10D30) for more information.
All digsites are stored in ResearchSite.dbc and their locations in QuestPOIPoint.dbc (screenie)
Last edited by TOM_RUS; 10-21-2012 at 06:16 PM.
Thank you very much. :* This helps me a lot![]()
Thank you another time, tom![]()