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
X
Xymenes
Voice
Posts: 4
Joined: Mon Jan 11, 2010 9:53 am

Marky's Color Uno

Post by Xymenes »

Hello guys. I need some help with uno tcl.

Code: Select all

[13:51] error reading "file10": illegal operation on a directory
    while executing
"gets $f s"
    (procedure "UnoReadScores" line 15)
    invoked from within
"UnoReadScores"
    (file "scripts/uno.tcl" line 2698)
    invoked from within
"source scripts/uno.tcl"
    (file "Unobot.conf" line 1306)
Can you help me? I really don't know what to do.
Thanks
X
Xymenes
Voice
Posts: 4
Joined: Mon Jan 11, 2010 9:53 am

Post by Xymenes »

*bump*
User avatar
Trixar_za
Op
Posts: 143
Joined: Wed Nov 18, 2009 1:44 pm
Location: South Africa
Contact:

Post by Trixar_za »

This is a common error with the archived version of Marky's colour uno. You need to create a folder called scores in your eggdrop folder (/eggdrop/scores) and in scores you need to create a empty file named UnoScores.
Remember case is important if it's hosted on a shell, so it MUST be a folder all in small case called scores and it MUST be a file named UnoScores with all the capital letters in the right places.

That should solve the problem and allow the script to start and run without any further problems.
X
Xymenes
Voice
Posts: 4
Joined: Mon Jan 11, 2010 9:53 am

Post by Xymenes »

Hello Trixar_za,

Look at my configs:

set UnoCFGFile "scripts/uno.cfg"
set UnoScoreFile "/home/****/eggdrops/score/UnoScores"

Should i remove "/home/****/eggdrops/" from the path? I already created UnoScores file and still have that error.
User avatar
Trixar_za
Op
Posts: 143
Joined: Wed Nov 18, 2009 1:44 pm
Location: South Africa
Contact:

Post by Trixar_za »

Yes, the path should be scores/UnoScores and shouldn't include the whole /home/***/eggdrop part.

Here is a copy of my uno.cfg:

Code: Select all

# this file is automatically overwritten
Channel=#Uno
Points=Points
ScoreFile=scores/UnoScores
StopAfter=1
WildDrawTwos=0
Ads=0
LastMonthCard1=Nobody 0
LastMonthCard2=Nobody 0
LastMonthCard3=Nobody 0
LastMonthWins1=Nobody 0
LastMonthWins2=Nobody 0
LastMonthWins3=Nobody 0
Fast=Owl 60
High=Owl 100
Played=Owl 100
Bonus=1000
RecordHigh=Nobody 100
RecordFast=Nobody 60
RecordCard=Nobody 10
RecordWins=Nobody 1
RecordPlayed=Nobody 10
Another weird thing about uno.tcl is that while it says the options set inside the tcl file overrides the uno.cfg settings, it actually doesn't. The uno.cfg's settings are used over the ones set in the tcl. So if you want to make any big changes like the score file location, channel or points, you need to change it in the uno.cfg and not the tcl itself.
X
Xymenes
Voice
Posts: 4
Joined: Mon Jan 11, 2010 9:53 am

Post by Xymenes »

Aww i forgot to configure that file. All done and working, thanks ;)
Post Reply