| View previous topic :: View next topic |
| Author |
Message |
Xymenes Voice
Joined: 11 Jan 2010 Posts: 4
|
Posted: Mon Jan 11, 2010 9:55 am Post subject: Marky's Color Uno |
|
|
Hello guys. I need some help with uno tcl.
| Code: | [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 |
|
| Back to top |
|
 |
Xymenes Voice
Joined: 11 Jan 2010 Posts: 4
|
Posted: Tue Jan 12, 2010 2:46 pm Post subject: |
|
|
| *bump* |
|
| Back to top |
|
 |
Trixar_za Op

Joined: 18 Nov 2009 Posts: 143 Location: South Africa
|
Posted: Thu Jan 14, 2010 8:22 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Xymenes Voice
Joined: 11 Jan 2010 Posts: 4
|
Posted: Thu Jan 14, 2010 6:21 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Trixar_za Op

Joined: 18 Nov 2009 Posts: 143 Location: South Africa
|
Posted: Fri Jan 15, 2010 6:25 am Post subject: |
|
|
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: | # 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. |
|
| Back to top |
|
 |
Xymenes Voice
Joined: 11 Jan 2010 Posts: 4
|
Posted: Fri Jan 15, 2010 9:47 am Post subject: |
|
|
Aww i forgot to configure that file. All done and working, thanks  |
|
| Back to top |
|
 |
|