Page 1 of 6 123 ... LastLast
Results 1 to 10 of 51

Thread: Slappy's & Chair's Travian Software

      
   
  1. #1
    Join Date
    May 2006
    Posts
    3,071
    Rep Power
    318

    Default Slappy's & Chair's Travian Software

    I was tinkering in VB and wrote a lil program to calculate two timings

    Those that want to use it will notice the top calculation is to determine earliest Cranny Level Breach time.
    The bottom Calculation shows the amount of time you have to wait until you can build a building requiring however many resources.

    Maybe you'd like it aswell.

    Note: This program saves data such as current cranny level, resource acquisition rates and current resource levels in a lil text file located at c:\traviandata.txt

    You can find my lil village at 97|6

    I think I sorted out the Highlighting Bug

    Anyhow what I added in this version:
    1. Ability to simply paste in your "current resource levels" (stokes idea )
    2. Ability to simply paste in your "required resource levels" to build/upgrade something (stokes idea )
    3. Made the timing easier to read
    4. Program clears every text field that you click on hence saving you the hassle of selecting all text before changing. (plus i hear stokes backspace key has weak knees)
    5. The traviandata.txt file is also now saved in whatever directory you launch this program

    [edit] just noticed a division by zero error I never thought about catching just yet. It pops up when your "Acquisition Rate" fields are empty. Just beware. Will fix next time we get some more ideas
    Attached Files Attached Files
    Last edited by Stool; 6th December 2007 at 11:31 AM. Reason: adding sourcecode

  2. #2
    Join Date
    Feb 2006
    Location
    Durbs
    Posts
    2,737
    Rep Power
    180

    Default Slappy's Travian Software

    OK, I wrote a lil app that will let us log ourselves and our neighbours, and plot it on a map nicely. Allows for different alliances, etc.

    TG: Whats the best way to distribute? Can it be done via the site, or email.
    PS: It is .NET 2.0, so make sure you got the framework.

    It is a rough start, but I can build on it easily enough provided you lot gimme the input.

    From what I can see there is a very strong cluster of us in certain areas.

    EDIT: Ok, uploaded.

    ATM it is rough at best, literally knocked it up in 2 hours. But like I said, gimme a list of features / changes and I can make em.

    EDIT: Source available
    The .dat file is the data (duh) so you can send this around. I will ad support for file load probably tonight, but for now just keep the name the same.
    If someone has a windows server handy, I could write a web service for the data layer so we can all see the same data, but till then, mailing dat files around will have to do.
    Attached Files Attached Files
    Last edited by SlappY; 6th December 2007 at 06:08 PM.

  3. #3
    Join Date
    Feb 2006
    Location
    Durbs
    Posts
    2,737
    Rep Power
    180

    Default

    Done.. also if anyone wants the code to tinker with just shout.

  4. #4
    Roloreaper Guest

    Default

    Maybe a Travel Time Tools like for cargo and stuff!

    So we can set up a 24 hour Caravan route....

  5. #5
    stoke Guest

    Default

    You select Stoke on the first datagrid, and all the s's show on the grid?
    How do you control who shows on the grid?

    The .dat database is an XML file .. NICE, we can redistribute it.

  6. #6
    Join Date
    Feb 2006
    Location
    Durbs
    Posts
    2,737
    Rep Power
    180

    Default

    PS: Dont trust the coordinates I entered, double check em... I was a little under the influence when I entered them.

  7. #7
    Join Date
    Mar 2006
    Location
    Cape Town
    Posts
    4,139
    Rep Power
    168

    Default

    Yes, I would like to look at the source code please. Looks nice. Thanks.

  8. #8
    Join Date
    Jul 2006
    Location
    Port Elizabeth
    Posts
    1,037
    Rep Power
    152

    Default

    @Slappy, Can I add players to the program?

  9. #9
    Join Date
    Mar 2006
    Location
    Cape Town
    Posts
    4,139
    Rep Power
    168

    Default

    Have you guys seen this as well:
    http://help.travian.com/index.php?type=faq&mod=230

  10. #10
    Join Date
    Feb 2006
    Location
    Durbs
    Posts
    2,737
    Rep Power
    180

    Default

    Quote Originally Posted by Titan View Post
    @Slappy, Can I add players to the program?
    Yes you can. The app will load the data on startup and save it on close down.

    Add an Alliance too, select a color,
    Add a player by entering their details in on the first tab, they will be plotted with their alliances color on the map.

Similar Threads

  1. The indestructible chair
    By Souper in forum The Intarweb
    Replies: 15
    Last Post: 7th February 2011, 08:29 AM
  2. Tank Chair
    By Darnit696 in forum The Intarweb
    Replies: 4
    Last Post: 16th October 2009, 05:29 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •