Log in

View Full Version : Slow Mitigation issue


Cassieze
05-02-2014, 12:06 AM
So I am having an issue where if I am in game and I do #spawn blablabla then #npcspawn create the mob does not get loaded with Slow Mitigation Data so when I repop the zone to have the correct mob in, the game crashes.

Any ideas?

I've sourced in 2014_04_12_SlowMitigation.sql

When I filled in the slow_mitigation in the npc_types table the zone repopped just fine.

Thanks

lerxst2112
05-02-2014, 03:18 AM
The client crashes or the zone crashes? I assume you mean the zone, so you should look in the logs for the stack trace.

Kayen
05-02-2014, 11:16 PM
When implementing that I changed the variable from FLOAT to INT.

I am guessing it is still trying to store it as a float when using gm commands to spawn / create new npcs.

Cassieze
05-03-2014, 04:47 PM
Yes the zone crashes, I can still move around in game but then it kicks me out after about a minute which I dont bother waiting for.

It does print out a zone debug file.

in the npc_types table the slow mitigation for the new mob is Null rather than 0 like pretty much everything else in the table.

What do I do to reverse this change or update the commands?

Kayen
05-04-2014, 12:54 AM
Just run this to fix the null issue

ALTER TABLE npc_types MODIFY slow_mitigation smallint(4) NOT NULL DEFAULT '0';

Cassieze
05-04-2014, 01:56 AM
This worked just fine Kayen thank you