Travian Quick Maps v1.2b

By ondy1985 Last update Feb 3, 2008 — Installed 32,908 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 20 posts, 13 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
yabash User

can you do it other symbol?
# is annoying...

 
asq355 User

PgSQL Error:
Sorry, the script can not work for me.
I don't know what happen?
Would you please help me?

Error message:

Failed Query: SELECT x, y, x-y AS diag, population, race, owner_name, owner_id, guild_name, guild_id, town_name, town_id, 1 FROM new_travian_tw WHERE 1=1 AND (guild_id IN(139)) AND x > (-256/) + (0) AND x < ( 256/) + (0) AND y < ( 256/) + (0) AND y > (-256/) + (0) LIMIT 2000

Error: ERROR: syntax error at or near ")" at character 194

 
ondy1985 Script's Author

Hello all, sorry I've not been here for so long.

I see HaxLi updated my source code, thank you. Anyway, I had the svg map implemented on my computer, I just didn't update the script here, so I do now.

I stick with using the colored # character as the button, as I like it more that way.

I also removed the button from the menu, although it was there on purpose, as I can see my villages on the map in one click...

Enjoy.

 
HaxLi Scriptwright

http://userscripts.org/scripts/show/21896

 
bebokbarni User

how delete the link from menu?
(sorry i'm not english)

 
QP Scriptwright

Finally... sorry for all these posts just to put a simple thing...
Nice gaming

 
QP Scriptwright

ARGH...
child.innerHTML = '<img width="12" src="'+IMG_GLOBE+'" />';

 
QP Scriptwright

Holly... only now I saw that part of the previous post isn't there....
I meant to replace the assignment by this:
child.innerHTML = '';

Hope it shows now...

Cya all

 
QP Scriptwright

Hi again,

So here it goes, I had the image and converted it to a data src (this is way better for greasemonkey scripts since the image is inside the script so you don't need to access any other servers, nor will they have more traffic).

So 2 steps:

1 - add this variable:

var IMG_GLOBE = "data:image/jpeg,%FF%D8%FF%E0%00%10JFIF%00%01%01%00" +
"%00%01%00%01%00%00%FF%DB%00C%00%09%06%07%08%07%06%09%08%07" +
"%08%0A%0A%09%0B%0D%16%0F%0D%0C%0C%0D%1B%14%15%10%16%20%1D%" +
"22%22%20%1D%1F%1F%24(4%2C%24%261'%1F%1F-%3D-157%3A%3A%3A%2" +
"3%2B%3FD%3F8C49%3A7%FF%DB%00C%01%0A%0A%0A%0D%0C%0D%1A%0F%0" +
"F%1A7%25%1F%2577777777777777777777777777777777777777777777" +
"777777%FF%C0%00%11%08%00%12%00%12%03%01%22%00%02%11%01%03%" +
"11%01%FF%C4%00%19%00%01%00%03%01%01%00%00%00%00%00%00%00%0" +
"0%00%00%00%00%03%04%06%07%05%FF%C4%00(%10%00%02%01%04%01%0" +
"2%05%05%01%00%00%00%00%00%00%00%01%03%02%00%04%05%11%12%14" +
"!%07%13%221Q2Aaq%91%C1%FF%C4%00%15%01%01%01%00%00%00%00%00" +
"%00%00%00%00%00%00%00%00%00%04%03%FF%C4%00%1D%11%00%03%00%" +
"01%05%01%00%00%00%00%00%00%00%00%00%00%00%01%11!%02124AQ%F" +
"F%DA%00%0C%03%01%00%02%11%03%11%00%3F%00%D6%E4%B2%99%8C%CE" +
"EK%C7%F5(%C71%A5j6%B2%84f%F1%03%EB%97%22F%BF%15O%1B%94%CE%" +
"E2g%07%CF%AE%BC%B26%EB%B9j%EE%5B%09%9F(%81%CAq%97%22%7BK%D" +
"8%7C%7B%D46Ex%DC%85%9E2%E9y%2F%3E%DAmD%82%AE%8C%04%E2%C3%B" +
"8J%1B%98%D6%F5%DF%5D%AA%19%DD%AB%85%B5%AA%93%92%9D%D4%F1%D" +
"1%B6Z%FA%A2v%C6F%24v%13%3A%87%11%BD%7FE2-%A6%03%DFnN%AC%87" +
"-%E9%5B%96yA%91%12%89%F9%04lR%AB%E2%ED%3A%2Ce%A5%AC%BDE%08" +
"%82%C9%F9%E3%10%3F%CAQ%22%2B_%C39%E2E%BAg%85.%9AW%26%C3%E9" +
"%99%882%8F%7F%B1%AF3%C2%BBt%94%BD%E5%2B.%04%80%CE%23%96%BF" +
"~%F4%A5%3BO%5D%93%7C%CE%87JR%80%5C%FF%D9";

2 - change the previous assignment:

child.innerHTML = .............

to this:

child.innerHTML = "";

Ok, that's it, cya all and nice gaming

 
QP Scriptwright

Hi ondy1985,

I have the icon at home... later today I'll give you the changes needed... (I wanted to post it yesterday but other stuff took time and then forgot).

Cya later

 
teplaky User

hi, can you make something for easy join my ali ???

 
Rui User

Hello, i use this script several days but now i can´t use anymore because the map don´t show up.
I also try to visit the website and i can´t, maybe they lock my IP Address, because i have a friend and he don´t use this script and he can visit the website.
Best regards

 
imi User

lolhtml I meant username

 
imi User

sometimes it passes &player=username instead of &player=username

 
MeXaon Scriptwright

str№42 replace a.innerHTML to a.textContent

 
ondy1985 Script's Author

Yeah, it was because of travmap was down, now everything works just fine.

 
Hoqqe User

Argh. Dreamhost have disabled travmap for overloading the server, and travmap 2 is only ~75% done, and I'm currently out of the country running the network for debconf /o\ I have a shiny new server waiting to be switched to, I've just been too busy (/lazy) to move things across...

Temporary stable server: http://marigold.shishnet.org/travmap/

Temporary beta server: http://marigold.shishnet.org/travmap2/

 
Hoqqe User

It's because the http://travmap.shishnet.org/ site is temporary down.

 
Luis_silvA User

Its not working ate .com.pt server's :S

The button's appear but when i clic say this...

"MySQL Error:
Failed Query: SELECT x, y, x-y AS diag, population, race, owner_name, owner_id, guild_name, guild_id, town_name, town_id, if(guild_name='', owner_name, guild_name) as guild_group FROM s4_travian_com_pt WHERE 1=1 AND (owner_name IN('HOKTAR')) AND x > (-256/1) + (0) AND x < ( 256/1) + (0) AND y < ( 256/1) + (0) AND y > (-256/1) + (0) LIMIT 5000

Error: SELECT command denied to user 'travmap'@'dorito.dreamhost.com' for table 's4_travian_com_pt'"

Keep working ;P Nice work

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel