From: Anders R. <ma...@us...> - 2003-08-03 12:25:24
|
Update of /cvsroot/planeshift/planeshift/src/server/bulkobjects In directory sc8-pr-cvs1:/tmp/cvs-serv4344/src/server/bulkobjects Modified Files: pscharacter.cpp psguildinfo.cpp Log Message: Removed some more errors in the guild system. Still a lot of things not working. /guildremove YourPlayer, logout, login /newguild BlaBla dosn't work. Index: pscharacter.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/bulkobjects/pscharacter.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** pscharacter.cpp 31 Jul 2003 18:32:27 -0000 1.12 --- pscharacter.cpp 3 Aug 2003 12:25:17 -0000 1.13 *************** *** 120,124 **** psCharacter::~psCharacter() { ! guildinfo->Disconnect(this); if (exchangeMgr.IsValid()) --- 120,124 ---- psCharacter::~psCharacter() { ! if (guildinfo) guildinfo->Disconnect(this); if (exchangeMgr.IsValid()) Index: psguildinfo.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/bulkobjects/psguildinfo.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** psguildinfo.cpp 26 Jul 2003 23:26:55 -0000 1.1 --- psguildinfo.cpp 3 Aug 2003 12:25:20 -0000 1.2 *************** *** 141,145 **** ! if (db->Command("insert into guilds (name,player_founder,date_created) " "values ('%s', %d, Now() )", guildEsc,leader_char_id) != 1) --- 141,145 ---- ! if (db->Command("insert into guilds (name,char_id_founder,date_created) " "values ('%s', %d, Now() )", guildEsc,leader_char_id) != 1) |