mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
remove some packets from being sent at login
This commit is contained in:
parent
5d82a6e426
commit
5093d6c745
@ -73,9 +73,7 @@ public class SecureLoginEvent extends MessageHandler {
|
||||
|
||||
if (sso.isEmpty()) {
|
||||
Emulator.getGameServer().getGameClientManager().disposeClient(this.client);
|
||||
if (Emulator.getConfig().getBoolean("debug.mode")) {
|
||||
LOGGER.warn("Client is trying to connect without SSO ticket! Closed connection...");
|
||||
}
|
||||
LOGGER.debug("Client is trying to connect without SSO ticket! Closed connection...");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -146,16 +144,9 @@ public class SecureLoginEvent extends MessageHandler {
|
||||
this.client.sendResponses(messages);
|
||||
|
||||
//Hardcoded
|
||||
this.client.sendResponse(new NewNavigatorSettingsComposer(this.client.getHabbo().getHabboStats().navigatorWindowSettings));
|
||||
this.client.sendResponse(new NewNavigatorMetaDataComposer());
|
||||
this.client.sendResponse(new NewNavigatorLiftedRoomsComposer());
|
||||
this.client.sendResponse(new NewNavigatorCollapsedCategoriesComposer());
|
||||
this.client.sendResponse(new NewNavigatorSavedSearchesComposer(this.client.getHabbo().getHabboInfo().getSavedSearches()));
|
||||
this.client.sendResponse(new NewNavigatorEventCategoriesComposer());
|
||||
this.client.sendResponse(new InventoryRefreshComposer());
|
||||
this.client.sendResponse(new InventoryRefreshComposer());// can we remove this too??
|
||||
//this.client.sendResponse(new ForumsTestComposer());
|
||||
this.client.sendResponse(new InventoryAchievementsComposer());
|
||||
this.client.sendResponse(new AchievementListComposer(this.client.getHabbo()));
|
||||
|
||||
ModToolSanctions modToolSanctions = Emulator.getGameEnvironment().getModToolSanctions();
|
||||
|
||||
|
@ -12,6 +12,5 @@ public class RequestNewNavigatorDataEvent extends MessageHandler {
|
||||
this.client.sendResponse(new NewNavigatorCollapsedCategoriesComposer());
|
||||
this.client.sendResponse(new NewNavigatorSavedSearchesComposer(this.client.getHabbo().getHabboInfo().getSavedSearches()));
|
||||
this.client.sendResponse(new NewNavigatorEventCategoriesComposer());
|
||||
this.client.sendResponse(new NewNavigatorSettingsComposer(this.client.getHabbo().getHabboStats().navigatorWindowSettings));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user