View Single Post
  #3  
Old 08-10-2015, 09:01 PM
AdrianD
Discordant
 
Join Date: Dec 2013
Posts: 297
Default

Quote:
1) I think the only way to log in like that will be to have someone else try. There is a website that will ping your ports..but, I don't know if
that only tests your firewall ports or if it will actually make it to the server...

2) Port 5998 is required for Ti/SoF clients..Port 5999 is needed for SoD+ clients. (SoF and SoD use the same opcode value for first login
and a distinction is needed to discriminate the client version..hence, the second port was added.)

3) I can't remember if the login server will allow you to create an account when you first login..would seem it would if you can
select any server from the eqemu public login server and just play. If not, you'll have to manually add accounts (any one know for sure?)

4) It is recommended that world accounts be added..but, are not required to operate.

5) I believe the Titanium client supports ports 7778 and 7779. I think that SoF+ all use the single 7778 port.

6) Yes and no... The port depends on the client version described in answer #2.

7) As long as you have your code up-to-date, that fix should already be in the code base.
Responses:

1. Good to know. That alone relieves some frustration.

2. Follow up question, sorta: If I run my own login server, I have to forward ports 5998/5999 whereas, using eqemu login, it's not required. Makes sense looking at login.ini. Is that correct?

3. I've seen some with and without. Those with have "x" out the field and those w/o have something that implies it's not unique or just ><. That's why I can't determine if it's needed.

4. Thanks. My server seems to operate fine in LAN or solo. I wasn't sure about remote clients.

5. Thanks.

6. Ok, so, having my non-existent internet clients use www.eqjeryds.dynu.com:XXXX is correct.

7. My code is from about a week before that update. I opened up the .cpp file and that fix or portion wasn't in.

Code:
void WorldServer::OnConnected() {
	WorldConnection::OnConnected();

	ServerPacket* pack;

	//tell the launcher what name we were started with.
	pack = new ServerPacket(ServerOP_SetLaunchName,sizeof(LaunchName_Struct));
	LaunchName_Struct* ln = (LaunchName_Struct*)pack->pBuffer;
	strn0cpy(ln->launcher_name, m_launcherName.c_str(), 32);
	strn0cpy(ln->zone_name, m_launchedName.c_str(), 16);
	SendPacket(pack);
	safe_delete(pack);

	pack = new ServerPacket(ServerOP_SetConnectInfo, sizeof(ServerConnectInfo));
	ServerConnectInfo* sci = (ServerConnectInfo*) pack->pBuffer;
	sci->port = ZoneConfig::get()->ZonePort;
	SendPacket(pack);
	safe_delete(pack);

	if (ZoneLoaded) {
		this->SetZone(zone->GetZoneID(), zone->GetInstanceID());
		entity_list.UpdateWho(true);
		this->SendEmoteMessage(0, 0, 15, "Zone connect: %s", zone->GetLongName());
			zone->GetTimeSync();
	} else {
		this->SetZone(0);
	}

	pack = new ServerPacket(ServerOP_LSZoneBoot,sizeof(ZoneBoot_Struct));
	ZoneBoot_Struct* zbs = (ZoneBoot_Struct*)pack->pBuffer;
	strcpy(zbs->compile_time,LAST_MODIFIED);
	SendPacket(pack);
	safe_delete(pack);
}
/* Zone Process Packets from World */
7. cont... I imagine I need to get that in.

* Can I copy/paste that little added code? Then, do I need to recompile the whole thing? I have never recompiled to add new code to existing. I've read that it's fairly simple but, I don't want to screw it up.

Thanks Uleat.
Reply With Quote