Jump to content

Recommended Posts

Posted

It would be very appreciated, i can work with code and functions but languge is another problem. :party: Thanks for sharing code and thanks in advance for sharing translation.

Be cool be travian. :lmao:

Ok lets make a deal I make it multilanguagual and you all help us to inprove script :) give me you made scripts functions to make one perfect :)

agree?

  • Replies 180
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

Ok lets make a deal I make it multilanguagual and you all help us to inprove script :) give me you made scripts functions to make one perfect :)

agree?

You want just functions? It is no problem. Contact me over PM and send me your mail. I will put all my functions in one file for you to watch. I am working in no language zone so my funtions should work on every language server, but i am not sharing my AI behind my functions. Here we are not putting working code becouse some people just take and use it without undestanding. :party:

Be cool be travian. :lmao:

Posted

Hi!

What I can offer is a german version of slaughters script. But there are a few words I don´t understand - I understood nothing, but there are some translation services on the net ;-)

What is the english word for "Gamyba" in $Button2 = GUICtrlCreateButton("Gamyba", 136, 232, 99, 25, 0)?

Posted

Hi all!

I have one bot that im willing to send an exe to a beta tester/help Translate.

Only people active in this post will recieve the Serial needed to run the program. The Serial enable all nick names, all servers.

Current Languages Supported.

Portuguese 100%

Brazilian(need some test)

Spanish (unfinished)

French 100%

Swedish

Further languages will be supported by editing a .txt for the specifig string.

I wont release all the code, but I could help in concrete problem.

Please PM me if you interested, with what you want to help.

kind regards

You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!"
Posted

Hi all!

I have one bot that im willing to send an exe to a beta tester/help Translate.

Only people active in this post will recieve the Serial needed to run the program. The Serial enable all nick names, all servers.

Current Languages Supported.

Portuguese 100%

Brazilian(need some test)

Spanish (unfinished)

French 100%

Swedish

Further languages will be supported by editing a .txt for the specifig string.

I wont release all the code, but I could help in concrete problem.

Please PM me if you interested, with what you want to help.

kind regards

English maybe. :) Go Linux go. He, he, he... Working hard i see.

Be cool be travian. :)

Posted

Hi!

What I can offer is a german version of slaughters script. But there are a few words I don´t understand - I understood nothing, but there are some translation services on the net ;-)

What is the english word for "Gamyba" in $Button2 = GUICtrlCreateButton("Gamyba", 136, 232, 99, 25, 0)?

Production
Posted (edited)

Updated. Suports multi language. Just edit file or make newone in language folder. This is just beta test. Give som feat back

Bot Src [fixed]

Lithuanian.txt

Updated

[LT]
Text_when_login_ok=<DIV id=ltime>Atnaujinta per <B>
// This part of text show only whn login is ok. Text liek updated in... ect

Army_attack=jimas:
// Text witch shows only whn army movment is detected

Active_constructions=Statybos pabaiga
//Text shown when is active construction

Constructions_yard=statybos
//Smth...;D Nead take a look to script

List_watch_is_active_construction=iuo metu statoma
//This for auto bulding. If this prt of text apears it will not try to start new construction

Build_link_text=Statyti
//Text or part of it in start new bulding link

[Display]
//Gui or display mesages

Build_in_progres=Statoma: 
Build_end_time=Baigimo laikas: 


[GUI]
Build_menu_title=Ka statom?
Constructions=Statom
Name=Pavadinimas
Link=Nuoruoda
Build=Statyti
Back=Atgal

Army_autoatacker_title=Armijos atutomatizavimas! Sio lango prasau neuzdaryti Jeigu norit kad vyktu puldinejimas!
City_name=Gyvenviete:
Support=Pastiprinimas
Attack=Puolimas
Raid=Reidas
Repeat_delay=Kartoti kas
Mins=minuciu
Start=Pradeti
Repeat=Kartoti
Times=Kartu
or=arba

Moving my scripts here: http://www.autoitscript.com/forum/index.php?showtopic=66981

All updates else :) waiting post for other translations

Edited by slaughter
Posted

Hey!

Thanx slaughter. Production. Okay. What is produced? Army/Soldiers?

Btw, the download link for the src doesn´t work, unfortunately. Hope you can fix that! ;-)

Posted

Hey!

Thanx slaughter. Production. Okay. What is produced? Army/Soldiers?

Btw, the download link for the src doesn´t work, unfortunately. Hope you can fix that! ;-)

Yes shuld be but now is not working. :) When you finish English GUI post it here
Posted

Yes shuld be but now is not working. :) When you finish English GUI post it here

i get this error:

You do not have permission to download this file

Posted (edited)

Hi all, I have a problem in my bot.

After a few hours(6-12) working non stop. the bot gets 4-5 times slower!

Any clue about that? You guys getting the same sintom?

Edit: 4 minutes after i posted this problem found it!

Very easy, looks like the EDIT BOX I'm using for the LOG in the GUI has some LIMITS, is freaks out after reaching that limit, and all my functions that uses it get slower. a lot slower!

This helpes a lot to fix:

Change Edit Box Char Limit Topic

