Simpleviet Script

configuration.xml examples

Simpleviet Script

Postby Simpleviet on Wed Feb 10, 2010 7:54 pm

Few months before last October, I created a complicated script that fitted my need for the Romans only with the job of running trusting it fully to run itself where I’m trying to get. It got a little out of hand and it didn't get completed. I stopped working on it for a looong time. Right now I'm currently in Iraq and will be back in a year or so and I stopped playing travian afterwards because I don't have the time here to actually play it. I figure maybe the bot can handle it but the internet here is too slow and would need me to watch what it does from time to time when an error occurs or when a power change over happens in the area. My laptop has died and I have no computer for 1 month and some weeks. I'm using a military computer but not allowed to plug any unsecured hard drives. When I was writing this I really wanted to get some help on the scripting build but I didn't like to publicly show it because it can becomes competitive of which bot beats the other bot or it makes all the bots act the same. Can cause no creativity etc etc. Which in turn doesn't help me much getting input of the script and I shared only with two people. I never fully tested the script to its full potential so I would never know. When I get my laptop I will post the script and I do hope that the community can trim the fat of it and improve it someway somehow so that it can become a universal script perhaps. I thought of having 3 scripts. Each with a distinct pro to con. Economy, Raid, and Mixture of both. With 3 different race. Too much for me to write it all out. This is only roman economy build. I think it is done. I made it run as efficient as possible though I don't know it can do the job though. I also thought about writing a script for a specific village job like this village will produce scouts only this village produce legions only this village produce ei etc etc but didn't get further developed yet. When I do get the chance to post it I hope it becomes a script where it can be played without a human being there that be something i like to see !! Peace!!!

Update Apil 05 2010
Okay. Thanks for allowing me to keep this topic up. I had no laptop for the past 3 - 4 months. Basically I work out and study. Here you go. I finally got my laptop and I think this is the lastest config. I have a lot of them all over the the hard drive couldn't tell which is which by size nor date.
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configuration>
<dayExtraPauseMinutes max="2" min="4"/>
<nightExtraPauseMinutes max="13" min="26"/>
<nightTime from="22:00" to="05:30"/>
<server desc="Travian us1" enabled="true" language="us" tribe="Romans" version="v35">
        <loginUrl>http://s1.travian.us</loginUrl>
        <user>unwillingly</user>
        <password>tastay</password>
        <village desc="Unwillingly Village" enabled="true" uid="v33024571">
            <url>http://s1.travian.us/dorf1.php</url>


<strategy class="RatedFieldGrowth" desc="10/12/8/6" enabled="true" maxLevel="7" uid="ratio">
               <productionRate checkTimeMinutes="60" clay="12" crop="6" iron="8" wood="10"/>
               <whileProductionBelow clay="1000" crop="600" iron="1000" wood="1000"/>
               <maxLevel crop="6"/>
</strategy>


<strategy class="FieldGrowth" desc="AntiFarm" enabled="true" growPriority="least" uid="s40768681">
</strategy>


<strategy class="GrowItem" desc="Cranny" enabled="false" uid="s35898141">       
                <item building="Cranny" id="35,24,28" maxLevel="10"/>
</strategy>


<strategy class="QuestSolver" desc="QuestSolver" enabled="true" uid="quest">
                <villageName>Serenity</villageName>
                <cranny id="35"/>
                <granary id="25"/>
                <warehouse id="29"/>
                <marketplace id="20"/>
</strategy>



<strategy class="CapacityIncreaser" desc="10 hours before filled" enabled="true" uid="capacity" waitFor="quest">
                <warehouse id="25" overflowTime="5"/>
                <granary id="29" overflowTime="5"/>
</strategy>


<strategy class="GrowItem" desc="Grain Mill" enabled="true" uid="grainmill" waitFor="ratio">
                <item building="Grain Mill" id="32" maxLevel="2"/>
</strategy>


<strategy class="GrowItem" desc="clay10" enabled="true" uid="clay" waitFor="grainmill">
                <item desc="Clay" id="18" maxLevel="10"/>
</strategy>

<strategy class="GrowItem" desc="wood10" enabled="true" uid="wood" waitFor="grainmill">
                <item desc="Wood" id="14" maxLevel="10"/>
</strategy>

<strategy class="GrowItem" desc="iron10" enabled="true" uid="iron" waitFor="grainmill">
                <item desc="Iron" id="11" maxLevel="10"/>
</strategy>


<strategy class="GrowItem" desc="c7" enabled="true" uid="wheat" waitFor="grainmill">
                <item desc="Wheat" id="2,8,9,12,13,15" maxLevel="7"/>
</strategy>

<strategy class="GrowItem" desc="Bonus EconomyI" enabled="true" uid="bonusesi" waitFor="iron">
                <item building="Iron Foundry" id="23" maxLevel="3"/>
</strategy>

