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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-04-2011, 05:32 AM
KodeKatt
Sarnak
 
Join Date: May 2010
Location: Oslo, Norway
Posts: 63
Default EQEmu\templates .html files don't work?

So, I tossed "C:\EQEmu\templates" to my htdocs folder and loaded up localhost/templates which results in failure. The php portion of them don't seem to function. Not on any server box I put it onto, the apache+php i setup myself, or the xampp on this system.
http://content.screencast.com/users/...05-04_0228.png

It looks really nifty and useful, but appears useless?

Is this a Work In Progress, or intended to be functional?
Reply With Quote
  #2  
Old 05-04-2011, 05:43 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

I could be wrong, but those might be for the HTTP service you can enable on your server:

<!-- Enable and set the port for the HTTP service. Defaults are shown -->
<http port="9080" enabled="true" mimefile="mime.types" />
Reply With Quote
  #3  
Old 05-04-2011, 06:55 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Yes that is exactly what it is for, and I don't think it has to be moved to work. Works fine for me without moving, anyway. You just go to localhost:9080 or whatever your URL is and the port you set in the config line posted by lerxst2112.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #4  
Old 05-04-2011, 12:50 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Trev, could you post some more details, or is there a guide how to use this thing? What exactly does it allows you to do?
Reply With Quote
  #5  
Old 05-04-2011, 04:19 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

Quote:
Originally Posted by ChaosSlayerZ View Post
Trev, could you post some more details, or is there a guide how to use this thing? What exactly does it allows you to do?
It's pretty easy to figure out. You enable it and connect to http://127.0.0.1:9080 or whatever your server address/port is while the server is running and you can see what it does.
Reply With Quote
  #6  
Old 05-04-2011, 04:29 PM
KodeKatt
Sarnak
 
Join Date: May 2010
Location: Oslo, Norway
Posts: 63
Default

It asks for a login, and I have no clue at all what info to provide it.
It's rejected: MySQL, Player Account, LoginServer account, default admin/password combinations.
Reply With Quote
  #7  
Old 05-04-2011, 05:27 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

It is looking for an account/password pair from the account table. If your account doesn't have a password assigned use something like this to set one:

UPDATE account SET PASSWORD=MD5("password") WHERE NAME="admin"

You also have to have a status of 100 or higher.
Reply With Quote
  #8  
Old 05-04-2011, 06:22 PM
KodeKatt
Sarnak
 
Join Date: May 2010
Location: Oslo, Norway
Posts: 63
Default

Missing password was the problem!
Reply With Quote
  #9  
Old 05-04-2011, 07:19 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

ah cool i got it
how update is this thing?
considering all the changes to Db sql over the years?
Reply With Quote
  #10  
Old 05-05-2011, 04:47 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

It still has the full functionality that it always has. Some of the features in it were never fully implemented, but it still has uses. Works well for changing account status or looking at who is on and what zones are in use and such.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #11  
Old 05-06-2011, 01:49 AM
Bamzal
Sarnak
 
Join Date: Nov 2002
Posts: 31
Default

I am having same problem as OP. the pages aren't loading properly. Also the only way I can access them is by launching the http files from the templates folder. If i try accessing via localhost:9080 I get page not found.

I am trying to figure out why when I start my server the HTTP service is disabled even though I have enabled="true"

From logs:
[05.05. - 19:19:57] [WORLD__INIT] HTTP world service disabled.

From eqemu_config.xml:
<http port="9080" enabled="true" mimefile="mime.types" />
Reply With Quote
  #12  
Old 05-06-2011, 01:53 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

Well, without seeing the rest of your config file it's hard to say anything else other than "you're doing it wrong."
Reply With Quote
  #13  
Old 05-06-2011, 02:07 AM
Bamzal
Sarnak
 
Join Date: Nov 2002
Posts: 31
Default

Is that the only point of failure? Looked fine to me.
Do I need Apache running, special configs, etc?
Code:
<?xml version="1.0"?>
<server>
	<world>
		<shortname>RallonZek</shortname>
		<longname>Rallon Zek PvP (Alpha)</longname>

		<!-- address has to be specified for minilogin to work -->
		<address>74.216.88.139</address>
		<localaddress>192.168.1.201</localaddress>

		<!-- Loginserver information. -->
		<loginserver>
			<host>eqemulator.net</host>
			<port>5998</port>
			<account>********</account>
			<password>**********</password>
		</loginserver>

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

		<!-- Enable and set the port for the HTTP service.  Defaults are shown -->
		<http port="9080" enabled="true" mimefile="mime.types" />
	</world>
	
	<!-- Database configuration, replaces db.ini -->
	<database>
		<host>localhost</host>
		<port>3306</port>
		<username>*******</username>
		<password>*********</password>
		<db>********</db>
	</database>
</server>
Reply With Quote
  #14  
Old 05-06-2011, 04:02 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

Did you set up an alias in your httpd.conf file to point to the directory?
Reply With Quote
  #15  
Old 05-06-2011, 06:54 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

That config looks correct, but for whatever reason it isn't picking up the "enabled".

Your best bet is to debug it. The code that reads those values is near the end of EQEmuConfig::do_world.

The world server is the http server, you don't need Apache or any other configuration or aliases for it to work.
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 04:45 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3