EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bug Reports (https://www.eqemulator.org/forums/forumdisplay.php?f=591)
-   -   NPCSpawnDB size problem (https://www.eqemulator.org/forums/showthread.php?t=28867)

mixxit 07-12-2009 07:30 AM

NPCSpawnDB size problem
 
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!


All times are GMT -4. The time now is 12:23 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.