Comments by travspeedster on scripts

36 comments

Comment on:
Travian Mod Kit 1.8

Sep 15, 2007

Eeek been awhile since I've even checked this page... been busy working, and when not working been actually playing my account.. I have enough villages now there's always something I should be doing.. script writing has suffered...

Danse I like the idea of the autofill for market coords, I'll add it to the todo list.

I've actually made a bunch of changes but not going to post a new version yet because most of the changes are code streamlining, error control and other REALLY boring stuff. Gah.

QP, i'll keep the idea of filling out Dorf3 page on the backburner.. part of the issue is that I don't have plus, maybe when I start a new server and have nothing to do ingame I'll blow 15 starting gold on plus and see what's there.

Comment on:
Travian Mod Kit 1.8

Sep 9, 2007

New Travian code ya say? =]

I do my development and therefore all testing on speed.com... which truthfully I have no idea which version of Travian it's running.

I know there are versions 2.5 and 3.0, there's also minor differences in the polish a german speed servers with regards to the HTML it uses. So I'm guessing it's a versioning issue and that the HTML the script uses to trigger the addition of the + button (and other things) is different.

I'm going to add some basic debugging info to the todo list, something like a popup window that shows up when you are on this page (hehe) and lists the status of whatever checks I can code in.

Meantime if you want to email me the View -> source for that barracks page it might help. My check-once-a-week spambox is metzgerite@yahoo.com.

Any information sent that might possibly identify your trav account like village name or coords will be shredded and lit on fire once done.

Comment on:
Travian Mod Kit 1.8

Sep 8, 2007

Hey QP, I added your suggestion #3 to the list. For 1 and 2, probably not. The Village link (dorf3) is not something I want to mess with, I hope to have all the info that is available there at some point available in the village list. For #2, even if someone has 100 villages, that's only 200 clicks... I like saving people time but it's not worth my effort to save someone 200 clicks, especially now that the saved data format is finalized.. meaning future updates will not require anyone to reset all of their village info. I'd give more details but am in a hurry today.

CheaterSavior, I can think of a half dozen reasons why it might be broken, but I'd need more info. First, let me know if your settings box is green (small box above the money head, lower right of screen). If it is, click it and make sure all 4 circles are turned on (green). If they are, go to a barracks where troops are being made and let me know if you see a green + next to the 'next troop ready in' timer. If you can do a screenshot of a barracks as well and post a link that would also help quite a bit.

I also see you listed as scriptwright, so you can check for script errors that show up in the Error Console, or if you are feeling adventurous check the saved preferences (about:config in address bar, filter on 'greasemonkey', look for .TimedEvents for the village that has the barracks).

Keep me posted, gotta run.

Comment on:
Travian Mod Kit 1.8

Sep 7, 2007

Nil thanks, that would explain the bug, previous version's data would result in a divide by 0.

Rui you are a wise person, praising me before asking for something =] Hehe, thanks. I added a 'requested features' section to the description.

Kasper, you need Firefox browser and the Greasemonkey add-on extension. If you got both of those and it still just shows the source, then I'm not sure what's wrong.

New version coming soon!

Eh sorry was having a bad day, i apologize. I still think it's tacky but it doesn't warrant my previous comment. Soz.

Way to jump on the bandwagon and clutter up the script listing screen with retarded scrolling crap.

The first person who did it gets some points for originality. You just get - points for being an idiot.

Comment on:
Travian QP Market 2.3

Sep 5, 2007

Congrats on 1000+ installs QP =]

Comment on:
Travian Mod Kit 1.8

Sep 3, 2007

Combination of two known bugs:

Roman villages still have issues with storing multiple upgrades.

Upgrades with names shorter than 6 characters will not get a + next to them.

I'm more interested in how you are building Infinity Pretorianie in your one village lol.

Comment on:
Travian Mod Kit 1.8

Sep 3, 2007

By the way you know what really sucks? Working on a script with timers on a server where the TIMING IS SCREWED UP. OMG!! Speed server! I was ready to shoot myself until I found out it was a server bug =]

Comment on:
Travian Mod Kit 1.8

Sep 3, 2007

LOL awesome! Level 21 granary =]

I thought that Romans could only build one resource and one building at once, not two buildings... arg. >.<

Comment on:
Travian Mod Kit 1.8

Aug 26, 2007

Sorry guys had the flu the past week, I could barely sit up much less code anything. Couldn't even play. All my stupid warehouses are full.. grr.

w0riar, that's on the list. Gotta fix troops anyway because of the bug QP mentions. QP I'll add the details of finished builds back (yellow dots), was a side effect of the way I redid the timers but I miss knowing what I WAS building =]

junit11, this script does 2 things.. it modifies the travian webpages after they are downloaded, and it adds user preferences to your browser.

