Travian: new extended marketplace

By m4rtini Last update Dec 17, 2008 — Installed 15,157 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 23 posts, 11 voices



Jesse Andrews Admin

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

 
siul User

hi m4rtini

can you ad a 1/3 feature to ration?
only to wood, clay and iron

 
m4rtini Script's Author

1.
That could probably be done if i get the time. Tho the hotkey will still be there, personally i love the hotkey, but guess that just me.
2.
If i understood you right you can just use the ratios for that.

 
ilium User

Hey,

This is a great script, m4rtini. Thanks.

But I have two ideas I think you should add. And I think these two ideas would make the script from great to amazing :-)

1. A Button in game for the shortcut key “ctrl + alt + x”. This could be placed in the Plus-link menu or anywhere really :-)

Since I’m not the best in English, this next one could be hard to explain. But I’ll try…

2. And a new feature that would auto-fill max of what the merchants in each village could carry (In one village I might have 10, in an other I might have 15, and in an other 20, and so on … – So with one click auto-select there would be sent 10, 15, 20 (and so on…) merchants to the desired x|y coordinates). There should also be calculated in how much recourses you have in each village – … and because of this calculate how many merchants you could possible send from each village. (You might have 10, 15, 20 (and so on…) merchants in your villages but you only have 1000 of each resource. Lets say one merchant could carry 500 resources. Then it would be auto-selected that you could only send 2 merchants from each resource, a total of 8 merchants from this village with a total of 4000 resources to x|y, and leave 10-8= 2 merchants behind…)

Did you get it? :-P

Hope you could make this work. It would be awesome!

Thanks!

 
Stroops User

Hi there... i have a problem with this script, it doesn't work with my username(login) in my pc but it works with other logins at the same browser!! do you know about this problem, hao can i solve it?

 
Ryan007 User

I will continue troubleshooting, thank you for your quick response!

 
m4rtini Script's Author

it's designed to work on every server.

 
Ryan007 User

I find that this does not work for me. is it designed to work on speed.travian.us?

 
m4rtini Script's Author

added predefined ratios for all the troops and a 1/4 ratio. Let me know if any of them are wrong or if there is any new ratios you think would be useful.

Just click the images to fill inn their ratio.

 
m4rtini Script's Author

i didn't quite understand the question. You need firefox and greasemonkey to use the script.

 
Jake Tsalkos User

I installed the script and this is my fisrt time doing so. When I have downloaded the script how to I put it on my Travian account.

 
m4rtini Script's Author

@RoadRunner

Thanks for the bug report, i think I've fixed it now.
Also added the possibility to add custom villages to the list. Hope the creator of the 'Travian MarketPlace auto-helper +' don't mind me borrowing his code.

Fixed a bug that caused the village not to load when opened from some pages.

 
RoadRunner User

Hi, just want to say that your new extended marketplace rocks!

However... sending to someone elses village does not work for me at all.. tested on several computers.
The first village status goes into processing, and nothing more happens.
For sending to my own villages - it works flawlessly.

I found that it was the check that tests whether you are sending to yourself that caused the script to halt.
I commented these lines in the code, and I have just manually dechecked sending if I am sending to one of my own villages.

//if(DID == form.document.getElementById(X+'|'+Y).value)
//{
//info(DID, "Error: Can't send to yourself.")
//if(sendall){setTimeout(function(){sendAll()},50)}
//return;
//}

A fix would be very welcome. Also... the ability to hardcode or keep a list of favourite sending targets would be great.
Especially when there's endgame.... this function would be extremely handy :)

 
m4rtini Script's Author

Added a overflow function. will keep you from sending more to a village than it can handle. ofc only if it is your own village.
Also a button to refresh all the villages.

 
viktorius123 User

The "sel = '';" line fixed the problem. thanks :)

 
m4rtini Script's Author

You edited the start?
You can probably fix it by changing line 25 from:

sel = getVillageDropDown();
to:
sel = '';

But you will lose the dropdown menu.
I'm running fx3 and the newest version of grease monkey myself, strange that i don't get the same error after disabling all other scripts.

one other thought is that there might be some differences between the servers. try to open the source and search for 'right dlist1'. should be where the x coordinate is located.

 
viktorius123 User

I did a clean install of firefox 3.0 and the latest greasemonkey, then installed only this script. This is the error that pops up in the error log, ive edited the start.

Error: thisX is null
Source File: file:///C:/Documents%20and%20Settings/[edited]/components/greasemonkey.js
Line: 569

And there is no line 569, the code is only approx 500 long. Any idea how i can get the script working?

 
m4rtini Script's Author

Check your error console and pop up blocking. The pop up function haven't been changed, only difference is that the combinations have changed from z to x. So that's a bit strange.

 
viktorius123 User

Cant get the popup window to pop up with the ctrl+alt+x combo. It worked fine in the older version but now its not working.

 
m4rtini Script's Author

Now the mass features should work, report any bugs that you find.
A drop down for the villages that you own is implemented now, only for the mass part for now.

I wrote a guide on how to use this script now, if there is something that is still unclear let me know.
Sorry for my English, I'm from Norway so it ain't my native language.

 
Foxyhearts User

You want it to be self explainable, well, didn't reach that target yet.
When I access it from the marketplace (build.php?gid=17) it fails to display my villages which I do get when accessing from my resources view (dorf1.php). But since I do not have a description so can't tell if it is what you want it to do.
Then I get my villages stacked up beside each other with a checkbox and the same information as the mass features on top. But I can't understand what the idea is behind it.
Do I *need* to fill in the x-y co-ordinates or does it intuïtively understand that when two villages are checked and the resources are filled in the boxes and the user hits send, the resources have to be moved to the checked village where resources were not filled?

And what happens when I hit the Send button? It only states: done. What is to be expectated? How can one test an app when it is nearly impossible to deduce what the app should do, what the designer *expects* it to do?

 
Сергей User

Подскажите плиз как он работает, не фига не понимаю. нажимаю ctrl+alt+x выставляю значения и ничего не происходит.

 
m4rtini Script's Author

I'd love if anybody could tell me why the code on line 285-290 don't work anymore.

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