PDA

View Full Version : zone wont stay botted more then 2 seconds and server locked


manglervirus
09-07-2004, 08:44 AM
this is my problem i start world.exe and then i go to boot 5 zones and some stuff gose by and it gose so fast i cant make out what it says and then it closes help oh ya my server is locked.

db


# READ README.TXT!

[Database]
host=**.***.**.**
user=********
password=*********
database=eq
compression=off


### --- This file tells world.exe what computer mySQL is on. Host should
### --- be left "localhost" unless mysql is on a differant computer than world.exe.





### --- This file tells world.exe what loginserver to connect to.
### --- Leave the account and password field BLANK.

### --- Public Login is un-supported as is LAN playing. We recommend using the eqemulator.net Loginserver ALWAYS.

### --- NOTE: You can NOT use the word "Server" in worldname.
### --- NOTE2: the word "Server" is added to each server automatically.

# READ README.TXT
[LoginServer]
loginserver=eqlogin1.eqemulator.net
loginserver2=eqlogin2.eqemulator.net
loginserver3=eqlogin3.eqemulator.net
loginport=5995
loginport2=5995
loginport3=5995
worldname=montana test
worldaddress=localhost
locked=false

[WorldServer]
Defaultstatus=0
Unavailzone=

[LoginConfig]
ServerMode=Standalone
ServerPort=5999
UplinkAddress=
UplinkPort=
UplinkAccount=
UplinkPassword=




and i go to the server list and it says my server is locked


p.s. help me please

Derision
09-07-2004, 08:58 AM
i go to boot 5 zones and some stuff gose by and it gose so fast i cant make out what it says and then it closes

To debug zone.exe errors, what you need to do (in XP), is click on start/run then enter cmd in the dialog box that comes up. This will start a command prompt.

Type CD <path to where your zone.exe is>

then type, e.g.

zone . a.b.c.d 7995 w.x.y.z

I.e. take the first 'start zone ...' line in your boot5zones.bat, omit the 'start' command and type in the zone command and its parameters (i.e. putting your IP address(es) in place of a.b.c.d and w.x.y.z. This way zone.exe will show what errors it found and the window should not close.

sotonin
09-07-2004, 08:58 AM
change them from eqlogin1.eqemulator.net to login1.eqemulator.net and so on.

see if that fixes it

manglervirus
09-07-2004, 09:17 AM
ok but the first post was to complicated and to the secound post it still doinig it

molimo140
09-07-2004, 09:25 AM
3 Things:

1) Not enough information here, you need to post output of world.exe and zone.exe(s). Also post boot5zones.bat

2) Your DB.ini doesnt look to be correct..
host=**.***.**.**

It should be localhost, not an acutal IP address UNLESS mysql is not on the computer you're trying to host from.

3) Your [Loginserver] Block of your loginserver.ini is incorrect

loginserver=eqlogin1.eqemulator.net
loginserver2=eqlogin2.eqemulator.net
loginserver3=eqlogin3.eqemulator.net
loginport=5995
loginport2=5995
loginport3=5995

Should be:

loginserver=eqemulator.net
loginport=5995

Post other info, might be more problems, but try those fixes.

manglervirus
09-07-2004, 09:27 AM
i cant put localhost instead of my ip becuse it gives me an error mysqlpassword and or mysqlusername invalid

Derision
09-07-2004, 09:43 AM
ok but the first post was to complicated

OK, let's try and make it simpler ....

Edit your boot5zones.bat file,

for every line that begins with :

start zone ....

change that to

zone ....

I.e., omitting the 'start' command should cause zone.exe to show the errors that is causing it to close. Copy and paste the output of that zone.exe here.

Cisyouc
09-07-2004, 09:47 AM
ok but the first post was to complicated

OK, let's try and make it simpler ....

Edit your boot5zones.bat file,

for every line that begins with :

start zone ....

change that to

zone ....

