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
vam
Voice


Joined: 03 Jun 2009
Posts: 3

PostPosted: Wed Jun 03, 2009 5:06 am    Post subject: marky's color uno Reply with quote

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


Joined: 01 Jan 2008
Posts: 140

PostPosted: Wed Jun 03, 2009 10:46 am    Post subject: Re: marky's color uno Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed Jun 03, 2009 11:11 am    Post subject: Reply with quote

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


Joined: 01 Jan 2008
Posts: 140

PostPosted: Wed Jun 03, 2009 11:57 am    Post subject: Reply with quote

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


Joined: 11 Mar 2009
Posts: 29

PostPosted: Tue Sep 08, 2009 4:39 pm    Post subject: Reply with quote

I'm having the same problem. I even tried creating the file manually with write permissions and still nothing.
Back to top
View user's profile Send private message
rrc55
Voice


Joined: 11 Mar 2009
Posts: 29

PostPosted: Tue Sep 08, 2009 4:50 pm    Post subject: Reply with quote

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


Joined: 21 Jan 2008
Posts: 152

PostPosted: Fri Sep 11, 2009 4:14 am    Post subject: Reply with quote

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

Very Happy
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