GithubHelp home page GithubHelp logo

gatherer's People

Contributors

jsb avatar kasvital avatar laytya avatar theoden-dd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gatherer's Issues

Feature request: disable gathering from guild mates

Hello,
I noticed that Gatherer collects data from the guild mates.
The problem is that an unknown guild mate sends a lot of false nodes (herbs, veins and crates) and it scrambled my Gatherer database.
I had to leave the guild in order to protect my new Gatherer database.
And - of course - I had to delete my old database because it became useless.
Can you please add an option to stop collecting data from the guild mates?
In case it also gathers from party members, then please add a option to stop collecting from them too.

Thank you!

[string "GatherMain1600:OnLoad"]:2: attempt to index a nil value

[string "GatherMain1600:OnLoad"]:2: attempt to index a nil value

function Gatherer_Clear()
Gatherer_Print("Clearing your gather data");
GatherItems = { };
ClosestList = { }; // THIS IS LINE 1600
ClosestSearchGather = "";
Gatherer_OnUpdate(0,true);
GatherMain_Draw();
end

Getting this error all the time when I open up map in The Barrens I think...

Error

I am getting this error when I logged onto my english client. It looks like the language doesn't matter as far as these addons are concerned!

[2017/07/28 21:45:07-117]: Gatherer\Gatherer.lua:428: attempt to call global Gatherer_AddonMessageEvent' (a nil value) Gatherer\Gatherer.lua:428: in function Gatherer_OnEvent'
:"Gatherer:OnEvent":2: in main chunk


Error

[2018/01/06 13:07:51-1700]: Gatherer\GathererInfo.lua:233: attempt to perform arithmetic on field ?' (a nil value) Gatherer\GathererInfo.lua:233: in function GathererInfo_Update'
Gatherer\GathererInfo.lua:173: in function GathererInfo_SetDefaultLocation' <string>:"GathererInfo_DialogFrame:OnShow":2: in main chunk <in C code>: in function Show'
Gatherer\GathererInfo.lua:31: in function `showGathererInfo'
:"GathererUI_SearchtButton:OnClick":2: in main chunk


enGB client

Spanish Localization

I did some translation for spanish, but the nodes don't show up on the map.

`elseif ( GetLocale() == "esES" ) then
-- Spanish localized variables
GATHERER_VERSION_WARNING="Nueva versión de Gatherer detectado, verifica pareja de zona.";
GATHERER_NOTEXT="([-]) no hay texto"

-- TRADE NAME
TRADE_HERBALISM="Botánica"
OLD_TRADE_HERBALISM="Botánica"
TRADE_MINING="Minería"
TRADE_OPENING="Abriendo"
GATHER_HERBALISM="Recolectar Hierbas"

-- strings for gather line in chat
HERB_GATHER_STRING="Usted Recolecta Hierbas en"
ORE_GATHER_STRING="Usted Recolecta Minerales en"
TREASURE_GATHER_STRING="Usted abre"

-- Length of the string to keep the gather name
HERB_GATHER_LENGTH=31
HERB_GATHER_END=-2
ORE_GATHER_LENGTH=23
ORE_GATHER_END=-2
TREASURE_GATHER_LENGTH=24
TREASURE_GATHER_END=-2

GATHERER_REQUIRE="Requiere"
GATHERER_NOSKILL="Requiere"

-- ore classes
ORE_CLASS_VEIN   ="filón"
ORE_CLASS_DEPOSIT="depósito"

-- ore types
ORE_COPPER    ="cobre"
ORE_TIN       ="estaño"
ORE_IRON      ="hierro"
ORE_SILVER    ="plata"
ORE_TRUESILVER="veraplata"
ORE_GOLD      ="oro"
ORE_MITHRIL   ="mitril"
ORE_THORIUM   ="thorio"
ORE_RTHORIUM  ="thorio (rico)"
ORE_DARKIRON  ="hierro negro"

-- herb types 
HERB_ARTHASTEAR        ="Lágrimas de Arthas"
HERB_BLACKLOTUS        ="Loto negro"
HERB_BLINDWEED         ="Carolina"
HERB_BRIARTHORN        ="Brezoespina"
HERB_BRUISEWEED        ="Hierba cardenal"
HERB_DREAMFOIL         ="Hojasueño"
HERB_EARTHROOT         ="Raiz de tierra"
HERB_FADELEAF          ="Pálida"
HERB_FIREBLOOM         ="Flor de fuego"
HERB_GHOSTMUSHROOM     ="Champiñón fantasma"
HERB_GOLDENSANSAM      ="Sansam dorado"
HERB_GOLDTHORN         ="Espina de oro"
HERB_GRAVEMOSS         ="Musgo de tumba"
HERB_GROMSBLOOD        ="Gromsanguina"
HERB_ICECAP            ="Setelo"
HERB_KHADGARSWHISKER   ="Mostacho de Khadgar"
HERB_KINGSBLOOD        ="Sangrerregia"
HERB_LIFEROOT          ="Vidarraíz"
HERB_MAGEROYAL         ="Marregal"
HERB_MOUNTAINSILVERSAGE="Salviargenta de montaña"
HERB_PEACEBLOOM        ="Flor de paz"
HERB_PLAGUEBLOOM       ="Musgopena"
HERB_PURPLELOTUS       ="Loto cárdeno"
HERB_SILVERLEAF        ="Hojaplata"
HERB_STRANGLEKELP      ="Alga estanguladora"
HERB_SUNGRASS          ="Solea"
HERB_SWIFTTHISTLE      ="Cardopresto"
HERB_WILDSTEELBLOOM    ="Acérita salvaje"
HERB_WINTERSBITE       ="Dientes de dragón"
HERB_WILDVINE	       ="Atriplex salvaje"

