Added more guild features, fixed re-joining chat channels on relog

Changed guilds to be saved to a TreeMap instead of solely the SWGSet.
Fixed uses string
Added UnknownAbilityPacket (was sent for every new ability, doesnt seem
to do anything)
Lots of guild improvement/features added.
This commit is contained in:
Waverunner
2014-05-29 13:51:40 -04:00
parent ce88128c2d
commit 45c91104e0
17 changed files with 592 additions and 264 deletions
+4 -3
View File
@@ -811,13 +811,14 @@ public class SimulationService implements INetworkDispatch {
core.mountService.storeAll(object);
/*for (Integer roomId : ghost.getJoinedChatChannels()) { // TODO: Fix Concurrency error
List<Integer> joinedChannels = ghost.getJoinedChatChannels();
for (Integer roomId : joinedChannels) {
ChatRoom room = core.chatService.getChatRoom(roomId.intValue());
if (room != null) { core.chatService.leaveChatRoom(object, roomId.intValue()); }
if (room != null) { core.chatService.leaveChatRoom(object, roomId.intValue(), false); }
// work-around for any channels that may have been deleted, or only spawn on server startup, that were added to the joined channels
else { ghost.removeChannel(roomId); }
}*/
}
/*
object.createTransaction(core.getCreatureODB().getEnvironment());
core.getCreatureODB().put(object, Long.class, CreatureObject.class, object.getTransaction());