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 

help in Bass's Seen script. v1.4.2c
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
u2pop
Voice


Joined: 23 Jun 2008
Posts: 11

PostPosted: Fri Aug 19, 2016 1:37 pm    Post subject: Reply with quote

caesar wrote:
I'm trying to replicate the same error, the one you got initially, and failed even with original code. What exactly did you do to make it to give it the error?


that is correct what say Arnold the problem is my database have around of 11MB if i remove it they run it fine without error. that happen every around of 3 or 4 months same error... so is crashing for read on big size file. if you want i can trade you my database for u test it...

but this line you gave me they run it with the big database just the *wildcard* is not working..

Code:
set nick [lindex [split $inp] 0] ; set bs_list([string tolower $nick]) $inp
Back to top
View user's profile Send private message
Arnold_X-P
Op


Joined: 30 Oct 2006
Posts: 140
Location: DALnet - Trinidad - Beni - Bolivia

PostPosted: Sat Aug 20, 2016 5:07 pm    Post subject: Reply with quote

if the problem is the load of the database of the bseen, caesar one might load with some another form the database of the bseen, more rapid that is to say to accelerate the reading in the base when this weight very much for more than 30mb or more, I see that this is the problem that it has u2pop, when its bot initiates and to try to load its database of the bseen, its bot falls down for loading such a heavy base and that's why it provokes the error and falls down.

in my opinion, the solution is that the tcl does a rapid load of its database when the bot is begun again.
_________________
Very Happy thanks to that they help, that others learn Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
u2pop
Voice


Joined: 23 Jun 2008
Posts: 11

PostPosted: Fri Aug 26, 2016 10:35 pm    Post subject: Reply with quote

ceaser any other suggestion for fix it please?
Back to top
View user's profile Send private message
Arnold_X-P
Op


Joined: 30 Oct 2006
Posts: 140
Location: DALnet - Trinidad - Beni - Bolivia

PostPosted: Sat Sep 09, 2017 12:04 am    Post subject: Reply with quote

caesar
it is possible to add this option: !seen
in private bot:
Quote:

<@Arnold_X-P> !seen
my bot respond: <@Kantuta> the correct form is: !seen <nickname>


The first worked very well, my friend.
now is the same question but I want you to respond in the private
_________________
Very Happy thanks to that they help, that others learn Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
caesar
Ass Kicker


Joined: 14 Oct 2001
Posts: 3401
Location: Area 51

PostPosted: Mon Sep 11, 2017 2:01 am    Post subject: Reply with quote

@u2pop : Honestly I would rather consider switching to another form of database, like sqlite3 for instance that is lot easier to use and maintain. Duno if one exists.

@Arnold_X-P : It's possible with a bit of code to be added. Will get back to this later today.
_________________
You may say anything about me, but don't misspell my name.
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 -> Scripting Help All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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