Log-in Problems

Desufire
Posts: 162
Joined: Sun Feb 22, 2015 2:58 am

Log-in Problems

Post by Desufire » Tue Mar 31, 2015 6:16 am

Just spent 2 hours trying to figure this out without posting, but I've done every check, troubleshoot, redo I could find.

I did a clean rebuild of my server in preparation for opening it and accepting people. I created a character (my GM) and I couldn't get on.

map-server log:

Code: Select all

 =======================================================================
[05:23:36][1;36m[Debug][0m [1;36m[Lua] Garbage Collected. Current State Top: 0
[0m[1;32m[Status][0m Memory manager initialised: [1;37mlog/DSP.leaks[0m
[1;37m[Info][0m DarkStar - Git Revision Hash: [1;37mUnknown[0m.
[1;32m[Status][0m do_init: begin server initialization...
[05:30:12][1;37m[Info][0m Console Silent Setting: 0 			 - [1;32m[OK][0m
[05:30:12][1;32m[Status][0m do_init: map_config is reading 		 - [1;32m[OK][0m
[05:30:12][1;32m[Status][0m luautils::init:lua initializing... 		 - [1;32m[OK][0m
[05:30:12][1;32m[Status][0m do_init: sqlhandle is allocating 		 - [1;32m[OK][0m
[05:30:12][1;32m[Status][0m do_init: zlib is reading 			 - [1;32m[OK][0m
[05:30:12][1;32m[Status][0m do_init: loading items 			 - [1;32m[OK][0m
[05:30:13][1;32m[Status][0m do_init: loading spells 			 - [1;32m[OK][0m
[05:30:13][1;36m[Debug][0m [1;36mUpdateGuildPointsPattern is finished. New pattern: 0
[0m[05:30:17][1;32m[Status][0m do_init: loading zones 			 - [1;32m[OK][0m
[05:31:55][1;32m[Status][0m do_init: server is binding with port 54230 	 - [1;32m[OK][0m
[05:31:56][1;36m[Debug][0m [1;36mInitializeWeather Finished
[0m[05:31:56][1;32m[Status][0m The map-server is [1;32mready[0m to work...
 =======================================================================
[05:31:56][1;36m[Debug][0m [1;36m[Lua] Garbage Collected. Current State Top: 0
[0m[05:32:54][1;37m[Info][0m [1;37mmapsession[0m:[1;37m192.168.1.1[0m:[1;37m54346[0m is coming to world...
[05:32:54][1;37m[Info][0m parse: 00A | 0001 0000 2E from user: Sonja
[05:32:54][1;36m[Debug][0m [1;36mCZone:: Port_Windurst IncreaseZoneCounter <1> Sonja 
[0m[05:32:56][1;37m[Info][0m parse: 00A | 0002 0001 2E from user: Sonja
[05:32:56][1;33m[Warning][0m [1;33mClient cannot receive packet or key is invalid: Sonja
[0m[05:32:58][1;37m[Info][0m parse: 00A | 0003 0001 2E from user: Sonja
[05:32:58][1;33m[Warning][0m [1;33mClient cannot receive packet or key is invalid: Sonja
[0m[05:33:00][1;37m[Info][0m parse: 00A | 0004 0001 2E from user: Sonja
[05:33:00][1;33m[Warning][0m [1;33mClient cannot receive packet or key is invalid: Sonja
[0m[05:33:02][1;37m[Info][0m parse: 00A | 0005 0001 2E from user: Sonja
[05:33:02][1;33m[Warning][0m [1;33mClient cannot receive packet or key is invalid: Sonja
[0m[05:33:04][1;37m[Info][0m parse: 00A | 0006 0001 2E from user: Sonja
[05:33:04][1;33m[Warning][0m [1;33mClient cannot receive packet or key is invalid: Sonja
After doing some digging around on here (the forums) I found some posts about this.
1) I'm using --hairpin
2) ports are open (yes the correct ones)
3) zoneip is set to external ip (yes the correct one)
4) Followed each step in the wiki.
5) Restart/Reset router/modem.

After doing #5, I stopped getting the Packet Warnings, but client still hangs on Downloading Data, then returning Error FFXI-3001. I've been trying to log this character in for 30 minutes prior to posting this in case it was a fluke error.

So, who's got the answer for me? Am I going to have to uninstall everything associated with this and reinstall?

soulsin
Posts: 102
Joined: Sun Mar 17, 2013 9:06 am

Re: Log-in Problems

Post by soulsin » Tue Mar 31, 2015 9:26 am

If you did follow the setup guide to make your server you should be fine unless you missed small step. I have seen that error when session data didn't exit right when logging out, If give few mins before logging back in it might fix that. If you have try that then may be something else with your IP setup maybe. Have you try connect local and see if that worked?
[GM] Soulsin

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

Re: Log-in Problems

Post by kjLotus » Tue Mar 31, 2015 9:43 am

if you're on linux there may be a problem with the current build, i won't be able to look at it until late tonight though

Xaver_Entropia
Posts: 2
Joined: Mon May 06, 2013 6:03 am

Re: Log-in Problems

Post by Xaver_Entropia » Tue Mar 31, 2015 2:06 pm

I have the same problem as him.

I updated the client today and did a complete pull of the code and did a clean database.
No problem with creating an account or a character but logging in is imposible.

One thing i noticed is that the minimun client version ends in _3 but mine is _5 but i cant tell if that has anything to do with it

Desufire
Posts: 162
Joined: Sun Feb 22, 2015 2:58 am

Re: Log-in Problems

Post by Desufire » Tue Mar 31, 2015 6:12 pm

soulsin wrote:If you did follow the setup guide to make your server you should be fine unless you missed small step. I have seen that error when session data didn't exit right when logging out, If give few mins before logging back in it might fix that. If you have try that then may be something else with your IP setup maybe. Have you try connect local and see if that worked?
Now it. I waited and still nothing.
kjLotus wrote:if you're on linux there may be a problem with the current build, i won't be able to look at it until late tonight though
Running on Windows 7 Professional.

I just find it odd that I had it running perfect for about 2 weeks. Me and 2 friends were on and tested everything. Then when we agree that we're ok to start bringing people in, I do an update and now it's acting up. So frustrating.

I've decided to just go ahead and uninstall/delete everything associated with this. Then I'll start all over. See if this'll work.

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

Re: Log-in Problems

Post by kjLotus » Tue Mar 31, 2015 6:22 pm

if you updated like yesterday/today, it's on our end, stay tuned

Xaver_Entropia
Posts: 2
Joined: Mon May 06, 2013 6:03 am

Re: Log-in Problems

Post by Xaver_Entropia » Tue Mar 31, 2015 6:25 pm

... this may be a shot in the dark but... were is src/map/packets/basic.cpp?
Was it removed on purpose?

Edit: So... yup, probably was, just checked the last commits and saw the "Packet base class refactoring"...

Im do not know the code enough to make any more blind guesses

Delaide
Posts: 478
Joined: Sat Jun 14, 2014 8:58 am

Re: Log-in Problems

Post by Delaide » Tue Mar 31, 2015 8:55 pm

Yes, it was removed, and most of the code was changed or moved to other cpp files.
You can see it in this pull: https://github.com/DarkstarProject/dark ... e9bd5043e6

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

Re: Log-in Problems

Post by kjLotus » Tue Mar 31, 2015 9:43 pm

Xaver_Entropia wrote:... this may be a shot in the dark but... were is src/map/packets/basic.cpp?
Was it removed on purpose?

Edit: So... yup, probably was, just checked the last commits and saw the "Packet base class refactoring"...

Im do not know the code enough to make any more blind guesses
if you build in linux and a cpp file is added or deleted, you have to run autogen again before make

Desufire
Posts: 162
Joined: Sun Feb 22, 2015 2:58 am

Re: Log-in Problems

Post by Desufire » Tue Mar 31, 2015 10:03 pm

Okay, I thought I was going crazy. Thank you Kj. So has everything been fixed or should I keep an eye on the git for info?

Post Reply