Bugs/Timers

From Eggdrop Wiki

Revision as of 16:13, 29 September 2012 by Thommey (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Symptom

An Eggdrop 1.6.21 bug can cause the [utimers]/[timers] Tcl command to not always be reliable. (Timer-loops that check if they themselves exist) Only Eggdrop1.6.21 is affected.

Egghelp forum thread

Workaround

To work around it, in the Eggdrop source directory, before compiling:

Open the src/tcl.c file in your editor.

Search for (around line 614)

void do_tcl(char *context, char *script) {
  do_tcl_async(context, script, bgtclcallback);
}

and replace it with

void do_tcl(char *context, char *script) {
  do_tcl_sync(context, script, bgtclcallback, 0);
}


or apply this patch as usual (patch -p1 < timerworkaround.patch).

Then compile the bot.

Personal tools