|
You last visited: Today at 14:08
Advertisement
Request Some help with auto it!
Discussion on Request Some help with auto it! within the SRO Coding Corner forum part of the Silkroad Online category.
01/29/2013, 11:27
|
#1
|
elite*gold: 0
Join Date: Jun 2009
Posts: 2,085
Received Thanks: 1,669
|
Request Some help with auto it!
Hi guys , i don't know if i'm allowed to make this kind of post and ask for help, but i need help!
I want to make an tool to Kill "sro_client" when it is runing.
Check if Process is runing and then kill it, and start a kind of timer to check it again in lets say 30 minutes.
i was trying by myself and didn't sucess, i just was able to close the runing process, but didn't figured out how to make it check every X time.
If ProcessExists("sro_client.exe") Then
ProcessClose("sro_client.exe")
EndIf
This just basically will close the process if it is runing.
Please help me !
(I want this tool because i'm using mbot with 5 chars, and when they dced they connect all togetter and use all my ram ! )
Thanks in advanced.
|
|
|
01/29/2013, 15:22
|
#2
|
elite*gold: 0
Join Date: Sep 2007
Posts: 255
Received Thanks: 531
|
Maybe something like:
Code:
Global $checkSro = True, $timer
While Sleep(10)
If ProcessExists("sro_client.exe") AND $checkSro = True Then
ProcessClose("sro_client.exe")
$timer = TimerInit()
$checkSro = False
EndIf
If TimerDiff($timer) > 60000 * 30 AND $checkSro = False Then
$checkSro = True
EndIf
Wend
But for me it doesn't seem like to be a solution to your problem. Mbot have "Wait ? minutes before relogin" option. Use different interval for each character.
|
|
|
01/29/2013, 18:02
|
#3
|
elite*gold: 0
Join Date: Jun 2009
Posts: 2,085
Received Thanks: 1,669
|
No, i'm not using a interval for each character, do you think this will be necesary when using this script ?
Or, what do you think could be a solution ?
|
|
|
01/30/2013, 08:42
|
#4
|
elite*gold: 50
Join Date: Nov 2007
Posts: 183
Received Thanks: 54
|
U want to close sro_client right when mbot relogin, right?
Quote:
While 1
If WinExists("XXXX [SRO_Client]") Then
ProcessClose(WinGetProcess("XXXX [SRO_Client]"))
EndIf
Sleep(5000)
WEnd
|
Just copy-paste 2,3,4 line for all character u need.
XXXX - Is your char name
Its will check every 5 seconds, plus, u can choose what window u want to close. And yes, use a bit different interval between char relogin for better produce.
And this script will close window right after relogin, and not during it
|
|
|
01/30/2013, 10:42
|
#5
|
elite*gold: 0
Join Date: Jun 2009
Posts: 2,085
Received Thanks: 1,669
|
Thanks for those scripts, but what should I add for something like that.
When XXXX [SRO_Client] process is running , then wait like 45 seconds, because sometimes when all accounts are connected together, they are all in town, and the client freezes for some seconds, and if the script kill it the bot will not start i guess.
Because it will be like i killed the client when it was in the Char selection , do you understand me ?
Thanks again!
|
|
|
01/30/2013, 13:15
|
#6
|
elite*gold: 50
Join Date: Nov 2007
Posts: 183
Received Thanks: 54
|
Here you are, it will wait 45sec after detected client with name XXXX [SRO_Client]
Quote:
While 1
If WinExists("XXXX [SRO_Client]") Then
Sleep(45000)
ProcessClose(WinGetProcess("XXXX [SRO_Client]"))
EndIf
Sleep(5000)
WEnd
|
|
|
|
 |
Similar Threads
|
[REQUEST] Auto HP/MP,Specified Auto Click For Patch 5065
05/01/2020 - Conquer Online 2 - 2 Replies
ok so i couldnt find what i wanted... here is what i do want to.
1.Auto Hp/Mp,it click f1 or f2 (whatever button)and ur pot is there,and u heal at a certain health,but it must be for patch 5065... sorry >.>
2.Auto click. basically heals the target that is pointed,aka clicks right click. tho there should be an auto mp :( oh well...better something than nothing) also patch 5065. TY
|
[Request] Auto Grab and Auto select Distance CHanger tool...
09/03/2012 - Silkroad Online - 7 Replies
Hi Experts, Can anyone make a Distance changer tool for auto select and grab for the packed client?
There are some out there, but they require an unpacked client....
A packed client causes then to show the "Line 1" error......
Rumata and Homez did it with their Great loader.....
Can it even be done?
thank you
|
[REQUEST] Auto-Follower&Auto-TeamJoiner!!!
09/10/2006 - Conquer Online 2 - 5 Replies
hi all,
i never seen a good tool that have autofollow for specific or all players !!
hm a good idea is to combinate both autoteam joiner, autofollower !!
i think its possible to make with memory but iam not sure ! and i still cant find the correkt value !
|
All times are GMT +1. The time now is 14:09.
|
|