First run with python 2.4 gave me a syntax error, installed 2.71 (recommended) and there it goes...
better than my attempts sticking it together in Irfan View

Moderator: Phades
function sessionList(){
var mapAXO = new ActiveXObject("Scripting.FileSystemObject");
var mapPath = unescape(window.location.href.substring(8,window.location.href.lastIndexOf("/")+1));
var fileName = new RegExp('tile_-?\\d+_-?\\d+\\.png',["i"]);
sessionSubFolders = new Enumerator(mapAXO.GetFolder(mapPath).SubFolders);
var sessionIndex = 0;
for (; !sessionSubFolders.atEnd(); sessionSubFolders.moveNext()){
sessionFiles = new Enumerator(mapAXO.GetFolder(mapPath+sessionSubFolders.item().Name).Files);
var fileIndex = 0;
for (; !sessionFiles.atEnd(); sessionFiles.moveNext()){
if(fileName.test(sessionFiles.item().Name)){
var sessionName = new Date(sessionSubFolders.item().Name * 1);
sessionName = sessionName.toString();
if(sessionName == "NaN") sessionName = sessionSubFolders.item().Name;
document.getElementById("session_select").options[sessionIndex] = new Option(sessionName,sessionSubFolders.item().Name);
if(sessionSubFolders.item().Name == currentSession) document.getElementById("session_select").selectedIndex = sessionIndex;
sessionIndex++;
break;
}
}
}
}
function mapLoad(mapSelection){
currentSession = mapSelection;
initialize();
}
<body onload="initialize();sessionList();">
<div style="margin:0;padding:0;position:absolute;top:29px;right:5px;">
<select id="session_select" style="width:204px;font:12px arial;color:#000000;background-color:#ffffff;border:2px solid black;" onChange="mapLoad(this.options[this.selectedIndex].value)">
<option value="">IE ActiveX Needed for Map List</option>
</select>
</div>
Fred wrote:no killing moths / or putting / boiling water on the ants
gomimin wrote:Another way of viewing older maps is just editing (Notepad) the map folders js...but you've have to do it everytime...
Fred wrote:no killing moths / or putting / boiling water on the ants
Pacho wrote:I'm glad this client replaced mine =v
matiasdk2 wrote:im getting this error :
"java platform SE binary stopped working"
i dont know what to do![]()
tryed 32 and 64 client , im using windows 7 x64 btw
Zampfeo wrote:(On the topic of Open Spaces in W4)
You won't be saying that in a week or two when you realize how many abandoned homes there are. A 30 second boat ride south of my village literally bring you to the ghetto. There's abandoned claims everywhere with the occasional newb taking things and raiders patrolling. It reminds me of Detroit.
Users browsing this forum: Ahrefs [Bot], Amazon [Bot] and 2 guests