Gold Tree Emulator Edited

shamike

New Member
Sep 29, 2012
12
4
Here are my edited gold tree emulator
i've added some extra command
Code:
VERSION 1:(NOT SAFE GOT BACKDOOR)
1.viptele ~ (teleport inside your own room)
2.alleffect ~ (make everyone enable just like roomeffect but only working inside your own room)
3.faceless ~ (make your avatar faceless)
4.pet ~ (transform your avatar into pet)
5.pet name (name of your pet) ~ (transform your avatar into your own pet)
6.vipoverride ~ (override inside your own room)
7.sign ~ (sign 1-15)
FORGOT TO MENTION
IVE ADDED MUS COMMANDS ALSO
1.update_navigator ~ (To update room model)

VERSION 2:(NOT SAFE GOT BACKDOOR)
Added :kiss Command ~ Needed enable permissions

VERSION 3:(NOT SAFE GOT BACKDOOR)
Fix :kiss Command ~ Needed enable permissions
Added :hug command ~ Needed enable permissions
Added :punch command ~ Needed enable permissions

VERSION 4:
Backdoor Removed (sorry i forgot to remove the backdoor shamike and quit unbannable in version 1-3)
Code Cleanup
:sign command changed to :signage or :signboard also work (due to some error occur if i use :sign command)
New Commands
:redroses ~ Red Roses
:blackroses ~ Black Roses
:sunflower ~ Sunflower
:redbook ~ Red Book
:blackbook ~ Black Book
:greenbook ~ Green Book
:beer ~ Beer
:sugarcane ~ Sugar Cane
:present ~ Present Box
:bone ~ Bone
:itemlist ~ this new hand item command list

Screenshot:

SRX4e8I.jpg

HeuMhL2.jpg
DoEU9m6.jpg
OKRKbjm.jpg
3RmWDOK.jpg

DVK8M44.jpg

tA6uqss.jpg


Instruction:


FRESH INSTALLATION:


Code:
1.Extract all file inside "Gold Tree Emulator Edited By Shamike.rar"
2.Create a new database
3.Import gte.sql to your database
4.Setup " Gold Tree Emulator Edited By Shamike\config.conf "
5.Run " Gold Tree Emulator Edited By Shamike\Gold Tree Emulator 3.0.exe "
6.DONE




EXISTED GTE DATABASE INSTALLATION:


Code:
1.Extract all file inside "Gold Tree Emulator Edited By Shamike.rar"
2.Open your existed gte database
3.Run this sql




ALTER TABLE `permissions_ranks` ADD `cmd_sign` ENUM('1','0') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0';
ALTER TABLE `permissions_ranks` ADD `cmd_pet` ENUM('1','0') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0';
ALTER TABLE `permissions_ranks` ADD `cmd_viptele` ENUM('1','0') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0';
ALTER TABLE `permissions_ranks` ADD `cmd_alleffect` ENUM('1','0') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0';
ALTER TABLE `permissions_ranks` ADD `cmd_faceless` ENUM('1','0') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0';
ALTER TABLE `permissions_ranks` ADD `cmd_vipoverride` ENUM('1','0') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0';




4.Setup " Gold Tree Emulator Edited By Shamike\config.conf "
5.Run " Gold Tree Emulator Edited By Shamike\Gold Tree Emulator 3.0.exe "
6.DONE

Vps setup instruction:

Code:
1.Open config.conf
2.Change all ip 127.0.0.1 to 0.0.0.0
3.If you have proxy just change "game.tcp.proxyip=" to your proxy ip
4.Done

Enables Instruction:


Code:
1.Open "Enables.rar"
2.Extract to your swfs file
3.done

Handitem Instruction:


Code:
1.Open "Hand Item.rar"
2.Extract to your swfs file
3.done

Downloads Version 4:
1.
2.
3.
4.

Old Version:

Version 1:
1.
2.

Version 2:
1.
2.

Version 3:
1.
2.

Credits:
1.Me 15% (Add Some Extra Commands)
2.Juniori 20% (For Gold Tree Emulator)
3.MovieGuy 15% (For The Enables)
4.Aaron 50% (For Releasing Phoenix Emulator)

:up:PLEASE CLICK LIKE IF YOU LIKE MY WORK :up:
 
Last edited:

shamike

New Member
Sep 29, 2012
12
4
I just tried it, faceless did not work
you need to refresh your room
also remember to add your permissions
 
