Type (string)
X position (int)
Y Position (int)
Z Position (int)
Time made (int int : int int)
Owned (bool)
Owned By (string)
Player:
Name (String)
IP (I suppose string)
Time Joined (Int int : int int)
Banned (Bool)
Times Kicked (Int)
Number Of Bricks Owned (Int)
Number Of Bricks Deleted (Int)
Number Of Bricks Created (Int)
Skin URL (String)
Health (Int)
CanDie (Bool)
isAdmin (Bool)
Brick Type:
Name (String)
Top Texture URL (String)
Bottom Tex URL (String)
Right Tex (String)
Left Tex (String)
Front Tex (String)
Back Tex (String)
Liquid (Bool)
Opaqiency (Float)
Gravity (Bool)
Server:
Host IP (String)
Host Port (Int)
Hoster Name (String)
Server Name (String)
MOTD (String)
Number of players (Int)
Max Number of players (Int)
Time Made (String or Int)
Exturnal Url (String)
Also people could create their own values to things.
They could possibly add a bool value to each client like this:
numofplayers = game.ClientGroup.CountChildren()
for i=1,i<numofplayers,i++ do
von = new.bool
von.Parent = game.ClientGroup.Child[i]
von.Name = isPushing
von.Value = false
end
Now all players have an extra attribute, called "isPushing".
To make a player do something when they press the 'm' key:
function funt()
...stuff here you want it to do...
end
Game.ClientGroup.YOURNAMEHERE.OnKeyPress(chk)
function chk(key)
if key == m then
funt()
end
end
* Indicates an optional feild. I'll have a ton of ideas soon... just give me a min, I'll be editing this alot.
Lets say Bob wants to teleport me to the cordnats (10,25,45) when he says "Tele"
You do this:
Game.ClientGroup.Bob.OnChated(SomenameTele)
Function SomenameTele(msg)
{
if msg == "Tele" then
Game.ClientGroup.Azjherben.Xpos = 10
Game.ClientGroup.Azjherben.Ypos = 25
Game.ClientGroup.Azjherben.Zpos = 45
end
}
I'll explain each event and it's possible arguments soon.
This makes the last brick placed of type "MyNewMovingBrick" move right twice a second:
bob = NULL
game.Workspace.OnChildAdded(Funt)
function Funt(object)
{
if object.class == "brick" then
if object.type == "MyNewMovingBrick" then
bob = object
end
end
}
while isObject(bob) do
ox = bob.xpos
bob.xpos = ox+1
wait(0.5)
end
Alot of that, As far as i know, is from roblox. E.g. Game.workspace.Brick Type
LUA will be nice. But, do make your system read-only. There always a virus script, like in Gmod 9 and less
Rollback Post to RevisionRollBack
Citricsquid vandalized this space. It has been sterilized ever since.
"Master Cheif! What did I tell you about humping posts?!"
My Steam ID Is: jjchrizzles
That way I can do a for loop to check events of all the players.
Not int, but 8bit (either char or byte, I'm not familiar with Lua). Server can only set players id to 0-127 anyway, so anything more then 8bits is a waste.
Nah, it's less of a "I'm gonna get you" sort of thing and more of a "you can't even capitalize it right, why should I expect you to know what you are talking about" sort of thing.
Rollback Post to RevisionRollBack
I disagree with you, therefore you are wrong.
Quality of output = Skill * Effort
Game.Workspace.[BRICK HERE].ChangeBrickType(string type)
Game.Workspace[BRICK HERE].DeleteBrick()
Game.Workspace.AddBrick(Int X,Int Y,Int Z,String Type)
Game.ClientGroup.Client.Remove(String Reason*)
Game.ClientGroup.ConectionSever()
Game.Workspace.AddMob(Int X,Int Y,Int Z,String Name,string A.I. File*)
Game.MessageDialog.Pointer.Move(Int X,Int Y)
Events:
FNH = Function Name Here
Game.[Something].ONADDEDCHILD(FNH)
This is a very important one, for new players or new bricks or even new chat messages.
Game.Workspace.[BRICK HERE].OnTouch(FNH)
[Player Touching,Brick Touched,Face Touched]
Game.ClientGroup.Client.OnPmed(FNH)
[Player,Msg Contents]
Game.ClientGroup.Client.OnSendPm(FNH)
[Player,Msg Contents]
Game.ClientGroup.Client.OnChated(FNH)
[Player, Message contents]
Game.ClientGroup.Client.OnKeyPress(FNH)
[Player,Key pressed]
Game.ClientGroup.Client.OnClick(FNH)
[Player, X pos, Y pos, MButon Clicked]
Game.ClientGroup.Client.OnRespawn(FNH)
[Player]
Game.ClientGroup.Client.OnSetspawn(FNH)
[Player,X,Y,Z]
Attributes:
Brick:
Type (string)
X position (int)
Y Position (int)
Z Position (int)
Time made (int int : int int)
Owned (bool)
Owned By (string)
Player:
Name (String)
IP (I suppose string)
Time Joined (Int int : int int)
Banned (Bool)
Times Kicked (Int)
Number Of Bricks Owned (Int)
Number Of Bricks Deleted (Int)
Number Of Bricks Created (Int)
Skin URL (String)
Health (Int)
CanDie (Bool)
isAdmin (Bool)
Brick Type:
Name (String)
Top Texture URL (String)
Bottom Tex URL (String)
Right Tex (String)
Left Tex (String)
Front Tex (String)
Back Tex (String)
Liquid (Bool)
Opaqiency (Float)
Gravity (Bool)
Server:
Host IP (String)
Host Port (Int)
Hoster Name (String)
Server Name (String)
MOTD (String)
Number of players (Int)
Max Number of players (Int)
Time Made (String or Int)
Exturnal Url (String)
Also people could create their own values to things.
They could possibly add a bool value to each client like this:
Now all players have an extra attribute, called "isPushing".
To make a player do something when they press the 'm' key:
* Indicates an optional feild.
I'll have a ton of ideas soon... just give me a min, I'll be editing this alot.
http://azjhv.net/
You do this:
I'll explain each event and it's possible arguments soon.
http://azjhv.net/
http://azjhv.net/
LUA will be nice. But, do make your system read-only. There always a virus script, like in Gmod 9 and less
Citricsquid vandalized this space. It has been sterilized ever since.
"Master Cheif! What did I tell you about humping posts?!"
My Steam ID Is: jjchrizzles
Some is from blockland some from C++ some from PHP. (or will be)
But you must admit, Roblox is the first thing in LUA alot of people can think of.
PS Olny admins can script, as scripts are stored in the folder of minecraft.
http://azjhv.net/
Without a wait in it.
D:
while true do
end
or:
while true {}
http://azjhv.net/
That way I can do a for loop to check events of all the players.
Not int, but 8bit (either char or byte, I'm not familiar with Lua). Server can only set players id to 0-127 anyway, so anything more then 8bits is a waste.
Brick Type:
Gravity (Bool)
Good idea.
http://azjhv.net/
If I remeber right, it's nil not NULL.
Brakets are used for tables.
Quality of output = Skill * Effort
Where did I use a table?
http://azjhv.net/
Lua does not use brackets, it uses do and end.
Quality of output = Skill * Effort
Back when I played A game that used LUA I was an expert scripter. I moved on to real things now, C++ and php.
http://azjhv.net/
Quality of output = Skill * Effort
I'm sorry about that. [invisable] LUA LUA LUA AUL. [/invisible]
Ut oh.....
http://azjhv.net/
Quality of output = Skill * Effort