Code: Select all
# open livestats.c
# search (line 73)
static void start_listen_livestats(int port)
# comment out these lines in the function
// char tmp[50];
...
// sprintf(tmp, "set my-ip \"%s\";", livestats_ip);
// do_tcl("livestats-hack-start",
// "set my-ip-livestats-backup ${my-ip};"
// "set my-hostname-livestats-backup ${my-hostname};"
// "set my-hostname \"\"");
// do_tcl("livestats-hack-setip", tmp);
...
// do_tcl("livestats-hack-end",
// "set my-ip ${my-ip-livestats-backup};"
// "set my-hostname ${my-hostname-livestats-backup}");
but i did not understand what shall i do cause im newbie so can you pls help me what shall i do im really desperate thanksDe Kus wrote:live stats listen socket polling sucks, I once had problems while DNS was a bit [censored] up, too.
But I do not fear my so I just told him:
eggdrop can open a listen port, so I command you stats.mod to do just the same!
and as told, he did... of course after I changed the source code .
this changes the stats.mod-special-stupid-listen to the eggdrop-default-listen. I successfully recompiled (no make clean needed) and started the bot again with this code change (or better strip), after this the listen of stats.mod didn't stop the bot from loading an more .Code: Select all
# open livestats.c # search (line 73) static void start_listen_livestats(int port) # comment out these lines in the function // char tmp[50]; ... // sprintf(tmp, "set my-ip "%s";", livestats_ip); // do_tcl("livestats-hack-start", // "set my-ip-livestats-backup ${my-ip};" // "set my-hostname-livestats-backup ${my-hostname};" // "set my-hostname """); // do_tcl("livestats-hack-setip", tmp); ... // do_tcl("livestats-hack-end", // "set my-ip ${my-ip-livestats-backup};" // "set my-hostname ${my-hostname-livestats-backup}");
Code: Select all
// char tmp[50];
...
// sprintf(tmp, "set my-ip \"%s\";", livestats_ip);
// do_tcl("livestats-hack-start",
// "set my-ip-livestats-backup ${my-ip};"
// "set my-hostname-livestats-backup ${my-hostname};"
// "set my-hostname \"\"");
// do_tcl("livestats-hack-setip", tmp);
...
// do_tcl("livestats-hack-end",
// "set my-ip ${my-ip-livestats-backup};"
// "set my-hostname ${my-hostname-livestats-backup}");
That's a no...LoveGirL wrote:thx but i did not find livestats.c so pls if u can help me prv me i would appreciate it