Go Back   EQEmulator Home > EQEmulator Forums > Development > Development: Custom Code

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-09-2007, 08:04 AM
valcree
Fire Beetle
 
Join Date: Jan 2007
Posts: 11
Default Multiple accounts from one ip.

Alright, so you want people to be able to log into multiple accounts from a web page. Here's one way to do it. There's would be a much easier way to do it if minilogin would hand the encrypted password to the world server. I'm guessing the opcode for the password is off, or minilogin just doesn't bother to send it through. Anyways... This method works by requiring the end user to log into a web page before they log into the emu server, if they have multiple accounts.

Well the first thing you want to do is log into mysql and alter the accounts table.

alter table account add column zlock tinyint(1);
Reply With Quote
  #2  
Old 02-09-2007, 08:12 AM
valcree
Fire Beetle
 
Join Date: Jan 2007
Posts: 11
Default

Alright... I did this entire write up and tried to post the entire source of the code changes. I think I'm bumping into a message length error. The forum keeps telling me the following.

The requested URL /forums/newthread.php was not found on this server.

So.. I figured okay.. I need to upload this as a text attachment.. So I tossed the whole thing into a text file and tried that. I got the following error.

Not Found

The requested URL /forums/newattachment.php was not found on this server.

What gives?
Reply With Quote
  #3  
Old 02-09-2007, 04:12 PM
morganpartee
Sarnak
 
Join Date: Dec 2006
Posts: 83
Default

i really dunno...but i wish someone out there...(or me, but iono how...lol)
would put out a login server in which you could add Accnts rather than adding IPs. (im going to a 50-100 person lan tommorow, and might wanna pla eq some...oh well...lol) that would make easier work setting up, and accounts would be accessable by any computer. So pretty much release the public login. lol
Reply With Quote
  #4  
Old 02-10-2007, 12:32 AM
mattmeck
Guest
 
Posts: n/a
Default

This is stated elsewhere but I will restate,

The reason the LS is not handed out is, it has to use the same crypto that live uses, this means anyone who has it can then figure out an easy way to hack live accounts.


A second reason is, anyone here ever try the WOWEmu? changing your EQhost every damn time you want to try a new server sucks. Ever public server is easy to find, and we don't need a team of people keeping a current list going!


There is several work a rounds to allow people to use different IP's,

http://www.eqemulator.net/forums/showthread.php?t=21344
http://www.eqemulator.net/forums/sho...hlight=Hamachi

There is 2 right off the bat, but everyone realize, we are trying to keep everyone together for a reason.
Reply With Quote
  #5  
Old 02-10-2007, 03:17 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

You forgot this one Matt;
http://eqemulator.net/forums/showpos...4&postcount=15
I think this is probably the coolest of all fixes for that - I use it on my LAN and for friends that come in from the outside (with Mini-Login).
Once they figure out how to use this (very simple), users will have passwords and all with Mini Login. Also, you can have players come in from out side the Lan and play with them in the Lan.
If you don't have a web site or php, you can probably set it up at any web location.

The message error is usually because it has exceeded the limit.

Last edited by Angelox; 02-10-2007 at 11:19 AM..
Reply With Quote
  #6  
Old 02-16-2007, 09:16 AM
valcree
Fire Beetle
 
Join Date: Jan 2007
Posts: 11
Default

Just a bit of an update. After taking a look at the networking section and how it worked, I realized there were no problems there. It ended up being of all things, a bad network cable on one of the test pcs. To make a long story short, yesterday I had two computers connected from the same ip address. The only problem I found was that the first account to log in could not tell the second account for some reason. I'm digging into that. Zoning worked like a charm, even when the characters zoned at the same time. Anyways, I'll try to post my code here once I have the recent changes I've made running on my server for a couple days.
Reply With Quote
  #7  
Old 02-16-2007, 10:46 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

We gave you solutions here, but you have to read/try them
Reply With Quote
  #8  
Old 02-16-2007, 12:18 PM
valcree
Fire Beetle
 
Join Date: Jan 2007
Posts: 11
Default

That's interesting. I thought you were both replying to morganpartee and not to my post. Yeah I took a brief look at what you guys are using, and I'm doing the same thing except with perl.

I am/was not talking about an auth/minilogin problem or work around. I've been working on getting two clients to connect from the same ip address at the same time. Basically... running two clients behind one nat ip address. Therotically you should be able to connect to the emu server twice from the same computer, but I haven't tested that yet. Anyways, I've got it working and spent most of yesterday playing/connected two computers that were behind one ip address. If anyone is interested in this ablity, I'll post what I did to get it working. Otherwise I'll tuck my tail and go away. lol.

Cree
Reply With Quote
Reply


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 10:53 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