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.


Messages - Plornt

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 ... 58
76
Modification Help / Re: Sound files on /command
« on: January 31, 2013, 10:29:12 PM »
This will play the actual beep at a certain position. Now all you have to do is throw this into a servercmd function and get a position from the client's player
Code: [Select]
serverplay3d(Beep_Checkout_Sound,%position);

77
As elm said, SimSets is your answer. A SimSet is exactly what you are thinking of. It is a group of objects. You can easily add and remove objects using add() and remove() respectively. Use this to list methods you can use
Code: [Select]
new SimSet().dump();

78
Modification Help / Re: Template needed
« on: January 30, 2013, 09:24:20 AM »
Just look into the default Weapon_Gun's cs files

79
Modification Help / Re: List of default message callbacks?
« on: January 30, 2013, 09:19:52 AM »
The tagged strings like "MsgAdminForce"?
Code: [Select]
%i=0;
while((%str=getTaggedString(%i++)) !$= "")
{
    if(getSubStr(%str,0,3) $= "Msg")
        echo(%str);
}

80
Modification Help / Re: How to create GUI Window Profiles?
« on: January 29, 2013, 10:17:44 PM »
The GUIWindowCtrl creates the whole top bar for you. You can create your own GUIWindowCtrlProfile which is the theme that the top bar is. When it comes to GUI's, mission editor is your friend :)

81
Modification Help / Re: function GameConnection::isTalking(%parameters)
« on: January 28, 2013, 06:36:18 PM »
You shouldn't really have to package isTalking. If you are trying to check if the player is talking, or trying to make the player talk. Just package
Code: [Select]
servercmdStartTalking(%client);
servercmdStopTalking(%client);
And assuming isTalking() returns a bool, there most likely is not any parameters.
EDIT: I just checked, GameConnection::isTalking() doesn't even exist.

82
well stuff, cause I can't load any of the saves from the normal duplicator :s

edit: I saved a dup as "a" and its not showing up in the folder, you sure it saves there?
The normal duplicator saves in "saves/Duplications" mine saves in "config/Duplorcations" because i was to lazy to create an actual bls file that you can load.

83
They should show up in your saves/Duplications on your save menu. I have also decided that maybe I'll look into client sided loading and saving.

84
I asked Plornt to replace the Duplicator on RTB with his version and gave him ownership of it but he never did.
woops got lazy and forgot

85
Modification Help / Re: Taking data from dump();
« on: January 21, 2013, 11:04:23 AM »
And that will get me the same numbers as /getid?
No. That would get you the client's ID. Client's ID and player ID are different.
%id = findclientbyname("Badspot").player;

86
Modification Help / Re: Call a function from another program
« on: January 18, 2013, 10:28:54 PM »
As stated above, you need to create a 'connection' between Blockland and the external program. TCP objects are the best way to go. Create a simple server on the Blockland side. In the servers ::onLine function have code for figuring out which function to call etc. On the external program's part, you need to create a client with some type of TCP socket. Once you connect, the data that you send calls the ::onLine function on Blocklands part. This is pretty easy for experienced users but would be a nice challenge for new users.

87
Neither of those will work because you are forgetting to define the client in the messageClient function
Code: [Select]
messageClient(%client,"<color:ffffff>Your ping is " @ %client.getPing());

88
Modification Help / Re: Client-Sided Calculator Chatbot
« on: January 02, 2013, 01:25:01 PM »
Where it says "Chatbot do" inside of the first line of your code, read what the if statement is saying. It is saying if the first two words are "Chatbot do" do this stuff. So it's common sense, just change "Chatbot do" to "Chatbot -calc"

89
Games / Re: Suggest N64 games
« on: January 01, 2013, 10:49:23 PM »
get any game that isnt Glover.
Glover is just horrrrrrible.

90
I don't know if anyone posted this, but here.
https://dl.dropbox.com/u/1633022/Blockland/Client_PreventUpdate.zip
Install as a normal add-on. It stops the auto updater :D

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 ... 58