$_CONFIG['hotel']['external_vars'] = 'http://localhost/swf/gamedata/external_variables.txt'; //URL to your external vars
$_CONFIG['hotel']['external_texts'] = 'http://localhost/swf/gamedata/external_flash_texts.txt'; //URL to your external texts
$_CONFIG['hotel']['product_data'] = 'http://localhost/swf/gamedata/productdata.txt'; //URL to your productdata
$_CONFIG['hotel']['furni_data'] = 'http://localhost/swf/gamedata/furnidata.xml'; //URL to your furnidata
$_CONFIG['hotel']['swf_folder'] = 'http://localhost/swf/gordon/PRODUCTION-201601012205-226667486'; //URL to your SWF folder(does not end with a '/')
/*
*
* Templating management - Pick one of our default styles or make yours by following our examples!
*
*/
#RevCMS has 2 default styles, 'Mango' by dannyy94 and 'Priv' by joopie - Others styles are to come, such as RastaLulz's ProCMS style and Nominal's PhoenixCMS 4.0 style.
$_CONFIG['hotel']['external_vars'] = 'http://localhost/swf/gamedata/external_variables.txt'; //URL to your external vars
$_CONFIG['hotel']['external_texts'] = 'http://localhost/swf/gamedata/external_flash_texts.txt'; //URL to your external texts
$_CONFIG['hotel']['product_data'] = 'http://localhost/swf/gamedata/productdata.txt'; //URL to your productdata
$_CONFIG['hotel']['furni_data'] = 'http://localhost/swf/gamedata/furnidata.xml'; //URL to your furnidata
$_CONFIG['hotel']['swf_folder'] = 'http://localhost/swf/gordon/PRODUCTION-201601012205-226667486'; //URL to your SWF folder(does not end with a '/')
/*
*
* Templating management - Pick one of our default styles or make yours by following our examples!
*
*/
#RevCMS has 2 default styles, 'Mango' by dannyy94 and 'Priv' by joopie - Others styles are to come, such as RastaLulz's ProCMS style and Nominal's PhoenixCMS 4.0 style.
Shame on you, huh? What do you want to change the emulator credits? It seems hardly knows mess with alerts, just imagine with all his structure, and still want to remove the credits and do another renaming, unnecessary, it is better simply disable the about if don't want to show the credits.
I saw a lot of people wanting a better event alert, so I decided to post my for you... :love:
Go to: HabboHotel/Rooms/Chat/Commands/Events and open the EventAlertCommand.cs
Replace all by this:
Code:
using Plus.Communication.Packets.Outgoing.Rooms.Notifications;
using Plus.HabboHotel.GameClients;
namespace Plus.HabboHotel.Rooms.Chat.Commands.Events
{
internal class EventAlertCommand : IChatCommand
{
public string PermissionRequired
{
get
{
return "command_event_alert";
}
}
public string Parameters
{
get
{
return "%message%";
}
}
public string Description
{
get
{
return "Send a hotel alert for your event!";
}
}
public void Execute(GameClient Session, Room Room, string[] Params)
{
if (Session != null)
{
if (Room != null)
{
if (Params.Length == 1)
{
Session.SendWhisper("Please enter a message to send.");
return;
}
else
{
string Message = CommandManager.MergeParams(Params, 1);
PlusEnvironment.GetGame().GetClientManager().SendMessage(new RoomNotificationComposer("Está acontecendo um evento!",
"O Staff <b>" + Session.GetHabbo().Username +
"</b> está promovendo um evento no quarto dele. <br>O nome do evento é: <b>" + Message +
"</b> <br>Para participar, clique no botão abaixo:",
"events", "Participe agora mesmo!", "event:navigator/goto/" + Session.GetHabbo().CurrentRoomId));
}
}
}
}
/*public void Execute(GameClient Session, Room Room, string[] Params)
{
if (Session != null)
{
if (Room != null)
{
if (Params.Length != 1)
{
Session.SendWhisper("Invalid command! :eventalert", 0);
}
else if (!PlusEnvironment.Event)
{
PlusEnvironment.GetGame().GetClientManager().SendMessage(new BroadcastMessageAlertComposer(":follow " + Session.GetHabbo().Username + " for events! win prizes!\r\n- " + Session.GetHabbo().Username, ""), "");
PlusEnvironment.lastEvent = DateTime.Now;
PlusEnvironment.Event = true;
}
else
{
TimeSpan timeSpan = DateTime.Now - PlusEnvironment.lastEvent;
if (timeSpan.Hours >= 1)
{
PlusEnvironment.GetGame().GetClientManager().SendMessage(new BroadcastMessageAlertComposer(":follow " + Session.GetHabbo().Username + " for events! win prizes!\r\n- " + Session.GetHabbo().Username, ""), "");
PlusEnvironment.lastEvent = DateTime.Now;
}
else
{
int num = checked(60 - timeSpan.Minutes);
Session.SendWhisper("Event Cooldown! " + num + " minutes left until another event can be hosted.", 0);
}
}
}
}
}*/
}
}
Don't work?
Code:
INSERT INTO `permissions_commands` (command, group_id, subscription_id) VALUES ('command_event_alert', '4', '0')
Image don't work? Verify if "events" image are in notifications folder..
Translate to your language and be happy xD
14-01-16
Danny
re: Official PlusEMU - Help Thread
Quote:
Originally Posted by neto737
Shame on you, huh? What do you want to change the emulator credits? It seems hardly knows mess with alerts, just imagine with all his structure, and still want to remove the credits and do another renaming, unnecessary, it is better simply disable the about if don't want to show the credits.
I saw a lot of people wanting a better event alert, so I decided to post my for you... :love:
Go to: HabboHotel/Rooms/Chat/Commands/Events and open the EventAlertCommand.cs
Replace all by this:
Code:
using Plus.Communication.Packets.Outgoing.Rooms.Notifications;
using Plus.HabboHotel.GameClients;
namespace Plus.HabboHotel.Rooms.Chat.Commands.Events
{
internal class EventAlertCommand : IChatCommand
{
public string PermissionRequired
{
get
{
return "command_event_alert";
}
}
public string Parameters
{
get
{
return "%message%";
}
}
public string Description
{
get
{
return "Send a hotel alert for your event!";
}
}
public void Execute(GameClient Session, Room Room, string[] Params)
{
if (Session != null)
{
if (Room != null)
{
if (Params.Length == 1)
{
Session.SendWhisper("Please enter a message to send.");
return;
}
else
{
string Message = CommandManager.MergeParams(Params, 1);
PlusEnvironment.GetGame().GetClientManager().SendMessage(new RoomNotificationComposer("Está acontecendo um evento!",
"O Staff <b>" + Session.GetHabbo().Username +
"</b> está promovendo um evento no quarto dele. <br>O nome do evento é: <b>" + Message +
"</b> <br>Para participar, clique no botão abaixo:",
"events", "Participe agora mesmo!", "event:navigator/goto/" + Session.GetHabbo().CurrentRoomId));
}
}
}
}
/*public void Execute(GameClient Session, Room Room, string[] Params)
{
if (Session != null)
{
if (Room != null)
{
if (Params.Length != 1)
{
Session.SendWhisper("Invalid command! :eventalert", 0);
}
else if (!PlusEnvironment.Event)
{
PlusEnvironment.GetGame().GetClientManager().SendMessage(new BroadcastMessageAlertComposer(":follow " + Session.GetHabbo().Username + " for events! win prizes!\r\n- " + Session.GetHabbo().Username, ""), "");
PlusEnvironment.lastEvent = DateTime.Now;
PlusEnvironment.Event = true;
}
else
{
TimeSpan timeSpan = DateTime.Now - PlusEnvironment.lastEvent;
if (timeSpan.Hours >= 1)
{
PlusEnvironment.GetGame().GetClientManager().SendMessage(new BroadcastMessageAlertComposer(":follow " + Session.GetHabbo().Username + " for events! win prizes!\r\n- " + Session.GetHabbo().Username, ""), "");
PlusEnvironment.lastEvent = DateTime.Now;
}
else
{
int num = checked(60 - timeSpan.Minutes);
Session.SendWhisper("Event Cooldown! " + num + " minutes left until another event can be hosted.", 0);
}
}
}
}
}*/
}
}
Don't work?
Code:
INSERT INTO `permissions_commands` (command, group_id, subscription_id) VALUES ('command_event_alert', '4', '0')
Image don't work? Verify if "events" image are in notifications folder..
Translate to your language and be happy xD
Whats the function of this?
14-01-16
Spao123
re: Official PlusEMU - Help Thread
Quote:
Originally Posted by Danny
Whats the function of this?
It's for eventalert. How to edit the text in :commands?
14-01-16
Shifthotel
re: Official PlusEMU - Help Thread
Quote:
Originally Posted by neto737
Shame on you, huh? What do you want to change the emulator credits? It seems hardly knows mess with alerts, just imagine with all his structure, and still want to remove the credits and do another renaming, unnecessary, it is better simply disable the about if don't want to show the credits.
Do you saw my last message? I said that many people are renaming this emulator... and by my hotel are the credits still in te about so.. What's the problem?
Yes I know the problem, you are the problem because you just like the others that say immediately 'RENAME!!!'. If you think that okay... Go hate yourself??
14-01-16
Spao123
re: Official PlusEMU - Help Thread
I just saw that command goboom is not added. I just added "this.Register("goboom", new GoBoomCommand());" above "this.Register("globalgive", new GlobalGiveCommand());" and ran SQL query "INSERT INTO `permissions_commands` (`command`, `group_id`) VALUES ('command_goboom', '6')"
But here's a problem I can't find an answer for. I've tried using the normal port the emu runs off (30000) and it just loaded to 76% and didn't move. Then I tried the mus port just to see if it made any interaction and the above happened.
15-01-16
Vinny95
re: Official PlusEMU - Help Thread
Hello guys, i try to modify Soccer.cs for make that: