1024 LIMIT

These are old archives. They are kept for historic purposes only.
Post Reply
findmyip

1024 LIMIT

Post by findmyip »

anybody have UNREAL for win32 that can hold more than 1024 users ?

thanks
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

This requires TONS and incredibly insane modifications to many Win32 settings. You will have better luck finding your answers on google...
Ron2K

Post by Ron2K »

Just use multiple servers, if you can.
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

HOWTO: Multiple IRCds on one Win32 Machine :)

Post by aquanight »

And if you don't have multiple machines, don't worry! You can still use multiple servers...
  1. Download, configure, and compile the source tarball. I wouldn't use the normal installer here because of fun things with NT Services, Install Information, etc. You can leave your first IRCd installed as normal.
  2. Deploy a copy of the IRCd and its modules into a new folder. To do this, create a new folder somewhere, then look at the normal Unreal install folder and try to duplicate the layout in the new folder.
  3. (As an alternative to the above, simply copy the Unreal installation folder to other folders.)
  4. Use the unreal.exe tool in the normal installation to ensure that Unreal is not installed as an NT Service. If it is, it will cause problems.
  5. Configure the other copies of the IRCd installation to use different values in the me and listen blocks.
  6. *edit* Almost forgot this important one. Set up link blocks in each of the copied installations to point to the normal installation. See the documentation about this. Be sure to use the hub option! Add autoconnect if you don't want to muck with /connecting them by hand. You'll of course need correpsonding link blocks in the main IRCd's configuration.
Now things fork off. There are two ways you can set it up for starting. If you have Windows XP (dunno about older versions - worth a try), you can use the SC.EXE tool to install the IRCds as services under different names. However, I don't know how well this works and I don't recommend it.
The alternative method is to use a batch file that is put into your Run Registry Key, or Start Menu -> (All) Programs -> Startup

The batch file should start with the line @ECHO OFF which will prevent commands from being displayed as they are executed.
The rest should consist of changing the current drive and directory to each Unreal installation and running the WIRCD.EXE file while there. Best to use START /MIN WIRCD.EXE to make it run minimized. Do not use /WAIT!

*edit* I'm assuming you know how to make a batch file change the current drive and directory in the above step. If you don't go learn how to do it. It isn't that hard really ;) . */edit*

After that, save the batch file somewhere. Remember the full path and filename of where you saved it to. You then have two options:
  • Easy Method: Right-click the Start Menu, and choose Open (not Open All Users or funny things can happen with Windows XP + Fast User Switching). Enter the Programs Folder, then Startup. Right-click a blank sport, point to New, and click Shortcut if/when that menu appears ( :P ). When asked for name of the short cut, choose something rememberable such as "UnrealIRCd". For filename, insert the name of the batch file you created here. (You can use the Browse button to find it if you forgot :P .) Then go through the rest of the wizard and you'll have your spiffy new shortcut. If you want to test it, just run the batchfile (doubleclick on the shortcut, or find it in the Start menu, or just log off and log back in!).
  • Hard Method: Click Start, then Run. Type in regedit. Next thing you might want to do is use the Export option to backup your registry. Alternatively, on Windows XP, you can create a System Restore point. Now, go to the top of the tree, then into HKEY_CURRENT_USER. Then Software, then Microsoft, then Windows, then CurrentVersion, then Run. Then go to the Edit Menu, point to New, then click String Value. In the name field, type in something descriptive. Common practice is to use the filename (or at least as far as I've seen), so just put the batch file's filename here. For value, put the full path and name of the batch file. Close and test it by simply logging out and back in. If it didn't work, check the path, then try going back to that key and changing it to 'C:\Windows\System32\cmd.exe /c <batchfile>' where <batchfile> is, guess what, the full path and name of the batch file. C:\Windows is of course your Windows installation folder; adjust as necessary (it's WINNT by default on Windows 2000 and earlier).
Hope it's helpful.

*edit* I was asked once if multiple IP addresses are required. The answer is yes and no. Yes if you want to use the same port. No if you don't mind having multiple ports. The link blocks in each IRCd need to differ in some way, either by the IP it binds to, or the port. */edit*
Post Reply