Problems loading Game_Server

Can't get the client or server set up? Ask here!
We're on Discord! https://discord.gg/4dgAzfC
dudeomg
Posts: 5
Joined: Sat Nov 16, 2013 3:03 pm

Problems loading Game_Server

Post by dudeomg » Mon Jan 06, 2014 3:01 am

Hi, getting errors when trying to load game server.exe and it just closes out. Here are the errors from the log:

[01:39:14][1;32m[Status][0m do_init: loading zones[01:40:47][1;31m[Fatal Error][0m [1;31mCZone::LoadZoneWeather: Cannot load zone weather (285)
[0m[01:40:48][1;36m[Debug][0m [1;36mUpdateWeather Finished
[0m - [1;32m[OK][0m
[01:40:48][1;33m[Warning][0m luautils::GetNPCByID NPC doesn't exist (17240507)
[01:40:48][1;36m[LUA Script][0m 'SetFieldManual' Error trying to load undefined npc (17240507)
[01:40:48][1;33m[Warning][0m luautils::GetNPCByID NPC doesn't exist (17240487)
[01:40:48][1;31m[Error][0m luautils::OnServerStart: .\scripts/globals/conquest.lua:1174: attempt to index a nil value
[01:40:48][1;32m[Status][0m do_init: server is binding with port 54230[01:40:48][1;31m[Error][0m make_listen_bind: bind failed (socket #1, code 10048)!

Thank you in advance for your help

User avatar
atom0s
Developer
Posts: 537
Joined: Thu Oct 25, 2012 9:52 am

Re: Problems loading Game_Server

Post by atom0s » Mon Jan 06, 2014 12:36 pm

Something else is already using the port you are attempting to use for the server. Find out what is using port 54230 on your system already.

Tweezit
Posts: 3
Joined: Wed Sep 12, 2012 2:20 pm

Re: Problems loading Game_Server

Post by Tweezit » Mon Jan 06, 2014 2:39 pm

I am getting close to the same error except my port is working and just started getting this error last night. I am not sure how to fix zone weather 285 and treasure not found part. ever since I started getting that error nobody can connect to my server but me.

Code: Select all

[Status] Memory manager initialised: log/DSP.leaks
[Info] DarkStar - onetimexi - SVN Revision: 4413.
[Status] do_init: begin server initialization...
[14:32:43][Info] Console Silent Setting: 0                       - [OK]
[14:32:43][Status] do_init: map_config is reading                - [OK]
[14:32:43][Status] luautils::init:lua initializing...            - [OK]
[14:32:43][Status] do_init: sqlhandle is allocating              - [OK]
[14:32:43][Status] do_init: zlib is reading                      - [OK]
[14:32:43][Status] do_init: loading items                        - [OK]
[14:32:44][Status] do_init: loading spells                       - [OK]
[14:32:44][Status] do_init: loading zones[14:33:36][Fatal Error] CZone::LoadZone
Weather: Cannot load zone weather (285)
[14:33:36][Debug] UpdateWeather Finished
                         - [OK]
[14:33:36][Debug] zonetuils::UpdateTreasureSpawnPoint: treasure <17355006> not f
ound
[14:33:36][Status] do_init: server is binding with port 54230    - [OK]
[14:33:36][Status] The map-server is ready to work...
=======================================================================
[14:33:37][Debug] [Lua] Garbage Collected. Current State Top: 0

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Problems loading Game_Server

Post by kjLotus » Mon Jan 06, 2014 6:18 pm

Tweezit wrote:I am getting close to the same error except my port is working and just started getting this error last night. I am not sure how to fix zone weather 285 and treasure not found part. ever since I started getting that error nobody can connect to my server but me.
they are not related to your problem - Feretory's weather is because I forgot to add an entry to it, and the treasure IDs is because some zones haven't had their npcids updated yet

umanaka
Posts: 2
Joined: Fri Jan 18, 2013 11:55 pm

Re: Problems loading Game_Server

Post by umanaka » Mon Jan 06, 2014 8:59 pm

I'm also getting the error loading weather 285, was wondering what i could do to fix this.

[1;32m[Status][0m Memory manager initialised: [1;37mlog/DSP.leaks[0m
[1;37m[Info][0m DarkStar - onetimexi - SVN Revision: [1;37m4160[0m.
[1;32m[Status][0m do_init: begin server initialization...
[21:00:36][1;37m[Info][0m Console Silent Setting: 0 - [1;32m[OK][0m
[21:00:37][1;32m[Status][0m do_init: map_config is reading - [1;32m[OK][0m
[21:00:37][1;32m[Status][0m luautils::init:lua initializing... - [1;32m[OK][0m
[21:00:37][1;32m[Status][0m do_init: sqlhandle is allocating - [1;32m[OK][0m
[21:00:37][1;32m[Status][0m do_init: zlib is reading - [1;32m[OK][0m
[21:00:37][1;32m[Status][0m do_init: loading items - [1;32m[OK][0m
[21:00:37][1;32m[Status][0m do_init: loading spells - [1;32m[OK][0m
[21:00:38][1;32m[Status][0m do_init: loading zones[21:01:42][1;31m[Fatal Error][0m [1;31mCZone::LoadZoneWeather: Cannot load zone weather (285)
[0m[21:01:42][1;36m[Debug][0m [1;36mUpdateWeather Finished
[0m - [1;32m[OK][0m

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Problems loading Game_Server

Post by kjLotus » Mon Jan 06, 2014 10:11 pm

umanaka wrote:I'm also getting the error loading weather 285, was wondering what i could do to fix this.
i answered that in the post directly above yours, but i've since fixed it in https://code.google.com/p/onetimexi/sou ... ail?r=4417

dudeomg
Posts: 5
Joined: Sat Nov 16, 2013 3:03 pm

Re: Problems loading Game_Server

Post by dudeomg » Mon Jan 06, 2014 10:32 pm

atom0s suggestion fixed my problem. Windows server 2012 was using the port apparently.

Thank you very much for the help

Tweezit
Posts: 3
Joined: Wed Sep 12, 2012 2:20 pm

Re: Problems loading Game_Server

Post by Tweezit » Tue Jan 07, 2014 2:07 am

Edit: Got it all fixed. :)
Also the map error I got earlier is fixed Thanks KjLotus :)

Dang065
Posts: 26
Joined: Mon Nov 11, 2013 4:46 am

Re: Problems loading Game_Server

Post by Dang065 » Tue Jan 07, 2014 3:26 am

Anyone's game server crash when it starts to load the zones. I'm running revision 4420 and my login and search runs fine.
Aideth Elwing, Owner of NIGHTBROOD
http://www/nightbrood.freeforums.net/

User avatar
atom0s
Developer
Posts: 537
Joined: Thu Oct 25, 2012 9:52 am

Re: Problems loading Game_Server

Post by atom0s » Tue Jan 07, 2014 5:17 am

Be sure that you:
1. Recompiled all binaries after upgrading to the latest SVN.
2. Re-ran all SQL files that were effected from the recent changes.

Post Reply