Skip to content

Commit bca2572

Browse files
author
Dabihul (79738)
committed
Passage des requêtes vers la base MZ par le proxy de Ratibus
1 parent f417e77 commit bca2572

File tree

8 files changed

+25
-19
lines changed

8 files changed

+25
-19
lines changed

scripts_online/actions_FF.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* getLvl pour Explo, Rotobaffe et cie
2121
*/
2222

23-
var pageNivURL = 'http://mountypedia.free.fr/mz/niveau_monstre_combat.php';
23+
var pageNivURL = 'http://mountypedia.ratibus.net/mz/niveau_monstre_combat.php';
2424
//var idtURL = "http://mh.byethost5.com/idt_serveur.php";
2525

2626

scripts_online/attaque_FF.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515
* along with Mountyzilla; if not, write to the Free Software *
1616
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *
1717
*********************************************************************************/
18-
/* 2013-08-19 : correction auto syntaxe alert */
1918

19+
// Script désactivé en attendant la màj vers le nouveau système de missions.
20+
21+
/*
2022
var listeCDM = new Array();
2123
var idMonstre=-1;
2224
var nomMonstre="";
@@ -157,7 +159,7 @@ function computeMission(begin,end)
157159
}
158160
}
159161
//Ca sert à rien de frapper un monstre de ce type, il faut son pouvoir actif...
160-
/* else if(infosMission[0]=="P")
162+
else if(infosMission[0]=="P")
161163
{
162164
var donneesMonstre = listeCDM[id];
163165
if(donneesMonstre)
@@ -169,7 +171,7 @@ function computeMission(begin,end)
169171
tr.appendChild(createImage(urlImg, infosMission[4]));
170172
}
171173
}
172-
}*/
174+
}
173175
}
174176
}
175177
}
@@ -179,3 +181,4 @@ start_script();
179181
treateMission();
180182
181183
displayScriptTime();
184+
*/

scripts_online/cdmbot_FF.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
* - patch dégueu pour gérer la décomposition P/M de l'armure
2121
*/
2222

23-
var pageDispatcher = "http://mountypedia.free.fr/mz/cdmdispatcher.php";
23+
var pageDispatcher = "http://mountypedia.ratibus.net/mz/cdmdispatcher.php";
2424
//var pageDispatcher = "http://nocmh.free.fr/scripts/cdmCollecteur.php";
2525
//var pageCdmRecord = "http://nocmh.free.fr/scripts/cdmCollecteur.php";
26-
var pageEffetDispatcher = "http://mountypedia.free.fr/mz/effetdispatcher.php";
26+
//var pageEffetDispatcher = "http://mountypedia.ratibus.net/mz/effetdispatcher.php";
2727
var buttonCDM;
2828

2929
/*******************************************************************************************
@@ -102,7 +102,7 @@ function sendCDM() {
102102
}
103103
cdm = cdm.replace(/<br>/g,'\n');
104104

105-
MZ_xmlhttpRequest({
105+
FF_XMLHttpRequest({
106106
method: 'GET',
107107
url: pageDispatcher+'?cdm='+escape(cdm),
108108
headers : {

scripts_online/cdmcomp_FF.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* - patch dégueu pour gérer la décomposition P/M de l'armure
2222
*/
2323

24-
var pageDispatcher = "http://mountypedia.free.fr/mz/cdmdispatcher.php";
24+
var pageDispatcher = "http://mountypedia.ratibus.net/mz/cdmdispatcher.php";
2525
//var pageDispatcher = "http://m2m-bugreport.dyndns.org/scripts/dev/cdmdispatcher.php";
2626
//var pageCdmRecord = "http://nocmh.free.fr/scripts/cdmCollecteur.php";
2727
var cdm = '';
@@ -98,7 +98,7 @@ function sendInfoCDM() {
9898
MZ_setValue('CDMID', 1+parseInt(MZ_getValue('CDMID')) );
9999
var buttonCDM = this;
100100
var texte = '';
101-
MZ_xmlhttpRequest({
101+
FF_XMLHttpRequest({
102102
method: 'GET',
103103
url: pageDispatcher+'?cdm='+escape(cdm),
104104
headers : {

scripts_online/infomonstre_FF.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ function traiteMonstre() {
4242
nomMonstre = nomMonstre.slice(0,nomMonstre.indexOf(']')+1);
4343
}
4444
idMonstre = texte.match(/\d+/);
45-
MZ_xmlhttpRequest({
45+
FF_XMLHttpRequest({
4646
method: 'GET',
47-
url: 'http://mountypedia.free.fr/mz/monstres_0.9_FF.php?begin=-1&idcdm='
47+
url: 'http://mountypedia.ratibus.net/mz/monstres_0.9_FF.php?begin=-1&idcdm='
4848
+MZ_getValue('CDMID')
4949
+'&nom[]='+encodeURIComponent(nomMonstre)+'$'+idMonstre,
5050
headers : {

scripts_online/myevent_FF.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414
* You should have received a copy of the GNU General Public License *
1515
* along with Mountyzilla; if not, write to the Free Software *
1616
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *
17-
*********************************************************************************/
18-
/* 2013-08-19 : correction auto syntaxe alert */
17+
*********************************************************************************/
1918

19+
// Script désactivé en attendant la màj vers le nouveau système de missions.
20+
21+
/*
2022
var listeCDM = new Array();
2123
var idMonstre=-1;
2224
var nomMonstre="";
@@ -155,7 +157,7 @@ function computeMission(begin,end)
155157
}
156158
}
157159
//Ca sert à rien de frapper un monstre de ce type, il faut son pouvoir actif...
158-
/* else if(infosMission[0]=="P")
160+
else if(infosMission[0]=="P")
159161
{
160162
var donneesMonstre = listeCDM[id];
161163
if(donneesMonstre)
@@ -167,7 +169,7 @@ function computeMission(begin,end)
167169
tr.appendChild(createImage(urlImg, infosMission[4]));
168170
}
169171
}
170-
}*/
172+
}
171173
}
172174
}
173175
}
@@ -177,3 +179,4 @@ start_script();
177179
treateMission();
178180
179181
displayScriptTime();
182+
*/

scripts_online/option_FF.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222

2323
var tagsData = {
2424
'Types de Trolls (Ancien)':
25-
'http://mountypedia.free.fr/mz/typeTrolls.csv',
25+
'http://mountyzilla.tilk.info/resources/typeTrolls.csv',
2626
'Types de Trolls (Nouveau)':
27-
'http://mountypedia.free.fr/mz/typeTrolls_new.csv',
27+
'http://mountyzilla.tilk.info/resources/typeTrolls_new.csv',
2828
'Pogo 2009':
2929
'http://mountyzilla.tilk.info/resources/pogo2009.csv'
3030
};

scripts_online/vue_FF.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,9 +894,9 @@ function retrieveCDMs() {
894894
+ (getMonstreDistance(i) <= 5 ? getMonstreID(i) : -getMonstreID(i)) + '&';
895895

896896
if(i%500==0 || i==cdmMax) { // demandes de CdM par lots de 500 max
897-
var url = 'http://mountypedia.free.fr/mz/monstres_0.9_post_FF.php';
897+
var url = 'http://mountypedia.ratibus.net/mz/monstres_0.9_post_FF.php';
898898

899-
MZ_xmlhttpRequest({
899+
FF_XMLHttpRequest({
900900
method: 'POST',
901901
url: url,
902902
headers : {

0 commit comments

Comments
 (0)