If i start and account with lvl 2 1/2 from battle training how many loses i will need to reach lvl 5 ?
(This just checks if Pixel X is always the same color for a long time, if so it closes all shit and restarts loletal.)Quote:
#include <Misc.au3>
$FirstVar = PixelGetColor(614,264)
Dim $Procent = 1
Dim $HowManyTimes = 0
if _Singleton("test",1) = 0 Then
Exit
EndIf
HotKeySet("{F11}", "Browse")
While 1
$CurrentVar = PixelGetColor(614,264)
If $FirstVar = $CurrentVar Then
$Procent = $Procent + "2"
EndIf
If $Procent = 250 Then
ProcessClose("League of Legends.exe")
ProcessClose("LoLEtal.exe")
ProcessClose("LManager.exe")
ProcessClose("LoLLauncher.exe")
$Procent = "0"
Run ("LoLEtal.exe")
Dim $HowManyTimes = $HowManyTimes + "1"
EndIf
$Procent = $Procent - "1"
if $Procent < 0 Then
$Procent = 0
endif
Sleep(1000)
WEnd
While 2
$FirstVar = PixelGetColor(614,264)
Sleep(5000)
WEnd
func Browse()
MsgBox(0, "Information", $HowManyTimes, "5")
endfunc
yes the bot already checks if you have been in the same place for 5 minutes in the client or in game for 25-30 minutes and it restarts.Quote:
(This just checks if Pixel X is always the same color for a long time, if so it closes all shit and restarts loletal.)
I had a Problem with the Bot, it somtimes stopped for some weird reasons.
Thats why i wrote this lil' programm.
Would be awesome if u'd employ something like that to your Bot ugotstuffed.
The problem is the script stops working and goes into idle mode. Game closes and reopens, you lose the xp from that game since it closed and is recorded as "1 completed" game. Should really get rid of the whole game counting thing and just make the script read the lvl you are.Quote:
yes the bot already checks if you have been in the same place for 5 minutes in the client or in game for 25-30 minutes and it restarts.
I'm not sure why some of you are getting level 4 accounts because I don't have any like that and I have 5 instances of LoLEtal running on VMs with 512 MB ram. Can you tell me how much exp is left for level 5 on those accounts? Is it playing less games because of a bug or is 12 not enough?
I run 2 VMs and I don't run the bot on the regular OS due to it being my mom's computer, so she randomly gets on to check her emails and what not, so that's the original reason I had to get a VM.Quote:
Are the accounts that only get to level 4 in your vms only or are they also in your regular OS? It might be that you have not put enough memory into your vm or you could try increasing the delay to 5000-10000 and see if some accounts still get messed up.
They're like ~10-20 XP away I believe, so 12 just isn't enough.Quote:
yes the bot already checks if you have been in the same place for 5 minutes in the client or in game for 25-30 minutes and it restarts.
I'm not sure why some of you are getting level 4 accounts because I don't have any like that and I have 5 instances of LoLEtal running on VMs with 512 MB ram. Can you tell me how much exp is left for level 5 on those accounts? Is it playing less games because of a bug or is 12 not enough?
Works Perfectly but sometimes shows wrong number when I open it the first time, if your going to implement this feature I suggest multiple checks.Quote:
I need some people to help me test this to see if I can make the bot detect level 5. Please download this file: [Only registered and activated users can see links. Click Here To Register...] and follow the directions below (it might look long but it'll only take about 5 minutes).
Requirements:
-a computer with a resolution of 1280x800 or higher.
-a vm with windows xp at 1024x768.
-league of legends installed on both (obviously).
0. If you are getting an error when running "tester.exe" you did not follow the instructions exactly.
1. Make sure your resolution is 1280x800 or higher and you are not in a vm. (height and width should both be greater than or equal to 1280 and 800).
2. Open League of Legends and click play on the patcher (you should be at the login screen).
3. Open "tester.exe" and a popup with a number should come. It should be "0" (press ok to close).
4. Login to an account that is NOT level 5 (and close the popup that says something about viktor)
5. Open "tester.exe" and it should again say "0".
6. Close league of legends and open it again and login to a level 5 account (and close the popup that says something about viktor).
7. Open "tester.exe" and it should say "1".
8. Re-size the League of Legends client to the SMALLEST that it can go to (should be 1024x640, if you're not sure just leave it at the smallest).
9. Open "tester.exe" and it should say "1" again.
10. Now make the League of Legends client a little bit bigger but smaller than 1280x800 (increasing it barely should be fine).
11. Open "tester.exe" and it should say "5".
12. Close league of legends and you can change your resolution back to whatever it was. Now open a VM with 1024x768 and windows xp.
13. Open league of legends and login to a level 5 account (and close the popup that says something about viktor).
14. Open "tester.exe" and it should say "0".
15. Close league of legends and go to the folder where "tester.exe" is.
16. Open "config.ini" and set "vm" to "True".
17. Open league of legends and login to a level 5 account (and close the popup that says something about viktor).
18. Open "tester.exe" and it should say "1".
If every single number was exactly what it should be, then please post telling me the test was successful. If not, please include the following in your post:
-whether the incorrect number came in the regular os or in the vm.
-what screen resolution it was at.
-what windows is installed on that system.
Thank you.
EDIT: I need at least a couple people to test this or else the level detection in the release might be a failure xD.