egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Marky's Color Uno

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Xymenes
Voice


Joined: 11 Jan 2010
Posts: 4

PostPosted: Mon Jan 11, 2010 9:55 am    Post subject: Marky's Color Uno Reply with quote

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
View user's profile Send private message
Xymenes
Voice


Joined: 11 Jan 2010
Posts: 4

PostPosted: Tue Jan 12, 2010 2:46 pm    Post subject: Reply with quote

*bump*
Back to top
View user's profile Send private message
Trixar_za
Op


Joined: 18 Nov 2009
Posts: 143
Location: South Africa

PostPosted: Thu Jan 14, 2010 8:22 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Xymenes
Voice


Joined: 11 Jan 2010
Posts: 4

PostPosted: Thu Jan 14, 2010 6:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Trixar_za
Op


Joined: 18 Nov 2009
Posts: 143
Location: South Africa

PostPosted: Fri Jan 15, 2010 6:25 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Xymenes
Voice


Joined: 11 Jan 2010
Posts: 4

PostPosted: Fri Jan 15, 2010 9:47 am    Post subject: Reply with quote

Aww i forgot to configure that file. All done and working, thanks Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber