This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

marky's color uno

Support & discussion of released scripts, and announcements of new releases.
Post Reply
v
vam
Voice
Posts: 3
Joined: Wed Jun 03, 2009 4:54 am

marky's color uno

Post by vam »

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.....
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.
r
raider2k
Op
Posts: 140
Joined: Tue Jan 01, 2008 10:42 am

Re: marky's color uno

Post by raider2k »

vam wrote:

Code: Select all

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: Select all

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.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
r
raider2k
Op
Posts: 140
Joined: Tue Jan 01, 2008 10:42 am

Post by raider2k »

how weird is that?
let me see my script for that, sec.

mine says

Code: Select all

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.
r
rrc55
Voice
Posts: 29
Joined: Wed Mar 11, 2009 9:33 am

Post by rrc55 »

I'm having the same problem. I even tried creating the file manually with write permissions and still nothing.
r
rrc55
Voice
Posts: 29
Joined: Wed Mar 11, 2009 9:33 am

Post by rrc55 »

I tried creating just the folder "scores" in the eggdrop directory and the script was able to open the UnoScores file on its own.
h
holycrap
Op
Posts: 152
Joined: Mon Jan 21, 2008 11:19 pm

Post by holycrap »

Edit the "UNO.cfg" file, the path is there.

:D
Post Reply