Log in

View Full Version : NPCSpawnDB size problem


mixxit
07-12-2009, 07:30 AM
snprintf(tmpstr, sizeof(tmpstr), "%s%s%i", zone, spawn->GetName(),Timer::GetCurrentTime());

This creates a string that is too long for the spawngroups name field (30) and fails to produce the spawn for a GM

cavedude
07-12-2009, 01:40 PM
Update your database, I changed the name column to be 50 length ages ago. That's assuming you're using PEQ.

mixxit
07-13-2009, 02:14 PM
that's great thanks!