[Service] Coding stuff for emulators based to Phoenix

Page 3 of 3 FirstFirst 123
Results 51 to 59 of 59
  1. #51
    Member SuklaaVene is offline
    MemberRank
    Jul 2014 Join Date
    85Posts

    Re: [Service] Coding stuff for emulators based to Phoenix

    Quote Originally Posted by FlyHotel View Post
    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 View Post
    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;

  2. #52
    <cool title> Scresho is offline
    MemberRank
    Jul 2008 Join Date
    HoloWS - GermanLocation
    425Posts

    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!

  3. #53
    Member SuklaaVene is offline
    MemberRank
    Jul 2014 Join Date
    85Posts

    Re: [Service] Coding stuff for emulators based to Phoenix

    Quote Originally Posted by Scresho View Post
    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

  4. #54
    <cool title> Scresho is offline
    MemberRank
    Jul 2008 Join Date
    HoloWS - GermanLocation
    425Posts

    Re: [Service] Coding stuff for emulators based to Phoenix

    Quote Originally Posted by SuklaaVene View Post
    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

  5. #55
    Member SuklaaVene is offline
    MemberRank
    Jul 2014 Join Date
    85Posts

    Re: [Service] Coding stuff for emulators based to Phoenix

    Quote Originally Posted by Scresho View Post
    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

  6. #56
    <cool title> Scresho is offline
    MemberRank
    Jul 2008 Join Date
    HoloWS - GermanLocation
    425Posts

    Re: [Service] Coding stuff for emulators based to Phoenix

    whats edited there?
    just pets?
    Thanks a lot dude
    could you also upload the source for me?

  7. #57
    Member SuklaaVene is offline
    MemberRank
    Jul 2014 Join Date
    85Posts

    Re: [Service] Coding stuff for emulators based to Phoenix

    Quote Originally Posted by Scresho View Post
    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

  8. #58
    Valued Member Andre96 is offline
    MemberRank
    Dec 2011 Join Date
    The NetherlandsLocation
    103Posts

    Re: [Service] Coding stuff for emulators based to Phoenix

    Have you made a list with all features that you have planned to do?

  9. #59
    Member SuklaaVene is offline
    MemberRank
    Jul 2014 Join Date
    85Posts

    Re: [Service] Coding stuff for emulators based to Phoenix

    Thread can close @Wreckless

    I start develop RP emulator, heh



Page 3 of 3 FirstFirst 123

Advertisement