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 - Benci

Pages: [1]
1
Modification Help / Re: Needs help with containerraycast
« on: August 14, 2014, 05:49:18 AM »
In better terms. You get a player object from the raycast, but you want their client object(which is what findClientByName returns).

Just take the player object and access it's .client variable to get their client object.

thanks

2
Modification Help / Re: Chatmessage to an id /getid
« on: August 13, 2014, 10:45:55 AM »
Would be better in a situation like this to post a snippet of the code where you are getting the error, or where the code isn't working properly.
You might be using the wrong variables for messageClient.
It's messageClient(%client, '', %message);

Edit: Also, if you have problems, especially within the same day, just edit your topic to include the other problems.
You have five topics on the first page of coding help.
http://forum.blockland.us/index.php?topic=264759.0
http://forum.blockland.us/index.php?topic=264762.0
http://forum.blockland.us/index.php?topic=264753.0
http://forum.blockland.us/index.php?topic=264661.0
http://forum.blockland.us/index.php?topic=264673.0

Thanks for helping me.  :cookieMonster:

3
Off Topic / Re: Badspot Bot (replaced from old link)
« on: August 13, 2014, 10:39:22 AM »
READ BOTTOM TO TOP

4
Only let's a player join if he/she has client.
Thanks  :cookieMonster:

5
Modification Help / Re: Id
« on: August 13, 2014, 10:05:15 AM »
Please clarify what you are trying to ask.
Also this board is for help, we aren't going to spoon-feed answers to you.
You could look up what you are trying to figure out, from what I get you are trying to figure out how to fire a raycast.

Edit: I should also add that the name is extremely ambiguous.
            You should change it.

Edited name, message.

6
Modification Help / Chatmessage to an id /getid
« on: August 13, 2014, 09:16:12 AM »
How to send a Chatmessage to an id what we got from /getid?
Or to a player that we got from a ContainerRaycast

I want to send %target a message. %target is firstword(%raycast)

messageclient is not working

7
Modification Help / I think, variables.
« on: August 13, 2014, 05:41:19 AM »
How to make a findclientbyname("name").player.money ? is it a variable? or what? help me please.

8
Off Topic / Re: forget, I'm Hungry
« on: August 13, 2014, 02:00:00 AM »
:O

I never though any other Hungarians would play this game lol
or have a forum account

Ezt már magyarul is mondhattad volna ;D!

9
Modification Help / Re: Player Collosion
« on: August 12, 2014, 10:37:23 AM »
You can't really do it, other than making a no clip mode. The only thing is that you will be able to go through everything.

Also, how to get a brick's ID? is it getid();?

10
Modification Help / Re: Player Collosion
« on: August 12, 2014, 10:35:49 AM »
You can't really do it, other than making a no clip mode. The only thing is that you will be able to go through everything.

And what if i make a container ray that is very short range. And if play looks at bricks then do setcollision(0); on bricks
and then schedule and setcollision(1); on bricks again? Would that work?

11
Modification Help / Player Collosion
« on: August 12, 2014, 10:13:46 AM »
How to turn off a player's collosion?
So player could go through bricks and other players.


Please help me.  :cookieMonster:

12
Modification Help / Re: A chatbot
« on: August 12, 2014, 09:51:32 AM »
package serverbot
{
  function servercmdmessagesent(%client, %text)
   {
      %help = stripos(%text, "help");
      %length = strlen("help");
      %var = %help + %length;
       if(getsubstr(%text, %help, %var) $= "help")
           {
               messageclient(%client,' ',"\c6 Server:" SPC "text goes here");
           }
       else
          {
                parent::servercmdmessagesent(%client, %text);
           }
   }
};
activatepackage(serverbot);


Didn't test, i think this should work.
If someone says help in chat, the ServerBot says text goes here.

13
Modification Help / Re: Set the view distance above 1000?
« on: August 12, 2014, 09:36:02 AM »
Are you talking about Field of View?

14
Modification Help / Re: Getting a player's clipboard.
« on: August 12, 2014, 09:33:25 AM »
This may help just a little

If it is a chat function, the command is /messageSent "message"
commandToServer('messagesent',getClipBoard());
Nvm crown beat me to it lol

That way you can send something with more characters

But you will need to make silent eval functions (Pretty bad to do if you don't have any idea what you are doing) if whatever you are trying to eval is too big, such as uploading a code (basically a file), uploading big functions, etc.



Also, Visolator could i add you on steam?

15
Modification Help / Re: Getting a player's clipboard.
« on: August 12, 2014, 09:28:48 AM »
Thanks for helping!

Cookies for you:  :cookie: :cookie: :cookie: :cookie:

Pages: [1]