PDA

View Full Version : Newbie to EQEmu


linghuUU
05-13-2008, 06:56 AM
Hi all~

I've followed the Guide to setup the server but i still cannot get my own server started. I glanced thro' many posts the forum but I really dunno which solution is really suitable. Please kindly help me out....please....see where I got the wrong settings.

Here's the full log...

[05.13. - 15:30:15] Starting Log: logs/eqemu_world_4092.log
[05.13. - 15:30:15] Using database 'peq' at localhost:3306
[05.13. - 15:30:15] EMuShareMem loaded
[05.13. - 15:30:15] Loading items from database: count=54307
---------------------------------------------
[05.13. - 15:30:15] Starting Log: logs/eqemu_debug_world_4092.log
[05.13. - 15:30:15] [WORLD__INIT] Loading server configuration..
[05.13. - 15:30:15] [WORLD__INIT] Log settings loaded from log.ini
[05.13. - 15:30:15] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.7.0
[05.13. - 15:30:15] [WORLD__INIT] Connecting to MySQL...
[05.13. - 15:30:15] [WORLD__INIT] HTTP world service disabled.
[05.13. - 15:30:15] [WORLD__INIT] Loading variables..
[05.13. - 15:30:15] [WORLD__INIT] Loading zones..
[05.13. - 15:30:15] [WORLD__INIT] Clearing groups..
[05.13. - 15:30:15] [WORLD__INIT] Clearing temporary merchant lists..
[05.13. - 15:30:15] [WORLD__INIT] Loading items..
[05.13. - 15:30:18] [WORLD__INIT] Loading guilds..
[05.13. - 15:30:18] [RULES__CHANGE] Loading rule set 'default' (2)
[05.13. - 15:30:18] [WORLD__INIT] Loaded default rule set 'default'
[05.13. - 15:30:18] [WORLD__INIT] Loading EQ time of day..
[05.13. - 15:30:18] [WORLD__INIT_ERR] Unable to load eqtime.cfg
[05.13. - 15:30:18] [WORLD__INIT] Loading launcher list..
[05.13. - 15:30:18] [WORLD__INIT] Reboot zone modes ON
[05.13. - 15:30:18] [WORLD__INIT] Deleted 0 stale player corpses from database
[05.13. - 15:30:18] [WORLD__INIT] Deleted 0 stale player backups from database
[05.13. - 15:30:18] [WORLD__INIT] Zone (TCP) listener started.
[05.13. - 15:30:18] [WORLD__INIT_ERR] Failed to start client (UDP) listener (port 9000)
---------------------------------------------
[05.13. - 15:30:18] Starting Log: logs/eqemu_error_world_4092.log
[05.13. - 15:30:18] Could not load EQTime file eqtime.cfg

and my eqemu_config.xml is like this

<?xml version="1.0">
<server>
<world>
<shortname>cx123</shortname>
<longname>My Test</longname>

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<!-- <address>some.server.com</address> -->
<!-- <localaddress>192.168.11.2</localaddress> -->

<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>127.0.0.1</host>
<port>5999</port>
<account></account>
<password></password>
</loginserver>

<!-- Server status. Default is unlocked -->
<!--<locked/>-->
<!-- <unlocked/> -->

<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown -->
<tcp ip="localhost" port="9000" telnet="disable"/>

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>some long random string</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. Defaults shown -->
<chatserver>
<host>channels.eqemulator.net</host>
<port>7778</port>
</chatserver>

<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>channels.eqemulator.net</host>
<port>7779</port>
</mailserver>

<zones>
<defaultstatus>20</defaultstatus>

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

<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>localhost</host>
<port>3306</port>
<username>root</username>
<password>********</password>
<db>peq</db>
</database>

<!-- Launcher Configuration -->
<launcher>
<!-- <logprefix>logs/zone-</logprefix> -->
<!-- <logsuffix>.log</logsuffix> -->
<!-- <exe>zone.exe or ./zone</exe> -->
<!-- <timers restart="10000" reterminate="10000" initial="20000" interval="2000"> -->
</launcher>

<!-- File locations. Defaults shown -->
<files>
<!-- <spells>spells_us.txt</spells> -->
<!-- <opcodes>opcodes.conf</opcodes> -->
<!-- <logsettings>log.ini</logsettings> -->
<!-- <eqtime>eqtime.cfg</eqtime> -->
</files>
<!-- Directory locations. Defaults shown -->
<directories>
<!-- <maps>Maps</maps> -->
<!-- <quests>quests</quests> -->
<!-- <plugins>plugins</plugins> -->
</directories>
</server>

