PDA

View Full Version : Start.bat problems please assist!


Jimmyxtreme
01-28-2009, 04:37 PM
Hi, i have set up private servers in the past for some other games but for some reason i seem to be having problems with this one :) any help would be greatly appreciated

i wasnt too sure what information you would need so im going to answer from a template i found on the forums.

If you are having WORLD.EXE errors, please provide the following information:
What error you are having and when you are having it.

Its not an Error per se, when i run my start.bat file world.exe opens then immediatly closes. i have run this in a debug mode to see a windows message of "windows cannot find the world.exefile". Im 100% positive its there.

i press enter when my start.bat file tells me to and the new cmd window opens with nothing in it.

b) What OS (Operating System, IE: Windows 95) you are using

Windows xp 64 bit

c) What EMU Version (IE: 0.3.7) you are using

0.7.0-1129

please help me i would greatly apreciate it, thank you all in advance.

JXtreme

Derision
01-28-2009, 04:43 PM
Your best best to diagnose a problem like this is open up a command prompt (aka DOS prompt) and then change directory to where your world.exe is and run it, e.g. in the output below, I navigate to my c:\eqemu directory, do a 'dir world.exe' to confirm that it is there, and then execute it:


Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\Steve>cd \eqemu

C:\eqemu>dir world.exe
Volume in drive C has no label.
Volume Serial Number is DA34-F279

Directory of C:\eqemu

17/01/2009 16:29 2,439,680 World.exe
1 File(s) 2,439,680 bytes
0 Dir(s) 303,856,828,416 bytes free

C:\eqemu>world
[Debug] Starting Log: logs/eqemu_debug_world_4552.log
[Debug] [WORLD__INIT] Loading server configuration..
[Debug] [WORLD__INIT] Log settings loaded from log.ini
[Debug] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.7.0
[Debug] [WORLD__INIT] Connecting to MySQL...
[Status] Starting Log: logs/eqemu_world_4552.log
[Status] Using database 'ykesha' at 127.0.0.1:3306
[Debug] [WORLD__INIT] Starting HTTP world service...
[Debug] [WORLD__HTTP_ERR] Failed to load mime types from 'mime.types'
[Debug] [WORLD__INIT] Loading variables..
[Debug] [WORLD__INIT] Loading zones..
[Debug] [WORLD__INIT] Clearing groups..
[Debug] [WORLD__INIT] Clearing raids..
[Debug] [WORLD__INIT] Loading items..
[Status] EMuShareMem loaded
[Status] Loading items from database: count=62266


If world.exe is indeed where you think it is, then it should display the error that is causing it to fail without the window closing.

Jimmyxtreme
01-28-2009, 04:47 PM
Hi,

Thanks for your very swift reply.

I attempted what you suggested and if i try to run world.exe from a cmd window it still opens it up in a new one and instantly closes it!

C:\>cd eqemu

C:\EQEmu>world

C:\EQEmu>cd..

C:\>EQemu
'EQemu' is not recognized as an internal or external command,
operable program or batch file.

C:\>cd eqemu

C:\EQEmu>dir world.exe
Volume in drive C has no label.
Volume Serial Number is E4C7-140C

Directory of C:\EQEmu

02/09/2008 01:11 786,432 world.exe
1 File(s) 786,432 bytes
0 Dir(s) 260,666,970,112 bytes free

C:\EQEmu>

C:\EQEmu>world

C:\EQEmu>

Derision
01-28-2009, 04:50 PM
When you are the the c:\eqemu prompt, type in:


dir world.*


What does it display ?

Jimmyxtreme
01-28-2009, 04:51 PM
C:\EQEmu>dir world.*
Volume in drive C has no label.
Volume Serial Number is E4C7-140C

Directory of C:\EQEmu

02/09/2008 01:11 786,432 world.exe
1 File(s) 786,432 bytes
0 Dir(s) 260,666,970,112 bytes free

C:\EQEmu>

Jimmyxtreme
01-28-2009, 05:27 PM
ok after some googling i managed to get it to open im my cmd window by using
"c:\eqemu world.exe -k"

and i get the following

C:\EQEmu>world -k
[Debug] Starting Log: logs/eqemu_debug_world_6112.log
[Debug] [WORLD__INIT] Loading server configuration..
[Debug] [WORLD__INIT] Log settings loaded from log.ini
[Debug] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.7.0
[Debug] [WORLD__INIT] Connecting to MySQL...
[Error] Starting Log: logs/eqemu_error_world_6112.log
[Error] Failed to connect to database: Error: #1045: Access denied for user 'eq'
@'localhost' (using password: YES)
[Debug] [WORLD__INIT_ERR] Cannot continue without a database connection.

C:\EQEmu>



Again thanks in advance for any replies

Kaain
01-29-2009, 03:51 PM
I am assuming the server is for LAN play, I use this windows setup guide for reference whenever something is giving me problems.
Go to http://www.eqemulator.net/wiki/wikka.php?wakka=ws1129r222 and review everything you have setup. Pay particular attention to the section setting up eqemu_config.xml which connects the emulator to your database.

Note: Once you get everything working backup your eqemu_config.xml because it will get overwritten by the default .xml file if you ever update your files and will have to be replaced with your personal copy every time.