| View previous topic :: View next topic |
| Author |
Message |
vam Voice
Joined: 03 Jun 2009 Posts: 3
|
Posted: Wed Jun 03, 2009 5:06 am Post subject: marky's color uno |
|
|
Hi,
I`ve just installed marky's color uno on my eggdrop. I`ve also copied "uno.tcl" and "uno.cfg" to my bots source scripts.
Then added the line "source scripts/uno.tcl" on the bot`s conf file.
But once i, ./eggdrop bot.conf. It says.....
| Quote: | couldn't open "score scripts/UnoScores": no such file or directory
while executing
"open $UnoScoreFile w"
invoked from within
"if ![file exists $UnoScoreFile] {
set f [open $UnoScoreFile w]
puts $f "$UnoRobot 0 0 0"
close $f
}"
(procedure "UnoReadScores" line 8 )
invoked from within
"UnoReadScores"
(file "scripts/uno.tcl" line 2654)
invoked from within
"source scripts/uno.tcl"
(file "Botnick.conf" line 1370)
[03:49] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR) |
What should i do, please provide me few steps (as im new to Eggdrops).
Also should i maybe add a "source scripts/uno.cfg" in the bots conf file, will that be necessary.
Thanks. |
|
| Back to top |
|
 |
raider2k Op
Joined: 01 Jan 2008 Posts: 140
|
Posted: Wed Jun 03, 2009 10:46 am Post subject: Re: marky's color uno |
|
|
| vam wrote: |
| Code: | couldn't open "score scripts/UnoScores": no such file or directory
while executing
"open $UnoScoreFile w"
invoked from within
"if ![file exists $UnoScoreFile] {
set f [open $UnoScoreFile w]
puts $f "$UnoRobot 0 0 0"
close $f
}"
(procedure "UnoReadScores" line 8 )
invoked from within
"UnoReadScores"
(file "scripts/uno.tcl" line 2654)
invoked from within
"source scripts/uno.tcl"
(file "Botnick.conf" line 1370)
[03:49] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR) |
|
i had that uno script once loaded as well (decided to translate it to german by the way ^^ ) but never ran into any problems.
look closer and see that the error is giving you exact information about what is missing:
| Code: |
couldn't open "score scripts/UnoScores": no such file or directory
while executing
"open $UnoScoreFile w"
|
it says that the file UnoScores is missing in your scripts directory. either that or the file permission is incorrect. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed Jun 03, 2009 11:11 am Post subject: |
|
|
That would be a permission issue, or an invalid path. The w access parameter instructs open to create the file if it does not already exists.
Most likely, I'd point the finger at "score " in front of scripts/UnoScores. I'm pretty sure you don't have a directory named "score scripts" within your eggdrop directory. Check your $UnoScoreFile setting. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
raider2k Op
Joined: 01 Jan 2008 Posts: 140
|
Posted: Wed Jun 03, 2009 11:57 am Post subject: |
|
|
how weird is that?
let me see my script for that, sec.
mine says
| Code: | | set UnoScoreFile "scores/Unoscores" |
on top of script
tried to find the position from the errorlog but wasnt able to find it in my uno.tcl, doesnt even have more than 24?? lines. |
|
| Back to top |
|
 |
rrc55 Voice
Joined: 11 Mar 2009 Posts: 29
|
Posted: Tue Sep 08, 2009 4:39 pm Post subject: |
|
|
| I'm having the same problem. I even tried creating the file manually with write permissions and still nothing. |
|
| Back to top |
|
 |
rrc55 Voice
Joined: 11 Mar 2009 Posts: 29
|
Posted: Tue Sep 08, 2009 4:50 pm Post subject: |
|
|
| I tried creating just the folder "scores" in the eggdrop directory and the script was able to open the UnoScores file on its own. |
|
| Back to top |
|
 |
holycrap Op
Joined: 21 Jan 2008 Posts: 152
|
Posted: Fri Sep 11, 2009 4:14 am Post subject: |
|
|
Edit the "UNO.cfg" file, the path is there.
 |
|
| Back to top |
|
 |
|