when you are 30 minutes in the hotel you get it...
Printable View
ik but that might be part cms. i dont think string datetime would work.
---------- Post added at 06:04 PM ---------- Previous post was at 06:03 PM ----------
Unless i do A ICount++ Every 30 Minutes.
and i need one more command
:changeRname <name>
its changes the name of the room where you are and its locking the room
arescj R35
---------- Post added at 10:38 AM ---------- Previous post was at 10:23 AM ----------
i have done it already...
PHP Code:private static void checkPings()
{
List<virtualUser> vir = new List<virtualUser>();
while (true)
{
lock (_Users)
{
try
{
foreach (virtualUser User in _Users.Values)
{
if (!User._isDisconnected)
{
if (User.pingOK)
{
User._clean = false;
User.pingOK = false;
User.sendData("@r");
int inRoom = 0;
if (User.Room != null || User.roomUser != null)
inRoom = User.Room.roomID;
if (User._Username != "")
{
User._Minuteperiod = User._Minuteperiod + 1;
if (User._Minuteperiod == 30)
{
User._Minuteperiod = 0;
User._Pixels = User._Pixels + 2000;
User._Credits = User._Credits + 1000;
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
dbClient.runQuery("UPDATE users SET credits = '" + User._Credits + "' WHERE id = '" + User.userID + "' LIMIT 1");
dbClient.runQuery("UPDATE users SET pixels = '" + User._Pixels + "' WHERE id = '" + User.userID + "' LIMIT 1");
User.refreshValueables(true, false);
}
User.sendData("BK" + "je hebt er 1000 credits bij en 2000 pixels!!" + Convert.ToChar(2));
User.sendData("Fv" + Encoding.encodeVL64(User._Pixels) + "I");
}
}
}
else
{
vir.Add(User);
}
}
}
}
catch { }
foreach (virtualUser User in vir)
{
User.Disconnect();
}
}
vir.Clear();
Thread.Sleep(100000);
}
}
Name: Rocket
Description: It basicly lets a user fly up into the air
Version: RastaRP Edit.
Ive already got the code it just doesnt make them go up into sky:
Code:region :rocket
case "rocket":
int rocket;
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
rocket = dbClient.getInt("SELECT rocket FROM users WHERE name = '" + _Username + "'");
}
refreshAppearance(false, false, true);
if (rocket == 1)
{
switch (roomUser.Z2)
{
case 0:
{
roomUser.goalX = roomUser.X;
roomUser.goalY = roomUser.Y - 1;
roomUser.H = roomUser.H + 3;
break;
}
case 2:
{
roomUser.goalX = roomUser.X + 1;
roomUser.goalY = roomUser.Y;
roomUser.H = roomUser.H + 3;
break;
}
case 4:
{
roomUser.goalX = roomUser.X;
roomUser.goalY = roomUser.Y + 1;
roomUser.H = roomUser.H + 3;
break;
}
case 6:
{
roomUser.goalX = roomUser.X - 1;
roomUser.goalY = roomUser.Y;
roomUser.H = roomUser.H + 3;
break;
}
}
}
Room.sendSaying(roomUser, "*Pulls out rocket and flies into the air!*");
break;
<Command> :massbadge or :masscredit
<What it Does?> Give Badges, or Credits for All the Hotel
<Version> Uber r54+
Sorry i Dont Do Uber.
CJ That Not Possible Unless you want the effect Jetpack and thats R35
Let me see what you mean by fly.
---------- Post added at 01:31 PM ---------- Previous post was at 01:28 PM ----------
i Cant Get on to see. but what do you mean fly they warp?
He means walk higher than the ground
Alright may take a while because i need to get some cords first thanks tweeney
Thanks zak. I hadto go out thats why i didnt reply
error command for uberemu
gives users error
i forgott this command wtf....
Errm sorry i dont do uber..
~Commands Progress~
-Masbadge Posting Soon
-Masscredits Posting Soon
-Rocket 30% Just Done the Cords
-Showhand 60% Im still trying to figure this out.
Thanks Zak