Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-14-2002, 03:12 PM
misanthropicfnd
Fire Beetle
 
Join Date: Feb 2002
Posts: 19
Default Patches for login on Linux

Hi,

I have minilogin working for linux (at least well enough to allow logins--haven't fully tested) with the following changes:

login/makefile:
Add -DMINILOGIN to line 13

login/net.cpp:
Add at line 18:
#ifndef WIN32
#include <stdlib.h>
#include "../common/unix.h"
#endif

Remove the following lines starting at line 23:
#include <stdlib.h>
#include "../common/unix.h"

login/LWorld.cpp:
Add after line 69:
#ifndef WIN32
fcntl(send_socket, F_SETFL, O_NONBLOCK);
#endif

With this change login behaves like minilogin on win32. While this works for me, ymmv. If you have problems, post them & we'll see what can be done about them.

I've attached a zip of the changed files--unzip it in your login directory.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 06:08 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3