<strategy class="GrowItem" desc="Bonus EconomyB" enabled="true" uid="bonusesb" waitFor="clay">
                <item building="Brickyard" id="23" maxLevel="3"/>
</strategy>

<strategy class="GrowItem" desc="Bonus EconomyS" enabled="true" uid="bonusess" waitFor="wood">
                <item building="Sawmill" id="23" maxLevel="3"/>
</strategy>


<strategy class="GrowItem" desc="Grain Mill2" enabled="true" uid="grainmill2" waitFor="wheat">
                <item building="Grain Mill" id="32" maxLevel="3"/>
</strategy>


<strategy class="FieldGrowth" desc="lvl8c" enabled="true" uid="max8c" waitFor="bonusesb">
                <item desc="Clay" id="5,6,16" maxLevel="8"/>
</strategy>

<strategy class="FieldGrowth" desc="lvl8w" enabled="true" uid="max8w" waitFor="bonusess">
                <item desc="Wood" id="1,3,17" maxLevel="8"/>
</strategy>

<strategy class="FieldGrowth" desc="lvl8i" enabled="true" uid="max8i" waitFor="bonusesi">
                <item desc="Iron" id="4,7,10" maxLevel="8"/>
</strategy>


<strategy class="GrowItem" desc="c8" enabled="true" uid="wheat2" waitFor="granmill2">
                <item desc="Wheat" id="2,8,9,12,13,15" maxLevel="8"/>
</strategy>

<strategy class="GrowItem" desc="Grain Mill3" enabled="true" uid="grainmill3" waitFor="wheat2">
                <item building="Grain Mill" id="32" maxLevel="5"/>
</strategy>


<strategy class="GrowItem" desc="Bonus Economy2I" enabled="true" uid="upbonusi" waitFor="max8i">
                <item building="Iron Foundry" id="23" maxLevel="4"/>
</strategy>

<strategy class="GrowItem" desc="Bonus Economy2B" enabled="true" uid="upbonusb" waitFor="max8c">
                <item building="Brickyard" id="27" maxLevel="4"/>
</strategy>

<strategy class="GrowItem" desc="Bonus Economy2S" enabled="true" uid="upbonuss" waitFor="max8w">
                <item building="Sawmill" id="34" maxLevel="4"/>
</strategy>


<strategy class="FieldGrowth" desc="lvl9c" enabled="true" uid="max9c" waitFor="upbonusb">
                <item desc="Clay" id="5,6,16" maxLevel="9"/>
</strategy>

<strategy class="FieldGrowth" desc="lvl9w" enabled="true" uid="max9w" waitFor="upbonuss">
                <item desc="Wood" id="1,3,17" maxLevel="9"/>
</strategy>

<strategy class="FieldGrowth" desc="lvl9i" enabled="true" uid="max9i" waitFor="upbonusi">
                <item desc="Iron" id="4,7,10" maxLevel="9"/>
</strategy>


<strategy class="GrowItem" desc="c10" enabled="true" uid="wheat10" waitFor="grainmill3">
                <item desc="Wheat" id="15" maxLevel="10"/>
</strategy>

<strategy class="GrowItem" desc="Bakery" enabled="true" uid="bakery" waitFor="wheat10">
                <item building="Bakery" id="31" maxLevel="2"/>
</strategy>

<strategy class="GrowItem" desc="c9" enabled="true" uid="wheat3" waitFor="bakery">
                <item desc="Wheat" id="2,8,9,12,13" maxLevel="9"/>
</strategy>

<strategy class="GrowItem" desc="Bakery2" enabled="true" uid="bakery2" waitFor="wheat3">
                <item building="Bakery" id="31" maxLevel="3"/>
</strategy>


<strategy class="GrowItem" desc="Bonus Economy3I" enabled="true" uid="upbonus2i" waitFor="max9i">
                <item building="Iron Foundry" id="23" maxLevel="5"/>
</strategy>

<strategy class="GrowItem" desc="Bonus Economy3B" enabled="true" uid="upbonus2b" waitFor="max9c">
                <item building="Brickyard" id="27" maxLevel="5"/>
</strategy>

<strategy class="GrowItem" desc="Bonus Economy3S" enabled="true" uid="upbonus2s" waitFor="max9w">
                <item building="Sawmill" id="34" maxLevel="5"/>
</strategy>


<strategy class="FieldGrowth" desc="finalc" enabled="true" uid="final10c" waitFor="upbonus2b">
                <item desc="Clay" id="5,6,16" maxLevel="10"/>
</strategy>

<strategy class="FieldGrowth" desc="finalw" enabled="true" uid="final10w" waitFor="upbonus2s">
                <item desc="Wood" id="5,6,16" maxLevel="10"/>
</strategy>

<strategy class="FieldGrowth" desc="finali" enabled="true" uid="final10i" waitFor="upbonus2i">
                <item desc="Iron" id="5,6,16" maxLevel="10"/>
