Content Crashing Clients
- John Adams
- Retired
- Posts: 4583
- Joined: Wed Aug 28, 2013 9:40 am
- Location: Phoenix, AZ.
- Contact:
Content Crashing Clients
I ran into our first scenario where poorly parsed raw data is affecting the client in an annoying manner. I have been popping spawns all day, running to them to investigate and tweaking the Migration tools, over and over. Just now, I came across "Homeless Villager" and at first I had no idea why this 1 spawn entering my view was crashing my client.
Turns out, it's gender = 99, and that seems to crash the client. I changed the gender to 0, 1, and 2 and all was fine. Anything else, crash. I see in our raw data quite a few Gender values (0,1,2,10,12,15,27,33,37,73,99,108,129,131,164,200,204,246) so I will add a check in the migration to set it to 0 if it's not 0, 1 or 2.
If anyone is aware of a reason a Gender should not be 0, 1 or 2, let me know before I neuter someone accidentally.
Turns out, it's gender = 99, and that seems to crash the client. I changed the gender to 0, 1, and 2 and all was fine. Anything else, crash. I see in our raw data quite a few Gender values (0,1,2,10,12,15,27,33,37,73,99,108,129,131,164,200,204,246) so I will add a check in the migration to set it to 0 if it's not 0, 1 or 2.
If anyone is aware of a reason a Gender should not be 0, 1 or 2, let me know before I neuter someone accidentally.
-
TigerTiger
- Posts: 99
- Joined: Mon Oct 28, 2013 2:14 pm
Re: Content Crashing Clients
There might be a gender for Zombie. When playing around (either using the built in editor or a hex editor), sometimes my character would be a generic zombie no matter if the real race was raki/kura/human. The game would also crash shortly after I became a zombie if I attempted further edits.