diff --git a/_tourism/TyanShan/TyanShan.zmp/GetUrlScript.txt b/_tourism/TyanShan/TyanShan.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/TyanShan/TyanShan.zmp/GetUrlScript.txt +++ b/_tourism/TyanShan/TyanShan.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/TyanShan/tyan_shan.zmp/GetUrlScript.txt b/_tourism/TyanShan/tyan_shan.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/TyanShan/tyan_shan.zmp/GetUrlScript.txt +++ b/_tourism/TyanShan/tyan_shan.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/altay_katun_chui.zmp/GetUrlScript.txt b/_tourism/altay_katun_chui.zmp/GetUrlScript.txt index fdf3478b0..75ac07093 100644 --- a/_tourism/altay_katun_chui.zmp/GetUrlScript.txt +++ b/_tourism/altay_katun_chui.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ -begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.png'; -end. +var + r: integer; + BaseUrl: string; +begin + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/cencaumap.zmp/GetUrlScript.txt b/_tourism/cencaumap.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/cencaumap.zmp/GetUrlScript.txt +++ b/_tourism/cencaumap.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/crimea/crimea.zmp/GetUrlScript.txt b/_tourism/crimea/crimea.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/crimea/crimea.zmp/GetUrlScript.txt +++ b/_tourism/crimea/crimea.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/crimea/krim.zmp/GetUrlScript.txt b/_tourism/crimea/krim.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/crimea/krim.zmp/GetUrlScript.txt +++ b/_tourism/crimea/krim.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/ergaki_aradan.zmp/GetUrlScript.txt b/_tourism/ergaki_aradan.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/ergaki_aradan.zmp/GetUrlScript.txt +++ b/_tourism/ergaki_aradan.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/fgup_sk_agp/fgu_sk_agp_all.zmp/GetUrlScript.txt b/_tourism/fgup_sk_agp/fgu_sk_agp_all.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/fgup_sk_agp/fgu_sk_agp_all.zmp/GetUrlScript.txt +++ b/_tourism/fgup_sk_agp/fgu_sk_agp_all.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/gosgeodesia/tourism1991.zmp/GetUrlScript.txt b/_tourism/gosgeodesia/tourism1991.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/gosgeodesia/tourism1991.zmp/GetUrlScript.txt +++ b/_tourism/gosgeodesia/tourism1991.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/hibin1lp.zmp/GetUrlScript.txt b/_tourism/hibin1lp.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/hibin1lp.zmp/GetUrlScript.txt +++ b/_tourism/hibin1lp.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/hibin2lvch.zmp/GetUrlScript.txt b/_tourism/hibin2lvch.zmp/GetUrlScript.txt index d7035220c..7b57ddf1f 100644 --- a/_tourism/hibin2lvch.zmp/GetUrlScript.txt +++ b/_tourism/hibin2lvch.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.png'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.png'; +end. \ No newline at end of file diff --git a/_tourism/hibin4ae.zmp/GetUrlScript.txt b/_tourism/hibin4ae.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/hibin4ae.zmp/GetUrlScript.txt +++ b/_tourism/hibin4ae.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/hrebtovka_elbrus.zmp/GetUrlScript.txt b/_tourism/hrebtovka_elbrus.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/hrebtovka_elbrus.zmp/GetUrlScript.txt +++ b/_tourism/hrebtovka_elbrus.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/kazbegi.zmp/GetUrlScript.txt b/_tourism/kazbegi.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/kazbegi.zmp/GetUrlScript.txt +++ b/_tourism/kazbegi.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/lcarta.zmp/GetUrlScript.txt b/_tourism/lcarta.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/lcarta.zmp/GetUrlScript.txt +++ b/_tourism/lcarta.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/slazav.map_hr.zmp/GetUrlScript.txt b/_tourism/slazav.map_hr.zmp/GetUrlScript.txt index d7035220c..7b57ddf1f 100644 --- a/_tourism/slazav.map_hr.zmp/GetUrlScript.txt +++ b/_tourism/slazav.map_hr.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.png'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.png'; +end. \ No newline at end of file diff --git a/_tourism/soucaumap.zmp/GetUrlScript.txt b/_tourism/soucaumap.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/soucaumap.zmp/GetUrlScript.txt +++ b/_tourism/soucaumap.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/turkey/aladaglar.zmp/GetUrlScript.txt b/_tourism/turkey/aladaglar.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/turkey/aladaglar.zmp/GetUrlScript.txt +++ b/_tourism/turkey/aladaglar.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/westcaumap.zmp/GetUrlScript.txt b/_tourism/westcaumap.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/westcaumap.zmp/GetUrlScript.txt +++ b/_tourism/westcaumap.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file diff --git a/_tourism/wkavkaz_kot.zmp/GetUrlScript.txt b/_tourism/wkavkaz_kot.zmp/GetUrlScript.txt index 1acc47c60..75ac07093 100644 --- a/_tourism/wkavkaz_kot.zmp/GetUrlScript.txt +++ b/_tourism/wkavkaz_kot.zmp/GetUrlScript.txt @@ -1,3 +1,13 @@ +var + r: integer; + BaseUrl: string; begin - ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; -end. + r := random(2); + + case r of + 0: BaseUrl := GetURLBase; + 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru'); + end; + + ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; +end. \ No newline at end of file