Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #16  
Old 04-24-2014, 08:48 PM
moltke24
Sarnak
 
Join Date: Dec 2011
Posts: 63
Default

So i installed everquest on the computer next to me and i can connect... anyone have any idea?
Reply With Quote
  #17  
Old 04-24-2014, 10:58 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Can your friends connect when you are connected on this computer next to you?

What do your world logs indicate? Are there any login attempts shown?
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #18  
Old 04-25-2014, 09:48 AM
moltke24
Sarnak
 
Join Date: Dec 2011
Posts: 63
Default

Quote:
Originally Posted by Uleat View Post
Can your friends connect when you are connected on this computer next to you?

What do your world logs indicate? Are there any login attempts shown?
i have logs from my computer next to me when it logs in, and i had logs when people tried to connect when we were in the same room at my parents.

they say they can connect to all the servers but mine, i get no attempts to log into my server when they try to log in now.

they said their computer just freezes and goes back to the log in screen when they try to connect to my server.
Reply With Quote
  #19  
Old 04-25-2014, 01:51 PM
moltke24
Sarnak
 
Join Date: Dec 2011
Posts: 63
Default

it has to be something really simple, i know its going to be like one thing blocking or timing out their connections to my server that prevents them from logging in outside of LAN
Reply With Quote
  #20  
Old 04-25-2014, 02:54 PM
Noport
Opcode Ninja
 
Join Date: Mar 2009
Location: San francisco
Posts: 426
Default

moltke24: make sure your server is setup as a public server under variables in your peq database. the error it's given tells me their ip address needs updated in the data base.

requires TCP port 7000 open to connect - verify that your firewall has it open
game requires UDP 1024-65535 to be open outbound, verify
Read: http://www.eqemulator.org/forums/showthread.php?t=35057
Reply With Quote
  #21  
Old 04-25-2014, 04:59 PM
moltke24
Sarnak
 
Join Date: Dec 2011
Posts: 63
Default

Quote:
Originally Posted by Noport View Post
moltke24: make sure your server is setup as a public server under variables in your peq database. the error it's given tells me their ip address needs updated in the data base.

requires TCP port 7000 open to connect - verify that your firewall has it open
game requires UDP 1024-65535 to be open outbound, verify
Read: http://www.eqemulator.org/forums/showthread.php?t=35057


Here is my EQ config file

Code:
<?xml version="1.0">
<server>
<world>
<!-- Set the shortname to ONE word. The longname is what shows up on server list -->
<shortname>Moltke</shortname> 
<longname>Moltke's World</longname>

<!-- DO NOT EDIT ANY LINES BETWEEN HERE AND THE DATABASE SECTION -->
<!-- <address>do.not.edit</address> -->
<!-- <localaddress>do.not.edit</localaddress> -->

<!-- Loginserver information. DO NOT EDIT -->
<loginserver>
<host>login.eqemulator.net</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver>

<!-- Server status. Default is unlocked DO NOT EDIT RIGHT NOW -->
<!--<locked/>-->
<!-- <unlocked/> -->

<!-- Sets the ip/port for the tcp connections. DO NOT EDIT -->
<tcp ip="127.0.0.1" port="9000" telnet="disable"/>

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>somelongrandomstring12345</key>

<!-- Enable and set the port for the HTTP service. Defaults are shown -->
<http port="9080" enabled="false" mimefile="mime.types" />
</world>

<!-- Chatserver (channels) information. DO NOT EDIT -->
<chatserver>
<host>25.46.53.1xx</host>
<port>7778</port>
</chatserver>

<!-- Mailserver (in-game mail) information. DO NOT EDIT -->
<mailserver>
<host>25.46.53.1xx</host>
<port>7778</port>
</mailserver>

<zones>
<!-- The defaultstatus is what status the new toons will have on your server -->
<defaultstatus>200</defaultstatus>

<!-- Sets port range for world to use to auto configure zones DO NOT EDIT RIGHT NOW-->
<ports low="7000" high="7100"/>
</zones>

<!-- Set username to root and password is your MySQL password and db to peq -->
<database>
<host>127.0.0.1</host>
<port>3306</port>
<username>root</username>
<password>stumpy24</password>
<db>peq</db>
</database>
<qsdatabase>
<host>127.0.0.1</host>
<port>3306</port>
<username>root</username>
<password>stumpy24</password>
<db>peq</db>
</qsdatabase>

<!-- Launcher Configuration DO NOT EDIT-->
<launcher>
<!-- <logprefix>logs/zone-</logprefix> -->
<!-- <logsuffix>.log</logsuffix> -->
<!-- <exe>zone.exe</exe> -->
<!-- <timers restart="10000" reterminate="10000"> -->
</launcher>

