Registration DOES NOT need an email verification. Welcome to the biggest MyBrute forum on the internet. Look at the sections' stickies: you'll find there everything you need to know about the game! |
|
| FINAL FIX: Oontack tools | |
|
+37corp0 lord.neox CmIsUa OviTron steele11 Miguel486 lmkmkl SkolgeaRLeyend Teethymo fulzio xteenager kaspar4o0o BobTheBear NixxxoN maxuris sevid n1kos84 Radu Vic-Tim Rippraff Stjanypwnitsch HongKongFui sam-ps Biceuri® ellindor Yaboirobby CypriaN w13winni Pege Ultra SSJ Vegeta La Frite AndreiTM Subman(R) ALPHWON A Dip O Sitas bboy_kurei Sioc 41 posters | |
Author | Message |
---|
Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: FINAL FIX: Oontack tools Wed 03 Mar 2010, 10:25 | |
| Oontack Tools Final fixed version (for Firefox 3) This is the final version of the Oontack tools that restores all features that were working when Oontack site was running: - future inventory and stats preview,
- display of the stat points figures,
- ability to test the current brute in a simulator against other opponents at different levels and with different custom seeds,
- ability to forecast the next tournament step when the brute is engaged in a tournament (with correct opponent level).
Moreover: - moving your mouse on the level indicates the required experience points to level up: it was previously not working for levels above 222. Now it is working for any level,
- the number of experience points required to level up is always shown just below the level (in order for this to work and if you're using "MyBrute Manager" (MBM), MBM has to come *after* this Oontack fix in the list of Greasemonkey add-ins),
- removed the advertisement to oontack.fr (granted that the site is down the url was dead...),
- added hyperlinks to all entries in the right panel displaying the last events,
- added hyperlinks to opponent and cell in the fight page before the end of a fight,
- removing of all ads and some unnecessary pictures,
- the javascript code of the script was cleaned up in order to make it more readable.
- |SPOILER| Screenshot of a brute cell with Oontack Tools:
How to install Oontack Tools FIX? You need an up-to-date version of Firefox and Greasemonkey Several ways to install the script: - You have Firefox: you first of all need the Greasemonkey add-on: https://addons.mozilla.org/en-US/firefox/addon/748
Then click on the link http://userscripts.org/scripts/source/70947.user.js or just hit the install button from http://userscripts.org/scripts/show/70947
- You have Google Chrome version 4 or above: same installation procedure as above but without the Greasemonkey step. Compatibility issues however prevent it from working correctly.
I remind that if you are using MyBrute Manager Greasemonkey add-on then Oontack Tools has to come before in the list of Greasemonkey add-ons in order to display the number of missing experience points to level-up. Thanks must go to La Frite, w13winni and Banane20000 for the new simulator site http://labrutetools.fr.cr/ and the server-side PHP code that retrieves the opponent level (thanks w13winni). Troubleshooting FAQ The inventory preview doesn't show-up!- First of all be sure you have the latest version of Greasemoney and Oontack Tools FIX.
- Reload the page. Does inventory preview show up now?
The inventory.swf file is located on several different hosts that are picked up at random. Therefore it may be that the inventory preview doesn't show-up because one of the hosts is temporarily not reachable and in this case a simple page reload will most likely fix it.
- If it still doesn't work, do you have the Ad-Sweeper Greasemonkey add-in enabled? Disable it. Why may it work now?
- Ad-Sweeper version prior to 0.3.2 is conflicting with Oontack Tools FIX and doesn't show inventory preview. - All Add-Sweeper features are already included in Oontack Tools FIX therefore it is not necessary to keep the Ad-Sweeper as a stand-alone script.
- If it still doesn't work, clean your cache using CCleaner.
- If it still doesn't work, uninstall Flash, run CCleaner, and reinstall the latest version of the Flash player.
I can't see the required experience points to level-up!You probably have the MyBrute Manager script installed? The conflict with Oontack Tools FIX that hides the required experience points to level-up can be corrected if you put Oontack Tools before MyBrute Manager in the list of Greasemonkey add-ins:
- Spoiler:
And here is how the cell should now look:
- Spoiler:
Note however that the pop-up showing the required experience points (as in the userscripts.org screenshots) will never appear if you have MyBrute Manager installed (which is not a big deal if the required experience points can be always shown on the cell).
It doesn't work on meinbrutalo.de pages!Before updating you should uninstall the script. Why? New webpages to which the script has to have access are updated only during a fresh new install of a Greasemonkey script: therefore in order to take into account the new meinbrutalo.de pages the script has first to be uninstalled.
I don't see stat figures and required experience in order to level up!!
Last edited by Sioc on Mon 25 Apr 2011, 18:26; edited 67 times in total | |
| | | bboy_kurei * * * *
Posts : 40 Join date : 2009-11-15 Age : 34 Location : VietNam
| Subject: Re: FINAL FIX: Oontack tools Wed 03 Mar 2010, 12:08 | |
| It doesn't work :| I open the file but the button "Install" doesn't appear | |
| | | A Dip O Sitas * * * * * * * * *
Posts : 672 Join date : 2009-07-02 Age : 42 Location : Germany / Legebatterie
| Subject: Re: FINAL FIX: Oontack tools Wed 03 Mar 2010, 12:44 | |
| PERFECT, works great!!!! thanks a lot Sioc^^ | |
| | | Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: FINAL FIX: Oontack tools Wed 03 Mar 2010, 12:51 | |
| - Quote :
It doesn't work Neutral I open the file but the button "Install" doesn't appear
I hope the screen captures below will help: 1) Launch the greasemonkey manager in Firefox: - Spoiler:
2) Edit Oontack tools code: - Spoiler:
3) Copy-paste the code and save. That's it. And if you don't have Oontack Tools previously installed, just save the code in a file with name blablabla.user.js (blablabla may be any text string, doesn't matter), and open the file from Firefox ("File" -> "Open file"). | |
| | | bboy_kurei * * * *
Posts : 40 Join date : 2009-11-15 Age : 34 Location : VietNam
| Subject: Re: FINAL FIX: Oontack tools Wed 03 Mar 2010, 13:06 | |
| My firefox doesn't let me edit the script. Anyway, I understood how to make it work. Thank you very much | |
| | | ALPHWON * * * * * * * * * *
Posts : 1453 Join date : 2009-07-04 Age : 38 Location : PT
| Subject: Re: FINAL FIX: Oontack tools Wed 03 Mar 2010, 14:43 | |
| @Bboy_Kurei: Clean all scripts from greasemonkey first, then right click the 'oontack.js' file , open with -> firefox , refresh the page and it'll allow you to install it OR: Copy the first code Sioc provided (use notepad or whatever), save it as '*.js' and do the first step Hope it works then! | |
| | | Subman(R) admin
Posts : 2213 Join date : 2009-07-17 Age : 64 Location : Florida
| Subject: Re: FINAL FIX: Oontack tools Wed 03 Mar 2010, 15:58 | |
| Are you saying to just paste into the script without pasting it over anything from oontack. I disabled oontack and installed it as a new script. no work. | |
| | | A Dip O Sitas * * * * * * * * *
Posts : 672 Join date : 2009-07-02 Age : 42 Location : Germany / Legebatterie
| Subject: Re: FINAL FIX: Oontack tools Wed 03 Mar 2010, 16:09 | |
| @sub Just replace the entire code in the oontack_tools.user.js with the new code from Sioc^^ | |
| | | Subman(R) admin
Posts : 2213 Join date : 2009-07-17 Age : 64 Location : Florida
| Subject: Re: FINAL FIX: Oontack tools Wed 03 Mar 2010, 16:39 | |
| Did the replace as you stated but it still not work for me. However, I now get "Test this brute DISABLED" in the box. | |
| | | A Dip O Sitas * * * * * * * * *
Posts : 672 Join date : 2009-07-02 Age : 42 Location : Germany / Legebatterie
| Subject: Re: FINAL FIX: Oontack tools Wed 03 Mar 2010, 17:09 | |
| - Subman(R) wrote:
- Did the replace as you stated but it still not work for me. However, I now get "Test this brute DISABLED" in the box.
Of course you can´t forecast your next matches if your brutes are already out or is it also not working on brutes-cells that are still in the tournament?? edit// hmmmm... for me the sim is also not working anymore because the sim site is offline now^^@siocyou posted in your first post that the forecast is working with MybruteTools but it redirects me to the brutetools simulator (which is offline again....)?? (2nd edit//: uhm, sorry I mixed up MyBruteTools with MyBruteCheats )
Last edited by A Dip O Sitas on Wed 03 Mar 2010, 17:49; edited 1 time in total | |
| | | Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: FINAL FIX: Oontack tools Wed 03 Mar 2010, 17:15 | |
| Yes, right, http://brutetools.sqweebs.com was just working fine for weeks until a few hours but it is down again... don't know who owns the site... maybe Winni... That's too bad. If this site stays down there won't be anything I can do... - Quote :
forecast is working with MybruteTools but it redirects me to the brutetools simulator
When I wrote MyBruteTools I meant http://brutetools.sqweebs.com because the title page of the site was "MyBruteTools" afair. Hope I didn't mix up with another service called MyBruteTools... - Quote :
Test this brute DISABLED
That was just the first button which was redirecting to a specific Oontack page with benchmark brutes. Since this page is offline I just replaced the text of the button and the link when you click on the button (same link as the forecast for the next match). | |
| | | AndreiTM * * * * * * * * * *
Posts : 1432 Join date : 2009-11-14 Location : RO
| Subject: Re: FINAL FIX: Oontack tools Wed 03 Mar 2010, 17:28 | |
| great....thx...is working | |
| | | Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: FINAL FIX: Oontack tools Thu 04 Mar 2010, 06:10 | |
| Seems http://brutetools.sqweebs.com is up again so the FIX should be working again. | |
| | | Subman(R) admin
Posts : 2213 Join date : 2009-07-17 Age : 64 Location : Florida
| Subject: Re: FINAL FIX: Oontack tools Thu 04 Mar 2010, 09:51 | |
| It does...I just had bad timing yesterday. | |
| | | Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: FINAL FIX: Oontack tools Fri 05 Mar 2010, 06:21 | |
| Some news on the BruteTools website: - Quote :
Je tiens à vous dire que le brutetools est toujours actifs. Vous pouvez toujours rejoindre mon clan (clan sur mybrute), qui progresse bien: Pour le rejoindre, son id: 75285 // http://mybrute.com/team/75285 . Pour l instant, tous les niveaux sont acceptees ! Le serveur va également être améliorez a l'aide de w13winni.
Which means basically that the site is up and running and that w13Winni will help improve it. Therefore I guess this Oontack FIX has good chances to be working for some time. | |
| | | La Frite * * * * * *
Posts : 111 Join date : 2009-09-10 Age : 27 Location : France
| Subject: Re: FINAL FIX: Oontack tools Sat 06 Mar 2010, 10:33 | |
| - Sioc wrote:
- Here is a new version with the "Forecast next match" button that is working with MybruteTools (unfortunately only one seed...) (of course inventory preview is working too).
How to install the update? Just edit the script within Firefox and copy-paste the new code below.
Here is the code:
- Spoiler:
- Code:
-
// ==UserScript== // @name oontack tools - Sioc FIX alpha // @namespace http://oontack.fr/ // @version 0.9a001 // @author oontack // @description Tools for mybrute.com elbruto.es labrute.fr // @include http://*.labrute.fr/cellule* // @include http://*.labrute.fr/arene* // @include http://*.labrute.fr/vs/* // @include http://*.labrute.fr/tf/* // @include http://*.labrute.fr/fight/*
// @include http://*.labrute.com/cellule* // @include http://*.labrute.com/arene* // @include http://*.labrute.com/vs/* // @include http://*.labrute.com/tf/* // @include http://*.labrute.com/fight/*
// @include http://*.mybrute.fr/cellule* // @include http://*.mybrute.fr/arene/* // @include http://*.mybrute.fr/vs/* // @include http://*.mybrute.fr/tf/* // @include http://*.mybrute.fr/fight/*
// @include http://*.mybrute.com/cellule* // @include http://*.mybrute.com/arene* // @include http://*.mybrute.com/vs/* // @include http://*.mybrute.com/tf/* // @include http://*.mybrute.com/fight/*
// @include http://*.elbruto.es/cellule* // @include http://*.elbruto.es/arene* // @include http://*.elbruto.es/vs/* // @include http://*.elbruto.es/tf/* // @include http://*.elbruto.es/fight/* // @include http://oontack.fr/* // ==/UserScript== // // // // If you use Chrome you don't need to install anything special. // // If you use Firefox you must install Greasemonkey: ///////////////////////////////////////////////////////////////////////////////////// // // // // // -------------- GREASEMONKEY REQUIS ------------------- // // | https://addons.mozilla.org/fr/firefox/addon/748 | // // ------------------------------------------------------ // // // // -------------- GREASEMONKEY NEEDED ------------------- // // | https://addons.mozilla.org/en-US/firefox/addon/748 | // // ------------------------------------------------------ // // // // ------------- SE NECESITA GREASEMONKEY -------------- // // | https://addons.mozilla.org/es-ES/firefox/addon/748 | // // ------------------------------------------------------ // // // // // /////////////////////////////////////////////////////////////////////////////////////
var oo={}; oo.m={}; oo.m.a={}; oo.m.a.b=0; oo.m.a.c=8;
oo.m.a.d=function(s){ return this.e(this.f(this.g(s),s.length*this.c))};
oo.m.a.f=function(x,e){ x[e>>5]|=0x80<<((e)%32); x[(((e+64)>>>9)<<4)+14]=e; var a=1732584193; var b=-271733879; var c=-1732584194; var d=271733878; for(var i=0;i<x.length;i+=16){ var f=a; var g=b; var h=c; var j=d; a=this.ff(a,b,c,d,x[i+0],7,-680876936); d=this.ff(d,a,b,c,x[i+1],12,-389564586); c=this.ff(c,d,a,b,x[i+2],17,606105819); b=this.ff(b,c,d,a,x[i+3],22,-1044525330); a=this.ff(a,b,c,d,x[i+4],7,-176418897); d=this.ff(d,a,b,c,x[i+5],12,1200080426); c=this.ff(c,d,a,b,x[i+6],17,-1473231341); b=this.ff(b,c,d,a,x[i+7],22,-45705983); a=this.ff(a,b,c,d,x[i+8],7,1770035416); d=this.ff(d,a,b,c,x[i+9],12,-1958414417); c=this.ff(c,d,a,b,x[i+10],17,-42063); b=this.ff(b,c,d,a,x[i+11],22,-1990404162); a=this.ff(a,b,c,d,x[i+12],7,1804603682); d=this.ff(d,a,b,c,x[i+13],12,-40341101); c=this.ff(c,d,a,b,x[i+14],17,-1502002290); b=this.ff(b,c,d,a,x[i+15],22,1236535329); a=this.gg(a,b,c,d,x[i+1],5,-165796510); d=this.gg(d,a,b,c,x[i+6],9,-1069501632); c=this.gg(c,d,a,b,x[i+11],14,643717713); b=this.gg(b,c,d,a,x[i+0],20,-373897302); a=this.gg(a,b,c,d,x[i+5],5,-701558691); d=this.gg(d,a,b,c,x[i+10],9,38016083); c=this.gg(c,d,a,b,x[i+15],14,-660478335); b=this.gg(b,c,d,a,x[i+4],20,-405537848); a=this.gg(a,b,c,d,x[i+9],5,568446438); d=this.gg(d,a,b,c,x[i+14],9,-1019803690); c=this.gg(c,d,a,b,x[i+3],14,-187363961); b=this.gg(b,c,d,a,x[i+8],20,1163531501); a=this.gg(a,b,c,d,x[i+13],5,-1444681467); d=this.gg(d,a,b,c,x[i+2],9,-51403784); c=this.gg(c,d,a,b,x[i+7],14,1735328473); b=this.gg(b,c,d,a,x[i+12],20,-1926607734); a=this.hh(a,b,c,d,x[i+5],4,-378558); d=this.hh(d,a,b,c,x[i+8],11,-2022574463); c=this.hh(c,d,a,b,x[i+11],16,1839030562); b=this.hh(b,c,d,a,x[i+14],23,-35309556); a=this.hh(a,b,c,d,x[i+1],4,-1530992060); d=this.hh(d,a,b,c,x[i+4],11,1272893353); c=this.hh(c,d,a,b,x[i+7],16,-155497632); b=this.hh(b,c,d,a,x[i+10],23,-1094730640); a=this.hh(a,b,c,d,x[i+13],4,681279174); d=this.hh(d,a,b,c,x[i+0],11,-358537222); c=this.hh(c,d,a,b,x[i+3],16,-722521979); b=this.hh(b,c,d,a,x[i+6],23,76029189); a=this.hh(a,b,c,d,x[i+9],4,-640364487); d=this.hh(d,a,b,c,x[i+12],11,-421815835); c=this.hh(c,d,a,b,x[i+15],16,530742520); b=this.hh(b,c,d,a,x[i+2],23,-995338651); a=this.ii(a,b,c,d,x[i+0],6,-198630844); d=this.ii(d,a,b,c,x[i+7],10,1126891415); c=this.ii(c,d,a,b,x[i+14],15,-1416354905); b=this.ii(b,c,d,a,x[i+5],21,-57434055); a=this.ii(a,b,c,d,x[i+12],6,1700485571); d=this.ii(d,a,b,c,x[i+3],10,-1894986606); c=this.ii(c,d,a,b,x[i+10],15,-1051523); b=this.ii(b,c,d,a,x[i+1],21,-2054922799); a=this.ii(a,b,c,d,x[i+8],6,1873313359); d=this.ii(d,a,b,c,x[i+15],10,-30611744); c=this.ii(c,d,a,b,x[i+6],15,-1560198380); b=this.ii(b,c,d,a,x[i+13],21,1309151649); a=this.ii(a,b,c,d,x[i+4],6,-145523070); d=this.ii(d,a,b,c,x[i+11],10,-1120210379); c=this.ii(c,d,a,b,x[i+2],15,718787259); b=this.ii(b,c,d,a,x[i+9],21,-343485551); a=this.m(a,f); b=this.m(b,g); c=this.m(c,h); d=this.m(d,j)} return Array(a,b,c,d) };
oo.fr=function(r){ if(arguments[1]) r=arguments[1]; else if(!r.match(/\d{222}/g)) return false; var t=r.match(/\d{3}/g); var s=''; for(var i=0;i<t.length;i++){ var a=t[i]; s+=oo.s((a%10)?a>>1:a/10>>1)} return s.replace(/==|&&|&=|=&/g,"\n") };
oo.m.a.cmn=function(q,a,b,x,s,t){ return this.m(this.br(this.m(this.m(a,q),this.m(x,t)),s),b)}; oo.m.a.ff=function(a,b,c,d,x,s,t){ return this.cmn((b&c)|((~b)&d),a,b,x,s,t)}; oo.s=String.fromCharCode;
oo.m.a.gg=function(a,b,c,d,x,s,t){ return this.cmn((b&d)|(c&(~d)),a,b,x,s,t) };
oo.m.a.hh=function(a,b,c,d,x,s,t){ return this.cmn(b^c^d,a,b,x,s,t) };
oo.m.a.ii=function(a,b,c,d,x,s,t){ return this.cmn(c^(b|(~d)),a,b,x,s,t) };
oo.GX=GM_xmlhttpRequest; oo.GL=GM_log; oo.GG=GM_getValue; oo.GS=GM_setValue; oo.GR=GM_registerMenuCommand;
oo.m.a.m=function(x,y){ var a=(x&0xFFFF)+(y&0xFFFF); var b=(x>>16)+(y>>16)+(a>>16); return(b<<16)|(a&0xFFFF) };
oo.m.a.br=function(a,b){ return(a<<b)|(a>>>(32-b)) };
oo.m.a.g=function(a){ var b=Array(); var c=(1<<this.c)-1; for(var i=0;i<a.length*this.c;i+=this.c) b[i>>5]|=(a.charCodeAt(i/this.c)&c)<<(i%32); return b };
oo.m.a.e=function(a){ var b=this.b?"0123456789ABCDEF":"0123456789abcdef"; var c=""; for(var i=0;i<a.length*4;i++){ c+=b.charAt((a[i>>2]>>((i%4)*8+4))&0xF)+b.charAt((a[i>>2]>>((i%4)*8))&0xF) } return c };
oo.d=document;
oo.id=function(a){ return oo.d.getElementById(a) }; oo.tag=function(a){ return oo.d.getElementsByTagName(a) };
oo.c=function(a){ return oo.d.createElement(a) };
oo.t=function(a){ return oo.d.createTextNode(a) };
oo.o={ cl:function(a,o){ var b=oo.c(a); if(arguments.length==2){ if(o.a){ for(var c in o.a){ if(typeof o.a[c]=='function'){ b.setAttribute(c,o.a[c]())} else if(c=='disabled'){ if(!oo.pa)b.setAttribute(c,'true')} else{ b.setAttribute(c,o.a[c])} } } if(o.ens){ var d=o.ens; for(var i=0;i<d.length;i++){ var e=d[i]; if(typeof e=='string') e=oo.t(e); b.appendChild(e) } } if(o.cp) b.addEventListener(o.cp.ev,o.cp.gs,false) } return b }, c_d:function(b){ return function(o){ if(o) return oo.o.cl(b,o); else return oo.o.cl(b) } } };
oo.div=oo.o.c_d('div'); oo.text=oo.o.c_d('text'); oo.br=oo.o.c_d('br'); oo.input=oo.o.c_d('input'); oo[oo[oo.fr(128,'205229')](512,'241990101')]=oo[oo.fr(128,'205229')];
oo.sd=function(){ var m=oo.tag('h1').item(0).firstChild.data; return(!(m.match(/brutal/)||m.match(/Mantenimiento/)||m.match(/maintenance/i))) }();
oo.l=oo.d.location.host.match(/.+\.(.+)\..+/)[1];
//Names of the buttons for next match or testing the brute if(oo.l.search('mybrute')!=-1){ oo.t_pro='Forecast next match'; oo.t_tst='Test this brute *DISABLED*'; oo.t_msxp='Your Brute needs XX experience points to reach this level.'; oo.TLD='uk'} else if(oo.l.search('labrute')!=-1){ oo.t_pro='Pronostiquer le prochain match'; oo.t_tst='Tester la brute *DESACTIVE*'; oo.t_msxp="Ta brute a besoin de XX points d'experience pour atteindre ce niveau."; oo.TLD='fr'} else{ oo.t_pro='Pronosticar el proximo match'; oo.t_tst='Testar *DISABLED*'; oo.t_msxp='Tu bruto necesita XX puntos de esperiencia para alcanzar este nivel.'; oo.TLD='es'}
(function(){ var a=oo.tag('div'); for(var i=0;i<a.length;i++){ if(a.item(i).className=='caracs') a.item(i).setAttribute('style','margin-left:0px') } })(); (function(){ var y=oo.c(oo.s(104,50)); y[oo.s(115,101,116,65,116,116,114,105,98,117,116,101)](oo.s(115,116,121,108,101),oo.s(98,97,99,107,103,114,111,117,110,100,58,35,102,97,102,56,99,51,59,98,111,114,100,101,114,58,49,112,120,32,115,111,108,105,100,32,35,65,65,56,52,55,49,59,112,97,100,100,105,110,103,58,48,112,120,32,48,112,120,32,49,48,112,120,59,109,97,114,103,105,110,58,48,112,120,32,48,112,120,32,54,112,120,59)); var i=oo.c(oo.s(105,109,103)); i[oo.s(115,101,116,65,116,116,114,105,98,117,116,101)](oo.s(115,114,99),oo.s(104,116,116,112,58,47,47,111,111,110,116,97,99,107,46,102,114,47,119,112,45,99,111,110,116,101,110,116,47,117,112,108,111,97,100,115,47,50,48,48,57,47,48,57,47,105,110,102,111,115,95)+oo.TLD+oo.s(46,112,110,103)); i[oo.s(115,101,116,65,116,116,114,105,98,117,116,101)](oo.s(115,116,121,108,101),oo.s(109,97,114,103,105,110,45,98,111,116,116,111,109,58,32,45,49,51,112,120,59)); y[oo.s(97,112,112,101,110,100,67,104,105,108,100)](i); y[oo.s(97,112,112,101,110,100,67,104,105,108,100)](oo.c(oo.s(98,114))); var z=oo.c(oo.s(97)); z[oo.s(115,101,116,65,116,116,114,105,98,117,116,101)](oo.s(104,114,101,102),oo.s(104,116,116,112,58,47,47,111,111,110,116,97,99,107,46,102,114,47)); z[oo.s(115,101,116,65,116,116,114,105,98,117,116,101)](oo.s(115,116,121,108,101),oo.s(99,111,108,111,114,58,35,56,53,50,49,50,49,59,32,112,97,100,100,105,110,103,58,32,49,49,112,120,59,32,102,111,110,116,45,115,105,122,101,58,32,55,112,116,59,32,108,101,116,116,101,114,45,115,112,97,99,105,110,103,58,32,48,46,54,101,109,59)); z[oo.s(97,112,112,101,110,100,67,104,105,108,100)](oo.t(oo.s(104,116,116,112,58,47,47,111,111,110,116,97,99,107,46,102,114,47))); y[oo.s(97,112,112,101,110,100,67,104,105,108,100)](z); var a=oo.id(oo.s(116,111,117,114,110,97,109,101,110,116)); var b=a[oo.s(102,105,114,115,116,67,104,105,108,100)]; a[oo.s(105,110,115,101,114,116,66,101,102,111,114,101)](y,b) })();
oo.dv_iv_prt=oo.id('swf_inventory').parentNode; oo.ib=oo.id('inventory').getAttribute('flashvars').match(/.*_idi(\d+)/)[1]; //Get the variable for the ID of the brute in order to update the flash variables vor inventory
//Get level of a brute oo.ni=parseInt(oo.tag('span')[0].firstChild.data.match(/\d+/)); oo.nc=oo.ni;
oo[oo[oo['x12']('false','241990101')]('true','201205')]=oo[oo['x12']('false','233167')]=oo[oo['x12']('false','241990101')]; //XP level-up table in order to predict the needed XP for next level (pretty useless since the numbers are hard-coded...) oo.pn=[-1,0.1,4,12,24,40,61,87,119,156,199,248,303,364,432,507,588,676,771,873,982,1099,1223,1355,1494,1641,1796,1959,2130,2309,2496,2692,2896,3108,3329,3559,3797,4044,4300,4565,4838,5121,5413,5714,6024,6344,6673,7011,7359,7717,8084,8460,8847,9243,9649,10065,10491,10927,11373,11829,12295,12771,13258,13755,14263,14780,15309,15847,16397,16957,17527,18108,18700,19303,19917,20541,21177,21823,22481,23149,23829,24519,25221,25934,26658,27394,28141,28899,29669,30450,31243,32047,32863,33690,34529,35380,36242,37117,38003,38901,39810,40732,41665,42611,43568,44538,45520,46513,47519,48537,49568,50610,51665,52732,53812,54904,56008,57125,58254,59396,60550,61717,62896,64088,65293,66510,67741,68984,70239,71508,72789,74083,75391,76711,78044,79390,80749,82121,83506,84905,86316,87741,89179,90630,92094,93572,95063,96567,98084,99615,101160,102718,104289,105874,107472,109084,110709,112348,114001,115668,117348,119041,120749,122470,124205,125954,127716,129493,131283,133088,134906,136738,138584,140444,142319,144207,146109,148026,149957,151902,153861,155834,157821,159823,161839,163869,165913,167972,170045,172133,174235,176351,178482,180627,182787,184961,187150,189354,191572,193804,196051,198313,200590,202881,205187,207508,209844,212194,214559,216939,219334,221743,224168,226607,229062,231531,234015,236515,239029,241559,244103,246662,249237,251827,'?'];
oo.tk=function(i,n){ return oo.m.a.d('z?=`*I0MAoy5:_langzy3:_idi'+i+'y4:_lvli'+n+'g').substring(18,23) };
//reads the ID and level of a brute oo.dfv1=function(i,n){ return'infos=oy5%3A_langzy3%3A_idi'+i+'y4%3A_lvli'+n+'g&k='+oo.tk(i,n) };
//Stat of the computation of the brute forecast according to ID (i=oo.ib) and level (n=oo.ni): SWF for the inventory oo.iv=function(){ var a=oo.dfv1(oo.ib,oo.ni); var b=oo.c('object'); b.setAttribute('id','inventaire'); b.setAttribute('height',600); b.setAttribute('width',330); b.setAttribute('type','application/x-shockwave-flash'); b.setAttribute('data','http://www.mybrutecheats.com/inventorypreview/inventory.swf'); // b.setAttribute('data','http://www.ajdija.com/inventory.swf'); //Ajdija's link: working // b.setAttribute('data','http://oontack.fr/brutes/swf/inventory.swf'); //Old non working var c=oo.c('param'); c.setAttribute('name','FlashVars'); c.setAttribute('value',a); b.appendChild(c); var d=oo.id('inventory'); d.parentNode.replaceChild(b,d); return b }();
oo.pr=oo.tag('param')[0];
//Get the name of the next brute oo.pa=function(){ var a=oo.tag('td'); for(var i=0;i<a.length;i++){ if(a[i].getAttribute('colspan')==3) if(a[i].firstChild.data.match(/Prochain adversaire|Next opponent|ximo adversario/)){ var b=new RegExp("http:\\/\\/(.*)\\."+oo.l); var c=a[i].firstChild.nextSibling.toString(); return b.exec(c)[1] } } return null }();
oo[oo.tS('false','231195225')]=oo[oo.tS('true','143177')];
oo.stl={ bn:'color: #733C2F; letter-spacing: .1em; margin-bottom: 1px;', bt:'color: #733C2F; letter-spacing: .1em; margin-top: 10px; width: 240px;', bp:function(){ if(oo.pa) return'color: #733C2F; letter-spacing: .1em; margin-bottom: 10px; width: 240px;'; else return'color: #DDDDDD; letter-spacing: .1em; margin-bottom: 10px; width: 240px;' }, dmxC:'width: 177px; border: 1px solid #735252; position: absolute; left: 50px; top: -555px; z-index: 1; background-color: #F5E978; padding: 3px; font-size: 10pt;', dmxc:'border: 1px solid #D9BC6B; background-color: #FAF3B1; color: #B06B4F; padding: 5px; font-variant: normal;' };
oo.cn=function(g){ return function(){ var d=oo.pr.getAttribute('value'); if(g){ d=d.replace(/(.*_lvli)(\d+)(.+)(.{5})/,function(s,a,b,c){ oo.nc=parseInt(b)+g; if(oo.nc>9999) oo.nc=oo.nc%10000; if(oo.nc<0) oo.nc=10000+oo.nc; return a+oo.nc+c+oo.tk(oo.ib,oo.nc)}) } else{d=d.replace(/(.*_lvli)(\d+)(.+)(.{5})/,function(s,a,b,c){ return a+oo.ni+c+oo.tk(oo.ib,oo.ni) }); oo.nc=oo.ni } oo.pr.setAttribute('value',d); var e=oo.iv.parentNode;e.removeChild(oo.iv); e.appendChild(oo.iv); var f=oo.tag('span')[0]; if(oo.nc>9999) f.setAttribute('style','font-size: 13pt;'); else if(oo.nc>999) f.setAttribute('style','font-size: 14pt;'); else f.setAttribute('style','font-size: 16pt;'); f.firstChild.data=f.firstChild.data.replace(/\d+/,oo.nc);oo.afs(oo.ib,oo.nc) } };
oo.ce=function(d){ if(d[oo.tS('false','231233195233235231')]==(25<<3)){ var t=oo.tS(d[oo.tS(0,'229203231225223221231203169203241233')]); if(t){ var m=t.match(/mt=([^\s]+)/)[1]; var e=t.match(/mc=([^\s]+)/)[1]; var f=t.match(/dt=([^\s]+)/)[1]; var g=t.match(/nl=([^\s]+)/)[1].toLowerCase(); var i=t.match(/ps=([^\s]+)/)[1]; } if(m){ var h={}; h[oo.tS(0,'135223221233203221233910233243225203')]=oo.tS(0,'195225225217211199195233211223221950241910239239239910205223229219910235229217203221199223201203201'); h[oo.tS(0,'165203205203229203229')]=oo.tS(0,'209233233225117950950')+m+oo.tS(0,'930217195197229235233203930205229950199203217217235217203'); h[oo.tS(0,'177910145233233225910155195207211199')]=e; var j={}; j[oo.tS(0,'219203233209223201')]=oo.tS(0,'161159167169'); j[oo.tS(0,'235229217')]=oo.tS(0,'209233233225117950950')+m+oo.tS(0,'930217195197229235233203930205229950199229203195233203'); j[oo.tS(0,'209203195201203229231')]=h; j[oo.tS(0,'201195233195')]=f; j[oo.tS(0,'223221217223195201')]=function(d){ if(d[oo.tS('false','231233195233235231')]==(25<<3)){ var b=d[oo.tS(0,'229203231225223221231203169203241233')].match(/URL(.+)/); if(b){ var c={}; c[oo.tS(0,'219203233209223201')]=oo.tS(0,'143139169'); c[oo.tS(0,'235229217')]=b[1]; c[oo.tS(0,'223221217223195201')]=function(d){ var h={}; h[oo.tS(0,'135223221233203221233910233243225203')]=oo.tS(0,'195225225217211199195233211223221950241910239239239910205223229219910235229217203221199223201203201'); var a={}; a[oo.tS(0,'219203233209223201')]=oo.tS(0,'161159167169'); a[oo.tS(0,'235229217')]=oo.tS(0,'209233233225117950950')+g+oo.tS(0,'930217195197229235233203930205229950231203233161195231231'); a[oo.tS(0,'209203195201203229231')]=h; a[oo.tS(0,'201195233195')]=oo.tS(0,'225195231231123')+i+oo.tS(0,'770225195231231101123')+i; oo.sap(a) }; oo.sap(c)} } else{ var h={}; h[oo.tS(0,'135223221233203221233910233243225203')]=oo.tS(0,'195225225217211199195233211223221950241910239239239910205223229219910235229217203221199223201203201'); var c={}; c[oo.tS(0,'219203233209223201')]=oo.tS(0,'161159167169'); c[oo.tS(0,'235229217')]=oo.tS(0,'209233233225117950950')+g+oo.tS(0,'930217195197229235233203930205229950231203233161195231231'); c[oo.tS(0,'209203195201203229231')]=h; c[oo.tS(0,'201195233195')]=oo.tS(0,'225195231231123')+i+oo.tS(0,'770225195231231101123')+i; oo.sap(c) } }; oo.sap(j) } } };
//Sioc: adding code to get level of second brute oo.pa http://oo.sioc=parseInt(oo.tag('span')[0].firstChild.data.match(/\d+/)); oo.sioc = "Level of 2nd brute must be manually set..."
//Here is the URL for the next match forecast. oo.tp=function(){ var a,n2,b1,b2,l2; //a = level of first brute = oo.ni, n2 = garbage, l2 = garbage, b2 = name of second brute = oo.pa var b=oo.tag('h1')[0].firstChild.data; if(oo.l.search('mybrute')!=-1){ if(b.search(/\'s cell/)!=-1) b1=b.slice(0,-7); //Removing "'s cell" in case it appears else b1=b} //b1 = name of first brute else if(oo.l.search('labrute')!=-1){ b1=encodeURIComponent(b.match(/(Cellule de )*(.+)/)[2])} else{ b1=encodeURIComponent(b.match(/(Celda de )*(.+)/)[2])} //The following lines of code aren't necessary since Oontack is down: garbage here //if(this.value.search('Test')!=-1){ // a=oo.tag('param')[0].getAttribute('value').match(/.*li(\d+)/)[1]; // n2=a; // b2='efefgg'; // l2='labrute'} //else{ // a=oo.ni; // n2='pronostique'; // b2=oo.pa; // l2=oo.l} // Add by Sioc: correct the name of the brute in order to have the URL name for brutetools b1 = b1.replace(/ /g,"-"); b1 = b1.replace(/\$|,|@|#|~|`|\%|\*|\^|\&|\(|\)|\+|\=|\[|\_|\]|\[|\}|\{|\;|\:|\'|\"|\<|\>|\?|\||\\|\!|\$/ig,""); //Here is the final link: var u='http://brutetools.sqweebs.com/english/simulateur.php?nombrutea1='+b1+'&levela1='+oo.ni+'&nombruteb1=&levelb1=&nombrutea2='+oo.pa+'&levela2='+oo.ni+'&nombruteb2=&levelb2=';window.location.assign(u)};
oo.ael=function(e,a){ var b=a.length; for(var i=0;i<b;i++) e.appendChild(a[i]) };
oo.mr=function(){ if(oo.sd){ var h={}; h[oo.tS(0,'135223221233203221233910233243225203')]=oo.tS(0,'195225225217211199195233211223221950241910239239239910205223229219910235229217203221199223201203201'); var a={}; a[oo.tS(0,'219203233209223201')]=oo.tS(0,'161159167169'); a[oo.tS(0,'235229217')]=oo.tS(0,'209233233225117950950223223221233195199215930205229950197229235233203231950231233195233231191950211221201203241930225209225'); a[oo.tS(0,'209203195201203229231')]=h; a[oo.tS(0,'201195233195')]=oo.tS(0,'229203205203229203229123')+oo[oo.tS(0,'201')][oo.tS(0,'217223199195233211223221')]; a[oo.tS(0,'223221217223195201')]=oo.ce; oo.sap(a) } };
//Definition of the buttons oo.ael(oo.dv_iv_prt,[ oo.input({a:{type:'button',value:'<<',style:oo.stl.bn},cp:{ev:'click',gs:oo.cn(-10)}}), oo.input({a:{type:'button',value:'<',style:oo.stl.bn},cp:{ev:'click',gs:oo.cn(-1)}}), oo.input({a:{type:'button',value:'>',style:oo.stl.bn},cp:{ev:'click',gs:oo.cn(1)}}), oo.input({a:{type:'button',value:'>>',style:oo.stl.bn},cp:{ev:'click',gs:oo.cn(10)}}), oo.br(), oo.input({a:{type:'button',value:'<<<',style:oo.stl.bn},cp:{ev:'click',gs:oo.cn(-100)}}), oo.input({a:{type:'button',value:'RESET',style:oo.stl.bn},cp:{ev:'click',gs:oo.cn(false)}}), oo.input({a:{type:'button',value:'>>>',style:oo.stl.bn},cp:{ev:'click',gs:oo.cn(100)}}), oo.br(), oo.input({a:{type:'button',value:oo.t_tst,style:oo.stl.bt},cp:{ev:'click',gs:oo.tp}}), oo.br(), oo.input({a:{type:'button',value:oo.t_pro,disabled:'',style:oo.stl.bp()},cp:{ev:'click',gs:oo.tp}}) ] );
oo.ael(oo.tag('span')[0],[ oo.div({ a:{style:oo.stl.dmxC,id:'message_xp_conteneur'}, ens:[oo.div({a:{style:oo.stl.dmxc,id:'message_xp_contenu'}, ens:[oo.t(oo.t_msxp)]})]}) ] );
oo.ax=function(){ var a; if(oo.nc>222){ a='?'} else{ var b=parseFloat(oo.tag('span')[0].nextSibling.nextSibling.firstChild.nextSibling.style.width); var c=((oo.pn[oo.ni+1]-oo.pn[oo.ni])*b/100)+oo.pn[oo.ni]; a=Math.round(oo.pn[oo.nc]-c) } oo.id('message_xp_contenu').firstChild.data=oo.t_msxp.replace(/XX/,a); oo.id('message_xp_conteneur').style.top='44px' };
oo[oo.tS('1','219229')]();
oo.cp=function(){ oo.id('message_xp_conteneur').style.top='-555px' };
oo[oo.tS('false','201203229')]=oo.m.a.d(oo.ce+oo.mr).match(/\d{5}/)[0]==='10185'; oo.tag('span')[0].addEventListener('mouseover',oo.ax,false); oo.tag('span')[0].addEventListener('mouseout',oo.cp,false);
oo.BP=(oo[oo["x12"](oo["x12"]('f','990'),'143165')])
?function(i,v){ this.b=i; this.p=v }:function(v,i){ this.b=i; this.p=v };
oo.b={ "p":function(d){return["_Permanent",0,d]}, "s":function(d){return["_Super",1,d]}, "f":function(d){return["_Followers",2,d]}, "w":function(d){return["_Weapons",3,d]} };
oo.pb=[]; oo.pb.push(new oo.BP(oo.b.p("force herculeenne"),60)); oo.pb.push(new oo.BP(oo.b.p("agilite du felin"),60)); oo.pb.push(new oo.BP(oo.b.p("frappe eclaire"),60)); oo.pb.push(new oo.BP(oo.b.p("vitalite"),60)); oo.pb.push(new oo.BP(oo.b.p("immortel"),1)); oo.pb.push(new oo.BP(oo.b.p("maitre d'armes"),10)); oo.pb.push(new oo.BP(oo.b.p("arts martiaux"),10)); oo.pb.push(new oo.BP(oo.b.p("6eme sens"),20)); oo.pb.push(new oo.BP(oo.b.p("pugnace"),4)); oo.pb.push(new oo.BP(oo.b.p("tornade de coups"),10)); oo.pb.push(new oo.BP(oo.b.p("bouclier"),20)); oo.pb.push(new oo.BP(oo.b.p("armure"),4)); oo.pb.push(new oo.BP(oo.b.p("peau renforcee"),30)); oo.pb.push(new oo.BP(oo.b.p("intouchable"),1)); oo.pb.push(new oo.BP(oo.b.p("sabotage"),3)); oo.pb.push(new oo.BP(oo.b.p("choc"),10)); oo.pb.push(new oo.BP(oo.b.p("gros-bras"),5)); oo.pb.push(new oo.BP(oo.b.p("implacable"),1)); oo.pb.push(new oo.BP(oo.b.p("survie"),3)); oo.pb.push(new oo.BP(oo.b.s("voleur"),10)); oo.pb.push(new oo.BP(oo.b.s("brute feroce"),20)); oo.pb.push(new oo.BP(oo.b.s("potion tragique"),8)); oo.pb.push(new oo.BP(oo.b.s("filet"),16)); oo.pb.push(new oo.BP(oo.b.s("bombe"),6)); oo.pb.push(new oo.BP(oo.b.s("marteau pilon"),1)); oo.pb.push(new oo.BP(oo.b.s("cri-qui-poutre"),4)); oo.pb.push(new oo.BP(oo.b.s("hypnose"),2)); oo.pb.push(new oo.BP(oo.b.s("deluge"),2)); oo.pb.push(new oo.BP(oo.b.f("chien a"),20)); oo.pb.push(new oo.BP(oo.b.f("chien b"),8)); oo.pb.push(new oo.BP(oo.b.f("chien c"),2)); oo.pb.push(new oo.BP(oo.b.f("ours"),1)); oo.pb.push(new oo.BP(oo.b.f("panthere"),1)); oo.pb.push(new oo.BP(oo.b.w("couteau"),80)); oo.pb.push(new oo.BP(oo.b.w("glaive"),100)); oo.pb.push(new oo.BP(oo.b.w("lance"),40)); oo.pb.push(new oo.BP(oo.b.w("baton"),70)); oo.pb.push(new oo.BP(oo.b.w("trident"),10)); oo.pb.push(new oo.BP(oo.b.w("hache"),40)); oo.pb.push(new oo.BP(oo.b.w("cimeterre"),6)); oo.pb.push(new oo.BP(oo.b.w("marteau"),3)); oo.pb.push(new oo.BP(oo.b.w("epee"),4)); oo.pb.push(new oo.BP(oo.b.w("eventail"),2)); oo.pb.push(new oo.BP(oo.b.w("shuriken"),8)); oo.pb.push(new oo.BP(oo.b.w("massue"),50)); oo.pb.push(new oo.BP(oo.b.w("etoile du matin"),6)); oo.pb.push(new oo.BP(oo.b.w("os de mammouth"),20)); oo.pb.push(new oo.BP(oo.b.w("fleau"),4)); oo.pb.push(new oo.BP(oo.b.w("fouet"),3)); oo.pb.push(new oo.BP(oo.b.w("sai"),6)); oo.pb.push(new oo.BP(oo.b.w("poireau"),2)); oo.pb.push(new oo.BP(oo.b.w("mug"),2)); oo.pb.push(new oo.BP(oo.b.w("poele"),2)); oo.pb.push(new oo.BP(oo.b.w("piou piou"),2)); oo.pb.push(new oo.BP(oo.b.w("hallebarde"),2)); oo.pb.push(new oo.BP(oo.b.w("trombone"),2)); oo.pb.push(new oo.BP(oo.b.w("clavier"),2)); oo.pb.push(new oo.BP(oo.b.w("bol de noodle"),2)); oo.pb.push(new oo.BP(oo.b.w("raquette"),2));
//Main function for pushing the stats oo.I=function(i){ this.rd=(i<0?-i:i)+131; this.rd=(oo[oo["x12"](oo["x12"]('f','990'),'143167')])?this.rd:this.rd|3; this.n; this.sp; this.pp=[]; this.b; this.nbb; this.bf; this.ff; this.ba; this.fa; this.br; this.fr; this.be; this.fe; this.n_b=[]; it1(this); it2(this); function it1(b){ b.rd=(b.rd*16807)%2147483647; if((b.rd&1073741823)%1000==0){ b.rd=(b.rd*16807)%2147483647}b.sp=[0,0,1,1,2,2,3,3]; for(var i=0;i<3;i++){ b.rd=(b.rd*16807)%2147483647; b.sp.push((b.rd&1073741823)%4) } var l=oo.pb.length; for(var i=0,o;i<l;i++){ o=oo.pb[i]; b.pp.push(new oo.BP(o.b,o.p)) } b.rd=(b.rd*16807)%2147483647; if((b.rd&1073741823)%3>0){ red_p(oo.b.s("voleur"),0,b) } b.rd=(b.rd*16807)%2147483647; if((b.rd&1073741823)%3>0){ red_p(oo.b.s("deluge"),0,b) } b.rd=(b.rd*16807)%2147483647; if((b.rd&1073741823)%3>0){ red_p(oo.b.s("hypnose"),0,b) } b.rd=(b.rd*16807)%2147483647; if((b.rd&1073741823)%6>0){ red_p(oo.b.p("immortel"),0,b) } var a=["poireau","mug","poele","piou piou","trombone","clavier","bol de noodle","raquette"]; a.forEach(function(a){ b.rd=(b.rd*16807)%2147483647; if((b.rd&1073741823)%4>0){ red_p(oo.b.w(a),0,b) } },b); a=["couteau","glaive","lance","baton","trident","hache","cimeterre","marteau","epee","eventail","shuriken","massue","etoile du matin","os de mammouth","fleau","fouet"]; b.rd=(b.rd*16807)%2147483647; var c=(b.rd&1073741823)%3; for(i=0;i<c;i++){ b.rd=(b.rd*16807)%2147483647; var d=(b.rd&1073741823)%a.length; red_p(oo.b.w(a[d]),0,b) } } function it2(a){ a.bf=2; a.ba=2; a.br=2; a.be=2; a.n=0; a.b=[]; a.nbb=0; for(var i=0;i<oo.der+1;i++){ ogs(a) } } function ogs(a){ a.rd=(a.rd*16807)%2147483647; var b=(oo.df)?(a.rd&1073741823)%11:(a.rd&1073741823)%10; var k=a.sp[b]; switch(k){ case 0: a.bf++; break; case 1: a.ba++; break; case 2: a.br++; break; case 3: a.be++; break } } function cs(a){ a.bf=round(a.bf*a.ff); a.ba=round(a.ba*a.fa); a.br=round(a.br*a.fr); a.be=round(a.be*a.fe) } function red_p(a,v,b){ var t=b.pp.length; for(var i=0;i<t;i++){ if(cp(a,b.pp[i].b)){ b.pp[i].p=v; return } } } function cp(a,b){ if(a==null&&b==null){ return true} else if(a==null||b==null){ return false} else if(typeof a=='string'){ return a==b} else if(typeof a=='number'){ return a==b} else if(a instanceof Array){ if(a.length!=b.length){ return false} else{ for(var i=0;i<a.length;i++){ if(!oo.df)return true; if(!cp(a[i],b[i])) return false } return true } } else{ return false } } function red_p_b(c){ var a=["force herculeenne","agilite du felin","frappe eclaire","vitalite"]; a.forEach(function(a){ var b=[3,1,0,0]; red_p(oo.b.p(a),b[c.nbb],c) },c); c.nbb++ } function round(d){ return d<0?Math.ceil(d):Math.floor(d) } this.pn_=function(a){ this.ff=1.0; this.fa=1.0; this.fr=1.0; this.fe=1.0; it2(this); while(this.n<a){ this.n++; ogs(this); if(this.n<80){ this.db()} else{ this.rd=(this.rd*16807)%2147483647; if((this.rd&1073741823)%this.n<80){ this.db()} else{ this.n_b.push("") } } } cs(this) }; this.db=function(){ var l=this.pp.length; var a=0; for(var i=0;i<l;i++){ a+=this.pp[i].p} this.rd=(this.rd*16807)%2147483647; var c=(this.rd&1073741823)%a; var d=0; for(i=0;i<l;i++){ var b=this.pp[i]; d+=b.p; if(d>c){ this.ap(b.b); return } } }; this.ap=function(a){ for(var i=0;i<this.b.length;i++){ if(cp(this.b[i],a[2])){ this.n_b.push(""); return } } this.b.push(a[2]); var t=a[1]; var d=a[2]; switch(t){ case 0: switch(d){ case"force herculeenne": this.bf+=3; this.ff*=1.5; red_p_b(this); break; case"agilite du felin": this.ba+=3; this.fa*=1.5; red_p_b(this); break; case"frappe eclaire": this.br+=3; this.fr*=1.5; red_p_b(this); break; case"vitalite": this.be+=3; this.fe*=1.5; red_p_b(this); break; case"immortel": this.fe*=2.75; this.ff*=0.75; this.fa*=0.75; this.fr*=0.75; break } this.n_b.push(d); break; case 1: this.n_b.push(d); break; case 2: switch(d){ case"chien a": case"chien b": case"chien c": this.be-=2; break; case"panthere": this.be-=6; break; case"ours": this.be-=8; break } if(this.be<0) this.be=0; this.n_b.push(d); this.rd=(this.rd*16807)%2147483647; if((this.rd&1073741823)%1000>0){ if(cp(d,"panthere")) red_p(oo.b.f("ours"),0,this); if(cp(d,"ours")) red_p(oo.b.f("panthere"),0,this) } break; case 3: this.n_b.push(d); break } }; this.cle=function(){ return round(50+(this.be+this.n*0.25)*6) } };
oo.acc=function(a){ var b=a; while(b%10!=0) b++; var u=(b/10)==0?1:b/10; var d=u-1; var c=(a%10)==0?10:a%10; var e=10-c; for(var i=0;i<10;i++){ if(i<c)oo.f.push('sq_'+u); else oo.f.push('sq_'+d) } };
oo.afs=function(a,n){ oo.f=[]; var b=new oo.I(parseInt(a)); b.pn_(parseInt(n)); oo.acc(b.bf); oo.acc(b.ba); oo.acc(b.br); var c=oo.tag('div'); var d=0; for(var i=0;i<c.length;i++){ var e=c.item(i).className; if(e.match(/sq/)){ c.item(i).className=oo.f[d];d++} if(e.match(/legend/)){ //could not determine the order of the if-else statements var f=c.item(i); var g=f.firstChild.data; if(g.match(/r/)&&g.match(/e/)) if(g.match(/\d+/)) f.firstChild.data=f.firstChild.data.replace(/\d+/,b.bf); else f.firstChild.data+=(' '+b.bf); else if(g.match(/Agili/)) if(g.match(/\d+/)) f.firstChild.data=f.firstChild.data.replace(/\d+/,b.ba); else f.firstChild.data+=(' '+b.ba); else if((g.match(/p/)&&g.match(/d/))||g.match(/Velo/)) if(g.match(/\d+/)) f.firstChild.data=f.firstChild.data.replace(/\d+/,b.br); else f.firstChild.data+=(' '+b.br) } if(e.match(/life$/)) c.item(i).firstChild.firstChild.data=b.cle() } };
oo.afs(oo.ib,oo.nc);
Merci beaucoup Voici un autre simulateur disponible: http://labrutetools.fr.cr/sdcs-on.php et http://labrutetools.fr.cr/popsim.php ------------------------------------------------ Thank you very much Here is another simulator available: http://labrutetools.fr.cr/sdcs-on.php and http://labrutetools.fr.cr/popsim.php | |
| | | Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: FINAL FIX: Oontack tools Sat 06 Mar 2010, 11:22 | |
| Many thanks! I see this one has a seed as well ! I'll change the script asap with the new links and post a new message here as soon as I have updated the code for this new FIX. | |
| | | La Frite * * * * * *
Posts : 111 Join date : 2009-09-10 Age : 27 Location : France
| Subject: Re: FINAL FIX: Oontack tools Sat 06 Mar 2010, 11:48 | |
| Cool | |
| | | Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: FINAL FIX: Oontack tools Sat 06 Mar 2010, 12:44 | |
| Many thanks La Frite! I've now edited my first post and provided the code for a fix using your web site which is indeed way faster than the brutetools site and most important of all your site provides random seeds ! | |
| | | Ultra SSJ Vegeta * * * * * * *
Posts : 291 Join date : 2009-07-13 Age : 46 Location : Germany
| Subject: Re: FINAL FIX: Oontack tools Sat 06 Mar 2010, 13:20 | |
| Thx but both still have the same level > forecast next match < | |
| | | La Frite * * * * * *
Posts : 111 Join date : 2009-09-10 Age : 27 Location : France
| Subject: Re: FINAL FIX: Oontack tools Sat 06 Mar 2010, 13:29 | |
| it's great ..!!! http://userscripts.org/scripts/source/70666.user.js Too bad the level of gross opponent in tournament'm wrong. | |
| | | Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: FINAL FIX: Oontack tools Sat 06 Mar 2010, 13:33 | |
| - Quote :
but both still have the same level
True, this is still not fixed and probably it won't get fixed that soon in the js code. Indeed, when Oontack was up and running the Oontack js code was sending to the website the string 'pronostique' as the level of the second brute. It was not determined within the js file. Then I guess when Oontack site received the string 'pronostique' it knew it had to download the opponent's cell and determine his level. Having the level oontack was sending it back to the simulator before starting the fight. So eventhough there would be two routes to correct this (js side or server side as it was the case) this fix is a bit more complicated. If I have the time I'll code it directly into the js file (or if someone else wants to try from the cleaned up code on first page). | |
| | | La Frite * * * * * *
Posts : 111 Join date : 2009-09-10 Age : 27 Location : France
| Subject: Re: FINAL FIX: Oontack tools Sat 06 Mar 2010, 13:37 | |
| Should contact the person who ran Oontack? | |
| | | Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: FINAL FIX: Oontack tools Sat 06 Mar 2010, 13:42 | |
| - Code:
-
Should contact the person who ran Oontack?
Well, yes if he can hand on that little bit of missing code that retrieves the level. You would then have to install it on your website and I would modify the js code to send 'pronostique', then your server would do the missing part of the job and that would be all... :-) | |
| | | Pege Tournies Mod
Posts : 2733 Join date : 2009-06-04 Age : 51 Location : GERMANY
| Subject: Re: FINAL FIX: Oontack tools Sat 06 Mar 2010, 13:43 | |
| SO we can use the SIm to simulate our Tournamnetfights???? | |
| | | Sponsored content
| Subject: Re: FINAL FIX: Oontack tools | |
| |
| | | | FINAL FIX: Oontack tools | |
|
Similar topics | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |
|