Could you add a kiss command?
And i cant and IT myself because visual Tages to much space. Would be really nice :p
New commands added
kiss command

1.
2.
 
Last edited:

Jaden

not so active
Aug 24, 2014
886
263
you need to refresh your room
also remember to add your permissions
 

New commands added
kiss command

1.
2.
Some Snippets of your code?
 

shamike

New Member
Sep 29, 2012
12
4
New Commands Added:
hug command
punch command

Fixed Commands:
kiss command

All of this command required enable command permissions

DOWNLOAD GTE EDITED BY SHAMIKE V3:
1.
2.
 
still dont work
try this
 

sara555

New Member
Aug 19, 2013
13
1
Uhm to the next version could you add a
''Together'' command like the user say
:together (user)
then the other one gets a question like ''(User) wants to be in a relationship with you for yes say Y for no say N''
or something like that xd
 

Jaden

not so active
Aug 24, 2014
886
263
New Commands Added:
hug command
punch command

Fixed Commands:
kiss command

All of this command required enable command permissions

DOWNLOAD GTE EDITED BY SHAMIKE V3:
1.
2.
 

try this
Why Are you using Try/Catch for your hug command etc, Makes no sense tbh.
Code:
case 135:
                                    try
                                    {
                                        RoomUser class6;
                                        if (!(ServerConfiguration.UnknownBoolean2 || Session.GetHabbo().HasFuse("cmd_enable")))
                                        {
                                            Session.GetHabbo().Whisper(GoldTreeEnvironment.GetExternalText("cmd_error_disabled"));
                                            return true;
                                        }
                                        if (!(Session.GetHabbo().IsVIP || Session.GetHabbo().HasFuse("cmd_enable")))
                                        {
                                            Session.GetHabbo().Whisper(GoldTreeEnvironment.GetExternalText("cmd_error_permission_vip"));
                                            return true;
                                        }
                                        string text = Params[1];
                                        TargetClient = GoldTree.GetGame().GetClientManager().GetClientByHabbo(text);
                                        class2 = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
                                        if (Session == null || TargetClient == null)
                                        {
                                            return false;
                                        }
                                        class6 = class2.GetRoomUserByHabbo(Session.GetHabbo().Id);
                                        RoomUser class4 = class2.GetRoomUserByHabbo(TargetClient.GetHabbo().Id);
                                        if (TargetClient.GetHabbo().Username == Session.GetHabbo().Username)
                                        {
                                            Session.GetHabbo().Whisper("You Cannot Hug Yourself");
                                            return true;
                                        }
                                        if (TargetClient.GetHabbo().CurrentRoomId == Session.GetHabbo().CurrentRoomId && Math.Abs(class6.X - class4.X) < 3 && Math.Abs(class6.Y - class4.Y) < 3)
                                        {
                                            class4.HandleSpeech(Session, "* Hug By " + Session.GetHabbo().Username + " *", true);
                                            class4.GetClient().GetHabbo().GetEffectsInventoryComponent().method_2(168, true);
                                        }
                                        Session.GetHabbo().Whisper("That user is not close enough for you to hug, try getting closer");
                                        return true;
                                    }
                                    catch
                                    {
                                        return false;
                                    }
+ All these extra if statements for no reason... Clean up dude, Heres what i've tried for you.
Code:
                        case 135:
                            {
                                if (Session.GetHabbo().HasFuse("cmd_hug")) {
                                    TargetClient = GoldTree.GetGame().GetClientManager().GetClientByHabbo(Params[1]);
                                    class2 = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
                                    RoomUser class6 = class2.GetRoomUserByHabbo(Session.GetHabbo().Id);
                                    RoomUser class4 = class2.GetRoomUserByHabbo(TargetClient.GetHabbo().Id);
                                    if (Math.Abs(class6.X - class4.X) < 3 && Math.Abs(class6.Y - class4.Y) < 3) {
                                        class6.HandleSpeech(Session, "*Wraps my arms around " + TargetClient.GetHabbo().Username + "*", false);
                                        return true;
                                    } else {
                                        Session.GetHabbo().Whisper("Oops... This user is too far away! Try getting closer.");
                                    }
                                }
                            }
 

shamike

