Slightly changed my script for svn 1.7 that adds one more line of flood to standard output, if anyone interested, code below
update.bat
[SIZE=1]
@ECHO OFF
CLS
SETLOCAL EnableDelayedExpansion
SET PATH=D:\LIBRARIES\msysgit\msysgit\bin;D:\LIBRARIES\msysgit\msysgit\mingw\bin;%PATH%
FOR /F "eol=; delims=," %%G IN (.\repos_git.txt) DO (
SET _path=%%G
SET _name=!_path:~44!
SET /P var=git update of !_name!: <NUL
cd !_path! >NUL 2>&1
IF ERRORLEVEL 1 ( ECHO FAIL ) ELSE (
git pull
IF ERRORLEVEL 1 ( ECHO FAIL )
)
)
ENDLOCAL
SETLOCAL EnableDelayedExpansion
SET PATH=C:\Program Files\TortoiseSVN\bin;%PATH%
FOR /F "eol=; delims=," %%G IN (.\repos_svn.txt) DO (
SET _path=%%G
SET _name=!_path:~44!
SET /P var=svn update of !_name!: <NUL
cd !_path! >NUL 2>&1
IF %ERRORLEVEL% NEQ 0 ( ECHO FAIL ) ELSE (
svn update --ignore-externals | find /v "Updating"
IF %ERRORLEVEL% NEQ 0 ( ECHO FAIL )
)
)
ENDLOCAL
SETLOCAL EnableDelayedExpansion
SET PATH=C:\Program Files\TortoiseHg;%PATH%
FOR /F "eol=; delims=," %%G IN (.\repos_hg.txt) DO (
SET _path=%%G
SET _name=!_path:~44!
SET /P var=hg update of !_name!: <NUL
cd !_path! >NUL 2>&1
IF ERRORLEVEL 1 ( ECHO FAIL ) ELSE (
hg pull & hg update
IF ERRORLEVEL 1 ( ECHO FAIL )
)
)
PAUSE[/SIZE]
Here is a script in a windows bat file I use to update hg, git and svn repos at once
0) checkout normally the repo with your favorite client
1) place repos_git.txt, repos_hg.txt, repos_svn.txt, update.bat in a folder
2) edit the txt files to match the local directory path of your cloned repo
3) change the integer 44 in update.bat to match the starting column number of the addon name in your directory path
4) run update.bat, output is
To note that hg.exe, git.exe and svn.exe must be found in your global env variable PATH so the simplest method is to install all the windows stuffs for this to work tortoisesvn, tortoisegit, tortoisehg, msysgit, and make sure when opening a command prompt the commands hg, git and svn returns something, if not then add the dir path in the global env variable called PATH
output of update.bat
[SIZE=1][COLOR=Gray]git update of LibAboutPanel: Already up-to-date.
git update of LibDeformat-3.0: Already up-to-date.
git update of LibDualSpec-1.0: Already up-to-date.
git update of Mapster: remote: Counting objects: 8, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 6 (delta 4), reused 0 (delta 0)
Unpacking objects: 100% (6/6), done.
From git://git.wowace.com/wow/mapster/mainline
fec02aa..2b3b890 master -> origin/master
Updating fec02aa..2b3b890
Fast-forward
Mapster.lua | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
git update of Omen: Already up-to-date.
svn update of Broker_CPU: At revision 4.
svn update of Ace2: At revision 1101.
svn update of Ace3: At revision 998.
hg update of ACP: pulling from http://hg.wowace.com/wow/acp/mainline
searching for changes
no changes found
0 files updated, 0 files merged, 0 files removed, 0 files unresolved[/COLOR][/SIZE]
update.bat
[SIZE=1]
@ECHO OFF
CLS
SETLOCAL EnableDelayedExpansion
FOR /F "eol=; delims=," %%G IN (repos_git.txt) DO (
SET _path=%%G
SET _name=!_path:~44!
SET /P var=git update of !_name!: <NUL
SET PATH = "%PATH%"
cd !_path! >NUL 2>&1
IF ERRORLEVEL 1 ( ECHO FAIL ) ELSE (
git pull
IF ERRORLEVEL 1 ( ECHO FAIL )
)
)
ENDLOCAL
SETLOCAL EnableDelayedExpansion
FOR /F "eol=; delims=," %%G IN (repos_svn.txt) DO (
SET _path=%%G
SET _name=!_path:~44!
SET /P var=svn update of !_name!: <NUL
SET PATH = "%PATH%"
cd !_path! >NUL 2>&1
IF ERRORLEVEL 1 ( ECHO FAIL ) ELSE (
svn update --ignore-externals
IF ERRORLEVEL 1 ( ECHO FAIL )
)
)
ENDLOCAL
SETLOCAL EnableDelayedExpansion
FOR /F "eol=; delims=," %%G IN (repos_hg.txt) DO (
SET _path=%%G
SET _name=!_path:~44!
SET /P var=hg update of !_name!: <NUL
SET PATH = "%PATH%"
cd !_path! >NUL 2>&1
IF ERRORLEVEL 1 ( ECHO FAIL ) ELSE (
hg pull & hg update
IF ERRORLEVEL 1 ( ECHO FAIL )
)
)
ENDLOCAL
PAUSE[/SIZE]
repos_xxx.txt, you can comment a line with ;
[SIZE=1]E:\Games\World of Warcraft\Interface\AddOns\Ace2
E:\Games\World of Warcraft\Interface\AddOns\Ace3
E:\Games\World of Warcraft\Interface\AddOns\Broker_CPU[/SIZE]
Known caveat: dont update addons with ! symbol in its name because setlocal in the batch is stripping out the ! from being used in the string, so put out !Buggrabber from this script.
I have bumped a new version but anyway there is no major changes because it still works fine and I'm using it yet, if not, then submit a ticket in curseforge I get an instant delivery in the mailbox
This project is beta, if you are ignorant with computers please wait at least a release, thank you a WoW version is planned
A lightweight, transparent and innovating antispam for Warhammer Online:
Ignore and automatic reports of gold spammers (the ignore list is not used) [Automatic reports are not yet implemented]
Based on a Bayesian algorithm and not on lua pattern matching as most today's antispams, you don't need X update to stop Z spammer
Transparent, the control center returns all the received messages
Catch many forms of spams with just one training, intelligent classifications, rare false positives
Classify as ham / spam or unsure using a powerful algorithm to calculate probabilities in a range from 0 to 1
Supports trainings, users are able to teach SpamBayes on the fly
Uses a global database for all characters
Yet starts with a blank database as SpamBayes Python does, but support for an "official" database is technically possible
Supports all "spammable" channels with a priority on being light in performance
Supports all languages and both actual versions of the client 1.3.6 and 1.4.0
Backup/Restore a database with the files in \user\settings\GLOBAL\SpamBayes\*.*
For quick testing you can download and import a database I have started to fill named optional_SpamBayes_db_12spam_22ham here (trained on english phrases
Usages:
Type /spambayes or /sb to bring on the control center
Helps/Tips:
Hit the Help button in-game
Bugs/Suggestions:
Must be reported in a Curseforge ticket, comments won't be considered for these types of requests
And remember to post as much informations possible
Reference:
[*] the algorithm of SpamBayes Python, a combination of work from Gary Robinson, Tim Peters and many contributers since 2002
[*] Bayesian spam filtering
no you have to unpack interface.myp files and look how Mythic wrote its addons and you can reproduce things, my wardiff project may help you to download the interface files, they are up to date
thank you jerry but I think in WAR this is a real "de", its hardcoded in a hardcoded.txt file of data.myp and I couldn't find it in globals else I would just have changed "de" to "par" for example but yet I think I have to modify client files which is not allowed
TEXT_X_HITS_YOU_FOR_Y <<2>> de <<C:1>> vous inflige un <<3[coup critique/coup]>> et vous subissez <<5>> points de dégâts.
but yes in WAR the addon support is so poor, client has many bugs but fortunely I find the PvP aspect of the game is much interesting than WoW, I like the idea to level up only with PvP
Thanks Xinhuan that is what I think too not possible, 2 days I pull my hair on this lol :D Unfortunely that is about a Warhammer addon not WoW addon, but the idea I'm working on is the same I register an event on SystemData.Events.WORLD_OBJ_COMBAT_EVENT then I get ObjectID Amount: Event: abilityID: There is then an API to transform abilityID to name, amount integer, Event easly guessable BUT unfortunely no method to get the Text from an objectID which I need in text lol, I'm so lucky... I think that's why the library has been build on parsing the combat logs, probably because there is no way to retrieve the object id's name, and for a DPS/Heal combat log library this is an important value to fill tables.
The other idea is to modify the phrases, i replace "de" by a unique "DE" or so but phrases are hardcoded in the client.
I will need the help of someone advanced in the use of lua patterns (also known regular expressions, regex)
I need to build a pattern to catch
AttaquedeSquig de Gaz vous inflige un coup et vous subissez 75 points de dégâts. (8 atténué) Pacte de CéléritédeMerae vous inflige un coup et vous subissez 75 points de dégâts. (8 atténué) AttaquedeSquig de Gaz vous inflige un coup et vous subissez 75 points de dégâts. (8 atténué) Pacte de CéléritédeSquig de Gaz vous inflige un coup et vous subissez 75 points de dégâts. (8 atténué)
orange: ability name to gather green: player/monster name to gather blue: damage number to gather red: string delimiter I will use in the pattern
my actual lua pattern: ^(.-) d[e%p%c]%s-[T]-[aoe]-n-s-%s*(.-) vous inflige un coup.- et vous subissez (%d+) points de dégâts.+"
Problem: When the string I use as a delimiter "de" is found in the player name or ability name, the pattern could not distinguish where is the beginning of the ability or player name
Example:
1 ) With
d=print;DD="Attaque de Squig de Gaz vous inflige un coup et vous subissez 75 points de dégâts. (8 atténué)";_,_,v1,v2,v3=DD:find("^(.-)d[e%p%c]%s-[T]-[aoe]-n-s-%s*(.-) vous inflige un coup.- et vous subissez (%d+) points de dégâts.+");if (v1 ~= nil) then d("What=\""..v1.."\" Who=\""..v2.."\" HowMuch=\""..v3.."\"") else d("The pattern doesn't match this sentence") end
It works: What="Attaque " Who="Squig de Gaz" HowMuch="75"
2) The same pattern with a "de" in the ability name this time
d=print;DD="Pacte de Célérité de Merae vous inflige un coup et vous subissez 75 points de dégâts. (8 atténué)";_,_,v1,v2,v3=DD:find("^(.-) d[e%p%c]%s-[T]-[aoe]-n-s-%s*(.-) vous inflige un coup.- et vous subissez (%d+) points de dégâts.+");if (v1 ~= nil) then d("What=\""..v1.."\" Who=\""..v2.."\" HowMuch=\""..v3.."\"") else d("The pattern doesn't match this sentence") end
Doesnt work: What="Pacte" Who="Célérité de Merae" HowMuch="75"
must have been What="Pacte de Célérité" Who="Merae" HowMuch="75"
the same with a "de" in ability + player strings I cannot find a pattern to match all 3 cases in one pattern.
wardiff.googlecode.com will help you to monitor changes in the interface files of the Warhammer Online client
The recommanded usage is to use a subversion client like TortoiseSVN, checkout the subversion link: http://wardiff.googlecode.com/svn/trunk/ and use the options inside Tortoise to check file differences, deletion, etc
You can also check diff via the google web interface, but is very very limited.
You can also download the interface files in a zip file.
hmm... I enabled cpu profiling in the menu (and get a warning about cpu profiling active on every reloadui) but the tooltip still only shows the memory column :( ( It only shows the Memory-Total Column )
Sounds like you are using GameTooltip wich by design only shows Memory OR cpu, so even if you have enabled CPU profiling, plus enabled Memory with GameTooltip, then it will show you Memory only, to remedy just uncheck Memory and CPU should be shown, nor install LIbQTip to show both in same times, the GameTooltip is a global and the less changes added to it the better it is
1. does the addon provide an option to toggle CPU profiling? I don't see that mentioned anywhere
2. does it provide multiple LDB feeds for different data, or just one big feed?
3. is it localized so that I can see periods instead of commas and MB instead of Mo?
4. can you sort on the various columns?
5. what's the update frequency? Is it adjustable?
1. sure it is available through commandline (/cpu prof) or dewdrop quick menu if the lib is installed and allowed to be used inside brokercpu's options
2. not sure what is a LDB feed, well I just store datas into tables and write them back in inside tooltips =)
3.yes there is a partial localization system to change KB to Ko Mb to Mo, fps to ips and vice versa, I have also managed to write it easy so you can replace you own phrases but I don't think thats really needed, everyone understand english
4. Nop not yet, I will maybe add LibQtipClick support later, I think it achieve very well this goal.
5. Yes throttles are adjustable through commandline or dewdrop quick menu for update frequency of tooltips and the ldb text.
interesting shit thanks for sorting that out tekkub
I Think a good idea would be to make a sticky about that here on wowace.com, wowinterface.com, curseforge.com, clearly describing SoftPedia + WoWMatrix are ninja looters like :p If the #1 sites join their forces I'm sure they can downrank them nor at least participate to, they receive too much click for now and ppl usually don't know authors are not associated with theses sites.
Here is a strange issue I have with tomQuest (see screen). A "white" space appears after couple of minutes in game at the bottom of the tip and at the right. Also this isn't a big issue except that at the same time columns are reduced.
First I though it was a tomquest issue, but the same appears with Broker_HitCrit, Broker_Currency, Broker_RecZone.
All these addons use LibQTip.
(I didn't use the ticket system cause I couldn't figure out what kind of issue that was ^^)
noticed that too, to work around I QTip:Show() (also QTip:SetScale() in my case) before adding the lines (AddLines), otherwise after I notice this caveat
well it gives strange localization file layout like in GatherMate case
L["FAQ_TEXT"] = [=[|cffffd200
Je viens juste d'installer GatherMate, mais je ne vois aucun nud sur mes cartes?*!
|r
GatherMate ne contient aucune donnée en l'état. Quand vous récoltez des herbes, des minerais, des gaz ou des poissons, GatherMate ajoutera et mettra ?* jour votre carte en conséquence. De plus, vérifiez vos paramètres d'affichage.
|cffffd200
Je vois des nuds sur ma carte du monde mais pas sur ma minicarte?*!
|r
|cffffff78Minimap Button Bag|r (et sans doute d'autres addons similaires) aime phagocyter tous les boutons que nous plaçons sur la minicarte. Désactivez-le.
|cffffd200
Comment ou où puis-je obtenir des données déj?* existantes?*?
|r
Vous pouvez importer des données déj?* existantes dans GatherMate des façons suivantes?*:
1. |cffffff78GatherMate_Data|r - Cet addon LoD (chargeable ?* la demande) contient des données extraites de WowHead de tous les nuds et est mis ?* jour toutes les semaines. Il y a des options de mise ?* jour automatique.
2. |cffffff78GatherMate_CartImport|r - Cet addon vous permet d'importer vos bases de données des modules |cffffff78Cartographer_<Métier>|r dans GatherMate. Pour que cela fonctionne, le(s) module(s) |cffffff78Cartographer_<Métier>|r et GatherMate_CartImport doivent être chargés et activés.
Notez que l'importation de données dans GatherMate n'est pas un processus automatique. Vous devez aller dans la section "Importation données" et cliquer sur le bouton "Importer".
La différence avec |cffffff78Cartographer_Data|r est que l'utilisateur a le choix de la façon dont (et du moment où) les données sont modifiées. |cffffff78Cartographer_Data|r, une fois chargé, écrase simplement vos bases de données existantes sans avertissement et détruit tous les nouveaux nuds que vous avez trouvé.
|cffffd200
Pouvez-vous ajouter le support de l'affichage des positions de choses telles que les boîtes aux lettres et les maîtres de vol?*?
|r
À nouveau, la réponse est non. Cependant, un autre auteur a le droit de créer un addon ou un module ?* cet effet. Le cur de l'addon GatherMate ne le fera jamais.
|cffffd200
J'ai trouvé un bogue?*! Où puis-je le signaler?*?
|r
Vous pouvez signaler des bogues ou faire des suggestions sur |cffffff78http://www.wowace.com/forums/index.php?topic=10990.0|r
Vous pouvez également nous trouver sur |cffffff78irc://irc.freenode.org/wowace|r
Quand vous voulez signaler un bogue, essayez de fournir les |cffffff78étapes ?* suivre pour reproduire ce bogue|r, indiquez les |cffffff78messages d'erreur|r que vous avez vus, donnez le |cffffff78numéro de révision|r de GatherMate où le problème a été découvert et précisez également la |cffffff78langue de votre jeu|r.
|cffffd200
Qui a écrit cet addon qui déchire?*?
|r
Kagaro, Xinhuan, Nevcairiel et Ammo.]=]
gives stranges output, so strange that I don't really notice first if that is a localization bug nor a wanted layout
0
update.bat
0
I miss this pepita
hope you back on this one too :)
0
0) checkout normally the repo with your favorite client
1) place repos_git.txt, repos_hg.txt, repos_svn.txt, update.bat in a folder
2) edit the txt files to match the local directory path of your cloned repo
3) change the integer 44 in update.bat to match the starting column number of the addon name in your directory path
4) run update.bat, output is
To note that hg.exe, git.exe and svn.exe must be found in your global env variable PATH so the simplest method is to install all the windows stuffs for this to work tortoisesvn, tortoisegit, tortoisehg, msysgit, and make sure when opening a command prompt the commands hg, git and svn returns something, if not then add the dir path in the global env variable called PATH
output of update.bat
update.bat
repos_xxx.txt, you can comment a line with ;
Known caveat: dont update addons with ! symbol in its name because setlocal in the batch is stripping out the ! from being used in the string, so put out !Buggrabber from this script.
0
thank you for using my mod
0
a WoW version is planned
A lightweight, transparent and innovating antispam for Warhammer Online:
Usages:
Type /spambayes or /sb to bring on the control center
Helps/Tips:
Hit the Help button in-game
Bugs/Suggestions:
Must be reported in a Curseforge ticket, comments won't be considered for these types of requests
And remember to post as much informations possible
Reference:
[*] the algorithm of SpamBayes Python, a combination of work from Gary Robinson, Tim Peters and many contributers since 2002
[*] Bayesian spam filtering
http://war.curseforge.com/addons/spambayes/
0
0
TEXT_X_HITS_YOU_FOR_Y <<2>> de <<C:1>> vous inflige un <<3[coup critique/coup]>> et vous subissez <<5>> points de dégâts.
but yes in WAR the addon support is so poor, client has many bugs but fortunely I find the PvP aspect of the game is much interesting than WoW, I like the idea to level up only with PvP
They need to hire masters like Iriel or Clad ^^
0
The other idea is to modify the phrases, i replace "de" by a unique "DE" or so but phrases are hardcoded in the client.
This is code WAR :x
0
I will need the help of someone advanced in the use of lua patterns (also known regular expressions, regex)
I need to build a pattern to catch
Attaque de Squig de Gaz vous inflige un coup et vous subissez 75 points de dégâts. (8 atténué)
Pacte de Célérité de Merae vous inflige un coup et vous subissez 75 points de dégâts. (8 atténué)
Attaque de Squig de Gaz vous inflige un coup et vous subissez 75 points de dégâts. (8 atténué)
Pacte de Célérité de Squig de Gaz vous inflige un coup et vous subissez 75 points de dégâts. (8 atténué)
orange: ability name to gather
green: player/monster name to gather
blue: damage number to gather
red: string delimiter I will use in the pattern
my actual lua pattern: ^(.-) d[e%p%c]%s-[T]-[aoe]-n-s-%s*(.-) vous inflige un coup.- et vous subissez (%d+) points de dégâts.+"
Problem: When the string I use as a delimiter "de" is found in the player name or ability name, the pattern could not distinguish where is the beginning of the ability or player name
Example:
1 ) With
It works: What="Attaque " Who="Squig de Gaz" HowMuch="75"
2) The same pattern with a "de" in the ability name this time
Doesnt work: What="Pacte" Who="Célérité de Merae" HowMuch="75"
must have been What="Pacte de Célérité" Who="Merae" HowMuch="75"
the same with a "de" in ability + player strings I cannot find a pattern to match all 3 cases in one pattern.
If you can help
0
The recommanded usage is to use a subversion client like TortoiseSVN, checkout the subversion link: http://wardiff.googlecode.com/svn/trunk/ and use the options inside Tortoise to check file differences, deletion, etc
You can also check diff via the google web interface, but is very very limited.
You can also download the interface files in a zip file.
Only *.MOD *.XML & *.LUA files are extracted.
0
Sounds like you are using GameTooltip wich by design only shows Memory OR cpu, so even if you have enabled CPU profiling, plus enabled Memory with GameTooltip, then it will show you Memory only, to remedy just uncheck Memory and CPU should be shown, nor install LIbQTip to show both in same times, the GameTooltip is a global and the less changes added to it the better it is
1. sure it is available through commandline (/cpu prof) or dewdrop quick menu if the lib is installed and allowed to be used inside brokercpu's options
2. not sure what is a LDB feed, well I just store datas into tables and write them back in inside tooltips =)
3.yes there is a partial localization system to change KB to Ko Mb to Mo, fps to ips and vice versa, I have also managed to write it easy so you can replace you own phrases but I don't think thats really needed, everyone understand english
4. Nop not yet, I will maybe add LibQtipClick support later, I think it achieve very well this goal.
5. Yes throttles are adjustable through commandline or dewdrop quick menu for update frequency of tooltips and the ldb text.
0
0
I Think a good idea would be to make a sticky about that here on wowace.com, wowinterface.com, curseforge.com, clearly describing SoftPedia + WoWMatrix are ninja looters like :p If the #1 sites join their forces I'm sure they can downrank them nor at least participate to, they receive too much click for now and ppl usually don't know authors are not associated with theses sites.
0
noticed that too, to work around I QTip:Show() (also QTip:SetScale() in my case) before adding the lines (AddLines), otherwise after I notice this caveat
0
gives stranges output, so strange that I don't really notice first if that is a localization bug nor a wanted layout