xSend xSend  • 05.01.16 12:23

Como fixar Super Wired Azure 2.0.100 Empty Como fixar Super Wired Azure 2.0.100 05.01.16 12:23

Print de meu erro: NS

Qual é meu erro: Como fixar Super Wired Azure 2.0.100

CMS Que estou utilizando: Nel cms

SWF que estou utilizando: Wual r10 Edit

Versão de meu hotel: NewCrypto

Se escolheu outros, especifique: Texto aqui

Comentários adicionais: Opa,queria saber como fixa esse super wired,e como posso por pull,push e enable pra user(não é na permission_ranks)

iJhefeX iJhefeX  • 05.01.16 12:48

Como fixar Super Wired Azure 2.0.100 Empty Re: Como fixar Super Wired Azure 2.0.100 05.01.16 12:48

Fix para os supers wireds (o de dar emblema etc)
Solução por: DJGOMEZV
Execute este código SQL em sua database:

Código:
ALTER tab[b][/b]le `permissions_ranks` ADD `fuse_use_superwired` enum('0','1') NOT NULL DEFAULT '1';
ALTER tab[b][/b]le `permissions_ranks` ADD `fuse_any_rooms_rights` enum('0','1') NOT NULL DEFAULT '1';





Procure no projeto:
"Azure.Emulator/HabboHotel/Roles" por: "RoleManager.cs", abra ele e substitua todo o código dentro por esse:
Código:
#region

using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using Azure.Configuration;
using Azure.Database.Manager.Database.Session_Details.Interfaces;


#endregion


namespace Azure.HabboHotel.Roles
{
/// <summary>
/// Class RoleManager.
/// </summary>
internal class RoleManager
{
public Dictionary<string, int> CommandsList = new Dictionary<string, int>();
public Dictionary<string, int> PetCommandsList = new Dictionary<string, int>();
public Dictionary<uint, string> RankBadge = new Dictionary<uint, string>();
private Dictionary<uint, int> RankFlood = new Dictionary<uint, int>();
private Dictionary<uint, List<string>> RankPermissions = new Dictionary<uint, List<string>>();
private Dictionary<uint, List<string>> UserPermissions = new Dictionary<uint, List<string>>();


public void ClearPermissions()
{
this.RankBadge.Clear();
this.UserPermissions.Clear();
this.RankPermissions.Clear();
this.RankFlood.Clear();
}


public bool ContainsRank(uint Rank)
{
return this.RankPermissions.ContainsKey(Rank);
}


public bool ContainsUser(uint UserID)
{
return this.UserPermissions.ContainsKey(UserID);
}


public int FloodTime(uint RankId)
{
return this.RankFlood[RankId];
}


public List<string> GetRightsForHabbo(uint UserID, uint Rank)
{
List<string> list = new List<string>();
if (this.ContainsUser(UserID))
{
return this.UserPermissions[UserID];
}
return this.RankPermissions[Rank];
}


public void LoadRights(IQueryAdapter dbClient)
{
this.ClearPermissions();
dbClient.SetQuery("SELECT * FROM ranks ORDER BY id DESC;");
DataTable tab[b][/b]le = dbClient.GetTable();
if (tab[b][/b]le != null)
{
foreach (DataRow row in tab[b][/b]le.Rows)
{
this.RankBadge.Add((uint)row["id"], row["badgeid"].ToString());
}
}
dbClient.SetQuery("SELECT * FROM permissions_ranks ORDER BY rank DESC;");
tab[b][/b]le = dbClient.GetTable();
if (tab[b][/b]le != null)
{
foreach (DataRow row3 in tab[b][/b]le.Rows)
{

}
foreach (DataRow row in tab[b][/b]le.Rows)
{
this.RankFlood.Add((uint)row["rank"], (int)row["floodtime"]);


List<string> list = new List<string>();
if (AzureEmulator.EnumToBool(row["support_tool"].ToString()))
{
list.Add("support_tool");
}
if (AzureEmulator.EnumToBool(row["ambassadeur"].ToString()))
{
list.Add("ambassadeur");
}
if (AzureEmulator.EnumToBool(row["moderator"].ToString()))
{
list.Add("moderator");
}
if (AzureEmulator.EnumToBool(row["manager"].ToString()))
{
list.Add("manager");
}
if (AzureEmulator.EnumToBool(row["admin"].ToString()))
{
list.Add("admin");
}
if (AzureEmulator.EnumToBool(row["staff_chat"].ToString()))
{
list.Add("staff_chat");
}
if (AzureEmulator.EnumToBool(row["user_is_staff"].ToString())
Ou Clique aqui para ver o tutorial desse e de mais erros.


Última edição por iJhefeX em 05.01.16 13:27, editado 3 vez(es)

xSend xSend  • 05.01.16 13:22

Como fixar Super Wired Azure 2.0.100 Empty Re: Como fixar Super Wired Azure 2.0.100 05.01.16 13:22

Este código está incompleto .-.

iJhefeX iJhefeX  • 05.01.16 13:29

Como fixar Super Wired Azure 2.0.100 Empty Re: Como fixar Super Wired Azure 2.0.100 05.01.16 13:29

@xSend se o código estiver incompleto é por que no próprio site está incompleto Legal hein

xSend xSend  • 05.01.16 13:44

Como fixar Super Wired Azure 2.0.100 Empty Re: Como fixar Super Wired Azure 2.0.100 05.01.16 13:44

Mas eu tenho o completo ;-; mais n funfa do mesmo jeito

The Flash The Flash  • 07.01.16 11:07

Como fixar Super Wired Azure 2.0.100 Empty Re: Como fixar Super Wired Azure 2.0.100 07.01.16 11:07

[aviso=Como fixar Super Wired Azure 2.0.100 H5W0zbq] O autor do tópico possui 24 horas para informar se a questão foi resolvida! [/aviso]

The Flash The Flash  • 08.01.16 16:47

Como fixar Super Wired Azure 2.0.100 Empty Re: Como fixar Super Wired Azure 2.0.100 08.01.16 16:47

Fechado.
Prazo encerrado.
Permissões neste sub-fórum
Não podes responder a tópicos

BH Servers

Recomendamos a BH Servers com proteção DDOS gratuita em Cloud Server de alta performance. Entrega imediata.