-- treasure types
TREASURE_BOX        	="Caja"
TREASURE_CHEST      	="chest"
TREASURE_CLAM       	="giant clam"
TREASURE_CRATE      	="crate"
TREASURE_BARREL     	="barrel"
TREASURE_CASK       	="cask"
TREASURE_SHELLFISHTRAP	="shellfish trap"
TREASURE_FOOTLOCKER 	= "footlocker"

TREASURE_BLOODHERO  	= "Sangre de héroes"

TREASURE_UNGOROSOIL 	= "un'goro soil"
TREASURE_UNGOROSOIL_G	= "dirt pile"
TREASURE_BLOODPETAL 	= "bloodpetal"
TREASURE_BLOODPETAL_G 	= "bloodpetal sprout"
TREASURE_POWERCRYST 	= "power crystal"

TREASURE_NIGHTDRAGON 	= "night dragon"
TREASURE_WHIPPERROOT 	= "whipper root"
TREASURE_WINDBLOSSOM 	= "windblossom"
TREASURE_SONGFLOWER 	= "songflower"

TREASURE_FISHNODE_TRIGGER1	= "Trunk";

-- TREASURE_FISHNODE_TRIGGER2 = "Bloated"; -- no longer found in wreckage in 1.11
TREASURE_FISHNODE_TRIGGER3 = "swarm";
TREASURE_FISHNODE_TRIGGER4 = "school";
TREASURE_FISHNODE_TRIGGER5 = "floating wreckage";
TREASURE_FISHNODE_TRIGGER6 = "oil spill";
TREASURE_FISHNODE_TRIGGER7 = "patch of elemental water";

TREASURE_FISHNODE		= "school";
TREASURE_FISHWRECK		= TREASURE_FISHNODE_TRIGGER5;
TREASURE_FISHELEM		= TREASURE_FISHNODE_TRIGGER7;

GATHERER_ReceivesLoot		= "You receive loot: (.+)%.";

TREASURE_REGEX = {
	[1] = " ([^ ]+)$",
	[2] = "^([^ ]+)",
	[3] = "([^ ]+) ([^ ]+) ",
};

function Gatherer_FindOreType(input)
	local i,j, oreType, oreClass, oreTypeClass;
	
	if ( string.find(input, "rich") and string.find(input, "thorium") ) then 
		return ORE_RTHORIUM;
	end;
		
	if ( string.find(input, "dark") and string.find(input, "iron") ) then
                    return ORE_DARKIRON;
            end

	i,j, oreType, oreClass = string.find(input, "([^ ]+) ([^ ]+)$");
	if (oreType and oreClass and ((oreClass == ORE_CLASS_VEIN) or (oreClass == ORE_CLASS_DEPOSIT))) then
		return oreType;
	end
	return;
end

function Gatherer_FindTreasureType(in_input)
	local iconName, input;

	input = string.gsub(in_input, GATHERER_NOTEXT, "")

	if ( string.find(input, TREASURE_UNGOROSOIL_G) or string.find(input, TREASURE_UNGOROSOIL)) then
		return TREASURE_UNGOROSOIL, TREASURE_UNGOROSOIL;
	end
		
	if (string.find(input, TREASURE_POWERCRYST) ) then
		return TREASURE_POWERCRYST, TREASURE_POWERCRYST;
	end

	if (string.find(input, TREASURE_BLOODPETAL_G) or string.find(input, TREASURE_BLOODPETAL)) then
		return TREASURE_BLOODPETAL, TREASURE_BLOODPETAL_G;
	end

	if (string.find(input, TREASURE_BLOODHERO) ) then
		return TREASURE_BLOODHERO, TREASURE_BLOODHERO;
	end

	for iconName in Gather_DB_IconIndex[0] do
		local index, treasure_regex, i, j, treasType;
		if ( input == iconName ) then
			return iconName;
		end
		
		if ( string.find(input, iconName) ) then
			for index, treasure_regex in TREASURE_REGEX do
				i,j, treasType = string.find(input, treasure_regex);
				if ( treasType and treasType == iconName ) then
					return iconName;
				end
				
				i,j, _, treasType = string.find(input, treasure_regex);
				if ( treasType and treasType == iconName ) then
					return iconName;
				end
			end
		end
	end
	return;
end`

localization: translations for koKR

Question: codes for zones?

Hello, I would like to ask what are the codes for each zone?
I noticed they are not the wowhead codes.
For example on wowhead, the code for Duskwod is 10 ( https://classic.wowhead.com/zone=10 )
While in Gatherer, the code for Duskwood is 8

Where can I find a list of codes for each zone?

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.