| View previous topic :: View next topic |
| Author |
Message |
Broesel01 Voice
Joined: 17 Jun 2005 Posts: 4
|
Posted: Fri Jun 17, 2005 12:18 pm Post subject: Webinterface for Eggdrop |
|
|
Hey,
can anyone tell me, where i can find an working Webinterface to administrate my Egddrops?
Thx for your help. |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Jun 17, 2005 1:40 pm Post subject: |
|
|
| you mean web interface to bot's party line? doesn't make sense to me |
|
| Back to top |
|
 |
Broesel01 Voice
Joined: 17 Jun 2005 Posts: 4
|
Posted: Fri Jun 17, 2005 1:45 pm Post subject: |
|
|
Hey,
i mean an Webinterface where i can edit the eggdrop.conf, the userfile, Rehash, Restart, Die... |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Jun 17, 2005 2:07 pm Post subject: |
|
|
| why would you want to do that? you don't have shell access? then how do you run your bot in the first place |
|
| Back to top |
|
 |
Broesel01 Voice
Joined: 17 Jun 2005 Posts: 4
|
Posted: Fri Jun 17, 2005 2:15 pm Post subject: |
|
|
sure, i have root-access
but i host ca. 12 eggdrops for other users, and here is an webinterface better, as shell-access. |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Jun 17, 2005 2:34 pm Post subject: |
|
|
you are root yet you prefer web to shell? that's odd...
besides, aren't those people supposed to care about their eggdrops themselves?
anyway... your best bet is installing some web-based file manager |
|
| Back to top |
|
 |
Broesel01 Voice
Joined: 17 Jun 2005 Posts: 4
|
Posted: Fri Jun 17, 2005 2:46 pm Post subject: |
|
|
Hey,
but it gives webinterfaces for eggdrop, where the user can change the .conf...
Many hoster use this interfaces. |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Fri Jun 17, 2005 5:58 pm Post subject: |
|
|
they probably bought the code from some coder or used there own ones ^-^.
I haven't seen source code for such a thing arround. it doesnt sound to hard to make a php or pearl script to use kill -s HUP with the pid read from the .pid file to rehash it, file management interfaces are out there for sure somewhere ^-^. for rehashing they should use the partyline anyway and a real restart... let them use .die and set up them a crontab . _________________ De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens... |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
|
| Back to top |
|
 |
Australis Voice
Joined: 28 Jul 2008 Posts: 2
|
Posted: Mon Jul 28, 2008 12:02 pm Post subject: Need a Webinterface too... |
|
|
Hello,
my english is not really good, but I try my best...
The situation:
I'm IRCop and Webmaster of a small IRC-Network, and I want to establish a bot-farm with a few eggdrop-bots with serval enhancements... so far so good.
I need a Webinterface for our users are able to login using their (in a mysql stored) nickserv logindata and make one or more of bots join their own channel...
My profession is PHP-developer, so a complete webinterface is not really needed, but at least I need a way to make php possible to send (quickly) commands to an eggdrop-bot (without that long-time-taking login to telnet-partyline) |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Jul 28, 2008 12:39 pm Post subject: Re: Need a Webinterface too... |
|
|
| Australis wrote: | Hello,
my english is not really good, but I try my best...
The situation:
I'm IRCop and Webmaster of a small IRC-Network, and I want to establish a bot-farm with a few eggdrop-bots with serval enhancements... so far so good.
I need a Webinterface for our users are able to login using their (in a mysql stored) nickserv logindata and make one or more of bots join their own channel...
My profession is PHP-developer, so a complete webinterface is not really needed, but at least I need a way to make php possible to send (quickly) commands to an eggdrop-bot (without that long-time-taking login to telnet-partyline) |
Your options in this case would be to create a listening-socket coupled with a controller, providing the mechanisms you need. To be honest however, I doubt this would provide much performance over "telnet", as you'd still be communicating over tcp sockets. The advantage would mostly be a connection with a (by you) well-defined protocol rather than the human-readable text-interface of the telnet-connection.
Other options for IPC are rather limited, at most extending to standard process signals to force rehashes and kills, and polling files..
By coding custom eggdrop modules, you could achieve some support for Unix domain sockets, udp packets, and possibly named pipes. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Australis Voice
Joined: 28 Jul 2008 Posts: 2
|
Posted: Mon Jul 28, 2008 10:23 pm Post subject: |
|
|
wow... hard stuff... thx alot
but a friend gave me another hint:
at first step php creates or writes in a file in the eggdrop/scripts dir containing the channels to join
then a regular .tcl script checks every few minutes that file and if in that file created by php and makes the eggdrop join the channel(s)
and after joining the .tcl deletes or purges that file
ok... thats not that fast than the way I first thought about, but it prevents php getting timeout while connecting via sockets to the bot's pl...
i wrote this in case anotherone crazy as I am wants do do a similar thing... |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue Jul 29, 2008 10:03 am Post subject: |
|
|
Yup, that would be classic "polling" of files.
You could probably get better performance using named pipes, although you would have to keep a well-defined protocol. LinuxJournal has a nice introduction on named pipes well worth reading.
Might add, that my previous post was a bit ambiguous regarding named pipes and modules, you do not explicitly need a separate module to use named pipes, although you will not have access to functions such as mkfifo() from tcl, requiring you to create the named pipe by other means. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
wac Halfop

Joined: 10 Dec 2006 Posts: 80 Location: in my cardboard box
|
Posted: Fri Jan 30, 2009 6:10 am Post subject: |
|
|
or perhaps use hostserv? or even a channel they can join and do some sort of .+chan #chan and that said chan could be +R for registered users only _________________ I see j00! |
|
| Back to top |
|
 |
take Voice
Joined: 22 May 2009 Posts: 2
|
|
| Back to top |
|
 |
|