Client crash on player creation

Moderator: POL Developer

Locked
User avatar
Sadahar
Adept Poster
Posts: 81
Joined: Mon Dec 03, 2007 11:15 am

Client crash on player creation

Post by Sadahar » Sat Apr 04, 2009 10:41 am

Client: 6.0.13
When I create a new character everything is done allright but client freezes.
If I try out any older version like 5.0.9.1 its ok, there is no crash.
Maybe a core 'bug'?

MuadDib
Former Developer
Posts: 1090
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Re: Client crash on player creation

Post by MuadDib » Sat Apr 04, 2009 11:28 am

Report this on the bug tracker.

It's a client support issue more than likely, rather than a core bug. But we can look into it in 099 if you post it to the bug tracker for us.

Tomi
POL Developer
Posts: 477
Joined: Tue Feb 21, 2006 5:08 pm

Re: Client crash on player creation

Post by Tomi » Sat Apr 04, 2009 11:57 am

this is weird because I have been using client 6.0.13.0 already for a while now and never had problems like that

guniu
New User
Posts: 6
Joined: Sat Nov 29, 2008 11:50 am

Re: Client crash on player creation

Post by guniu » Sat Apr 04, 2009 2:53 pm

I have the same problem, just tested on RC2 and narrowed it down.
It doesn't happen on 6.0.1.6 but does on 6.0.1.7, so looked closer, and found that it's because core sends 0x25 packet (Add item to container) like it was <6.0.1.7 client (without grid index), that's why it hangs up. (and (found later) sends it because my oncreate script creates robe in characters backpack)
Tested it with 0x25 packethook, and uopacket.cfg entries like this...:

Code: Select all

Packet 0x25
{
  Length           21
  SendFunction     update:AddContainerItem
  Is6017           1
}
... didn't launch the "AddContainerItem" function (using 6.0.1.7 client), but this launched:

Code: Select all

Packet 0x25
{
  Length           20
  SendFunction     update:AddContainerItem
  Is6017           0
}
So it looks like core bug, cuz it doesn't recognise client version on char creation.
The simplest way to quick resolve it for now (if ur only using clients >=6.0.1.7) is to hook that packet, with uopacket.cfg:

Code: Select all

Packet 0x25
{
  Length           21
  SendFunction     update:AddContainerItem
}
And in the exported function "AddContainerItem" just return 0; - works for me.

MuadDib
Former Developer
Posts: 1090
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Re: Client crash on player creation

Post by MuadDib » Tue Apr 07, 2009 8:34 pm

Although this needs to be in the bug tracker.... not here anymore :P

Code: Select all

04-05-2009 MuadDib:
    Changed: Keys/Seeds for packets 0x8C sent by LoginServer. 6.0.1.7 to 6.0.4.0, I don't recommend using at all.
                 0xFEFEFEFC = UOKR Client
                 0XFEFEFEFD = 6050+ 2D Client
                 0xFEFEFEFE = Normal 2D client (pre-6.0.5.0 client)
	Note:    Change to keys is for passing these details from Loginserver to Gameserver during loginprocess.
	         Clients disconnect from LoginServer and Connect to Gameserver. This is the easiest method for
	         identifying the client type connecting to your game server since versions are handled to decide
	         this on the loginserver connection.

Locked