You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GetUrlScript.txt 364 B

4 years ago
4 years ago
4 years ago
12345678910111213
  1. var
  2. r: integer;
  3. BaseUrl: string;
  4. begin
  5. r := random(2);
  6. case r of
  7. 0: BaseUrl := GetURLBase;
  8. 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088', 'maps.melda.ru');
  9. end;
  10. ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg';
  11. end.