mrmin123 / kancolle-auto

Kantai Collection (Kancolle) bot/automation tool - DEPERECATED - see kcauto-kai:
https://github.com/mrmin123/kcauto-kai
54 stars 22 forks source link

error code 5 #237

Closed eos8012 closed 8 years ago

eos8012 commented 8 years ago

Please read the FAQ/Common Issues section of the README before opening a ticket. If you are submitting a feature request or a non-bug report, please feel free to delete this template. Also feel free to delete sections of this template you do not find relevant when submitting a bug report. Thanks!

Environment details

Is the issue consistent (can be reproduced consistently) or is it transient (only happens sometimes)? Please check one of the boxes:

i have error code 5 when i run kancolle_auto from the terminal and is the config i maked correct?

Console log (if applicable)


C:\Users\sin>java -jar C:\Users\sin\Desktop\sikuli\sikuli-script.jar -r C:\Users\sin\Desktop\kancolle-auto-master\kancolle_auto.sikuli
10월 06, 2016 6:12:29 오후 java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
[error] ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: C:\Users\sin\Desktop\sikuli\libs
[action] ResourceLoaderBasic: checkLibsDir: Please wait! Trying to add it to user's path
[info] runcmd: reg QUERY HKCU
[info] runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH
[error] ResourceLoaderBasic: checkLibsDir: Logout and Login again! (Since libs folder is in user's path, but not activated)
[error] Terminating SikuliX after a fatal error! Sorry, but it makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.

Relevant config snippet (if applicable)


[General]
Program: KanColleViewer!
RecoveryMethod: Browser
BasicRecovery: True
JSTOffset: 0
SleepCycle: 20
Paranoia: 3
SleepModifier: 0

[ScheduledSleep]
Enabled: True
StartTime: 0030
SleepLength: 6

[ScheduledStop]
Enabled: False
Mode: time
Count: 5

[Expeditions]
Enabled: 

True
Fleet2: 2
Fleet3: 5
Fleet4: 37

[PvP]
Enabled: False
FleetComp: 1

[Combat]
Enabled: False
FleetComp: 2
Area: 2
Subarea: 3
CombinedFleet: False
Nodes: 3
NodeSelects:
Formations: line_ahead
NightBattles: False
RetreatLimit: 2
RepairLimit: 1
RepairTimeLimit: 0100
CheckFatigue: True
PortCheck: False
MedalStop: False
LastNodePush: False

[SubmarineSwitch]
Enabled: True

[LBAS]
Enabled: False
EnabledGroups:
Group1Nodes:
Group2Nodes:
Group3Nodes:

[Quests]
Enabled: True
Quests: bd1, bd2, bd3, bd4, bd5, bd6, bd7, bd8, bw1, bw2, bw3, 

bw4, bw5, bw6, bw7, bw8, bw9, bw10, c2, c3, c4, c8, d2, d3, d4, d9, d11, e3, e4
CheckSchedule: 3
mrmin123 commented 8 years ago
[error] ResourceLoaderBasic: checkLibsDir: Logout and Login again! (Since libs folder is in user's path, but not activated)

Re-login or restart your computer. Should fix it.

Closing since it's not a kancolle-auto issue.