Jump to content

DoctorSLO

Active Members
  • Posts

    84
  • Joined

  • Last visited

About DoctorSLO

  • Birthday 06/11/1990

Profile Information

  • Location
    Slovenija

DoctorSLO's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. Hi. I just want to ask if any of you guys do some serius projects with autoit? If yes, what are your experiences? And are you satisfied with autoit or would you prefer another programming language? I'm about to start some project, but I don't know what to choose ... autoit or C# ? Have a nice day
  2. Oh .. thx Sorry I forgot ..
  3. No I don't have. Maybe is this line in included files? I have included this: #include <IE.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <ComboConstants.au3> #include <Date.au3> #include <Array.au3> #Include <GuiListView.au3> #Include <File.au3> #include <ButtonConstants.au3> #include <INet.au3> #include <ProgressConstants.au3> #Include <GuiComboBox.au3> #Include <GuiTab.au3> #include <ListViewConstants.au3> #include <StructureConstants.au3> #include <FontConstants.au3> #include <GuiImageList.au3> #include <Icons.au3> #include <Math.au3>
  4. Hello. When I run SyntaxCheck Prod I got these errors: C:\TravianFarmer\autoit\Travian Farmer v0.198 BETAAAAAAAAAA.au3(8699,45) : ERROR: syntax error ElseIf $imezadecode = Eval("sumnik5")&"aga" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\TravianFarmer\autoit\Travian Farmer v0.198 BETAAAAAAAAAA.au3(8703,53) : ERROR: syntax error ElseIf $imezadecode = "Talilnica "&$sumnik6&"eleza" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\TravianFarmer\autoit\Travian Farmer v0.198 BETAAAAAAAAAA.au3(8709,54) : ERROR: syntax error ElseIf $imezadecode = "Skladi"&$sumnik2&$sumnik4&"e" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\TravianFarmer\autoit\Travian Farmer v0.198 BETAAAAAAAAAA.au3(8711,41) : ERROR: syntax error ElseIf $imezadecode = $sumnik5&"itnica" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\TravianFarmer\autoit\Travian Farmer v0.198 BETAAAAAAAAAA.au3(8713,55) : ERROR: syntax error ElseIf $imezadecode = "Izdelovalec oro"&$sumnik6&"ja" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\TravianFarmer\autoit\Travian Farmer v0.198 BETAAAAAAAAAA.au3(8717,53) : ERROR: syntax error ElseIf $imezadecode = "Vadbi"&$sumnik2&$sumnik4&"e" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\TravianFarmer\autoit\Travian Farmer v0.198 BETAAAAAAAAAA.au3(8721,55) : ERROR: syntax error ElseIf $imezadecode = "Zbirali"&$sumnik2&$sumnik4&"e" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\TravianFarmer\autoit\Travian Farmer v0.198 BETAAAAAAAAAA.au3(8723,44) : ERROR: syntax error ElseIf $imezadecode = "Tr"&$sumnik6&"nica" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\TravianFarmer\autoit\Travian Farmer v0.198 BETAAAAAAAAAA.au3(8729,47) : ERROR: syntax error ElseIf $imezadecode = "Konju"&$sumnik2&"nica" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\TravianFarmer\autoit\Travian Farmer v0.198 BETAAAAAAAAAA.au3(8735,48) : ERROR: syntax error ElseIf $imezadecode = "Mestna hi"&$sumnik2&"a" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\TravianFarmer\autoit\Travian Farmer v0.198 BETAAAAAAAAAA.au3(8739,43) : ERROR: syntax error ElseIf $imezadecode = "Pala"&$sumnik4&"a" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\TravianFarmer\autoit\Travian Farmer v0.198 BETAAAAAAAAAA.au3(8747,54) : ERROR: syntax error ElseIf $imezadecode = "Velika konju"&$sumnik2&"nica" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\TravianFarmer\autoit\Travian Farmer v0.198 BETAAAAAAAAAA.au3(8757,61) : ERROR: syntax error ElseIf $imezadecode = "Veliko skladi"&$sumnik2&$sumnik4&"e" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\TravianFarmer\autoit\Travian Farmer v0.198 BETAAAAAAAAAA.au3(8759,51) : ERROR: syntax error ElseIf $imezadecode = "Velika "&$sumnik6&"itnica" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\TravianFarmer\autoit\Travian Farmer v0.198 BETAAAAAAAAAA.au3(8761,64) : ERROR: syntax error ElseIf $imezadecode = "Konjsko napajali"&$sumnik2&$sumnik4&"e" Its syntax error, but I don't know what is wrong ?! I tried to run this script and it's working well. And my code has size of 13750 lines. Maybe because for this??
  5. Of course does not have a transparent background, because it's screenshoot. Sorry for my stup** question ... the solution of this is in Icons.au3 ... here screenshot: link: http://img31.imageshack.us/img31/4944/captureay.png Thx for replay. Regards.
  6. Hi. I have around 33 pictures and I want to display them on my GUI. But the problem is, that autoit automatically change background colour of picture. If you open this pictures in photoshop, you can see, that they had no backgroud colour. The autoit sometimes display background as white (what is good, but better with no colour, as original), and sometimes as black (this is what I dont want). Here is screenshoot: link: http://img15.imageshack.us/img15/32/capturecd.png So how can I display these pictures normaly, or how can I remove those backgrounds ? I know I can create for every picture child gui, but this causes many laggs and CPU usage (so I cant make like this, with child guis) Please help.
  7. Hello all. I have problem with this StringRegExp($sourceHTML, '<a href="karte.php\?d=(.+)">', 3) If the $sourceHTML is: <td colspan="11"><a href="spieler.php?uid=4303">matica2</a> iz naselbine <a href="karte.php?d=315256&c=ab">Naselje špranj</a></td> Then the returned value of stringregexp is correct ... it shows "315256&c=ab". Now the problem is here: Value of $sourceHTML: <td class="role">Branilec</td><td colspan="10"><a href="spieler.php?uid=3077">matt23</a> iz naselbine <a href="karte.php?d=315251&c=eb">NaSeLjE</a></td></tr></thead><tbody class="units"><tr><th> </th><td><img src="img/x.gif" class="unit u11" title="Gorjačar" alt="Gorjačar" /> Now I get result 315251&c=eb">NaSeLjE</a></td></tr></thead><tbody class="units"><tr><th> </th><td><img src="img/x.gif" class="unit u11" title="Gorjačar" alt="Gorjačar" /> ... etc about 2500 chars. So why this happen? Please help ... Edit: I see that (.+) is matching "> at the end of line ... what can I do this link is different every time .. Edit2: OK, I solved it with this: StringRegExp($preberzameta, '<a href="karte.php\?d=(\d+)&(....)">', 3) But is there any way to do this with (.+) ? Edit3: Thank you for answers ... I will use this on my next problem
  8. Hello all. I was wondering why the source of web page is shown different at some other computers ... then I noticed that the functions _IEBodyReadHTML and _IEDocReadHTML are executed after client-side modifications. Now I have a few questions: 1) Is the function _INetGetSource the only way to get original source of the page (that is not modified, and it's the same on all computers) 2) If I use _INetGetSource, what is used as user agent 3) I have created some session with IE and I have access private pages (which are secured by php session or by cookie) ... now If I use _INetGetSource, I will get that source from private page? or it will take me to the login page? 4) How actually this _INetGetSource works? I need these answers, because I'm coding bot for web-based game, and I have many problems only because of different source on other computers. Answers would be greatfully received!
  9. I had the same problems with my bot. This error happens randomly if you are using IE functions in your script. Then I used _IEErrorHandler, and now it's working perfect.
  10. You did't read all? The problem is that this pictures are displayed all time, in all tabs, I want to show them only at one TAB EDIT: OK, I found how to do it. Thx for help
  11. I have one more problem Here are pictures: Links to pictures: http://h.imagehost.org/0859/prob1.jpg http://h.imagehost.org/0421/prob2.jpg As you can see the pictures are now visible all the time when GUI is on. How can I disable this pictures, and enable only when tab "Zgradbe" (picture2) is opened? I know I can use _GUICtrlTab_GetCurFocus or _GUICtrlTab_GetItemState, but How can I add this in loop? I have this loop While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE _IEQuit($ie) Exit Case $autopoiscifarme poiscifarme() Case $zbrisi1 funkcijazbrisi1() Case $zbrisi2 funkcijazbrisi2() Case $zbrisi3 funkcijazbrisi3() Case $dodaj1 funkcijadodaj1() Case $dodaj2 funkcijadodaj2() Case $dodaj3 funkcijadodaj3() Case $add guidodajfarmo() Case $delete izbrisioznacenofarmo() Case $deleteallid . . .
  12. Here are links, if you can't see http://h.imagehost.org/0177/dgdte5.jpg http://speed.travian.si/gpack/travian_default/img/g/iso.gif EDIT: ok, thanks, the example 2 is what I was searching for. Thanks for help.
  13. I cant find it If I want to do this I must put in GUIcreate $WS_EX_LAYERED. But I don't want that you can see trough main window. I only want this to do on picture.
  14. Hello. I want to add this picture on GUI: If I do this normally I get this: So how can I remove this white space ?
  15. Thx ... its complicated huh, but I will figure out how to do it
×
×
  • Create New...