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 

Bogustrivia issues with Eggdrop 1.6.21
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2853

PostPosted: Sun May 06, 2012 10:19 am    Post subject: Reply with quote

Starr,
To apply the fix suggested by thommey, you'd have to edit the file tcl.c in the eggdrop source and recompile. If you are not familiar with patch-files or how to apply them,this fix is easy enough to apply manually. At line 614 (give or take a few lines), you'll find a line saying
Code:
do_tcl_async(context, script, bgtclcallback);

Change that into this
Code:
do_tcl_sync(context, script, bgtclcallback, 0);

Then recompile your eggdrop in the usual manner
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
starr
Voice


Joined: 18 Mar 2007
Posts: 26
Location: Tennessee

PostPosted: Sun May 06, 2012 11:40 am    Post subject: Reply with quote

I have edited the correct file and compiled the 1.6.21 bot. Loaded Bogustrivia and so far seems to be the fix. I'll continue to test for the next few days and will keep you updated.

Thank you both for your input. Maybe this can be resolved with eggdrop.

Very Happy
_________________
Starr
www.dcs-computer-services.net
Back to top
View user's profile Send private message Visit poster's website
starr
Voice


Joined: 18 Mar 2007
Posts: 26
Location: Tennessee

PostPosted: Tue May 08, 2012 9:55 am    Post subject: Reply with quote

Everything has worked smoothly for several days. The posted fix works perfect. I will be posting this fix on mytclscripts.com for any others who may want to use the 1.6.21 eggdrop.

Hopefully the eggdrop team will address the issue in the form of a patch or re-release.

Thanks for all the help you provided to track down this bug and apply a workaround.
_________________
Starr
www.dcs-computer-services.net
Back to top
View user's profile Send private message Visit poster's website
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 635
Location: Tennessee, USA

PostPosted: Fri Jul 06, 2012 12:11 am    Post subject: Reply with quote

There is now an official Eggdrop patch to allow BogusTrivia to run correctly on Eggdrop version 1.6.21 !

If you want to run BogusTrivia on the 1.6.21 Eggdrop, Please download and apply the "timerworkaround.patch.gz by thommey" from here: http://www.egghelp.org/files.htm#patches
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Back to top
View user's profile Send private message Visit poster's website
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1103

PostPosted: Sun Jul 07, 2013 4:23 pm    Post subject: Reply with quote

Another place to get instructions on how to apply the patch:

http://eggwiki.org/Bugs/Timers
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 635
Location: Tennessee, USA

PostPosted: Sun Jul 07, 2013 4:45 pm    Post subject: Reply with quote

Thanks willyw
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Back to top
View user's profile Send private message Visit poster's website
h0zk4r
Voice


Joined: 14 Nov 2013
Posts: 2
Location: lima Perú

PostPosted: Thu Nov 14, 2013 10:00 pm    Post subject: problems with bogus trivia Reply with quote

hello anyone have the solution to this:

[01:03:28] Tcl error in script for 'timer966':
[01:03:28] can't use empty string as operand of "/"
[01:04:07] Tcl error in script for 'timer978':
[01:04:07] can't use empty string as operand of "/"
[01:04:38] Tcl error in script for 'timer988':

I tryed the patch and everything but it continue the same error, can you help me please???? and sorry about my english jeje I am from Perú Very Happy
_________________
just h0zk4r
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 635
Location: Tennessee, USA

PostPosted: Thu Nov 14, 2013 11:08 pm    Post subject: Reply with quote

That's still the eggdrop 1.6.21 timers bug showing itself.

I have to think you did not apply the patch correctly, or did not recompile the eggdrop after patching the source.
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Back to top
View user's profile Send private message Visit poster's website
h0zk4r
Voice


Joined: 14 Nov 2013
Posts: 2
Location: lima Perú

PostPosted: Fri Nov 15, 2013 12:39 am    Post subject: Reply with quote

Yes I did it on two eggdrops following step by step working right for some minutes and then the bot continue with that problem, both eggdrops
_________________
just h0zk4r
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
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