Category
You're no bot and a page you've created got automatically deleted? Add your name to FreewarWiki:NoSpamUser |
Editing Autorouter.css
Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.
The system administrator who locked it offered this explanation: Aufgrund eines Server Umzugs ist das Wiki aktuel im readonly Modus
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
var map = new Object(); | var map = new Object(); | ||
− | // | + | // Initialisieren |
− | |||
function init_router() | function init_router() | ||
{ | { | ||
Line 17: | Line 16: | ||
areas = str.replace(/,/g, '|').split('Arealink|'); | areas = str.replace(/,/g, '|').split('Arealink|'); | ||
for (i in areas) { | for (i in areas) { | ||
− | var | + | var areas = areas[i].substr(0, areas[i].indexOf('}')); |
var coords = areas[i].match(/-*\d+\|-*\d+/g); | var coords = areas[i].match(/-*\d+\|-*\d+/g); | ||
for (j in coords) map[coords[j]] = area; | for (j in coords) map[coords[j]] = area; | ||
Line 158: | Line 157: | ||
// sonstige Teleport-Mechanismen | // sonstige Teleport-Mechanismen | ||
"teleport" : new Array( | "teleport" : new Array( | ||
− | " | + | "Heimzauber-Dummy - muss Index 0 besitzen!", |
− | "87|90| | + | "87|90|Stab des Handels zum Marktplatz|32", |
− | "88|89| | + | "88|89|Stab des Handels zum Zentrallager|32", |
"96|109|ZK/Nebel/Flügel nach Reikan|8", | "96|109|ZK/Nebel/Flügel nach Reikan|8", | ||
"99|115|ZK/Nebel/Flügel nach Mentoran|8", | "99|115|ZK/Nebel/Flügel nach Mentoran|8", | ||
− | "98|120|Ring | + | "98|120|Ring des Sandwindes nach Mentoran|4", |
− | "58|107|Ring | + | "58|107|Ring des Sandwindes nach Krato|4", |
− | "121|112|Ring | + | "121|112|Ring des Sandwindes nach Lardikia|4", |
− | "-599|-489| | + | "-599|-489|gelbe ZK zum Lichtwald|16", |
− | "96|101| | + | "96|101|Stab des Handels zur Markthalle|32", |
− | "117|113| | + | "117|113|Stab des Handels zur Markthalle von Lardikia|32", |
− | "81|94| | + | "81|94|ZK/Nebel/Flügel zum vergessenen Tal|8", |
− | "72|85|Ring | + | "72|85|Ring des Sandwindes nach Urdanien|4", |
− | "87|87| | + | "87|87|Stab des Handels zur Auktionshalle|32", |
− | "501|51| | + | "501|51|ZK/Nebel/Flügel nach Narubia|8", |
− | "98|81|Ring | + | "98|81|Ring des Sandwindes nach Latenia|4", |
− | "-803|-808| | + | "-803|-808|gelbe ZK zur Ruine|16", |
− | "103|110| | + | "103|110|ZK/Nebel/Flügel nach Nawor|8", |
− | "101|100| | + | "101|100|ZK/Nebel/Flügel nach Konlir|8", |
− | "65|96|Ring | + | "65|96|Ring des Sandwindes nach Delos|4", |
− | "80|87| | + | "80|87|ZK/Nebel/Flügel nach Buran|8", |
− | "108|114| | + | "108|114|ZK/Nebel/Flügel nach Orewu|8", |
− | "-798|-798| | + | "-798|-798|gelbe ZK zum Grab|16", |
− | "-785|-786| | + | "-785|-786|gelbe ZK zur Kanalisation|16", |
− | "75|99| | + | "75|99|ZK/Nebel/Flügel nach Kanobien|8", |
− | "92|105| | + | "92|105|ZK/Nebel/Flügel zur Bank|8", |
− | "123|92|Ring | + | "123|92|Ring des Sandwindes nach Torihn|4", |
− | "100|94| | + | "100|94|ZK/Nebel/Flügel nach Ferdolien|8", |
− | "-347|-693| | + | "-347|-693|gelbe ZK zur Eishöhle|16", |
− | "93|96| | + | "93|96|ZK/Nebel/Flügel zum Tal der Ruinen|8", |
− | "71|92| | + | "71|92|ZK/Nebel/Flügel nach Sutranien|8", |
− | "66|111| | + | "66|111|ZK/Nebel/Flügel nach Terasi|8", |
− | "85|102| | + | "85|102|ZK/Nebel/Flügel nach Anatubien|8", |
− | "92|90| | + | "92|90|ZK/Nebel/Flügel nach Hewien|8" |
), | ), | ||