Edited by Linux
You can help! Donate to AutoIt! or, visit ClimatePREDICTION.netMy posts:Travian Bot Example (100+ servers) BETAHow to Host you code/app for free! (unlimited team number) (Public or Private)"Sir, we're surrounded!" "Excellent. We can attack in any direction!"
Posted (edited)

slaughter good work! :)

For LT server i use this function for notify then attack my villages. Sorry,my English no good.

Func send($message)

$oIE2 = _IECreate("http://www.sms4you.lt/", 0, 1,2000,0)

$number ="your phone number"; ex. "+37062824700"

_IELoadWait($oIE2,1000,30000)

$GetSource = _IEDocReadHTML($oIE2)

if (StringInStr($GetSource, 'Nemokamos')) Then

TrayTip("","radau fraze", 0)

$o1 = _IEFormGetObjByName($oIE2, "SMForm")

$o2 = _IEFormElementGetObjByName($o1, "number")

$o3 = _IEFormElementGetObjByName($o1, "num")

$o4 = _IEFormElementGetObjByName($o1, "text")

$o5 = _IEFormElementGetObjByName($o1, "submith12")

_IEFormElementSetValue($o2, $number)

_IEFormElementSetValue($o4, $message)

_IEAction($o5, "click")

EndIf

$oIE2.document.close()

EndFunc

Edited by Gusis
Posted

Hi all, I have a problem in my bot.

After a few hours(6-12) working non stop. the bot gets 4-5 times slower!

Any clue about that? You guys getting the same sintom?

Edit: 4 minutes after i posted this problem found it!

Very easy, looks like the EDIT BOX I'm using for the LOG in the GUI has some LIMITS, is freaks out after reaching that limit, and all my functions that uses it get slower. a lot slower!

This helpes a lot to fix:

Change Edit Box Char Limit Topic

When you using guictrlread($edit) & $new_text it makes program rn wery slow if its updatingg very often or give very mutch output. Use smth like tu clean edit alibbenable or smth look to my script :)

Posted

slaughter good work! :)

For LT server i use this function for notify then attack my villages. Sorry,my English no good.

Func send($message)

$oIE2 = _IECreate("http://www.sms4you.lt/", 0, 1,2000,0)

$number ="your phone number"; ex. "+37062824700"

_IELoadWait($oIE2,1000,30000)

$GetSource = _IEDocReadHTML($oIE2)

if (StringInStr($GetSource, 'Nemokamos')) Then

TrayTip("","radau fraze", 0)

$o1 = _IEFormGetObjByName($oIE2, "SMForm")

$o2 = _IEFormElementGetObjByName($o1, "number")

$o3 = _IEFormElementGetObjByName($o1, "num")

$o4 = _IEFormElementGetObjByName($o1, "text")

$o5 = _IEFormElementGetObjByName($o1, "submith12")

_IEFormElementSetValue($o2, $number)

_IEFormElementSetValue($o4, $message)

_IEAction($o5, "click")

EndIf

$oIE2.document.close()

EndFunc

Nice... Posible addadon in future for script!! :) If whant to chant in LT PM me or use skype. culd be usefull for us tu chat nad show eatch other scripts :party: Sori a bit tu much coctails after club ;D Some letters may be missing :lmao:

Keap a good healp gor me and we will make someting good! ^_^

If someody have good bot culd share with me it will stay private. It just for coding experience :idea:

  • 2 weeks later...
Posted

@gusis: How do you handle incoming attacks? Immediately noticed by sms? For each attack?

got everything till the attack-data ... but I want to check in a short intervall - therefore I need an "attack-management" not to handle the same attack twice or more etc.

Posted

Just another question...

tried to convert field-id into coords.

IDtoKoord ($test)

Func IDtoKoord($Koord)

    $x = -401 + ($Koord - Floor ($Koord/801) * 801)
    $y = 400 - Floor ($Koord/801)

MsgBox(0,"",$x&"/"&$y)

EndFunc

works fine for nearly the entire map, except the right "border" 400/400, 400/399 ... 400/-400

Anyone got a hint for me?

Posted

@gusis: How do you handle incoming attacks? Immediately noticed by sms? For each attack?

got everything till the attack-data ... but I want to check in a short intervall - therefore I need an "attack-management" not to handle the same attack twice or more etc.

i send sms only 1 sms for 1 village. have array with values 1. and then i see attack i decrease it. and if i have 0 dont send sms...

Posted

Just another question...

tried to convert field-id into coords.

IDtoKoord ($test)

Func IDtoKoord($Koord)

    $x = -401 + ($Koord - Floor ($Koord/801) * 801)
    $y = 400 - Floor ($Koord/801)

MsgBox(0,"",$x&"/"&$y)

EndFunc

works fine for nearly the entire map, except the right "border" 400/400, 400/399 ... 400/-400

Anyone got a hint for me?

try: (400+x)+[(800-(y+400))%800]*801 + 1
Posted

hi everybody..

i'm new in travian and I don't know a lot about the scripts, but.. is it possible to make few times biger army and to make that the grain don't go to the minus? (i hope you understand what i'm asking and sorry for my english)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...