This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Offline Development?

Old posts that have not been replied to for several years.
Locked
l
localhost

Offline Development?

Post by localhost »

Hi all,

Can't figure out which is the most suitable section to post this message... hence, decided to post it here :)

Well, I like to know, if it is possible to test coded TCL scripts offline or perhaps, launch an eggdrop in offline mode (EG: development machine)? If possible, what are the system requirements?
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

Well, you could just run a local ircd and have the bot connect to that to test your scripts and bot functions. Just make sure this ircd is the same flavour as the one you wish to eventually use the said scripts and such on.
l
localhost

Post by localhost »

Ah, so, does that mean that I have to download linux and run it on my system? The ircd only runs on unix based machines?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

I've seen ircd's for windows.. Do an search on google or something and you will find one that suits you better. Also there is an windows eggdrop, called windrop, look for it to. Here is an link for windrop: http://sourceforge.net/project/showfile ... e_id=14330

Hope this helps.
Once the game is over, the king and the pawn go back in the same box.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Allmost all known IRCD's have been ported to windows at one stage, at tis point, a lot get left, but it's a starting point to use in tests cases.

Windrop is eggdop, however, a few sacrifices are made when compiling, so that it will run on windows. 99.9% of the code works, it's just some is *nix specific. Windrop is just the fancy way of saying eggdrop runnign on windrows.

As for system requirments.

There are non.

I have used a 433 Celeron laptop to do local testing (3 or 4 times, as it's not that simple to maintain for this task).

You have to remember, you are only simulating 1 eggdrop, on one IRC server. Between the 2 of them, there is going to be such little load, even the speed decreese in the meachine, wont affect things too much.

The only real testbed, would be to use an everage load IRC server (not on the machine which the eggdrop is on) with permission, and eggdrop on *nix and an eggdrop on windows.

I can allmost gurentee that a eggdrop on *nix, which is doing some form of load intensive task, would out perform a windows machine, that is idle.

This is just a idea of how things work.

Performance and speed of a scritp, should never realy be looked at till the end. If you have somting that works, you are in business. It's then a task of clearing it up.

As such, you shouldn't realy wonrry about the speed of a machine.
l
localhost

Post by localhost »

it's just some is *nix specific
I don't really under this sentence. What does it mean by *nix specific?

But well, which will you recommend? Download a windows IRCD, configure and run it? Are there much difference between Windrops and Eggdrops?

Regarding TCL scripts, it'll still run on both windrops and eggdrops? (EG: there are both compatible on both windows and unix)?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

*nix is a simple way of saying Linux and Unix in one go.

Some parts of the eggdrop code, are designed only to run on *nix, or there is some code, that simply doesn't have a method on windows machines. This is what *nix specific means.

Nothing is affected. It usualy means less system specific information, is available to output.

1 example is Core dumps. When eggdrop crashes on *nix, a core dump, of the memory state can be output, so that trace backs can be performed, to locate why it crashed. Windows doesn't not have the ability to do this.

Windrop is eggdrop.
l
localhost

Post by localhost »

Ah, okie. I get the idea.

Will check and try it out :)

Thanks for all the info guys
c
creative1

unix specific?

Post by creative1 »

well i won´t start an argument about which is better unix or windows, but to let you know my eggdrop on windows xp with a p2 runs 20 times better than my eggdrop in linux in p2 (i have both partitions) and by the way... no server load at all on linux and 5 full time use with 100 connections average server on xp

what i mean is don´t get so "unix is cool" please

eggdrop was designed in unix, that´s why it is expected to run there but you can easily port it to windows without losing ANY functionality at all, not even speed

you can even core dump on windows, i even was able to fix 12 bugs in eggdrop thanks to windows (it was version 1.3.27 those days i think) since windows was more picky about memory leaks than linux which just would corrupt the memory without saying a word till it finally crashed weeks later.

so basically, both SO are great and eggdrop works on both
and back to the subject, you can test eggdrop on your windows system you have ircds too, do a google search or try www.unrealircd.com for example which has a windows version easy to set up.

there are tons of options out there, like using another network to test it or just get some friends to act as your betatesters :)

Joaquin Grech
Creative1
Locked