-
PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Hey RageZoners,
I have decided to release my edition of phx. Which i edited for my mates hotel and i hope you like my additions this is mainly for the people who wanted this commands but could not do it themselves, The code is all there so feel free to edit it as u like
Features::junglejane:
- Lay
- Kill ( stops a user from moving and enables a frozen effect i.e enable 12)
- Unkill ( undoes what kill does)
- Ach ( Updates a users ach score my m8 was too lazy to use the db)
- Kiss ( like in an rp but u need to be close , it also enables the hearts enable)
- Rank ( to rank an user valid for only rank 8 i.e my highest rank )
- Fly (Combination of override and a little height from ground)
- Pause ( to pause kissing)
- Enabled 4 more commands ( rave, roll , makesay , control )
- youenable makes a user enable something
Few more that i cant remember atm.
DownSide:
Instead of using the normal fuse for phx i have just put them as Rank is > 5 so tht means that the permisons table will have to be the same as mine or u can just edit the code both depend on wht u want to do..
If u have 8 ranks that its absolutely fine (8 or more)
FIX : my permissions table : http://pastebin.com/QbvBV6Tf ( add rank 8 in ranks table)
Credits:
- Sojobo
- Quackster
- Me
- + Whoever helped in releasing the source in Ragezone (Specially people who renamed classes )
Download:
Its open source and i ask u not to remove credits from the ;about
Download With Source : HERE (Its also the test hotel)
Pls report bugs and anything u want added..Everything shud work got the source from here :
http://forum.ragezone.com/f353/sourc...11-0-a-943733/
UPDATES:
Kill bug fixed : DOWNLAOD
Screens
:
SCREENSHOT:
UPDATE
Dated - 9/1/14 : DOWNLAOD
-Handitem added as :youhold x (itemid)
-:youbeme x control pets like you can control users
-:petusay x [message] make pets say things like u can with users
http://img69.imageshack.us/img69/2868/yk8i.png
Regards,
Anubhav a.k.a RyanVs
WHATS NEW?
http://i.imgur.com/fHSgMf1.png
Beginning Interactions Development Started :)
Yes, Its Here
(Please ignore my amazing spellings of "Hookah" than, you)
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Looks Nice! This i will try out :=)!
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
If you have any concerns you can have a look at wubbo - wubbohotel.com which is using this emu atm
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
do you have a license server set up
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Don't like it really much. Good release though. Like the idea's of some commands :)
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Decent release. If you could add the handitem command, along with the convert commands from imagican's release, this would be perfect. Myself, i'm going to stick with his because those commands are what the users need. Thanks for the release.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
;giveitem works ill be having a look at your convert credits,
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
RyanVS
;giveitem works ill be having a look at your convert credits,
I mean, :handitem (id) gives you any item on the game. He has the convertshells, and convertpixels extra too. If you could manage to get them on, that'd be amazing man.
-Suggestion for a command-
Speed command. Let's you move around the room faster, if you can do that.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Only ones i'd want would be fly and kiss :3 Anyway thank you for your release :)
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Seems like a nice release to me! keep up the work mate :)
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Nice, someone has been working on phx I guess. Thanks for the release.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
It seems good, but I wouldn't use it.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
A lot of bugs. The MUS-Commands dont work, you can't sit on sits or lay on beds, if the sit or the bed are on an stair for example.
Regards, Imagician :)
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
Imagician
A lot of bugs. The MUS-Commands dont work, you can't sit on sits or lay on beds, if the sit or the bed are on an stair for example.
Regards, Imagician :)
that's why he included his source code, some people could learn from this
ontopic:
thankz for your open source edits, we can all learn from these edits
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Thank you to all who have liked this release , im happy that everything is going well.
And Imagician i havent touched the MUS commands they are as i got them from the source release nor do i need them in any way.
Regards RyanVS :)
- - - Updated - - -
Quote:
Originally Posted by
tomsandz
Great :D
Thank you,
- - - Updated - - -
[B] Update:[B]
Dated - 9/1/14 : DOWNLAOD
-Handitem added as :youhold x (itemid)
-:youbeme x control pets like you can control users
-:petusay x [message] make pets say things like u can with users
http://img69.imageshack.us/img69/2868/yk8i.png
Regards,
Anubhav a.k.a RyanVs
- - - Updated - - -
Quote:
Originally Posted by
Joe Richardson
I mean, :handitem (id) gives you any item on the game. He has the convertshells, and convertpixels extra too. If you could manage to get them on, that'd be amazing man.
.
Done , its now there
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
RyanVS
Thank you to all who have liked this release , im happy that everything is going well.
And Imagician i havent touched the MUS commands they are as i got them from the source release nor do i need them in any way.
Regards RyanVS :)
- - - Updated - - -
Thank you,
- - - Updated - - -
[B] Update:[B]
Dated - 9/1/14 :
DOWNLAOD
-Handitem added as :youhold x (itemid)
-:youbeme x control pets like you can control users
-:petusay x [message] make pets say things like u can with users
http://img69.imageshack.us/img69/2868/yk8i.png
Regards,
Anubhav a.k.a RyanVs
- - - Updated - - -
Done , its now there
Works very nice. Did you manage to do the convert pixels and shells? Also matey, erm, is there an sql with all the command so we can edit etc. I like the idea of the commands. Just makes a hotel more nicer. Thanks alot.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
@Joe Richardson i will be working on your convert shells soon..
Plus im sorry about the permissions its all done in frame with my ranks i have attached a sql file for it other wise you can just go up to the source and had fuses instead of (Session.GetHabbo().Rank > 4) or edit it as u wish..
If u plan to import my sql file than add rank 8 and everything should work fine all the commands are in reasonable ranks
they are set to ranks higher then 4 ,5
only the rank command is set to 8 which is highest rank
Regards,
RyanVS
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
I find it stupid how you didn't hide peoples IPs correctly in the screenshot.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
ησвяαιη
I find it stupid how you didn't hide peoples IPs correctly in the screenshot.
As far as i see all this ips are correctly hidden except mine which is Dynamic..
Although the rest a partially visible it would be hard to make out what they are after all.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Fix 100% CPU ????? ... my hotel 1.000 onlines +/- = 100% cpu :(
- - - Updated - - -
Can you tell me how do I add the new commands in my source?
Please?
:kiss :fly etc
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
ruflesbpt
Fix 100% CPU ????? ... my hotel 1.000 onlines +/- = 100% cpu :(
- - - Updated - - -
Can you tell me how do I add the new commands in my source?
Please?
:kiss :fly etc
Everything is there in the source just have a look and u'll know or just copy the code from mine to urs anyways i dont think CPU is 100% at 1k
Ull need to edit ChatcommandHandler and ur then add it to the Roles MAN
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Maybe can add :sit and some other features from Imagicans Source?
64bit Version aviable?
Can you add a command :summonstaffs ?
I love it :)
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
RyanVS
As far as i see all this ips are correctly hidden except mine which is Dynamic..
Although the rest a partially visible it would be hard to make out what they are after all.
Well, I saw some IPs and I think it's not hard to read. It's pretty much readable and you can try out other numbers to look if they're correct. You can try things out and try to attack somebody.
In other words, pretty unprofessional.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
@RyanVS
i love your EMU.
Maybe you can contact me on skype (your mailbox is full)
mabbo.cc
have a project for you and need a developer. I pay a little pocketmoney for a feature.
Thank you ;)
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
iExit
Nothing new :/
Whats not new
haven't seen
Fly or kiss(the way i have added) in any phx version till date nor kill(the way i have added) nor rank nor ach
or control pets or make pets say
- - - Updated - - -
Quote:
Originally Posted by
Tha
Well, I saw some IPs and I think it's not hard to read. It's pretty much readable and you can try out other numbers to look if they're correct. You can try things out and try to attack somebody.
In other words, pretty unprofessional.
Okay ill agree with you on this one but on the ip mainly 3 digits are gone xxx so they can be anything in about 999 combinations or more,
Anyways just wanted to show that everything works on that screen shot,
Thus thanking for pointing that out this will help me improve on my future releases..
- - - Updated - - -
Quote:
Originally Posted by
StaffJunior
@
RyanVS
i love your EMU.
Maybe you can contact me on skype (your mailbox is full)
mabbo.cc
have a project for you and need a developer. I pay a little pocketmoney for a feature.
Thank you ;)
Welcome appreciate your time i have cleaned my mailbox and i dont have skype sorry
Regards,
RyanVs
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
@RyanVS
send you a PM ;-)
Please answer.
Thanks
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Is the override command only for people in the room with rights or will it work in every room?
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
http://i.imgur.com/odbz0rV.png
fix erro ? please? help me ? fix... in my source?
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Thanks anu m8 for releasing this :)
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
Flowy Otaku
Is the override command only for people in the room with rights or will it work in every room?
It will work for people with staff permisons
- - - Updated - - -
Quote:
Originally Posted by
Aruthra
Thanks anu m8 for releasing this :)
Welcome,
Wish you best of luck with your hotel,
Regards
RyanVS
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
So you finally decided to release this,
I have seen this edition for a long time on your hotel and who thought you would release it open sourced. Anyways its amazing as it is but dont you want to put in the ChatCommandKey config that you have in your hotel i.e so a user can change the default key for the command which is set to ":" i have seen u changed it to ";" on your hotel everyone would like that.
If you dont may i add it and release it
Thanks,
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
HardWell
So you finally decided to release this,
I have seen this edition for a long time on your hotel and who thought you would release it open sourced. Anyways its amazing as it is but dont you want to put in the ChatCommandKey config that you have in your hotel i.e so a user can change the default key for the command which is set to ":" i have seen u changed it to ";" on your hotel everyone would like that.
If you dont may i add it and release it
Thanks,
Yes i will do that in the next release
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
RyanVS
It will work for people with staff permisons
- - - Updated - - -
Welcome,
Wish you best of luck with your hotel,
Regards
RyanVS
Thanks
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Whats New?
In my January Final Edition :
Conf Value to Edit -: ":ha" to ";ha"
Over 15 Custom Interactions:
http://i.imgur.com/fHSgMf1.png
Regards Anubhav
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
ruflesbpt
Please fix this first!
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
I haven't encountered that error yet. Plus source is there check the socket beginrecieve out or post more dets about the error
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
RyanVS
I haven't encountered that error yet. Plus source is there check the socket beginrecieve out or post more dets about the error
Well, imagician fixed it, but I don't know where he fixed it, so I can't tell you.
To reproduce this socket error: stop emulator, start client, when client is "loaded" so when you see the hotelview, start the emu.
When the emu is done, close the client, that should produce the error.
The error also comes randomly while playing though.. this is just something to reproduce it.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
MovieGuy
Well, imagician fixed it, but I don't know where he fixed it, so I can't tell you.
To reproduce this socket error: stop emulator, start client, when client is "loaded" so when you see the hotelview, start the emu.
When the emu is done, close the client, that should produce the error.
The error also comes randomly while playing though.. this is just something to reproduce it.
I have tried your method of reproduction but i fail to get the error,
Maybe you could try this once(This is just a guess)
Anyways open the source go to Phoenix>Net>SocketConnections.cs (Line 128)
Find
Code:
base.BeginReceive(this.byte_0, 0, 1024, SocketFlags.None, this.asyncCallback_0, this);
And replace with
Code:
base.BeginReceive(this.byte_0, 0, 1024, SocketFlags.None, this.asyncCallback_0, (object) this);
Have a look and tell me if it works,
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
HardWell
I have tried your method of reproduction but i fail to get the error,
Maybe you could try this once(This is just a guess)
Anyways open the source go to Phoenix>Net>SocketConnections.cs (Line 128)
Find
Code:
base.BeginReceive(this.byte_0, 0, 1024, SocketFlags.None, this.asyncCallback_0, this);
And replace with
Code:
base.BeginReceive(this.byte_0, 0, 1024, SocketFlags.None, this.asyncCallback_0, (object) this);
Have a look and tell me if it works,
That's not going to change anything. Even if you use null except of this/(object) this (which are the same since this is also an object itself since every class extends the Object class), it will work correctly.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
In your final edition, can you add the commands from imagican release. Like i mentioned before. The convert shells, and convert pixels. Thanks.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
for Phoenix Emu 3.11.0 convert pixels/shells and cmd
Game.cs
Search: "enable_cmd_redeemcredits"
"Find"
Code:
LicenseTools.Boolean_0 = Phoenix.smethod_3(dataRow["enable_cmd_redeemcredits"].ToString());
Add under that:
Code:
LicenseTools.Boolean_14 = Phoenix.smethod_3(dataRow["enable_cmd_redeempixels"].ToString());
LicenseTools.Boolean_15 = Phoenix.smethod_3(dataRow["enable_cmd_redeemshells"].ToString());
ChatCommandHandler.cs
Search: "cmd_redeemcreds_desc"
"Find"
Code:
string text8 = "";
if (LicenseTools.Boolean_0)
{
text8 = text8 + PhoenixEnvironment.smethod_1("cmd_redeemcreds_desc") + "\r\r";
}
Add under that:
Code:
string text11 = "";
if (LicenseTools.Boolean_14)
{
text11 = text11 + PhoenixEnvironment.smethod_1("cmd_redeempixel_desc") + "\r\r";
}
string text12 = "";
if (LicenseTools.Boolean_15)
{
text12 = text12 + PhoenixEnvironment.smethod_1("cmd_redeemshell_desc") + "\r\r";
}
Search: "case 83:"
Code:
case 83:
Session.GetHabbo().method_23().method_2();
Session.SendNotif(PhoenixEnvironment.smethod_1("cmd_emptypets_success"));
Phoenix.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
return true;
Add under that:
Code:
case 84:
if (!LicenseTools.Boolean_3)
{
Session.GetHabbo().method_28("Befehl während des Tauschens nicht verfügbar!");
return true;
}
else
{
if (LicenseTools.Boolean_14)
Session.GetHabbo().method_23().method_20(Session);
else
Session.GetHabbo().method_28(PhoenixEnvironment.smethod_1("cmd_error_disabled"));
return true;
}
case 85:
if (!LicenseTools.Boolean_3)
{
Session.GetHabbo().method_28("Befehl während des Tauschens nicht verfügbar!");
return true;
}
else
{
if (LicenseTools.Boolean_15)
Session.GetHabbo().method_23().method_21(Session);
else
Session.GetHabbo().method_28(PhoenixEnvironment.smethod_1("cmd_error_disabled"));
return true;
}
Search: "if (class6.Boolean_3)"
Code:
if (class6.Boolean_3)
{
Session.GetHabbo().method_28("Befehl während des Tauschens nicht möglich");
return true;
}
Add under that:
Code:
if (LicenseTools.Boolean_14)
{
Session.GetHabbo().method_23().method_20(Session);
}
else
{
Session.GetHabbo().method_28(PhoenixEnvironment.smethod_1("cmd_error_disabled"));
}
return true;
if (LicenseTools.Boolean_15)
{
Session.GetHabbo().method_23().method_21(Session);
}
else
{
Session.GetHabbo().method_28(PhoenixEnvironment.smethod_1("cmd_error_disabled"));
}
return true;
RoleManager.cs
Search: "cmd_emptypets_name"
"Find"
Code:
this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_emptypets_name"), 83);
Add under that:
Code:
this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_redeempixel_name"), 84);
this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_redeemshell_name"), 85);
LicenseTools.cs
Search:
Code:
private static bool bool_14 = false;
Add under that:
Code:
private static bool bool_21 = false;
private static bool bool_22 = false;
Search: "Boolean_0"
Code:
public static bool Boolean_0
{
get
{
return LicenseTools.bool_14;
}
set
{
LicenseTools.bool_14 = value;
}
}
Add under that:
Code:
public static bool Boolean_14
{
get
{
return LicenseTools.bool_21;
}
set
{
LicenseTools.bool_21 = value;
}
}
public static bool Boolean_15
{
get
{
return LicenseTools.bool_22;
}
set
{
LicenseTools.bool_22 = value;
}
}
SQL:
Code:
/*
Navicat MySQL Data Transfer
Source Server : Datenbanken
Source Server Version : 50615
Source Host : localhost:3306
Source Database : habbohoteldb
Target Server Type : MYSQL
Target Server Version : 50615
File Encoding : 65001
Date: 2014-01-11 17:33:51
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `server_settings`
-- ----------------------------
DROP TABLE IF EXISTS `server_settings`;
CREATE TABLE `server_settings` (
`motd` text NOT NULL,
`timer` int(11) NOT NULL DEFAULT '15',
`pixels` int(11) NOT NULL DEFAULT '15',
`pixels_max` int(15) NOT NULL DEFAULT '0',
`credits` int(11) NOT NULL DEFAULT '75',
`credits_max` int(15) NOT NULL DEFAULT '0',
`points` int(11) NOT NULL DEFAULT '0',
`points_max` int(15) NOT NULL DEFAULT '0',
`enable_cmd_redeemcredits` enum('0','1') NOT NULL DEFAULT '1',
`enable_cmd_redeempixels` enum('0','1') NOT NULL DEFAULT '1',
`enable_cmd_redeemshells` enum('0','1') NOT NULL DEFAULT '1',
`enable_chatlogs` enum('0','1') NOT NULL DEFAULT '1',
`enable_roomlogs` enum('0','1') NOT NULL DEFAULT '1',
`vipclothesforhcusers` enum('1','0') NOT NULL DEFAULT '1',
`MaxRoomsPerUser` int(4) NOT NULL DEFAULT '50',
`enable_externalchatlinks` enum('disabled','blacklist','whitelist') NOT NULL DEFAULT 'disabled',
`enable_securesessions` enum('0','1') NOT NULL DEFAULT '1',
`enable_cmdlogs` enum('0','1') NOT NULL DEFAULT '1',
`allow_friendfurnidrops` enum('0','1') NOT NULL DEFAULT '1',
`enable_antiddos` enum('0','1') NOT NULL DEFAULT '1',
`MaxPetsPerRoom` int(2) NOT NULL DEFAULT '15',
`MarketPlaceTax` int(2) NOT NULL DEFAULT '1',
`MaxMarketPlacePrice` int(9) NOT NULL DEFAULT '10000',
`unload_crashedrooms` enum('0','1') NOT NULL DEFAULT '1',
`ShowUsersAndRoomsInAbout` enum('0','1') NOT NULL DEFAULT '1',
`idlesleep` int(6) NOT NULL DEFAULT '300',
`idlekick` int(6) NOT NULL DEFAULT '1200',
`ip_lastforbans` enum('0','1') NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of server_settings
-- ----------------------------
INSERT INTO `server_settings` VALUES ('Hotel-Alert Addet', '30', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '100', 'whitelist', '1', '1', '1', '1', '20', '1', '500000', '1', '1', '300', '1200', '0');
Thanks,
Meik2010
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
@Meik2010 its good to see some one contributing,
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
How can i translate all commands?
I'm a swedish boy <3
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT &amp; More
Quote:
Originally Posted by
ruflesbpt
1/8/2014 5:58:52 PM: [TCPListener.OnRequest]: Could not handle new connection request: System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndAccept(Byte[]& buffer, Int32& bytesTransferred, IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndAccept(IAsyncResult asyncResult)
at Phoenix.Net.SocketListener.ConnectionRequest(IAsyncResult iAr) in YOURPC\3.11.0\Phoenix\Net\SocketListener.cs:line 72
- - - Updated - - -
1/12/2014 2:27:11 PM: [TCPListener.OnRequest]: Could not handle new connection request: System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndAccept(Byte[]& buffer, Int32& bytesTransferred, IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndAccept(IAsyncResult asyncResult)
at Phoenix.Net.Class114.method_4(IAsyncResult iasyncResult_0) in C:\Users\Administrator\Desktop\EMU\3.11.0\Phoenix\Net\SocketsListener.cs:line 83
- - - Updated - - -
Your add commands in permissions_ranks .... disable or no ?
Ranking 1,2,3,4,5,6,7
? translate commands in table texts ? please
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
We need someone to make all the sqls and stuff for the commands. That way, we can enable what we want, and give our users what we want. To me, that'd be the perfect thing.
- - - Updated - - -
Quote:
Originally Posted by
Meik2010
[****]
I did everything you said to the letter, and it didn't work :/
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
here is translate convert credits/pixels/shells
Deutsch
Code:
INSERT INTO `texts` VALUES ('cmd_redeemcreds_name', 'convertcredits');
INSERT INTO `texts` VALUES ('cmd_redeemcreds_desc', ':convertcredits -> Verwandle alle Taler in deinem Inventar in deine Geldbörse');
INSERT INTO `texts` VALUES ('cmd_redeempixel_name', 'convertpixels');
INSERT INTO `texts` VALUES ('cmd_redeempixel_desc', ':convertpixels -> Verwandle alle Pixels in deinem Inventar in deine Geldbörse');
INSERT INTO `texts` VALUES ('cmd_redeemshell_name', 'convertshells');
INSERT INTO `texts` VALUES ('cmd_redeemshell_desc', ':convertshells -> Verwandle alle Muscheln in deinem Inventar in deine Geldbörse');
English
Code:
INSERT INTO `texts` VALUES ('cmd_redeemcreds_name', 'convertcredits');
INSERT INTO `texts` VALUES ('cmd_redeemcreds_desc', ':convertcredits - Turns all exchange items in your hand back into Taler');
INSERT INTO `texts` VALUES ('cmd_redeempixel_name', 'convertpixels');
INSERT INTO `texts` VALUES ('cmd_redeempixel_desc', ':convertpixels - Turns all exchange items in your hand back into Pixels');
INSERT INTO `texts` VALUES ('cmd_redeemshell_name', 'convertshells');
INSERT INTO `texts` VALUES ('cmd_redeemshell_desc', ':convertshells - Turns all exchange items in your hand back into Shells');
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
StaffJunior
How i can fix this fucking error
Code:
12.01.2014 16:36:10: Error: MySql.Data.MySqlClient.MySqlException (0x80004005): Duplicate entry '1000025514' for key 'PRIMARY'
bei MySql.Data.MySqlClient.MySqlStream.ReadPacket()
bei MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
bei MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
bei MySql.Data.MySqlClient.MySqlDataReader.NextResult()
bei MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
bei MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()
bei Phoenix.Storage.DatabaseClient.ExecuteQuery(String sQuery)
bei Phoenix.HabboHotel.Users.Inventory.InventoryComponent.method_11(UInt32 uint_1, UInt32 uint_2, String string_0, Boolean bool_0)
bei Phoenix.HabboHotel.Catalogs.Catalog.method_9(GameClient Session, Item Item, Int32 int_0, String string_0, Boolean bool_0, UInt32 uint_1)
bei Phoenix.HabboHotel.Catalogs.Catalog.method_6(GameClient Session, Int32 int_0, UInt32 uint_1, String string_0, Boolean bool_0, String string_1, String string_2, Boolean bool_1)
bei Phoenix.Communication.Messages.Catalog.PurchaseFromCatalogEvent.Handle(GameClient Session, ClientMessage Event)
bei Phoenix.HabboHotel.GameClients.GameClient.method_13(Byte[]& byte_0)
The problem is in the colum items the EMU try to create a ID there is used by a item where a user buy in the webshop.
Fixed it is when a user buy a furni in the catalogue the next auto_incromed value from the table is use for the next ID:
how i can fix it?
ALTER TABLE items AUTO_INCREMENT= Last ID + 1 example:
( LAST ID = 999 ) ALTER TABLE items AUTO_INCREMENT=1000
Before making any change which, make a backup before.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
ruflesbpt
ALTER TABLE items AUTO_INCREMENT= Last ID + 1 example:
( LAST ID = 999 ) ALTER TABLE items AUTO_INCREMENT=1000
Before making any change which, make a backup before.
Hi,
thank you but i try it before and its not work.
The EMU get the auto_incromed value when the emu starts. After this he not check the correct value again.
Now my Shop System on the Website add the auto_incromed value 1000 and a other people buy a furni in the Catalogue now the EMU crash.
The problem is the EMU don't know he mus set the id now to 1001, he don't use the auto_incromed value... I think he count the up by him self.
I use the Live EMU but i think here is the same problem and i search for a fix.
I hope you understand me now.
THanks
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
StaffJunior
Hi,
thank you but i try it before and its not work.
The EMU get the auto_incromed value when the emu starts. After this he not check the correct value again.
Now my Shop System on the Website add the auto_incromed value 1000 and a other people buy a furni in the Catalogue now the EMU crash.
The problem is the EMU don't know he mus set the id now to 1001, he don't use the auto_incromed value... I think he count the up by him self.
I use the Live EMU but i think here is the same problem and i search for a fix.
I hope you understand me now.
THanks
Use the MUS "giveitem" for giving items, so hard? lol^^
Regards, Imagician.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
Imagician
Use the MUS "giveitem" for giving items, so hard? lol^^
Regards, Imagician.
Thanks,
but how i can use a MUS Command in PHP?
Sorry, i dosen't do it bevore.
Thanks
EDIT: Thank You, i find it.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
When we send 1 item from the store to match the phoenix was not even there.
If it starts with 1000 it goes up to 2,000. if you enter 1050, for example, it doubles the 1050, giving error.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
can someboddy reupploadthe last version?
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Thanks for the release! I do plan on using this in the future. :]
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
It's 'hookah' not 'hokah' x)
As for the release, just another edit.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Looks more like a RP emulator. If you want to create that you better switch to Butterfly.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Phoenix better emulator.... stability = bad :(
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
HillBilly
Looks more like a RP emulator. If you want to create that you better switch to Butterfly.
I love butterfly and the SwiftEMU but there are not works the Wireds.
Any fix for it?
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Can you get the Juxebox to work as it should be :)
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
If i change the GetNowPlayingMessageEvent.cs to :
PHP Code:
using System;
using Phoenix.HabboHotel.GameClients;
using Phoenix.Messages;
namespace Phoenix.Communication.Messages.Sound
{
internal sealed class GetNowPlayingMessageEvent : Interface
{
public void Handle(GameClient Session, ClientMessage Event)
{
Random rnd = new Random();
int play = rnd.Next(1, 16); // creates a number between 1 and 16
ServerMessage Message = new ServerMessage(327u);
Message.AppendInt32(play);
Message.AppendInt32(6);
Message.AppendInt32(3);
Message.AppendInt32(0);
if (Session.GetHabbo().Class14_0 != null)
{
Message.AppendInt32(Session.GetHabbo().Class14_0.int_13);
}
else
{
Message.AppendInt32(0);
}
Session.SendMessage(Message);
}
}
}
But after completion of the song it stops playing, where is set the repeat function in the class ?
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Often has there problems with the commands, good release!
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Is in error in the "sit" command and "lay" you off the screen
Sorry my English
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
Austinfactory
Is in error in the "sit" command and "lay" you off the screen
Sorry my English
I think its the language bug. You need to change the settings from , to .
in this version Imagican fix it
http://forum.ragezone.com/f353/imagi...ol-sit-982507/
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
use : http://www.red-gate.com/products/dot...ance-profiler/ and mabey find the cause, when do don't forget to share it :)
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Where would i change the rank from rank 8 to rank 9 in the source i cant seem to find it i dont want the MOD's having certain commands
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Very bad EMU in my opinion. Seems more aimed at a Roleplay than a regular hotel. Imagicians source is a lot better to build on as this one is just bad for your CPU and it had loads of bugs.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
I don't have any problems with this EMU. CPU loads is normal.
In the Source i must add the new commands in the table commands_permission to change it for the rank level.
Nice EMU. I love it. A great EMU to make some features Thanks
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT &amp; More
Quote:
Originally Posted by
RyanVS
Whats not new
haven't seen
Fly or kiss(the way i have added) in any phx version till date nor kill(the way i have added) nor rank nor ach
or control pets or make pets say
- - - Updated - - -
Okay ill agree with you on this one but on the ip mainly 3 digits are gone xxx so they can be anything in about 999 combinations or more,
Anyways just wanted to show that everything works on that screen shot,
Thus thanking for pointing that out this will help me improve on my future releases..
- - - Updated - - -
Welcome appreciate your time i have cleaned my mailbox and i dont have skype sorry
Regards,
RyanVs
Hello you may return the download?
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Hey,
I fixed three commands on this emu => roomfreeze / convertshells & convertpixels (about those two Meik2010 you forget to define method_20 and 21 in the inventorycomponent.cs)
Let me know if you want I share my things.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
Krako Bobbaz
Hey,
I fixed three commands on this emu => roomfreeze / convertshells & convertpixels (about those two Meik2010 you forget to define method_20 and 21 in the inventorycomponent.cs)
Let me know if you want I share my things.
Yes, could you share that please, thanks alot.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
To add roomfreeze / convertpixels and convertshell commands :
In RoleManager.cs :
Under that :
Code:
if (Phoenix.smethod_3(dataRow["cmd_roomalert"].ToString()))
{
list.Add("cmd_roomalert");
}
Add : Be carefull there is two lines in the file with this same expression, you have to add the folowing one in the two parts.
Code:
if (Phoenix.smethod_3(dataRow["cmd_roomfreeze"].ToString()))
{
list.Add("cmd_roomfreeze");
}
Under that :
Code:
this.dictionary_4.Add("getoff", 82);
Add :
Code:
this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_roomfreeze_name"), 84);
this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_redeempixel_name"), 87);
this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_redeemshell_name"), 88);
In LicenseTools.cs :
Under that :
Code:
private static bool bool_14 = false;
Add :
Code:
private static bool bool_25 = false;
private static bool bool_26 = false;
Then under that :
Code:
public static bool Boolean_0
{
get
{
return LicenseTools.bool_14;
}
set
{
LicenseTools.bool_14 = value;
}
}
Add :
Code:
public static bool Boolean_15
{
get
{
return LicenseTools.bool_25;
}
set
{
LicenseTools.bool_25 = value;
}
}
public static bool Boolean_16
{
get
{
return LicenseTools.bool_26;
}
set
{
LicenseTools.bool_26 = value;
}
}
In Game.cs
Under that :
Code:
LicenseTools.Boolean_0 = Phoenix.smethod_3(dataRow["enable_cmd_redeemcredits"].ToString());
Add :
Code:
LicenseTools.Boolean_15 = Phoenix.smethod_3(dataRow["enable_cmd_redeempixels"].ToString());
LicenseTools.Boolean_16 = Phoenix.smethod_3(dataRow["enable_cmd_redeemshells"].ToString());
In ChatCommandHandler.cs
Under That :
Code:
if (Session.GetHabbo().HasFuse("cmd_roomalert"))
{
text7 = text7 + PhoenixEnvironment.smethod_1("cmd_roomalert_desc") + "\r\r";
}
Add :
Code:
if (Session.GetHabbo().HasFuse("cmd_roomfreeze"))
{
text7 = text7 + PhoenixEnvironment.smethod_1("cmd_roomfreeze_desc") + "\r\r";
}
Then, under that :
Code:
string text8 = "";
if (LicenseTools.Boolean_0)
{
text8 = text8 + PhoenixEnvironment.smethod_1("cmd_redeemcreds_desc") + "\r\r";
}
Add :
Code:
string text11 = "";
if (LicenseTools.Boolean_15)
{
text11 = text11 + PhoenixEnvironment.smethod_1("cmd_redeempixel_desc") + "\r\r";
}
string text12 = "";
if (LicenseTools.Boolean_16)
{
text12 = text12 + PhoenixEnvironment.smethod_1("cmd_redeemshell_desc") + "\r\r";
}
Then, under that :
Code:
case 83:
Session.GetHabbo().method_23().method_2();
Session.SendNotif(PhoenixEnvironment.smethod_1("cmd_emptypets_success"));
Phoenix.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
return true;
Add :
Code:
case 84:
if (!Session.GetHabbo().HasFuse("cmd_roomfreeze"))
return false;
Room room12 = Phoenix.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
if (room12 == null)
return false;
for (int index = 0; index < room12.RoomUser_0.Length; ++index)
{
RoomUser roomUser2 = room12.RoomUser_0[index];
if (roomUser2 != null)
roomUser2.bool_5 = !roomUser2.bool_5;
}
return true;
case 87:
if (!LicenseTools.Boolean_3)
{
Session.GetHabbo().method_28("Impossible pendant un echange!");
return true;
}
else
{
if (LicenseTools.Boolean_15)
{
Session.GetHabbo().method_23().method_20(Session);
}
else
{
Session.GetHabbo().method_28(PhoenixEnvironment.smethod_1("cmd_error_disabled"));
}
return true;
}
case 88:
if (!LicenseTools.Boolean_3)
{
Session.GetHabbo().method_28("Impossible pendant un echange!");
return true;
}
else
{
if (LicenseTools.Boolean_16)
{
Session.GetHabbo().method_23().method_21(Session);
}
else
{
Session.GetHabbo().method_28(PhoenixEnvironment.smethod_1("cmd_error_disabled"));
}
return true;
}
Finally in InventoryComponent.cs
You have to replace the two last } } of the file by :
Code:
public void method_20(GameClient class16_1)
{
int num1 = 0;
List<UserItem> list = new List<UserItem>();
foreach (UserItem userItem in this.list_0)
{
if (userItem != null && userItem.method_1().Name.StartsWith("PixEx_"))
{
int num2 = int.Parse(userItem.method_1().Name.Split(new char[1]
{
'_'
})[1]);
if (!this.list_1.Contains(userItem.uint_0))
{
if (num2 > 0)
num1 += num2;
list.Add(userItem);
}
}
}
foreach (UserItem userItem in list)
this.method_12(userItem.uint_0, 0U, false);
class16_1.GetHabbo().ActivityPoints += num1;
class16_1.GetHabbo().method_15(true);
class16_1.SendNotif("Tout les lingots de ton inventaire ont ete transformes en " + (object)num1 + " Pixels!");
}
public void method_21(GameClient class16_1)
{
int num1 = 0;
List<UserItem> list = new List<UserItem>();
foreach (UserItem userItem in this.list_0)
{
if (userItem != null && userItem.method_1().Name.StartsWith("PntEx_"))
{
int num2 = int.Parse(userItem.method_1().Name.Split(new char[1]
{
'_'
})[1]);
if (!this.list_1.Contains(userItem.uint_0))
{
if (num2 > 0)
num1 += num2;
list.Add(userItem);
}
}
}
foreach (UserItem userItem in list)
this.method_12(userItem.uint_0, 0U, false);
class16_1.GetHabbo().VipPoints += num1;
class16_1.GetHabbo().method_14(false, true);
class16_1.SendNotif("Tout les lingots de ton inventaire ont ete transformes en " + (object)num1 + " coquillages!");
}
}
}
Sorry for the presentation of the things but it's functionnal that is the point.
Then of course you will have to add the column correspunding to roomfreeze in the permissions tables and convershells/pixels in server_settings, if you need my sql table i'll give you.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
Krako Bobbaz
To add roomfreeze / convertpixels and convertshell commands :
In RoleManager.cs :
Under that :
Code:
if (Phoenix.smethod_3(dataRow["cmd_roomalert"].ToString()))
{
list.Add("cmd_roomalert");
}
Add : Be carefull there is two lines in the file with this same expression, you have to add the folowing one in the two parts.
Code:
if (Phoenix.smethod_3(dataRow["cmd_roomfreeze"].ToString()))
{
list.Add("cmd_roomfreeze");
}
Under that :
Code:
this.dictionary_4.Add("getoff", 82);
Add :
Code:
this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_roomfreeze_name"), 84);
this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_redeempixel_name"), 87);
this.dictionary_4.Add(PhoenixEnvironment.smethod_1("cmd_redeemshell_name"), 88);
In LicenseTools.cs :
Under that :
Code:
private static bool bool_14 = false;
Add :
Code:
private static bool bool_25 = false;
private static bool bool_26 = false;
Then under that :
Code:
public static bool Boolean_0
{
get
{
return LicenseTools.bool_14;
}
set
{
LicenseTools.bool_14 = value;
}
}
Add :
Code:
public static bool Boolean_15
{
get
{
return LicenseTools.bool_25;
}
set
{
LicenseTools.bool_25 = value;
}
}
public static bool Boolean_16
{
get
{
return LicenseTools.bool_26;
}
set
{
LicenseTools.bool_26 = value;
}
}
In Game.cs
Under that :
Code:
LicenseTools.Boolean_0 = Phoenix.smethod_3(dataRow["enable_cmd_redeemcredits"].ToString());
Add :
Code:
LicenseTools.Boolean_15 = Phoenix.smethod_3(dataRow["enable_cmd_redeempixels"].ToString());
LicenseTools.Boolean_16 = Phoenix.smethod_3(dataRow["enable_cmd_redeemshells"].ToString());
In ChatCommandHandler.cs
Under That :
Code:
if (Session.GetHabbo().HasFuse("cmd_roomalert"))
{
text7 = text7 + PhoenixEnvironment.smethod_1("cmd_roomalert_desc") + "\r\r";
}
Add :
Code:
if (Session.GetHabbo().HasFuse("cmd_roomfreeze"))
{
text7 = text7 + PhoenixEnvironment.smethod_1("cmd_roomfreeze_desc") + "\r\r";
}
Then, under that :
Code:
string text8 = "";
if (LicenseTools.Boolean_0)
{
text8 = text8 + PhoenixEnvironment.smethod_1("cmd_redeemcreds_desc") + "\r\r";
}
Add :
Code:
string text11 = "";
if (LicenseTools.Boolean_15)
{
text11 = text11 + PhoenixEnvironment.smethod_1("cmd_redeempixel_desc") + "\r\r";
}
string text12 = "";
if (LicenseTools.Boolean_16)
{
text12 = text12 + PhoenixEnvironment.smethod_1("cmd_redeemshell_desc") + "\r\r";
}
Then, under that :
Code:
case 83:
Session.GetHabbo().method_23().method_2();
Session.SendNotif(PhoenixEnvironment.smethod_1("cmd_emptypets_success"));
Phoenix.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
return true;
Add :
Code:
case 84:
if (!Session.GetHabbo().HasFuse("cmd_roomfreeze"))
return false;
Room room12 = Phoenix.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
if (room12 == null)
return false;
for (int index = 0; index < room12.RoomUser_0.Length; ++index)
{
RoomUser roomUser2 = room12.RoomUser_0[index];
if (roomUser2 != null)
roomUser2.bool_5 = !roomUser2.bool_5;
}
return true;
case 87:
if (!LicenseTools.Boolean_3)
{
Session.GetHabbo().method_28("Impossible pendant un echange!");
return true;
}
else
{
if (LicenseTools.Boolean_15)
{
Session.GetHabbo().method_23().method_20(Session);
}
else
{
Session.GetHabbo().method_28(PhoenixEnvironment.smethod_1("cmd_error_disabled"));
}
return true;
}
case 88:
if (!LicenseTools.Boolean_3)
{
Session.GetHabbo().method_28("Impossible pendant un echange!");
return true;
}
else
{
if (LicenseTools.Boolean_16)
{
Session.GetHabbo().method_23().method_21(Session);
}
else
{
Session.GetHabbo().method_28(PhoenixEnvironment.smethod_1("cmd_error_disabled"));
}
return true;
}
Finally in InventoryComponent.cs
You have to replace the two last } } of the file by :
Code:
public void method_20(GameClient class16_1)
{
int num1 = 0;
List<UserItem> list = new List<UserItem>();
foreach (UserItem userItem in this.list_0)
{
if (userItem != null && userItem.method_1().Name.StartsWith("PixEx_"))
{
int num2 = int.Parse(userItem.method_1().Name.Split(new char[1]
{
'_'
})[1]);
if (!this.list_1.Contains(userItem.uint_0))
{
if (num2 > 0)
num1 += num2;
list.Add(userItem);
}
}
}
foreach (UserItem userItem in list)
this.method_12(userItem.uint_0, 0U, false);
class16_1.GetHabbo().ActivityPoints += num1;
class16_1.GetHabbo().method_15(true);
class16_1.SendNotif("Tout les lingots de ton inventaire ont ete transformes en " + (object)num1 + " Pixels!");
}
public void method_21(GameClient class16_1)
{
int num1 = 0;
List<UserItem> list = new List<UserItem>();
foreach (UserItem userItem in this.list_0)
{
if (userItem != null && userItem.method_1().Name.StartsWith("PntEx_"))
{
int num2 = int.Parse(userItem.method_1().Name.Split(new char[1]
{
'_'
})[1]);
if (!this.list_1.Contains(userItem.uint_0))
{
if (num2 > 0)
num1 += num2;
list.Add(userItem);
}
}
}
foreach (UserItem userItem in list)
this.method_12(userItem.uint_0, 0U, false);
class16_1.GetHabbo().VipPoints += num1;
class16_1.GetHabbo().method_14(false, true);
class16_1.SendNotif("Tout les lingots de ton inventaire ont ete transformes en " + (object)num1 + " coquillages!");
}
}
}
Sorry for the presentation of the things but it's functionnal that is the point.
Then of course you will have to add the column correspunding to roomfreeze in the permissions tables and convershells/pixels in server_settings, if you need my sql table i'll give you.
I don't have the actual emulator, and i can't download it. Could you provide me with the emulator and sqls. If so, you'd be amazing, thanks
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Oh really, the file has been removed... I guess i still have the original version somewhere, about the sql if you used the imagician version before, you don't need any updates. I will send you a PM with a dowload link in a few minutes.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
I'm now trying to add roompolls, it is not than hard since i've found a uber source for, just to adapt :D
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
does that contain the Trax as well ? can we have a copy :)
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Download disponible in: http://agehotel.com.br/phx3.11.rar password: ragezone_agehotel123
Open Source ... NOT EDIT... Source original by topic
Please fixes and updates in Skype:
live:ajdaudio
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Cheers, Dude!
Good to see someone is developing on that source. Love the commands, good job!!
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Links down.. Please reupload!
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
Aoon
Links down.. Please reupload!
Download disponible in: http://agehotel.com.br/phx3.11.rar password: ragezone_agehotel123
Open Source ... NOT EDIT... Source original by topic
Please fixes and updates in Skype:
live:ajdaudio
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Who knows hot to fix error :
GameClients\GameClient.cs:line 449
Error: System.IndexOutOfRangeException: Index was outside the bounds of the array.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Does Dance, Rave, Roll, Makesay, Sitdown still not work?
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
Late3
Does Dance, Rave, Roll, Makesay, Sitdown still not work?
its work.
Hehe i fix the pathfinder bug with the lay and sit problem on rooms with stairs.
http://prntscr.com/2mwavo
I fixed the Socket error, too.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Yeah, I noticed. Its rank >4.
I recoded it to obey permissions instead, although having trouble getting "makesay" work.
Edit: Fixed makesay, Also doesn't require 9 chars before text.
Code:
case 75:
if(!Session.GetHabbo().HasFuse("cmd_makesay"))
{
string text = Params[1];
TargetClient = Phoenix.GetGame().GetClientManager().GetClientByHabbo(text);
class2 = Phoenix.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
if (Session == null || TargetClient == null)
{
return false;
}
RoomUser class4 = class2.method_53(TargetClient.GetHabbo().Id);
class4.method_1(TargetClient, Input.Substring(TargetClient.GetHabbo().Username.Length + text.Length), false);
return true;
}
return false;
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
Late3
Yeah, I noticed. Its rank >4.
I recoded it to obey permissions instead, although having trouble getting "makesay" work.
Edit: Fixed makesay, Also doesn't require 9 chars before text.
Code:
case 75:
if(!Session.GetHabbo().HasFuse("cmd_makesay"))
{
string text = Params[1];
TargetClient = Phoenix.GetGame().GetClientManager().GetClientByHabbo(text);
class2 = Phoenix.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
if (Session == null || TargetClient == null)
{
return false;
}
RoomUser class4 = class2.method_53(TargetClient.GetHabbo().Id);
class4.method_1(TargetClient, Input.Substring(TargetClient.GetHabbo().Username.Length + text.Length), false);
return true;
}
return false;
Dude, how does that obey permissions?
With that code you are telling it that if you don't have the permission makesay then you can run the command, that's backwords. You should omit the '!' not even that hard :P
Let's just say, use your code, have a user come on and run
Quote:
:makesay Late3 :ha Vrop93 is amazing
and it will send an ha using your permissions. :P
PHP Code:
case 75:
if(Session.GetHabbo().HasFuse("cmd_makesay"))
{
string text = Params[1];
TargetClient = Phoenix.GetGame().GetClientManager().GetClientByHabbo(text);
class2 = Phoenix.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
if (Session == null || TargetClient == null)
{
return false;
}
RoomUser class4 = class2.method_53(TargetClient.GetHabbo().Id);
class4.method_1(TargetClient, Input.Substring(TargetClient.GetHabbo().Username.Length + text.Length), false);
return true;
}
return false;
Dude, it's not that hard :)
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
Vrop93
Dude, how does that obey permissions?
With that code you are telling it that if you don't have the permission makesay then you can run the command, that's backwords. You should omit the '!' not even that hard :P
Let's just say, use your code, have a user come on and run and it will send an ha using your permissions. :P
PHP Code:
case 75:
if(Session.GetHabbo().HasFuse("cmd_makesay"))
{
string text = Params[1];
TargetClient = Phoenix.GetGame().GetClientManager().GetClientByHabbo(text);
class2 = Phoenix.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
if (Session == null || TargetClient == null)
{
return false;
}
RoomUser class4 = class2.method_53(TargetClient.GetHabbo().Id);
class4.method_1(TargetClient, Input.Substring(TargetClient.GetHabbo().Username.Length + text.Length), false);
return true;
}
return false;
Dude, it's not that hard :)
Indeed, It would allow bypass of Permissions with !, but that was the only way it would work for me,
What I posted above wasn't meant to include the permissions just the fix for the 9 characters.
But since you pointed it out. (Y)
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
StaffJunior
How did you fix this problem?
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
duckietm
- Solved :)
How do you fixed it??
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Next think what i add :D
Thank you to some people of ragezone where help me ;-)
You love it?
http://img829.imageshack.us/img829/3204/zccf.png
http://img819.imageshack.us/img819/4192/dbmw.png
Maybe a realease a version of my emu in the next days.
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Three small update and you renamed it? ;/
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
Juniori
Three small update and you renamed it? ;/
you don't know what i do with the emu but there Stand "based on Phoenix"
-
Re: PHX (MY EDITON) | FLY | LAY | KISS | KILL | RANK | ACH | EVENT & More
Quote:
Originally Posted by
StaffJunior
Next think what i add :D
Thank you to some people of ragezone where help me ;-)
You love it?
Maybe a realease a version of my emu in the next days.
Well sounds very nice, can't wait to see it :)