I.e., omitting the 'start' command should cause zone.exe to show the errors that is causing it to close. Copy and paste the output of that zone.exe here. I believe that will only make it close in the same window. Lol. Add a pause before the last 'exit' in boot5zones.bat

molimo140
09-07-2004, 09:48 AM
Look for a file called my.ini (found in C:\) ..Delete this file

run winmysqladmin.exe (c:\mysql\bin)

the choose a username/pword screen should pop up...make a new one

Close it and run mysql.exe (c:\mysql\bin)

type


GRANT ALL PRIVILEGES ON * TO user@localhost IDENTIFIED BY 'pass' WITH GRANT OPTION;


Replace user w/ the new username you picked and pass with the new password you picked

that should fix the rejecting of your mysql username / pword.

manglervirus
09-07-2004, 10:52 AM
none of these are helping please i reinstaled my mysql username and mysql password and now it still doing the same thing this is what world looks like


guess what world botted fine but boot5zones dosent work still whats the soloution

and it still locked

manglervirus
09-07-2004, 11:03 AM
i did what derison said and now it says this

[quote]
[Status] CURRENT_ZONE_VERSION: EQEMu 0.5.6
[Status] Loading Variables
[Status] Loading zone names
[Status] Loading items
[Status] EMuShareMem loaded
[Status] Loading items from database: count=28731, max id=69304
[Status] Loading npcs
Error: EMuShareMem: pDLLLoadNPCTypes: iMaxNPCTypeID > MMF_MAX_N
You need to increase the define in NPCTypes.h.
[Error] Loading npcs FAILED!
[Status] CURRENT_ZONE_VERSION: EQEMu 0.5.6
[Status] Loading Variables
[Status] Loading zone names
[Status] Loading items
[Status] EMuShareMem loaded
[Status] Loading items from database: count=28731, max id=69304
[Status]
now what do i do

sotonin
09-07-2004, 11:12 AM
sounds like you are using a really old source. ...

is it 5.6 DR 7 .... <---- DR 7 is the important part.

It didnt say it in the portion you posted. So i'm going to assume you are trying to use the 5.6 binariares on sourceforge.

it wont work. sorry

Tangeleno
09-07-2004, 11:16 AM
You need to change a line of code in the file NpcTypes.h

You prolly have a smaller number like this*

#define MMF_MAX_NPCTYPE_ID 10000

change it to somthing along the lines of
#define MMF_MAX_NPCTYPE_ID 400000


then recompile.


*Number in the first code might be off! It's just an example.

*Edit* After reading sotonin's post not sure if this will work but worth a try. Who knows maybe he has an older version of the client... or is that login server no longer around either?

manglervirus
09-07-2004, 11:16 AM
so were can i get the right binareies

manglervirus
09-07-2004, 11:19 AM
it says #define MMF_MAX_NPCTYPE_ID 200000

Tangeleno
09-07-2004, 11:23 AM
it says #define MMF_MAX_NPCTYPE_ID 200000

Last I checked 400000 > 200000

But anyways you can try it at 400000 and see if it works. No promises however.

molimo140
09-07-2004, 02:26 PM
#define MMF_MAX_NPCTYPE_ID 200000

change to this

#define MMF_MAX_NPCTYPE_ID 400000

manglervirus
09-07-2004, 08:17 PM
DID NOOOOOOT WOOOOOORK




P.S. sorry for yelling im geting pead off

sotonin
09-08-2004, 12:43 AM
You are surprised? i told you 5.6 wont work. u need dr7.

manglervirus
09-08-2004, 03:23 AM
how can i get it i have vs.net please help

sotonin
09-08-2004, 04:02 AM
stickies.

you have to get the lates source and compile it. There a link in the irc room

Cisyouc
09-08-2004, 07:01 AM
If you have Microsoft Visual C++ .NET you need to make some minor source code changes found in this forum (as sotonin said, stickies)

relorm500
09-11-2004, 02:14 PM
hhmmmmmmmm?.................