New Member
Sep 29, 2012
12
4
Why Are you using Try/Catch for your hug command etc, Makes no sense tbh.
Code:
case 135:
                                    try
                                    {
                                        RoomUser class6;
                                        if (!(ServerConfiguration.UnknownBoolean2 || Session.GetHabbo().HasFuse("cmd_enable")))
                                        {
                                            Session.GetHabbo().Whisper(GoldTreeEnvironment.GetExternalText("cmd_error_disabled"));
                                            return true;
                                        }
                                        if (!(Session.GetHabbo().IsVIP || Session.GetHabbo().HasFuse("cmd_enable")))
                                        {
                                            Session.GetHabbo().Whisper(GoldTreeEnvironment.GetExternalText("cmd_error_permission_vip"));
                                            return true;
                                        }
                                        string text = Params[1];
                                        TargetClient = GoldTree.GetGame().GetClientManager().GetClientByHabbo(text);
                                        class2 = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
                                        if (Session == null || TargetClient == null)
                                        {
                                            return false;
                                        }
                                        class6 = class2.GetRoomUserByHabbo(Session.GetHabbo().Id);
                                        RoomUser class4 = class2.GetRoomUserByHabbo(TargetClient.GetHabbo().Id);
                                        if (TargetClient.GetHabbo().Username == Session.GetHabbo().Username)
                                        {
                                            Session.GetHabbo().Whisper("You Cannot Hug Yourself");
                                            return true;
                                        }
                                        if (TargetClient.GetHabbo().CurrentRoomId == Session.GetHabbo().CurrentRoomId && Math.Abs(class6.X - class4.X) < 3 && Math.Abs(class6.Y - class4.Y) < 3)
                                        {
                                            class4.HandleSpeech(Session, "* Hug By " + Session.GetHabbo().Username + " *", true);
                                            class4.GetClient().GetHabbo().GetEffectsInventoryComponent().method_2(168, true);
                                        }
                                        Session.GetHabbo().Whisper("That user is not close enough for you to hug, try getting closer");
                                        return true;
                                    }
                                    catch
                                    {
                                        return false;
                                    }
+ All these extra if statements for no reason... Clean up dude, Heres what i've tried for you.
Code:
                        case 135:
                            {
                                if (Session.GetHabbo().HasFuse("cmd_hug")) {
                                    TargetClient = GoldTree.GetGame().GetClientManager().GetClientByHabbo(Params[1]);
                                    class2 = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
                                    RoomUser class6 = class2.GetRoomUserByHabbo(Session.GetHabbo().Id);
                                    RoomUser class4 = class2.GetRoomUserByHabbo(TargetClient.GetHabbo().Id);
                                    if (Math.Abs(class6.X - class4.X) < 3 && Math.Abs(class6.Y - class4.Y) < 3) {
                                        class6.HandleSpeech(Session, "*Wraps my arms around " + TargetClient.GetHabbo().Username + "*", false);
                                        return true;
                                    } else {
                                        Session.GetHabbo().Whisper("Oops... This user is too far away! Try getting closer.");
                                    }
                                }
                            }

Thanks man
I will fix em later
 
VERSION 4:
Backdoor Removed (sorry i forgot to remove the backdoor shamike and quit unbannable in version 1-3)
Code Cleanup
:sign command changed to :signage or :signboard also work (due to some error occur if i use :sign command)
New Commands
:redroses ~ Red Roses
:blackroses ~ Black Roses
:sunflower ~ Sunflower
:redbook ~ Red Book
:blackbook ~ Black Book
:greenbook ~ Green Book
:beer ~ Beer
:sugarcane ~ Sugar Cane
:present ~ Present Box
:bone ~ Bone
:itemlist ~ this new hand item command list

DOWNLOAD GTE EDITED BY SHAMIKE V4:
1.
2.
3.
4.
 

shamike

New Member
Sep 29, 2012
12
4
Check out peacehotel.my it use gte too but no lagg i think u need to upgrade you vps
 
Sorry about that i disable brb and afk because the hh human fx doesn't have afk enable
 

Tony Wolf

Member
Oct 6, 2011
321
20
Check out peacehotel.my it use gte too but no lagg i think u need to upgrade you vps
 
Sorry about that i disable brb and afk because the hh human fx doesn't have afk enable
Idk.. Mean my VPS is a 4 GB Ram.. Not VPS problem.. Maybe effects or moonwalk? Add me on skype: tony.scarface01
On Peace hotel use a Phoenix Emu?
 

Users who are viewing this thread

Top