<!-- File locations. DO NOT EDIT -->
<files>
<!-- <spells>spells_us.txt</spells> -->
<!-- <opcodes>opcodes.conf</opcodes> -->
<!-- <logsettings>log.ini</logsettings> -->
<!-- <eqtime>eqtime.cfg</eqtime> -->
</files>
<!-- Directory locations. DO NOT EDIT -->
<directories>
<!-- <maps>Maps</maps> -->
<!-- <quests>quests</quests> -->
<!-- <plugins>plugins</plugins> -->
</directories>
</server>
and here are my IP addresses, which ones do i need to switch?

INTERNAL IP address: 192.168.x.x
INTERNAL IP address: 25.46.53.1xx
ROUTERS IP Address: 192.168.x.x
EXTERNAL IP address: 75.114.228.xx


And this is from my database, so i think ive made it public?
Code:
 
/*	EQEMu: Everquest Server Emulator
	Copyright (C) 2001-2010 EQEMu Development Team (http://eqemulator.net)

	This program is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; version 2 of the License.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY except by those people which sell it, which
	are required to give you total support for your newly bought product;
	without even the implied warranty of MERCHANTABILITY or FITNESS FOR
	A PARTICULAR PURPOSE. See the GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program; if not, write to the Free Software
	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef EQEMU_DATABASEMYSQL_H
#define EQEMU_DATABASEMYSQL_H

#include "Database.h"
#ifdef EQEMU_MYSQL_ENABLED

#include <string>
#include <sstream>
#include <stdlib.h>
#include <mysql.h>

/**
* Mysql Database class
*/
class DatabaseMySQL : public Database
{
public:
	/**
	* Constructor, sets our database to null.
	*/
	DatabaseMySQL() { db = nullptr; }

	/**
	* Constructor, tries to set our database to connect to the supplied options.
	*/
	DatabaseMySQL(std::string user, std::string pass, std::string host, std::string port, std::string name);

	/**
	* Destructor, frees our database if needed.
	*/
	virtual ~DatabaseMySQL();

	/**
	* @return Returns true if the database successfully connected.
	*/
	virtual bool IsConnected() { return (db != nullptr); }

	/**
	* Retrieves the login data (password hash and account id) from the account name provided
	* Needed for client login procedure.
	* Returns true if the record was found, false otherwise.
	*/
	virtual bool GetLoginDataFromAccountName(std::string name, std::string &password, unsigned int &id);

	/**
	* Retrieves the world registration from the long and short names provided.
	* Needed for world login procedure.
	* Returns true if the record was found, false otherwise.
	*/
	virtual bool GetWorldRegistration(std::string long_name, std::string short_name, unsigned int &id, std::string &desc, unsigned int &list_id,
		unsigned int &trusted, std::string &list_desc, std::string &account, std::string &password);

	/**
	* Updates the ip address of the client with account id = id
	*/
	virtual void UpdateLSAccountData(unsigned int id, std::string ip_address);

	/**
	* Updates or creates the login server account with info from world server
	*/
	virtual void UpdateLSAccountInfo(unsigned int id, std::string name, std::string password, std::string email);

	/**
	* Updates the ip address of the world with account id = id
	*/
	virtual void UpdateWorldRegistration(unsigned int id, std::string long_name, std::string ip_address);

	/**
	* Creates new world registration for unregistered servers and returns new id
	*/
	virtual bool CreateWorldRegistration(std::string long_name, std::string short_name, unsigned int &id);
protected:
	std::string user, pass, host, port, name;
	MYSQL *db;
};

#endif
#endif
or do i need to change something in here to make it public?
Code:
/*	EQEMu: Everquest Server Emulator
	Copyright (C) 2001-2010 EQEMu Development Team (http://eqemulator.net)

	This program is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; version 2 of the License.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY except by those people which sell it, which
	are required to give you total support for your newly bought product;
	without even the implied warranty of MERCHANTABILITY or FITNESS FOR
	A PARTICULAR PURPOSE. See the GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program; if not, write to the Free Software
	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef EQEMU_DATABASE_H
#define EQEMU_DATABASE_H

#include <string>

#define EQEMU_MYSQL_ENABLED
//#define EQEMU_POSTGRESQL_ENABLED

/**
* Base database class, intended to be extended.
*/
class Database
{
public:
	Database() : user(""), pass(""), host(""), port(""), name("") { }
	virtual ~Database() { }

	/**
	* Returns true if the database successfully connected.
	*/
	virtual bool IsConnected() { return false; }

	/**
	* Retrieves the login data (password hash and account id) from the account name provided
	* Needed for client login procedure.
	* Returns true if the record was found, false otherwise.
	*/
	virtual bool GetLoginDataFromAccountName(std::string name, std::string &password, unsigned int &id) { return false; }

	/**
	* Retrieves the world registration from the long and short names provided.
	* Needed for world login procedure.
	* Returns true if the record was found, false otherwise.
	*/
	virtual bool GetWorldRegistration(std::string long_name, std::string short_name, unsigned int &id, std::string &desc, unsigned int &list_id,
		unsigned int &trusted, std::string &list_desc, std::string &account, std::string &password) { return false; }