LoginServer.ini

[LoginServer]
loginserver=127.0.0.1
loginport=5999
worldname=My Test 123
worldaddress=192.XXX.XX.XX
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=

[ChatChannelServer]
worldshortname=
chataddress=
chatport=

[LoginConfig]
ServerMode=Minilogin
ServerPort=5999

eqhost.txt
[LoginServer]
Host=127.0.0.1:5999

Million thanks in advance.

nosfentora
05-13-2008, 08:46 AM
At a quick glance, and not having my files at hand, i *think* in your loginserver.ini

change
loginserver=127.0.0.1
to
loginserver=192.XXX.XX.XX

Also, for a minilogon, in your eqemu_config.xml i think you need to change:

<!-- <address>some.server.com</address> -->
<!-- <localaddress>192.168.11.2</localaddress> -->

to

<address>some.server.com</address>
<localaddress>192.168.11.2</localaddress>

make sure your account in your account table has your 192.xxx.xxx.xx ip updated correctly.

also, make sure you're starting minilogin.exe first. then world.exe first and letting it run until you see 'connected to....', then run the zones.

linghuUU
05-14-2008, 10:57 AM
Oh thanks it starts to run till....

it got something like this for world

---------------------------------------------
[05.14. - 22:52:02] Starting Log: logs/eqemu_debug_world_1908.log
[05.14. - 22:52:02] [WORLD__INIT] Loading server configuration..
[05.14. - 22:52:02] [WORLD__INIT] Log settings loaded from log.ini
[05.14. - 22:52:02] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.7.0
[05.14. - 22:52:02] [WORLD__INIT] Connecting to MySQL...
[05.14. - 22:52:02] [WORLD__INIT] Starting HTTP world service...
[05.14. - 22:52:02] [WORLD__HTTP] Loaded mime types from mime.types
[05.14. - 22:52:02] [WORLD__INIT] Loading variables..
[05.14. - 22:52:02] [WORLD__INIT] Loading zones..
[05.14. - 22:52:02] [WORLD__INIT] Clearing groups..
[05.14. - 22:52:02] [WORLD__INIT] Clearing temporary merchant lists..
[05.14. - 22:52:02] [WORLD__INIT] Loading items..
[05.14. - 22:52:06] [WORLD__INIT] Loading guilds..
[05.14. - 22:52:06] [RULES__CHANGE] Loading rule set 'default' (2)
[05.14. - 22:52:06] [WORLD__INIT] Loaded default rule set 'default'
[05.14. - 22:52:06] [WORLD__INIT] Loading EQ time of day..
[05.14. - 22:52:06] [WORLD__INIT] Loading launcher list..
[05.14. - 22:52:06] [WORLD__INIT] Reboot zone modes ON
[05.14. - 22:52:06] [WORLD__INIT] Deleted 0 stale player corpses from database
[05.14. - 22:52:06] [WORLD__INIT] Deleted 0 stale player backups from database
[05.14. - 22:52:07] [WORLD__INIT] Zone (TCP) listener started.
[05.14. - 22:52:07] [WORLD__INIT] Client (UDP) listener started.
[05.14. - 22:52:07] [NET__IDENTIFY] Registered patch 6.2
[05.14. - 22:52:07] [NET__IDENTIFY] Registered patch Titanium
[05.14. - 22:52:07] [NET__IDENTIFY] Registered patch Anniversary
[05.14. - 22:52:07] [NET__IDENTIFY] Registered patch Live
[05.14. - 22:52:07] [WORLD__LS] Connecting to login server...
[05.14. - 22:52:07] [WORLD__LS] Setting World to MiniLogin Server type
[05.14. - 22:52:07] [WORLD__LS] Connected to Loginserver: 192.168.11.2:5999
[05.14. - 22:52:10] [WORLD__ZONE] New TCP connection from 127.0.0.1:2735
[05.14. - 22:52:10] [WORLD__CONSOLE] New launcher from 127.0.0.1:2735
[05.14. - 22:52:10] [WORLD__LAUNCH] Adding pending launcher 1
[05.14. - 22:52:10] [WORLD__LAUNCH] Launcher Identified itself as 'zone'. Loading zone list.
[05.14. - 22:52:10] [WORLD__LAUNCH] Removing pending launcher 1. Adding zone to active list.
[05.14. - 22:52:15] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (1 starts)
[05.14. - 22:52:17] [WORLD__LAUNCH] zone: dynamic_01 reported state STOPPED (1 starts)
[05.14. - 22:52:37] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (2 starts)
[05.14. - 22:52:39] [WORLD__LAUNCH] zone: dynamic_01 reported state STOPPED (2 starts)
[05.14. - 22:52:59] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (3 starts)
[05.14. - 22:53:01] [WORLD__LAUNCH] zone: dynamic_01 reported state STOPPED (3 starts)
[05.14. - 22:53:19] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (4 starts)
[05.14. - 22:53:21] [WORLD__LAUNCH] zone: dynamic_01 reported state STOPPED (4 starts)

