-
Re: Battle Banzai Gate Code
Quote:
Originally Posted by
vista4life
hmmm i wonder how to get the color on the tiles because i did what you said but the tiles still black?
Haven't tried it yet, but I think you should "manually" set the status of the furni...
-
Re: Battle Banzai Gate Code
Quote:
Originally Posted by
DJAlexxstyle
Haven't tried it yet, but I think you should "manually" set the status of the furni...
i know now how it works but i need to sorta more things out:)
-
Re: Battle Banzai Gate Code
Hm.. I just get expected { when i put it where it should go..
-
Re: Battle Banzai Gate Code
-
Re: Battle Banzai Gate Code
-
Re: Battle Banzai Gate Code
Quote:
Originally Posted by
Getloose
You need to put down a bb_path1 before the gate. Effect coming in active if you walk on a bb floor :ott1:
--
Release if it's done with bb_score_* hope someone has a fix for bb_score_* to set him active in my room :(:
Getloose Can you help me? I did the whole process more when I climb on top of bb_patch1 it does not change color, appears over the end does not change the color patch can you help me?
Sorry my bad English.
I am Brazilian :*:
---------- Post added at 04:38 PM ---------- Previous post was at 04:38 PM ----------
Quote:
Originally Posted by
Getloose
You need to put down a bb_path1 before the gate. Effect coming in active if you walk on a bb floor :ott1:
--
Release if it's done with bb_score_* hope someone has a fix for bb_score_* to set him active in my room :(:
http://img837.imageshack.us/img837/4317/88931409.png
Getloose Can you help me? I did the whole process more when I climb on top of bb_patch1 it does not change color, appears over the end does not change the color patch can you help me?
Sorry my bad English.
I am Brazilian :*:
EDIT¹: To put the score on something you have to change the furniture database of mobi you're putting it up for can_stack (1).
Try to see if the.
-
Re: Battle Banzai Gate Code
help me please :( the gate didnt work
-
Re: Battle Banzai Gate Code
Good ! 10/10
Getloose, can you share your BB fix with everybody ?
-
Re: Battle Banzai Gate Code
-
Re: Battle Banzai Gate Code
the colors on the plates doesnt work! :(
how come ?
-
Re: Battle Banzai Gate Code
Quote:
Originally Posted by
mike444
the colors on the plates doesnt work! :(
how come ?
Because there not coded yet, GetLoose wont release his code.
-
Re: Battle Banzai Gate Code
Release my code not actually done it's my first time in *.cs files. Ugly code sorry but works a little bit.
Someone can fix more of BB Banzai i'm work too but a lot of time takes to other things. Here a screen in working (titles works).
You can replace the code of dj.matias with my code and it works!
http://img837.imageshack.us/img837/4317/88931409.png
Code:
// BATTLE BANZAI
// PART OF dj.matias
// BY GETLOOSE
// 1 = L
// 2 = DO NOT USE
// 3 = R -> 1 L
// 4 = R -> 2 L
// 5 = R -> 3 L COMPLETE
// 6 = G -> 1 L
// 7 = G -> 2 L
// 8 = G -> 3 L COMPLETE
// 9 = B -> 1 L
// 10 = B -> 2 L
// 11 = B -> 3 L COMPLETE
// 12 = Y -> 1 L
// 13 = Y -> 2 L
// 14 = Y -> 3 L COMPLETE
if (Item.GetBaseItem().InteractionType.ToLower() == "bb_red_gate")
{
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
dbClient.ExecuteQuery("UPDATE users SET bb_ball = 'r' WHERE id = '" + User.HabboId + "' LIMIT 1");
}
}
if (Item.GetBaseItem().InteractionType.ToLower() == "bb_yellow_gate")
{
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
dbClient.ExecuteQuery("UPDATE users SET bb_ball = 'y' WHERE id = '" + User.HabboId + "' LIMIT 1");
}
}
if (Item.GetBaseItem().InteractionType.ToLower() == "bb_blue_gate")
{
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
dbClient.ExecuteQuery("UPDATE users SET bb_ball = 'b' WHERE id = '" + User.HabboId + "' LIMIT 1");
}
}
if (Item.GetBaseItem().InteractionType.ToLower() == "bb_green_gate")
{
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
dbClient.ExecuteQuery("UPDATE users SET bb_ball = 'g' WHERE id = '" + User.HabboId + "' LIMIT 1");
}
}
if (Item.GetBaseItem().InteractionType.ToLower() == "bb_plate")
{
string pallo;
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
pallo = dbClient.ReadString("SELECT bb_ball FROM users WHERE id = '" + User.HabboId + "' LIMIT 1");
}
if (pallo == "r")
{
ServerMessage Message = new ServerMessage(485);
Message.AppendInt32(User.VirtualId);
Message.AppendInt32(33);
SendMessage(Message);
// 3 = R -> 1 L
// 4 = R -> 2 L
// 5 = R -> 3 L COMPLETE
if (Item.ExtraData != "8" && Item.ExtraData != "11" && Item.ExtraData != "14" && Item.ExtraData != "5")
{
if (Item.ExtraData == "0" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "1";
}
else if (Item.ExtraData == "1" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "3";
}
else if (Item.ExtraData == "3" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "4";
}
else if (Item.ExtraData == "4")
{
Item.ExtraData = "5";
}
Item.UpdateState();
}
}
if (pallo == "y")
{
ServerMessage Message = new ServerMessage(485);
Message.AppendInt32(User.VirtualId);
Message.AppendInt32(36);
SendMessage(Message);
// 12 = Y -> 1 L
// 13 = Y -> 2 L
// 14 = Y -> 3 L COMPLETE
if (Item.ExtraData != "8" && Item.ExtraData != "11" && Item.ExtraData != "14" && Item.ExtraData != "5")
{
if (Item.ExtraData == "0" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "3" || Item.ExtraData == "4")
{
Item.ExtraData = "1";
}
else if (Item.ExtraData == "1" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "3" || Item.ExtraData == "4")
{
Item.ExtraData = "12";
}
else if (Item.ExtraData == "12" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "3" || Item.ExtraData == "4")
{
Item.ExtraData = "13";
}
else if (Item.ExtraData == "13")
{
Item.ExtraData = "14";
}
Item.UpdateState();
}
}
if (pallo == "g")
{
ServerMessage Message = new ServerMessage(485);
Message.AppendInt32(User.VirtualId);
Message.AppendInt32(34);
SendMessage(Message);
// 6 = G -> 1 L
// 7 = G -> 2 L
// 8 = G -> 3 L COMPLETE
if (Item.ExtraData != "8" && Item.ExtraData != "11" && Item.ExtraData != "14" && Item.ExtraData != "5")
{
if (Item.ExtraData == "0" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "3" || Item.ExtraData == "4" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "1";
}
else if (Item.ExtraData == "1" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "3" || Item.ExtraData == "4" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "6";
}
else if (Item.ExtraData == "6" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "3" || Item.ExtraData == "4" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "7";
}
else if (Item.ExtraData == "7")
{
Item.ExtraData = "8";
}
Item.UpdateState();
}
}
if (pallo == "b")
{
ServerMessage Message = new ServerMessage(485);
Message.AppendInt32(User.VirtualId);
Message.AppendInt32(35);
SendMessage(Message);
// 9 = B -> 1 L
// 10 = B -> 2 L
// 11 = B -> 3 L COMPLETE
if (Item.ExtraData != "8" && Item.ExtraData != "11" && Item.ExtraData != "14" && Item.ExtraData != "5")
{
if (Item.ExtraData == "0" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "3" || Item.ExtraData == "4" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "1";
}
else if (Item.ExtraData == "1" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "3" || Item.ExtraData == "4" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "9";
}
else if (Item.ExtraData == "9" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "3" || Item.ExtraData == "4" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "10";
}
else if (Item.ExtraData == "10")
{
Item.ExtraData = "11";
}
Item.UpdateState();
}
}
}
-
Re: Battle Banzai Gate Code
wow thats good whats link to your hotel I wanna play lol
---------- Post added at 06:23 PM ---------- Previous post was at 06:22 PM ----------
Well send it to me in pm
-
Re: Battle Banzai Gate Code
Quote:
Originally Posted by
No0b
wow thats good whats link to your hotel I wanna play lol
---------- Post added at 06:23 PM ---------- Previous post was at 06:22 PM ----------
Well send it to me in pm
http://localhost/client :love:
Portforwarding sucks with my router :sneaky2:
-
Re: Battle Banzai Gate Code
what router are you using? lol
-
Re: Battle Banzai Gate Code
Quote:
Originally Posted by
Getloose
Release my code not actually done it's my first time in *.cs files. Ugly code sorry but works a little bit.
Someone can fix more of BB Banzai i'm work too but a lot of time takes to other things. Here a screen in working (titles works).
You can replace the code of dj.matias with my code and it works!
http://img837.imageshack.us/img837/4317/88931409.png
Code:
// BATTLE BANZAI
// PART OF dj.matias
// BY GETLOOSE
// 1 = L
// 2 = DO NOT USE
// 3 = R -> 1 L
// 4 = R -> 2 L
// 5 = R -> 3 L COMPLETE
// 6 = G -> 1 L
// 7 = G -> 2 L
// 8 = G -> 3 L COMPLETE
// 9 = B -> 1 L
// 10 = B -> 2 L
// 11 = B -> 3 L COMPLETE
// 12 = Y -> 1 L
// 13 = Y -> 2 L
// 14 = Y -> 3 L COMPLETE
if (Item.GetBaseItem().InteractionType.ToLower() == "bb_red_gate")
{
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
dbClient.ExecuteQuery("UPDATE users SET bb_ball = 'r' WHERE id = '" + User.HabboId + "' LIMIT 1");
}
}
if (Item.GetBaseItem().InteractionType.ToLower() == "bb_yellow_gate")
{
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
dbClient.ExecuteQuery("UPDATE users SET bb_ball = 'y' WHERE id = '" + User.HabboId + "' LIMIT 1");
}
}
if (Item.GetBaseItem().InteractionType.ToLower() == "bb_blue_gate")
{
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
dbClient.ExecuteQuery("UPDATE users SET bb_ball = 'b' WHERE id = '" + User.HabboId + "' LIMIT 1");
}
}
if (Item.GetBaseItem().InteractionType.ToLower() == "bb_green_gate")
{
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
dbClient.ExecuteQuery("UPDATE users SET bb_ball = 'g' WHERE id = '" + User.HabboId + "' LIMIT 1");
}
}
if (Item.GetBaseItem().InteractionType.ToLower() == "bb_plate")
{
string pallo;
using (DatabaseClient dbClient = UberEnvironment.GetDatabase().GetClient())
{
pallo = dbClient.ReadString("SELECT bb_ball FROM users WHERE id = '" + User.HabboId + "' LIMIT 1");
}
if (pallo == "r")
{
ServerMessage Message = new ServerMessage(485);
Message.AppendInt32(User.VirtualId);
Message.AppendInt32(33);
SendMessage(Message);
// 3 = R -> 1 L
// 4 = R -> 2 L
// 5 = R -> 3 L COMPLETE
if (Item.ExtraData != "8" && Item.ExtraData != "11" && Item.ExtraData != "14" && Item.ExtraData != "5")
{
if (Item.ExtraData == "0" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "1";
}
else if (Item.ExtraData == "1" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "3";
}
else if (Item.ExtraData == "3" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "4";
}
else if (Item.ExtraData == "4")
{
Item.ExtraData = "5";
}
Item.UpdateState();
}
}
if (pallo == "y")
{
ServerMessage Message = new ServerMessage(485);
Message.AppendInt32(User.VirtualId);
Message.AppendInt32(36);
SendMessage(Message);
// 12 = Y -> 1 L
// 13 = Y -> 2 L
// 14 = Y -> 3 L COMPLETE
if (Item.ExtraData != "8" && Item.ExtraData != "11" && Item.ExtraData != "14" && Item.ExtraData != "5")
{
if (Item.ExtraData == "0" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "3" || Item.ExtraData == "4")
{
Item.ExtraData = "1";
}
else if (Item.ExtraData == "1" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "3" || Item.ExtraData == "4")
{
Item.ExtraData = "12";
}
else if (Item.ExtraData == "12" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "3" || Item.ExtraData == "4")
{
Item.ExtraData = "13";
}
else if (Item.ExtraData == "13")
{
Item.ExtraData = "14";
}
Item.UpdateState();
}
}
if (pallo == "g")
{
ServerMessage Message = new ServerMessage(485);
Message.AppendInt32(User.VirtualId);
Message.AppendInt32(34);
SendMessage(Message);
// 6 = G -> 1 L
// 7 = G -> 2 L
// 8 = G -> 3 L COMPLETE
if (Item.ExtraData != "8" && Item.ExtraData != "11" && Item.ExtraData != "14" && Item.ExtraData != "5")
{
if (Item.ExtraData == "0" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "3" || Item.ExtraData == "4" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "1";
}
else if (Item.ExtraData == "1" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "3" || Item.ExtraData == "4" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "6";
}
else if (Item.ExtraData == "6" || Item.ExtraData == "9" || Item.ExtraData == "10" || Item.ExtraData == "3" || Item.ExtraData == "4" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "7";
}
else if (Item.ExtraData == "7")
{
Item.ExtraData = "8";
}
Item.UpdateState();
}
}
if (pallo == "b")
{
ServerMessage Message = new ServerMessage(485);
Message.AppendInt32(User.VirtualId);
Message.AppendInt32(35);
SendMessage(Message);
// 9 = B -> 1 L
// 10 = B -> 2 L
// 11 = B -> 3 L COMPLETE
if (Item.ExtraData != "8" && Item.ExtraData != "11" && Item.ExtraData != "14" && Item.ExtraData != "5")
{
if (Item.ExtraData == "0" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "3" || Item.ExtraData == "4" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "1";
}
else if (Item.ExtraData == "1" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "3" || Item.ExtraData == "4" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "9";
}
else if (Item.ExtraData == "9" || Item.ExtraData == "6" || Item.ExtraData == "7" || Item.ExtraData == "3" || Item.ExtraData == "4" || Item.ExtraData == "12" || Item.ExtraData == "13")
{
Item.ExtraData = "10";
}
else if (Item.ExtraData == "10")
{
Item.ExtraData = "11";
}
Item.UpdateState();
}
}
}
hi dis doesn't work.... the patches don't lit up, is there something else we had to do?
-
Re: Battle Banzai Gate Code
Same, the items don't change for me, hmm?
-
Re: Battle Banzai Gate Code
It does for me :P
// But yeah i edited it a bit, TIP: Make the battleball effect almost the same as the Watereffect ( Same codes ) but a bit differently :P
-
Re: Battle Banzai Gate Code
Did you have an interaction in the database set on bb_plate on bb_path1?
And remove our cache. Hope will fix the problem say it when isn't fix on your hotel.
Reply s.a.p.
-
Re: Battle Banzai Gate Code
Quote:
Originally Posted by
Getloose
Did you have an interaction in the database set on bb_plate on bb_path1?
And remove our cache. Hope will fix the problem say it when isn't fix on your hotel.
Reply s.a.p.
yes i created my cache.
Still it doesn't work.
bb_plate in the interaction_type.
What number should be in the interaction_modes_count?
Regards
Edward
-
Re: Battle Banzai Gate Code
Quote:
Originally Posted by
-ClaNHabbo-
yes i created my cache.
Still it doesn't work.
bb_plate in the interaction_type.
What number should be in the interaction_modes_count?
Regards
Edward
Here it set on "4". Hope will fix your code idk about this problem it's the same as me :blink:
-
Re: Battle Banzai Gate Code
i have the interaction_type but it doesnt work.. :(
-
Re: Battle Banzai Gate Code
bb_patch1 didnt worked. i set uped the infrections types like the same of my emulator and i replaced the tiles to theroom i updated the ctaalog tested didnt worked -.-
---------- Post added at 02:50 PM ---------- Previous post was at 02:49 PM ----------
but the gates works
-
Re: Battle Banzai Gate Code
It works if you change the code abit :P
-
Re: Battle Banzai Gate Code
Quote:
Originally Posted by
PEjump2
It works if you change the code abit :P
Is it the item data type you need to make it recongise if its blank not just 0?