Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - phflack

Pages: 1 2 [3] 4 5 6 7 8
31
Modification Help / | and & vs || and &&?
« on: March 11, 2012, 09:09:15 AM »
i've noticed that most people use || and && in their code, but | and & work just the same
is this a coding habit from other languages or are they different in some way?

32
Modification Help / Inventory Commands
« on: December 29, 2011, 03:39:53 PM »
are there any commands for the inventory? like getting the current slot, current item name, and switching to a slot number? or a way to see what is in each slot without swapping items? (from a scripting view, not player view)

33
Modification Help / Arrays
« on: November 25, 2011, 07:56:31 PM »
so, how exactly do they work? it seems like the keybinds is an array list, is it possible to make a function be part of an array?

34
Off Topic / getting a new computer
« on: November 18, 2011, 07:11:53 AM »
so, any suggestions for up to $1200, and better than the 2nd alienware laptop?

35
Off Topic / New Being Disrespectful to the Old
« on: June 13, 2011, 08:51:43 PM »
is it just me, or are the newer people tending to be disrespectful to old members?
a fine example is BurningClaptrap, ID 29796, unable to find out how to change the flood limit for the duplicator through RTB, and then arguing about the simplest of things

36
Suggestions & Requests / ForkLift
« on: March 10, 2011, 03:15:31 PM »
would be interesting for a warehouse TDM, to have a forklift with 3 seats, driver, on the back, and then the 3rd on the forks
would be useful if that when the driver uses /sit, or the key for sitting, then it picks up and mounts any bot right in front of it, or picks up a vehicle like the skyhawk does

37
Modification Help / Delay Won't Work
« on: January 22, 2011, 10:29:33 PM »
something makes the delay screw up, i'm trying to have it so that if you used the keybind in the last 5 seconds, it displays the next function, but if it hasn't been used in the last 5 seconds, to just display the function it's currently on
i should probably change the top comment too...
Code: [Select]
//Hug toggle, keybind code ripped from Ephialtes' quicksave, and commandtoserver('unusetool'); was suggested by Ephialtes
//Stolen from Ephialtes who stole from Randy
function AddBind(%division, %name, %command)
{
for(%i=0;%i<$remapCount;%i++)
{
if($remapDivision[%i] $= %division)
{
%foundDiv = 1;
continue;
}
if(%foundDiv && $remapDivision[%i] !$= "")
{
%position = %i;
break;
}
}
if(!%foundDiv)
{
error("Division not found: " @ %division);
return;
}
if(!%position)
{
$remapName[$remapCount] = %name;
$remapCmd[$remapCount] = %command;
$remapCount++;
return;
}
for(%i=$remapCount;%i>%position;%i--)
{
$remapDivision[%i] = $remapDivision[%i - 1];
$remapName[%i] = $remapName[%i - 1];
$remapCmd[%i] = $remapCmd[%i - 1];
}
$remapDivision[%position] = "";
$remapName[%position] = %name;
$remapCmd[%position] = %command;
$remapCount++;
}

if(!$AutoBound)
{
AddBind("Action", "Toggle", "AutoToggle");
AddBind("Action", "On", "AutoOn");
$AutoBound = true;
}

$AutoLast = 0;

function AutoToggle(%i)
{
if(%i)
return;
if($LastAuto == 0)
{
$LastAuto = 1;
$AutoLast = schedule(5000, 0, autolast);
}
else
{
if($Auto >= 9)
$Auto = 1;
else
$Auto++;
$LastAuto = 1;
$AutoLast = schedule(5000, 0, autolast);
cancel($AutoLast);
}
switch($Auto)
{
case 1:
NewChatSO.addLine("<color:ffffff>mousefire(1);");
case 2:
NewChatSO.addLine("<color:ffffff>jet(1);");
case 3:
NewChatSO.addLine("<color:ffffff>jump(1);");
case 4:
NewChatSO.addLine("<color:ffffff>crouch(1);");
case 5:
NewChatSO.addLine("<color:ffffff>autoclicker();");
case 6:
NewChatSO.addLine("<color:ffffff>moveforward(1);");
case 7:
NewChatSO.addLine("<color:ffffff>moveback(1);");
case 8:
NewChatSO.addLine("<color:ffffff>moveright(1);");
case 9:
NewChatSO.addLine("<color:ffffff>moveleft(1);");
}
}

function AutoOn(%i)
{
if(%i)
return;
switch($Auto)
{
case 0:
mousefire(1);
case 1:
mousefire(1);
case 2:
jet(1);
case 3:
jump(1);
case 4:
crouch(1);
case 5:
autoclicker();
case 6:
moveforward(1);
case 7:
moveback(1);
case 8:
moveright(1);
case 9:
moveleft(1);
}
}

function autolast()
{
$quack = 0;
}

function autoclicker()
{
mousefire(1);
schedule(33, 0, mousefire, 0);
$autoclicker = schedule(66, 0, autoclicker, true);
}

38
General Discussion / Forum's Cost
« on: January 20, 2011, 12:09:14 AM »
i'm surprised badspot still has something like this up, it must cost a decent amount to rent all the space for the images/huge walls of text and the .gif images, how  much do you guys think it costs to upkeep a set of forums like these? even though it's not the largest :D

39
Modification Help / Setting Admin Levels
« on: January 19, 2011, 12:46:20 AM »
how do you set the admin level? is it %client.isAdmin(0/1);? i told my friends to put that in the console but they said it gave an error, and i was wondering what was the correct way to toggle admin

40
Suggestions & Requests / A Fix for the Brick Edge
« on: January 16, 2011, 11:50:26 AM »
i notice on some of the longer bricks, the edge part is longer than on a short brick, example, 16*1*1 next to a 1*1*1

41
Help / server no longer appearing
« on: December 02, 2010, 07:35:24 PM »
well, my server never did show up in LAN, but i used to be able to connect through internet, but now it's not showing up there either, yet it was working fine a few days ago, any ideas?

42
Suggestions & Requests / BL_ID on bricks convert to names through RTB
« on: November 29, 2010, 07:32:44 PM »
it would be useful for when a dedicated server or something goes down, then when you reload it it would have names again, instead of when they join again
this would be useful for the contest server, which people aparently like to shut down, and then when i load the save, it has BL_IDs instead of their names, which would make it more difficult to see who built what, and if the ID list from RTB could be used to fill in their names again, that would be very useful

43
Help / Can't join my own dedicated server
« on: November 25, 2010, 12:53:38 PM »
so, i'm hosting a server for bisjac, and i was trying to make it a dedicated server, which i'm doing on another installation, with all defaults except for RTB, duplicator, fillcan, and the autosaver
it's not showing up in query lan, and i can't join through internet
the thing is though, is that when it's not dedicated, but just a normaly server from that install, i can join it perfectly fine from internet, although it doesn't show up in queryLAN, and people can join whether it's dedicated or not

44
just thinking that this would be useful, so when something happens, you can target everybody, then check if they are on a team with VCE, then change their items/player/variables

45
Off Topic / ID in posts :D
« on: November 10, 2010, 02:22:16 PM »
i finaly hit my BL ID (6887) in posts :D

Pages: 1 2 [3] 4 5 6 7 8