Travian QP Targets 3.9.0

By QP Last update Sep 28, 2008 — Installed 314,374 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 407 posts, 98 voices



Melhior User

upd.

and title fix (option 2) isn't working, too (

 
Melhior User

errr, the colors for resource fields aren't working now (

 
WiCiO User

Long live QP!!
Everythings works just fine :)

Thank You d^_^b

 
QP Script's Author

Thanks to all for the info.
Thanks to blizzo to pointing out more specifically the problem.

I hope I have fixed the one mentioned and in other places as well... so it should be fixed - at least it is still working for those of us who aren't using graphic packs :P. To the others please report back to say whether this was, or was not, fixed.

Nice gaming to all.

 
WiCiO User

oh, and 'blizzo's' solution didn't work:

QP/Travian QP Targets: [retrievePageDorf2_Info] d2info 5_undefined,10_undefined,11_undefined,23_undefined,37_undefined,7_undefined,25_undefined,15_undefined,6_undefined,9_undefined,22_undefined,18_undefined,8_undefined,28_undefined,17_undefined,21_undefined,13_undefined,19_undefined,12_undefined,20_undefined,16_undefined,31_undefined

 
WiCiO User

Same thing here ;/ No building levels in dorf2
I'm also using gfx package (kerberus) which is located on my hard disk..

QP/Travian QP Targets: [retrievePageDorf2_Info] d2info -1_undefined,10_undefined,11_undefined,23_undefined,-1_undefined,8_undefined,7_undefined,15_undefined,-1_undefined,6_undefined,37_undefined,25_undefined,-1_undefined,5_undefined,17_undefined,-1_undefined,-1_undefined,19_undefined,-1_undefined,-1_undefined,16_undefined,31_undefined

 
blizzo User

@QP: this is an awesome script :)

I have the gfx pack installed on a web server which is running on my network on port 81. This means all the image/css/etc.. links are prefixed with http://myserver:81/travian/. This worked just fine in previous versions, however in 2.9.0 it fails. The building levels color codes do not work, on line 2387 the regex picks out '81' instead of the building id, my fix was to change lines 2389 and 2390 to:

var buildingType = /(\d+).gif/.exec(buildingImgs.snapshotItem(i).src); // Pick out the number from the image. Goes in to an array [g16.gid,16]
buildingType = ((buildingType==null) ? -1 : buildingType[1]); // Get the number of the image or -1 if not found

A port number in the gfx pack url might cause some other problems of the same kind else where, i haven't looked yet :)

 
Diego2002 User

@syntax53: I have the same problem...

 
Gicu Din Car... User

Nope! Tabul trebuie sa fie deschis in momentul cand trebuie sa plece atacul, ca doar e script pentru browser :p

English:
You must have the tab with the attack open when the attack must be launched because it's a browser script :p

"# Delayed Send Troops

* Set the arrival time, press the clock and the seconds to attack will appear
* Interface needs improving
* This is not exact... timeout skew, server delays..."

 
luky User

tot din carpati :P

Apr 15, 2008
Gicu Din Car... User

Flag as spam

Yup! After you set the time when you want the attack to arrive click the clock(or whatever it is) on the right. You'll see that the counter will start.

si pur si simplu il las asa? dupa ce am apasat pe ceas? si pot sa inchid calcul ca el da atacul?
sau trebuie lasat calculatorul deschis?

 
syntax53 User

not getting any center numbers at all on the buildings with 2.9.0 (fields work). no time to check the code to see why atm.

 
QP Script's Author

@n00bish: Read the Script problems? above - other than that, your current comment can not be used !!!

@Gicu Din Car...: I'll try to do something "like that" this weekend, if I have the time...

 
Gicu Din Car... User

