Well i like this addon a lot, but don't want my 10 year's old kid have access to my main accountrock5 wrote:With so many buttons I can't understand why people need to log in manually.
that's why we login manually
Well i like this addon a lot, but don't want my 10 year's old kid have access to my main accountrock5 wrote:With so many buttons I can't understand why people need to log in manually.
Turned out to be a lot, lot easier to fix than I thought.rock5 wrote:It's too hard to support loggings that aren't from a button. With so many buttons I can't understand why people need to log in manually.
The main problem is, I fixed the missing characters by making it log in again. When you log in manually, though, it can't log back in because it doesn't know the password.
Hm... I have an idea to fix it. I'll look at it tomorrow.
Code: Select all
if LogID and RealmServer and RealmServer ~= "" and RealmServer ~= " " then
Code: Select all
if RealmServer and RealmServer ~= "" and RealmServer ~= " " then
Code: Select all
<onLoad>
function relog()
-- 2 CharLists for 2 clients running at the same time
SetCharList({{
{account=1 , chars= {1,2}},
{account=2 , chars= {2,5}},
{account=3 , chars= {1,2}},
{account=4 , chars= {1,2}},
},{
{account=65 , chars= {1}},
{account=5 , chars= {1,2}},
{account=6 , chars= {1}},
{account=7 , chars= {1}},
{account=8 , chars= {1}},
{account=9 , chars= {1}},
{account=10 , chars= {1}},
}})
SetRestartClientSettings(1, "rom")
LoginNextChar()
loadProfile()
loadPaths(__WPL.FileName)
end
</onLoad>
Code: Select all
<waypoints type="TRAVEL">
<onLoad>
function relog()
SetCharList({
{account=1 , chars= {1,2}},
{account=2 , chars= {2,5}},
{account=3 , chars= {1,2}},
{account=4 , chars= {1,2}},
})
SetRestartClientSettings(1, "rom")
LoginNextChar()
loadProfile()
loadPaths(__WPL.FileName)
end
</onLoad>
<!-- # 1 --><waypoint x="-5868" z="3318" y="572">
relog()
</waypoint>
</waypoints>
Code: Select all
Press the (End) key to stop/pause the script.
You can resume with the (Delete) key.
Game Version is 6.0.2.2662
RoM windows size is 1024x768, upper left corner at 6,24
Loading profile XXXXX.xml
Testing 'ingamefunctions' macro. If it gets stuck here, please update the 'ingam
efunctions' by copying the 'ingamefunctions' folder from 'rom/devtools' to the g
ames 'interface/addons' folder.
MACRO Test: ok
Maximum range of range attack skills is less than COMBAT_DISTANCE 250. Reducing
COMBAT_DISTANCE setting to 50.
[DEBUG] CPU Frequency 2349.111
Loaded waypoint path __unnamed.xml
No return path with default naming __unnamed_return.xml found.
We use the normal waypoint path __unnamed.xml now.
Moving to waypoint #1, (-17961, -3322)
Changing to character 1 account 46 with client lnk "rom"
SUCCESS: The process with PID 1092 has been terminated.
Starting client rom4u ...
Clicking account 46 ...
Selecting character 1 ...
Waiting until in-game ...
Player address changed: 0x33533700
Ranged skill found: SCOUT_COMBO_SHOT
Maximum range of range attack skills is less than COMBAT_DISTANCE 250. Reducing
COMBAT_DISTANCE setting to 225.
Ranged skill found: SCOUT_COMBO_SHOT
Maximum range of range attack skills is less than COMBAT_DISTANCE 250. Reducing
COMBAT_DISTANCE setting to 225.
We read the hotkey settings from your bindings.txt file C:\Users\Rocco\My Docume
nts\Runes of Magic\bindings.txt instead of using the settings.xml file.
Loading profile XXXXX.xml
Testing 'ingamefunctions' macro. If it gets stuck here, please update the 'ingam
efunctions' by copying the 'ingamefunctions' folder from 'rom/devtools' to the g
ames 'interface/addons' folder.
MACRO Test: ok
Ranged skill found: SCOUT_COMBO_SHOT
Loaded waypoint path __unnamed.xml
No return path with default naming __unnamed_return.xml found.
We use the normal waypoint path __unnamed.xml now.
Moving to waypoint #1, (-17961, -3322)
Changing to character 1 account 47 with client lnk "rom"
SUCCESS: The process with PID 6268 has been terminated.
Starting client rom4u ...
Clicking account 47 ...
Selecting character 1 ...
Waiting until in-game ...
Player address changed: 0x36041E00
Ranged skill found: SCOUT_COMBO_SHOT
Ranged skill found: SCOUT_COMBO_SHOT
We read the hotkey settings from your bindings.txt file C:\Users\Rocco\My Docume
nts\Runes of Magic\bindings.txt instead of using the settings.xml file.
Loading profile XXXXX.xml
Testing 'ingamefunctions' macro. If it gets stuck here, please update the 'ingam
efunctions' by copying the 'ingamefunctions' folder from 'rom/devtools' to the g
ames 'interface/addons' folder.
MACRO Test: ok
No ranged skills specified in profile; Turning COMBAT_RANGED_PULL off.
Maximum range of range attack skills is less than COMBAT_DISTANCE 170. Reducing
COMBAT_DISTANCE setting to 50.
Loaded waypoint path __unnamed.xml
No return path with default naming __unnamed_return.xml found.
We use the normal waypoint path __unnamed.xml now.
Moving to waypoint #1, (-17961, -3322)
Last player finished.
10/29/13 03:15:17 Auto-logging out.
The game client did not crash.
3:15am - Exiting: Auto-logout
Code: Select all
local elapsed = os.difftime(os.time(), player.BotStartTime);
if( elapsed >= 60 * 60 ) then -- in seconds. 60 * 60 = 1 hour.
-- Do stuff
Code: Select all
ChangeCharRestart('current',"rom")
Code: Select all
ChangeCharRestart(3,62,"rom")
Code: Select all
ChangeCharRestart("current")
-- or
ChangeCharRestart("current", nil, "rom")
This is probably a bug I have to fix. I just assumed that if you are using the command above, then it hasn't crashed yet so I don't need to check if it crashed. I didn't take into account that it might crash while closing it. I'll look into fixing it. It will be hard to test so I could do with your help with that.Buster99 wrote: Nevermind. Using the ChangeCharRestart option does not automatically close the crash client message that pops up frequently when closing client.
Code: Select all
ChangeCharRestart("current")
Users browsing this forum: Ahrefs [Bot] and 1 guest