MinCmdlevelToLogin

Report core bugs regarding the Ultima Online Emulator Core release (version 097). You can attach your Core Dump. One bug per post.

Moderator: POL Developer

Locked
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

MinCmdlevelToLogin

Post by OldnGrey »

POL 097 rc3
On a test server set in pol.cfg:
MinCmdlevelToLogin=5
(also tried MinCmdlevelToLogin=1)

Then try to logon as a player, ie cmdlevel 0.

Exception and crash in pol with no error cause in the logs or on console.
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Re: MinCmdlevelToLogin

Post by OldnGrey »

I still get this problem.
MinCmdlevelToLogin=1
will cause a pol crash when I logon even with cmdlevel 5.
coltain
Grandmaster Poster
Posts: 159
Joined: Tue Mar 20, 2007 7:17 am
Location: Poland

Re: MinCmdlevelToLogin

Post by coltain »

I have it too
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Re: MinCmdlevelToLogin

Post by Pierce »

I don't know from which date rc3 was, but i tried this on the the latest release
POL097-2008-09-01 and it didn't crash. Perhaps you could use this core to avoid the problem.
It's really stable, i never had a crash on the live shard since this one gone public.
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Re: MinCmdlevelToLogin

Post by OldnGrey »

I am using the latest core.
Strangely enough it's not hard to script so I'm not bothered.

I am wondering if it's one of the packethooks doing it to me as it was the last script that was run before it did a stack backtrace.
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Re: MinCmdlevelToLogin

Post by Pierce »

Strange. Sounds a bit like a bug we had since pol 94. But more vice versa.
When a player connects at a certain point when the server was started,
pol crashes. We never found that specific point, so we set for the first
20 min. after server start the MinCmdlevelToLogin=2 and after that time
back to zero to avoid that crash.
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Re: MinCmdlevelToLogin

Post by MuadDib »

still going on or what? hehe
coltain
Grandmaster Poster
Posts: 159
Joined: Tue Mar 20, 2007 7:17 am
Location: Poland

Re: MinCmdlevelToLogin

Post by coltain »

Ups, I did it again...

with a dmp file this time ;p
Attachments
POL097.1-2008-12-08 Coregina-20081221103551-0.dmp
MinCmdLevelToLogon dmp file
(35.14 KiB) Downloaded 348 times
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Re: MinCmdlevelToLogin

Post by MuadDib »

This dump file is pointing to an exported packet hook function.I can say it is a Variable Length Packet. Do you hook the 0x82 packet by chance? (Login Denied) ? Just curious.......
coltain
Grandmaster Poster
Posts: 159
Joined: Tue Mar 20, 2007 7:17 am
Location: Poland

Re: MinCmdlevelToLogin

Post by coltain »

Yes, I do. I hooked it when I tried to use uogateway and totaly forgot about it.

I disabled it right a way.

Later I post the result.
Nando
POL Developer
Posts: 282
Joined: Wed Sep 17, 2008 6:53 pm
Contact:

Re: MinCmdlevelToLogin

Post by Nando »

Any news, coltain?
coltain
Grandmaster Poster
Posts: 159
Joined: Tue Mar 20, 2007 7:17 am
Location: Poland

Re: MinCmdlevelToLogin

Post by coltain »

It`s ok. Works as it should be.

Tested it for a week with players online, without players, players trying to connect... in every way.

Thx for a advice.
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Re: MinCmdlevelToLogin

Post by OldnGrey »

Spot on MuadDib.
I still had Shinigami's UOGateway packetinfo hook enabled that hooks 0x82 SendFunction.

Removed and MinCmdlevelToLogin works as expected now.
I am not sure if this means there is still a core bug or that hooking 0x82 should be avoided.

Now what the heck does "The IGR time limit has been met" mean? That's the charming message you get when you can't logon with a v5 client. Suddenly that other conversation about the new uoexpansions comes to mind.
coltain
Grandmaster Poster
Posts: 159
Joined: Tue Mar 20, 2007 7:17 am
Location: Poland

Re: MinCmdlevelToLogin

Post by coltain »

Is there a way to check if there is a IGR status ??? I would like to add this info to www to check it.
Nando
POL Developer
Posts: 282
Joined: Wed Sep 17, 2008 6:53 pm
Contact:

Re: MinCmdlevelToLogin

Post by Nando »

What is IGR? I don't think it's supported by core.

The IGR timeout error is the MISC_ERROR value core uses. It's used for any case that's not a wrong password, etc. Is there a better error to use in these cases?
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Re: MinCmdlevelToLogin

Post by MuadDib »

I'll look over this script real quick (should still be in Custom Script Releases)
User avatar
CWO
POL Expert
Posts: 1158
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA

Re: MinCmdlevelToLogin

Post by CWO »

IGR is just a leftover thing in the client. According to EA, its not even used on the official shards anymore.

http://support.ea.com/cgi-bin/ea.cfg/ph ... faqid=1588
Locked