I've just installed version 2.9.0 and has the same problem... I had version 2.20 when I've used the delete trade button last time... And I think he finished his job then (I'm not 100% sure)...

Can't you make a reset or something to make the script forget he was deleting reports days/weeks/months ago? Or at least a "stop deleting" button :)

 
n00bish User

"Building Levels color coded (max'ed out / upgradeable / not upgradeable / )" can not be used.

 
QP Script's Author

@Melhior: Well, that makes it strange... very strange... I may look into it later, but I'm not thinking of any easy solutions at the moment...

@Alving: I have no idea why this would happen to you, do you really mean version 2.8.1 ? the difference between 2.8.1 and 2.8 is very little, I personally am using it on several computers and a lo more people are using it without that problem. Try the new version, if it persists please post all information I request above.

@Gicu Din Car...:
1 - deteletrade: Again (doesn't anyone read the text above??), please tell me which version are you using?
2 - opacity: well, I will not be changing that since everyone may prefer a different value, but you can change it to your preferred value :)

@Studace: Yes, as someone already answered you, click the clock, and leave that tab open, but also be sure that in the other tabs you're using, you leave the correct town before the attack because it will go from the current town...

@ all others that help out with answers: thanks :)

@syntax53: Long overdue answer about the configurations in the script: I want my script to have some configurations on the main() (enable disable features), some other configurations as variables (multivalue confiurations), and I even wanted some to be in game configurable (multivalue changed very often).
I can't make everything configurable with everyone's ideas or tastes (see in this post someone had suggested making the opacity 0.2), but the things that I think make a difference I may make them. Ideally this wouldn't take any time to do and I'd make a lot more things, but since that is not the case, I need to choose what to do (and I guess the to do list shows the amount of stuff I still wanted to really make) and what not to do - at least for now...

Posting new version in a couple of minutes - for all you FF3 users, the buildings levels are fine now :)

Nice gaming to all.

 
syntax53 User

@studace: yes. however be aware that QP's script does not support village hopping. meaning if you change the village in another tab, and aren't on the right village when the script goes to start the attack it will fail. a better attack manager is this: http://userscripts.org/scripts/show/13872

 
Studace User

Oh, so you just leave that screen open and potentially manage your town from another tab on the browser or browser instance?

 
grol4 User

u need to wait, the countdown will click ok himself

 
Studace User

Yes, I see a counter start on the left side after I click the clock. Then I click OK and it isn't delayed - the troops are just sent then.

 
Gicu Din Car... User

Yup! After you set the time when you want the attack to arrive click the clock(or whatever it is) on the right. You'll see that the counter will start.

 
Studace User

This is the first time I've used this script. This is great work.
The only problem I am having is delayed sending troops. Every time I set a future time and press OK, it sends the troops right then.
I have tried this on both server 5 and server 6 with different accounts.
Am I doing something incorrectly?
Thanks.

 
Gicu Din Car... User

It works fine except I had to coment a line in main because when I've opened the reports page started to delete all my reports...


if (isThisPageAnyReportList()) { debug(DBG_HIGHEST, "[-][isPageAnyReportList]");

transformPageReportList_addSelectAllCheckbox();
if (isToDeleteTradeReports()) {
//actionPageReportsTradeList_deleteAllTradeReports();
}
transformPageReportList_addDeleteTradeButton();
transformGeneric_addAction_spaceShortcutKeyGoesToNextPage();
}

I think this should be fixed...

And the other thing... at the resource field color it looks better if you put 0.2 opacity instead 0.3 how it is default :)

var cssString = '.QPdorf1BuildingLevel{' +
'opacity:0.2;' +
'-moz-border-radius:4em;' +
'border-radius:4em;' +
'position:absolute;' +
'width:22px;' +
'height:20px;' +
'visibility:hidden;' +
'z-index:50;}';
addCSS(cssString);

 
Alving User

hmm.. somehow the latest version totally bugs it up. it goes huge freeze and then whole firefox shuts down. working fine without the script activated, and older scripts were working fine aswell :-<

 
Melhior User

upd:
yeah, I've noticed, that in the map window doubling quick scout and fake buttons disappear at all when I move the map.

 
Melhior User

@QP
I did as you wrote. script kept working but still with this bug (
the only diference was that at http://speed.travian.ru/karte.php in the villages list generated by travian: extended map with window, quick scoutand fake buttons disappeared at all.