It is safe to run. The worst thing that could happen would be that I do not test a new version of the script enough and it crashes your browser. (I've done that to myself many times while testing) That's about it.

Comment on:
Travian Mod Kit 1.8

Aug 23, 2007

Update posted that should fix the + button for almost all. Working on adding + for existing Troop upgrades.

Tnx for the sitter test account it made it really easy to find out what I was doing wrong. Since you have lots of troops building it will make it easier to add a + troops button now.

schjor this update should fix your problem. For your Ekstra request I need to get the troops update working right then do autobuild before I can do this, but I'll put it on the list.

Comment on:
Travian Mod Kit 1.8

Aug 22, 2007

Yes Romans are a big source of problems but it's a challange =]

I find more and more I need an account to test, can you add me as sitter on .pl? You know my account I'm the 15 population farm LOL.

Already adding a PLUS for stable and barracks. I don't have a workshop option yet, if you really need to make that many catas you are playing too much ;/

I decided that troop row should only show the next one not the total, I added a table showing total for the troop image mouseover.

For your screenshot soon it will show 93 then 92 and count down as each troop is made.

Comment on:
Travian Mod Kit 1.8

Aug 20, 2007

It might be same problem as Polish server. If you are comfortable editing the script you can try to change the line that has:

if (/\.pl/.exec(document.domain))

to:

if (/\.de/.exec(document.domain))

In either case you should take the screenshot down it has your Village name on it O.o

I will try to fix the script for next version so it is not dependent on the 'lres0' id name for finding resources.

Comment on:
Travian Mod Kit 1.8

Aug 19, 2007

Hi, sorry no updates for awhile, but I am working on the next version and hope to upload it soon.

kanka2010, hopefully the buildings that are not working now will work in the next version.

clonejo, from the very start I wanted to avoid having to do translations for multiple languages, I felt time is better spent on making the script do cool things =] The production menu is the only part that uses words that could be translated.

I might do translations for the production menu in the future, but probably not. Even someone who speaks no English can understand what information the production menu is showing.

Comment on:
Travian Mod Kit 1.8

Aug 17, 2007

Hi again.

l6te, the two possibilities that are most likely are that you only have 1 village, or you are running another script that is interfering with this one. If you have more than 1 village and aren't running any other Trav scripts, you can go to Tools -> Error Console from firefox and let me know what the last error message is.

kbkt2007, I'm not really sure what you mean.. you talking about when I had it change the village number box to red when the building was being updated?

Comment on:
Travian Mod Kit 1.8

Aug 14, 2007

escape/unescape is deprecated and does not handle non-ascii languages:

http://developer.mozilla.org/en/docs/Core_JavaS...

URI acts identical except handles non-ascii and does not convert a few characters used in URLs

If you get crashes it might be for different reason?

Comment on:
Travian Mod Kit 1.8

Aug 14, 2007

Hey kbkt2007, was your townhall a new building? No new buildings will show description yet I still need to add that in.

Grzechu i sent you IGM but for .pl speed server, for whatever reason they changed one random thing in the HTML. To fix resource menu change:

lres0 to lres

Why would they do this? I don't know. I'm not going to get into a habit of making code branches for every time a new server changes a random piece of the page.. but I did fix this for my next update.

I thought about making cancel.. but it's not worth it. People rarely cancel, and if you do cancel it's usually to make something else, and if you make something else the script should display the last thing you made anyway.

Comment on:
Travian Mod Kit 1.8

Aug 14, 2007

Grzechu, I'm curious to see if the problems have fixed themselves?

Does the left menu still show 0 for everything and the Polish characters still not showing correct?

If I make an account on speed.pl would you make me a sitter so I can check? It is difficult for me to test because I need more than 1 village for most of the script to work right.

I will try to add an option to add in already existing upgrades for when you install script. It would also be useful for when FF crashes, when that happens to me I lose any timed upgrades that I made since I started the browser which sucks. =p

Comment on:
Travian Mod Kit 1.8

Aug 12, 2007

Thanks MeXaon, i'll add support for escape/unescape for next update and fix the white background in the images. Other graphic packs will have to wait.

SuperDomi, look for building queue support in version 1.8, I estimate by next weekend.

I decided I had to clean up my code before I could begin working on a queue, it was beginning to get confusing (over 800 lines) with too many redundant lines and temporary code that had become permanent.

I hope to post a minor update later tonight. Besides some bug fixes and the changes recommended by Mex, it also has a somewhat silly 'demolish building' notification. You'll see =]

Comment on:
Travian

Aug 9, 2007

It apparently embraces the power. I'm guessing it's someone else's script re-uploaded by this user.

Comment on:
Travian Mod Kit 1.8

Aug 9, 2007

Hiya QP =]

Stopped messing with my script for a few days and am using it and troop analyse, my 2nd favorite scripts ;] and just playing my accounts =]

Actually almost all of the travian scripts up are very good. I have most installed but inactive because i'm usually fixing something in mine >.>

Market feature as I wrote it was only useful for a small window of time.. too big a warehouse capacity and it becomes useless. I'm going to remove it as a column of dots and add something more useful to the individual market pages.

I was kind of wondering what to do next, so sure. I'll see if I can come up with a building queue feature.

Oh BTW I tried a week back to play an embedded .wav file when a timer was up. No go, tried embed src = a website address and also tried data encoding it like the images. Anyone know the magic words for that?

Comment on:
Travian: Battle Analyse v5.1.2

Aug 8, 2007

Excellent script =]

Comment on:
Travian Village Center Numbers .1

Aug 7, 2007

I blame the server. =]

Comment on:
Travian Mod Kit 1.8

Aug 6, 2007

Hmm nothing special about S3.travian.us that I can tell. I was expecting someone to tell me it didn't work on an travian3 server, but S3 is the normal 2.5 right?

BTW something I never mentioned, script won't work at all unless you have more than 1 village. Could this be it?

Feel like posting the console error message you get (if any?)