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 279 B

54 years ago
54 years ago
54 years ago
54 years ago
123456
  1. var
  2. tt: string;
  3. begin
  4. tt := RegExprReplaceMatchSubStr(GetURLBase, 't\.maps', 't'+inttostr( Random(4) )+'maps' );
  5. ResultURL:=tt+'&z='+inttostr(GetZ-1)+'&x='+inttostr(GetX-((round(intpower(2,GetZ-1))div 2)))+'&y='+inttostr(((round(intpower(2,GetZ-1))div 2)-1)-GetY);
  6. end.