436
Drama / Re: CCA IS COMING BACK FOR ''ROUND 3''
« on: August 29, 2014, 12:17:45 AM »
report to FBI going bust to him.
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.
<just:center>Thank you for nice info tips!
No. I think he wants each server to be able send the prerequisites to the client. But these would be great default ones.I agree with you, Jes00.
Custom prerequisites please?You mean you want write your own custom prerequisites in that GUI? I guess you have ask some people's option.
I like the new mockup, but the "Click select pick one position" at the bottom, makes no sense. It should be something like "Select your desired position".Sure! I will change it.
This is the source from the default gameHow about add the tab keyboard to change the view 1/3 person?Code: [Select]function serverCmdDropCameraAtPlayer(%client)
{
//if ($Server::TestCheats)
if(%client.isAdmin || %client.isSuperAdmin)
{
%client.camera.setTransform(%client.player.getEyeTransform());
%client.camera.setVelocity("0 0 0");
%client.setControlObject(%client.camera);
}
}
The only addition to Blockland's would be
Looks nice, the GUI could use some work though. Perhaps some cool looking transparent gui, who knows.You can use Client_Theme at add-ons thread.
Progress being made!
New GUIs (ignore what Furling said in his application lol):
Still Left To Do:
+ Review GUI
- Fix "Super Admin" text
- Sorting and reapply limits option (update popup menu) (jes00 is taking care of these scripts)
- Closing GUI using escape and/or keybind
- Reset GUI on close or reopen (just encase)
- Adjusting button responses depending on category being viewed
- Prevent admining/super admining self or id 999999
- Response script (prevent duplicate app files)(admin, super admin, deny, blacklist, pending, unblacklist, undeny, unsuperadmin, unadmin) (jes00 has already been working on this part as well)
- Prevent interfering with RTB Server Control
+ Form GUI
- Closing GUI using escape, keybind and when submitting form
- Confirmation window on submit
- Clearing fields if selected with default text present
- Add username and id (both in bold?) when host is notified of a new application
- Finalize text (such as tips)
- Check if form already submitted and if pending, if player is already admin/super admin, or if blacklisted (and if duplicate files?)
Er, not really. Practically all it does is:Maybe...
- Make sure you're admin.
- Respawn you if you're dead.
- Put your camera into orbit mode, move it to your player's eyeTransform and make you control it.
- Mount an image with an emitter to the camera.
Use a GuiMLTextCtrl and set the text to <color:ffffff><font:myFont:20>My text.Thank you very much!
package NotAnActualPackage
{
function gameConnection::onConnectionAccepted(%t)
{
schedule(0,0,swol_saveServerName());
return parent::onConnectionAccepted(%t);
}
function swol_saveServerName()
{
$Swol::ServerName = $ServerInfo::Name;
$Swol::ServerHostName = swol_getHostName();
}
function swol_getHostName()
{
%s = $Swol::ServerName;
if(%s $= "")
%s = $ServerInfo::Name;
%a = strPos(%s,"'s");
%b = strPos(%s,"s'");
if(%a >= %b)
%c = %a;
else
%c = %b;
if(%c == -1)
return "";
%n = getSubStr(%s,0,%c);
return %n;
}
function NewPlayerListGui::update(%this,%cl,%name,%blid,%a,%b,%c)
{
$qq=NPL_List.RowCount();
parent::update(%this,%cl,%name,%blid,%a,%b,%c);
// echo(%name);
// echo(%a SPC "-" SPC %b SPC "-" SPC %c);
}
function NPL_List::addRow(%this,%i,%t)
{
if(getField(%t,0) $= "S" && getField(%t,1) $= $Swol::ServerHostName)
{
%t = "H" @ getSubStr(%t,1,strLen(%t)-1);
%j = "<bitmap:add-ons/Script_Statuses/Icon_HostShield.png>";
}
else if(getField(%t,0) $= "S" && getField(%t,1) !$= $Swol::ServerHostName)
{
// %t = " " @ getSubStr(%t,1,strLen(%t)-1);
%j = "<bitmap:add-ons/Script_Statuses/Icon_SuperAdminShield.png>";
}
else if(getField(%t,0) $= "A")
{
// %t = " " @ getSubStr(%t,1,strLen(%t)-1);
%j = "<bitmap:add-ons/Script_Statuses/Icon_AdminShield.png>";
}
else
{
// %t = " " @ getSubStr(%t,1,strLen(%t)-1);
%j = "<bitmap:add-ons/Script_Statuses/Icon_PlayerShield.png>";
}
if($testfornow)
{
if(isObject($q[$qq]))
{
$q[$qq].delete();
}
//%i=NPL_List.getRowID();
//$testfornow=false;
$q[%i]=new GuiMLTextCtrl()
{
profile = "GuiMLTextCtrl";
horizSizing = "right";
vertSizing = "bottom";
position = "20" SPC 20*$qq;
extent = "16 16";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
lineSpacing = "2";
allowColorChars = "0";
maxChars = "-1";
text = %j;
maxBitmapHeight = "-1";
selectable = "0";
autoResize = "0";
};
// %a=NPL_List.getRowID($q,NPL_List);
// $q_[$qq]=$qq;
// warn(%i);
NPL_Scroll.add($q[%i]);
$qq++;
}
parent::addRow(%this,%i,%t);
}
function NPL_list::removeRow(%this,%a)
{
parent::removeRow(%this,%a);
// warn(%a);
$q[%a].delete();
}
function NPL_list::removeRowByID(%this,%a)
{
parent::removeRowByID(%this,%a);
// warn(%a);
//NPL_List::ResetIcons();
$q[%a].delete();
}
function NPL_List::ResetIcons(%this)
{
if($qq<=0)
return;
for(%i=0;%i<$qq;%i++)
{
$q[%i].delete();
}
NewPlayerListGui::update();
}
};
activatePackage(NotAnActualPackage);
$testfornow=true;
$qq=-1;
function NPL_AddButtons()
{
%a = new GuiBitmapButtonCtrl(Legend_Icons) {
profile = "BlockButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "380 33";
extent = "100 19";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
command = "";
text = "Legend Icons";
groupNum = "-1";
buttonType = "PushButton";
bitmap = "base/client/ui/button1";
lockAspectRatio = "0";
alignLeft = "0";
alignTop = "0";
overflowImage = "0";
mKeepCached = "0";
mColor = "255 255 255 255";
};
%b = new GuiBitmapCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "52 33";
extent = "100 19";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
command = "";
groupNum = "-1";
buttonType = "PushButton";
bitmap = "base/data/shapes/white";
lockAspectRatio = "0";
alignLeft = "0";
alignTop = "0";
overflowImage = "0";
mKeepCached = "0";
mColor = "200 200 200 255";
};
%c = new GuiBitmapButtonCtrl(Status) {
profile = "BlockButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "56 33";
extent = "50 19";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
command = "";
text = "Status";
groupNum = "-1";
buttonType = "PushButton";
bitmap = "base/client/ui/button1";
lockAspectRatio = "0";
alignLeft = "0";
alignTop = "0";
overflowImage = "0";
mKeepCached = "0";
mColor = "255 255 255 255";
};
%d = new GuiBitmapButtonCtrl() {
profile = "BlockButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "110 33";
extent = "68 19";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
command = "NewPlayerListGui.sortList(1);";
text = "Name";
groupNum = "-1";
buttonType = "PushButton";
bitmap = "base/client/ui/button1";
lockAspectRatio = "0";
alignLeft = "0";
alignTop = "0";
overflowImage = "0";
mKeepCached = "0";
mColor = "255 255 255 255";
};
NPL_Window.add(%a);
NPL_Window.add(%b);
NPL_Window.add(%c);
NPL_Window.add(%d);
}
NPL_AddButtons();
I don't understand the point of having a shield icon for the normal user.When this mod release, you can change the icon, If you want to.