Re: [Service] Coding stuff for emulators based to Phoenix
Quote:
Originally Posted by
FlyHotel
Could you fix up the tents a bit? When you're inside the tent and move it or pick it up, it acts like you're still inside the tent and to one can see what you say until you unload the room.
I fixed pickup :) You can find new InteractorTent.cs from old post.
And moving fixed too...? I think
- - - Updated - - -
Quote:
Originally Posted by
shamike
Ye it will work but you need to do alots of work to convert it to gte
Nah :D It took me... 5 secound? I changed two class name to GoldTree and fixed two method name?
Code:
int petID = -1;
string petName = "";
if (Params.Length > 1)
{
if (!int.TryParse(Params[1], out petID))
{
if (!int.TryParse(GoldTreeEnvironment.GetExternalText("cmd_pet_petid_" + Params[1]), out petID))
{
petID = -1;
}
}
}
if (petID < -1)
{
Session.SendNotification("Pet ID/name was invalid!");
return true;
}
else
{
petName = GoldTreeEnvironment.GetExternalText("cmd_pet_petname_" + petID);
if (petName == "cmd_pet_petname_" + petID)
{
Session.SendNotification("Pet ID/name was invalid!");
return true;
}
}
Session.GetHabbo().PetData = petID + " 0 #fff";
Session.SendNotification("You're now a " + (!string.IsNullOrEmpty(petName) ? petName : "pet") + ". Please reload this room to apply this!");
return true;
Re: [Service] Coding stuff for emulators based to Phoenix
nice!
and how do i put it in my gte ? :)
which files do i have to edit in c#? :)
and what pets are aviable through this?
thanks!
Re: [Service] Coding stuff for emulators based to Phoenix
Quote:
Originally Posted by
Scresho
nice!
and how do i put it in my gte ? :)
which files do i have to edit in c#? :)
and what pets are aviable through this?
thanks!
Just follow shamike instructions but replace ChatCommandHandler.cs code with that, and you only edit texts table.
Format:
Identifiter | Diplay text
cmd_pet_petid_<pet name> | return pet it
cmd_pet_petname_<pet id> | return pet name
Example:
cmd_pet_petid_dog | 0
cmd_pet_petname_0 | dog
Re: [Service] Coding stuff for emulators based to Phoenix
Quote:
Originally Posted by
SuklaaVene
Just follow shamike instructions but replace ChatCommandHandler.cs code with that, and you only edit texts table.
Format:
Identifiter | Diplay text
cmd_pet_petid_<pet name> | return pet it
cmd_pet_petname_<pet id> | return pet name
Example:
cmd_pet_petid_dog | 0
cmd_pet_petname_0 | dog
but where do i have to put it in in the chatcommandhandler, because its not the full code :)
could you build it for me? with more commands and stuff if you have that? :)
because my visual c isnt working, my old harddrive crashed and i havent installed my pc again, because my licence key was from ebay and the key isnt valid anymore :D
Re: [Service] Coding stuff for emulators based to Phoenix
Quote:
Originally Posted by
Scresho
but where do i have to put it in in the chatcommandhandler, because its not the full code :)
could you build it for me? with more commands and stuff if you have that? :)
because my visual c isnt working, my old harddrive crashed and i havent installed my pc again, because my licence key was from ebay and the key isnt valid anymore :D
https://mega.co.nz/#!FUE0RASS!56gLab...XGSpkUIbPLA-jA
Re: [Service] Coding stuff for emulators based to Phoenix
Quote:
Originally Posted by
SuklaaVene
whats edited there?
just pets?
Thanks a lot dude
could you also upload the source for me?
Re: [Service] Coding stuff for emulators based to Phoenix
Quote:
Originally Posted by
Scresho
whats edited there?
just pets?
Thanks a lot dude
could you also upload the source for me?
Pets + Tents
Source: https://mega.co.nz/#!IEt0xSpJ!v63FAl..._LHuAShy3UIQEo
Re: [Service] Coding stuff for emulators based to Phoenix
Have you made a list with all features that you have planned to do?
Re: [Service] Coding stuff for emulators based to Phoenix
Thread can close @Wreckless
I start develop RP emulator, heh