From: Keith F. <ven...@us...> - 2007-03-31 03:59:09
|
Update of /cvsroot/planeshift/planeshift/src/server/bulkobjects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8219/src/server/bulkobjects Modified Files: psnpcdialog.cpp Log Message: - Now npc's remember the last 64 things anyone said to them that they didn't understand, along with frequency. This is in addition to the npc_bad_text permanent record. The counters reset each restart, but will help Settings fix problems. - Now level 30 users (devs) can use "/badtext 1 10" to see the top 10 problem things players say, ranked by frequency. Index: psnpcdialog.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/bulkobjects/psnpcdialog.cpp,v retrieving revision 1.89 retrieving revision 1.90 diff -C2 -d -r1.89 -r1.90 *** psnpcdialog.cpp 23 Mar 2007 01:35:12 -0000 1.89 --- psnpcdialog.cpp 31 Mar 2007 03:59:07 -0000 1.90 *************** *** 316,319 **** --- 316,321 ---- Error2("Inserting npc_bad_text failed: %s",db->GetLastError() ); } + + self->AddBadText(text,trigger); // Save bad text in RAM cache so Settings can get at it easily in-game. } |