	/**
	* Updates the ip address of the client with account id = id
	*/
	virtual void UpdateLSAccountData(unsigned int id, std::string ip_address) { }

	/**
	* Updates or creates the login server account with info from world server
	*/
	virtual void UpdateLSAccountInfo(unsigned int id, std::string name, std::string password, std::string email) { }

	/**
	* Updates the ip address of the world with account id = id
	*/
	virtual void UpdateWorldRegistration(unsigned int id, std::string long_name, std::string ip_address) { }

	/**
	* Creates new world registration for unregistered servers and returns new id
	*/
	virtual bool CreateWorldRegistration(std::string long_name, std::string short_name, unsigned int &id) { return false; }
protected:
	std::string user, pass, host, port, name;
};

#endif
I'm sorry im pretty clueless on most of this, I'm in med school and like to dabble in this kind of stuff but i dont really have a good understanding of it since i spend most of my time in non computer related things
Reply With Quote
  #22  
Old 04-26-2014, 06:48 PM
moltke24
Sarnak
 
Join Date: Dec 2011
Posts: 63
Default

Quote:
Originally Posted by Noport View Post
moltke24: make sure your server is setup as a public server under variables in your peq database. the error it's given tells me their ip address needs updated in the data base.

requires TCP port 7000 open to connect - verify that your firewall has it open
game requires UDP 1024-65535 to be open outbound, verify
Read: http://www.eqemulator.org/forums/showthread.php?t=35057
where do i put their ip addresses so they can connect?

could you copy and paste something so i can see where id put the IPs in at?
Reply With Quote
  #23  
Old 04-26-2014, 07:05 PM
moltke24
Sarnak
 
Join Date: Dec 2011
Posts: 63
Default

I had them go to the eqhost.txt file and change the host name from login.eqemulator.net to my ip address and they still can't connect.

I've been spending hours doing things and i feel like anything that i do could just mess it up more and i literally could be one step off from them connecting...
Reply With Quote
  #24  
Old 04-27-2014, 05:54 AM
Noport
Opcode Ninja
 
Join Date: Mar 2009
Location: San francisco
Posts: 426
Default

moltke24 make sure your eqemulogin.ini files looks just like this
replace the xxxxx and type in your password
what I think is happening your using the wrong login and your trying to use a newer client then Sof
Code:
Port=5999
DumpPacketsIn=false
DumpPacketsOut=false
Trace=false
DatabaseServerName=localhost
DatabaseCatalogName=peqlogindb
DatabaseUserName=root
DatabaseUserPassword=xxxxxxxxxx
OPCodePathAndFileName=login_opcodes_SoD.conf
Reply With Quote
  #25  
Old 04-27-2014, 02:09 PM
moltke24
Sarnak
 
Join Date: Dec 2011
Posts: 63
Default

Quote:
Originally Posted by Noport View Post
moltke24 make sure your eqemulogin.ini files looks just like this
replace the xxxxx and type in your password
what I think is happening your using the wrong login and your trying to use a newer client then Sof
Code:
Port=5999
DumpPacketsIn=false
DumpPacketsOut=false
Trace=false
DatabaseServerName=localhost
DatabaseCatalogName=peqlogindb
DatabaseUserName=root
DatabaseUserPassword=xxxxxxxxxx
OPCodePathAndFileName=login_opcodes_SoD.conf
I looked around and searched for eqemulogin.ini and nothing was found

I searched DumpPacketsIn nothing was found
I searched all of the words in the file you linked and nothing was found. So, i don't think I have this file?

i did find a login.ini that looks like
Quote:
[database]
host = localhost
port = 3306
db = eqemu
user = user
password = password
subsystem = MySQL

[options]
unregistered_allowed = TRUE
reject_duplicate_servers = FALSE
trace = TRUE
world_trace = FALSE
dump_packets_in = FALSE
dump_packets_out = FALSE
listen_port = 5998
local_network = 192.16x.x.

[security]
plugin = EQEmuAuthCrypto
mode = 5

[Titanium]
port = 5998
opcodes = login_opcodes.conf

[SoD]
port = 5999
opcodes = login_opcodes_sod.conf

[schema]
account_table = tblLoginServerAccounts
world_registration_table = tblWorldServerRegistration
world_admin_registration_table = tblServerAdminRegistration
world_server_type_table = tblServerListType
Reply With Quote
  #26  
Old 04-29-2014, 02:25 AM
Noport
Opcode Ninja
 
Join Date: Mar 2009
Location: San francisco
Posts: 426
Default

moltke24
eqemulogin.ini
make sure your DatabaseCatalogName matchs your db = eqemu name in your login.ini
Code:
DatabaseCatalogName=eqemu
note: make sure listen_port=5999 same as eqemulogin.ini leave your setting alone in eqemu_config.xml
Reply With Quote
  #27  
Old 05-28-2014, 12:13 AM
moltke24
Sarnak
 
Join Date: Dec 2011
Posts: 63
Default

I gave up on this.
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 09:47 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3