Try to edit with command :floor ;)
It's not 100%(i'm trying to fix some stuffs)
:floor is loaded on the client itself actually, no need to create a command for it in the emulator.
22-05-14
cabeludo007
Re: [PlusEmuR2]Floor Command - Fix it Yourself!
Quote:
Originally Posted by The General
:floor is loaded on the client itself actually, no need to create a command for it in the emulator.
i know that. '-'
08-06-14
tehDrunk
Re: [PlusEmuR2]Floor Command - Fix it Yourself!
Theres a bug, If someone edit in "TEXT" something like:
xxxxxxxxxxxxxxxxx
x000000000000000x
xz00nejnefjnfj00000x
x000000000000000x
x000000000000000x
xxxxxxxxxxxxxxxxx
He glitch all the room_models and you need to delete his model. It also turn unable to other users edit the room...
Theres any fix for?
09-06-14
Giovani Gheller
Re: [PlusEmuR2]Floor Command - Fix it Yourself!
When I click the save button, say Este comando solo esta disponible para Custom TODOPODEROSO!. What?
09-06-14
tehDrunk
Re: [PlusEmuR2]Floor Command - Fix it Yourself!
Quote:
Originally Posted by Giovani Gheller
When I click the save button, say Este comando solo esta disponible para Custom TODOPODEROSO!. What?
This is your emulator config. I suggest to dont able the command for users, there's a bug in letters and if one user type any letter except "x, j, z" it will makes room_model bug
09-06-14
Giovani Gheller
Re: [PlusEmuR2]Floor Command - Fix it Yourself!
Quote:
Originally Posted by tehDrunk
This is your emulator config. I suggest to dont able the command for users, there's a bug in letters and if one user type any letter except "x, j, z" it will makes room_model bug
Ok, thanks :)
10-06-14
Matata
Re: [PlusEmuR2]Floor Command - Fix it Yourself!
Quote:
Originally Posted by tehDrunk
Theres a bug, If someone edit in "TEXT" something like:
xxxxxxxxxxxxxxxxx
x000000000000000x
xz00nejnefjnfj00000x
x000000000000000x
x000000000000000x
xxxxxxxxxxxxxxxxx
He glitch all the room_models and you need to delete his model. It also turn unable to other users edit the room...
Theres any fix for?
If the Regex libary isn't imported then make sure to do it.
SilverwaveEnvironment.GetGame().GetRoomManager().LoadModels(dbClient);
SilverwaveEnvironment.GetGame().GetRoomManager().UnloadRoom(room);
return true;
}
}
else
{
return false;
}
}
private string fixDoorZ(string doorZ)
{
switch (doorZ)
{
case "1":
case "2":
case "3":
case "4":
case "5":
case "6":
case "7":
case "8":
case "9":
case "0":
return doorZ;
default:
return "0";
}
}
Edit:
Just realized that this probably doesn't work due to linebreaks. If anyone want to update the regex to support it, then do it.
I've never used Regex before, so I don't know how to.
SilverwaveEnvironment.GetGame().GetRoomManager().LoadModels(dbClient);
SilverwaveEnvironment.GetGame().GetRoomManager().UnloadRoom(room);
return true;
}
}
else
{
return false;
}
}
private string fixDoorZ(string doorZ)
{
switch (doorZ)
{
case "1":
case "2":
case "3":
case "4":
case "5":
case "6":
case "7":
case "8":
case "9":
case "0":
return doorZ;
default:
return "0";
}
}
Edit:
Just realized that this probably doesn't work due to linebreaks. If anyone want to update the regex to support it, then do it.
I've never used Regex before, so I don't know how to.
This gonna fix the bug?
15-06-14
Matata
Re: [PlusEmuR2]Floor Command - Fix it Yourself!
Quote:
Originally Posted by tehDrunk
This gonna fix the bug?
No, due to the fact that the regex doesn't understand the linebreaks.
16-06-14
Genex
Re: [PlusEmuR2]Floor Command - Fix it Yourself!
but i use custom edit (remake of plus r2) and when i use the :floor command It tells me that the command is not activated yet... How may I make to deactivate it ?
I use a translator ....................................................