</strategy>


<strategy class="GrowItem" desc="c10final" enabled="true" uid="wheat4" waitFor="bakery2">
                <item desc="Wheat" id="2,8,9,12,13" maxLevel="10"/>
</strategy>


<strategy class="GrowItem" desc="Embassy" enabled="true" uid="e1" waitFor="quest">
                <item building="Embassy" id="21" maxLevel="1"/>
</strategy>


<strategy class="GrowItem" desc="Basic Building" enabled="false" uid="basicbuilding" waitFor="quest">
                <!-- Id: 24,28,35 are empty -->
                <item building="Barracks" id="19" maxLevel="3"/>
                <item building="Academy" id="29" maxLevel="1"/>
                <item building="Residence" id="26" maxLevel="10"/>
                <item building="Stable" id="22" maxLevel="10"/>
                <item building="Marketplace" id="20" maxLevel="20"/>
                <item building="Hero's Mansion" id="37" maxLevel="20"/>
                <item building="Armory" id="38" maxLevel="20"/>
                <item building="Blacksmith" id="36" maxLevel="3"/>
                <item building="Barracks" id="19" maxLevel="20"/>
                <item building="Academy" id="29" maxLevel="5"/>
                <item building="Embassy" id="21" maxLevel="1"/>
                <item building="Main Building" id="33" maxLevel="20"/>
                <item building="City Wall" id="40" maxLevel="20"/>
                <item building="Rally Point" id="39" maxLevel="15"/>
</strategy>


<strategy class="GrowItem" desc="Building" enabled="false" uid="basicbuilding2" waitFor="quest">
                <!-- Id: 24,28,35 are empty -->
                <item building="Residence" id="26" maxLevel="10"/>
                <item building="Stable" id="22" maxLevel="10"/>
                <item building="Marketplace" id="20" maxLevel="20"/>
                <item building="Hero's Mansion" id="37" maxLevel="20"/>
                <item building="Armory" id="38" maxLevel="20"/>
                <item building="Blacksmith" id="36" maxLevel="3"/>
                <item building="Barracks" id="19" maxLevel="20"/>
                <item building="Academy" id="29" maxLevel="5"/>
                <item building="Embassy" id="21" maxLevel="1"/>
                <item building="Main Building" id="33" maxLevel="20"/>
                <item building="City Wall" id="40" maxLevel="20"/>
                <item building="Rally Point" id="39" maxLevel="15"/>
</strategy>




<strategy class="Farmizzator" desc="Praets Reinforcing" enabled="false" uid="" waitFor="">
        <target movement="move" rate="2" village="eileen Village #1" x="-45" y="-74"/>
        <troops allowLess="true" min="0" type="Praets">10</troops>
              <minPauseMinutes>1</minPauseMinutes>
</strategy>






<strategy class="FieldGrowth" desc="grows the field with the least available resources" enabled="false" growPriority="least" uid="s31436861"/>
            <strategy class="FieldGrowth" desc="Grow Cheapest Field" enabled="fase" uid="s31436862"/>
            <strategy class="GrowItem" desc="Grow Main Building" enabled="false" uid="s31436863">
                <item desc="Main Building" id="26" maxLevel="10"/>
            </strategy>
        </village>
    </server>
</configuration>
Last edited by Simpleviet on Wed Apr 07, 2010 5:45 am, edited 2 times in total.
Image
User avatar
Simpleviet
 
Posts: 22
Joined: Wed Apr 29, 2009 8:44 pm

Re: Simpleviet Script

Postby Simpleviet on Mon Apr 05, 2010 8:38 pm

Updated.
Image
User avatar
Simpleviet
 
Posts: 22
Joined: Wed Apr 29, 2009 8:44 pm

Re: Simpleviet Script

Postby Simpleviet on Wed Apr 07, 2010 4:05 pm

Any input would be nice too :D I want to know if theres any need of fixing or updating. Things like that. I haven't played travian for almost a year again. IRaq is too slow and no time.
Image
User avatar
Simpleviet
 
Posts: 22
Joined: Wed Apr 29, 2009 8:44 pm

Re: Simpleviet Script

Postby HELP OUT on Sun Sep 05, 2010 11:22 pm

Come on no one has any good scripts to post ? I'm sure all of us created a script to do certain things here and there and why don't we all share it? I mean it better the community it would help out or all of us come on now...
HELP OUT
 

Re: Simpleviet Script

Postby PAthetic on Mon Sep 06, 2010 3:52 pm

is this what the community can offer? I mean we should build a script where we can create like the basic script that can function in one whole thing then the rest can be branched out. Easy for everyone i think!
PAthetic
 


Return to Examples

Who is online

Users browsing this forum: No registered users and 1 guest


cron
VilloNanny Travian Bot VilloFetch Web Proxy - Unblock Travian Cristian Ghezzi Web Site SourceForge.net Logo