using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using Plus.HabboHotel.Rooms;
using Plus.HabboHotel.Navigator;
using Plus.HabboHotel.GameClients;
namespace Plus.Communication.Packets.Outgoing.Navigator
{
class NavigatorSearchResultSetComposer : ServerPacket
{
public NavigatorSearchResultSetComposer(string Category, string Data, ICollection<SearchResultList> SearchResultLists, GameClient Session, int GoBack = 1, int FetchLimit = 12)
: base(ServerPacketHeader.NavigatorSearchResultSetMessageComposer)
{
base.WriteString(Category);//Search code.
base.WriteString(Data);//Text?
base.WriteInteger(SearchResultLists.Count);//Count
foreach (SearchResultList SearchResult in SearchResultLists.ToList())
{
base.WriteString(SearchResult.CategoryIdentifier);
base.WriteString(SearchResult.PublicName);
base.WriteInteger(NavigatorSearchAllowanceUtility.GetIntegerValue(SearchResult.SearchAllowance) != 0 ? GoBack : NavigatorSearchAllowanceUtility.GetIntegerValue(SearchResult.SearchAllowance));//0 = nothing, 1 = show more, 2 = back Action allowed.
base.WriteBoolean(false);//True = minimized, false = open.
base.WriteInteger(SearchResult.ViewMode == NavigatorViewMode.REGULAR ? 0 : SearchResult.ViewMode == NavigatorViewMode.THUMBNAIL ? 1 : 0);//View mode, 0 = tiny/regular, 1 = thumbnail
NavigatorHandler.Search(this, SearchResult, Data, Session, FetchLimit);
}
}
}
}
Hey man, i've switched to arcturus as I got it working with revcms.Replace it with this and debug it and see if it works.
Code:using System; using System.Linq; using System.Text; using System.Collections.Generic; using Plus.HabboHotel.Rooms; using Plus.HabboHotel.Navigator; using Plus.HabboHotel.GameClients; namespace Plus.Communication.Packets.Outgoing.Navigator { class NavigatorSearchResultSetComposer : ServerPacket { public NavigatorSearchResultSetComposer(string Category, string Data, ICollection<SearchResultList> SearchResultLists, GameClient Session, int GoBack = 1, int FetchLimit = 12) : base(ServerPacketHeader.NavigatorSearchResultSetMessageComposer) { base.WriteString(Category);//Search code. base.WriteString(Data);//Text? base.WriteInteger(SearchResultLists.Count);//Count foreach (SearchResultList SearchResult in SearchResultLists.ToList()) { base.WriteString(SearchResult.CategoryIdentifier); base.WriteString(SearchResult.PublicName); base.WriteInteger(NavigatorSearchAllowanceUtility.GetIntegerValue(SearchResult.SearchAllowance) != 0 ? GoBack : NavigatorSearchAllowanceUtility.GetIntegerValue(SearchResult.SearchAllowance));//0 = nothing, 1 = show more, 2 = back Action allowed. base.WriteBoolean(false);//True = minimized, false = open. base.WriteInteger(SearchResult.ViewMode == NavigatorViewMode.REGULAR ? 0 : SearchResult.ViewMode == NavigatorViewMode.THUMBNAIL ? 1 : 0);//View mode, 0 = tiny/regular, 1 = thumbnail NavigatorHandler.Search(this, SearchResult, Data, Session, FetchLimit); } } } }
All you had to do was add in your external variables
Navigator.searchcode....=Search
Or whatever u wanted it to say.
External Flash Texts*Thats not in the external vars?