and it keep looping...

so what's the problem?

Andrew80k
05-14-2008, 12:16 PM
try to run zone independently to see what is happening. From a terminal/command prompt, go to where you have the emu installed and just type zone or ./zone depending on your host. That may give you some insight.

linghuUU
05-14-2008, 12:25 PM
hi Andrew

i got this

---------------------------------------------
[05.15. - 00:24:03] Starting Log: logs/eqemu_debug_zone_5112.log
[05.15. - 00:24:03] [ZONE__INIT] Loading server configuration..
[05.15. - 00:24:03] [ZONE__INIT] Log settings loaded from log.ini
[05.15. - 00:24:03] [ZONE__INIT] Connecting to MySQL...
[05.15. - 00:24:03] [ZONE__INIT] CURRENT_ZONE_VERSION: EQEMu 0.7.0
[05.15. - 00:24:03] [ZONE__INIT] Log settings loaded from ./log.ini
[05.15. - 00:24:03] [ZONE__INIT] Mapping Incoming Opcodes
[05.15. - 00:24:03] [ZONE__INIT] Loading Variables
[05.15. - 00:24:03] [ZONE__INIT] Loading zone names
[05.15. - 00:24:03] [ZONE__INIT] Loading items
[05.15. - 00:24:08] [ZONE__INIT] Loading npc faction lists
[05.15. - 00:24:08] [ZONE__INIT_ERR] Loading npcs faction lists FAILED!

linghuUU
05-14-2008, 12:26 PM
same thing happened even i deleted minilogin....

very frustrated now

Andrew80k
05-14-2008, 02:50 PM
Did you run it from the command line? Could be something wrong with the DB table. What db are you running? PEQ, Angelox's? And which version? Maybe a mismatch between your DB and your server code.

linghuUU
05-14-2008, 11:24 PM
I used PEQ Server Pack 4.0 for the most updated EQEmulator

linghuUU
05-15-2008, 12:20 AM
okay solved the problem

Andrew80k
05-15-2008, 02:39 PM
And your solution? For those that are searching for problems like yours.

venuma
05-20-2008, 05:15 PM
I have the same problem.

[05.20. - 22:56:50] [WORLD__LAUNCH] Adding pending launcher 1
[05.20. - 22:56:50] [WORLD__LAUNCH] Launcher Identified itself as 'zone'. Loading zone list.
[05.20. - 22:56:50] [WORLD__LAUNCH] Removing pending launcher 1. Adding zone to active list.
[05.20. - 22:56:55] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (1 starts)
[05.20. - 22:56:57] [WORLD__LAUNCH] zone: dynamic_01 reported state STOPPED (1 starts)
[05.20. - 22:57:15] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (2 starts)
[05.20. - 22:57:17] [WORLD__LAUNCH] zone: dynamic_01 reported state STOPPED (2 starts)
[05.20. - 22:57:37] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (3 starts)
[05.20. - 22:57:39] [WORLD__LAUNCH] zone: dynamic_01 reported state STOPPED (3 starts)
[05.20. - 22:57:59] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (4 starts)
[05.20. - 22:58:01] [WORLD__LAUNCH] zone: dynamic_01 reported state STOPPED (4 starts)
[05.20. - 22:58:21] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (5 starts)
[

Help me!!!

Baeltor
05-21-2008, 09:18 PM
Try:

Originally Posted by cavedude
Code:
------------------------------------------------------------------------
alter table npc_faction add column ignore_primary_assist tinyint(3) not null default 0;
-----------------------------------------------------------------------
Will do it, or you can use the newest version of PEQ. Both the release and CVS have that column.