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

Pages: [1] 2 3 4 5 6 ... 111
1
Modification Help / Re: OnPlant: Problems...
« on: June 29, 2009, 09:58:33 AM »
Well, I feel like an idiot. When I wrote that I had two different notepads open and I guess that I took the wrong snippet from the other notepad. Also, I do believe you need the quotes because it's referring to it as a string, although I have no idea because I'm not on my home computer. Once I get to my other computer I'll post a working version.

But you used == instead of $=?
So you're saying that's it's not a string. It still works, just you should use $= for checking strings.
And lilboarder is correct, you don't need the quotes because it's only 1 word but it's still better to use quotes.

2
Off Topic / Re: Omegle, funny conversations. Post them here.
« on: June 27, 2009, 08:55:11 PM »
Quote
Connecting to server...
Looking for someone you can chat with. Hang on.
You're now chatting with a random stranger. Say hi!
You: hi
Stranger: ________________░▒▓▓▓▓▒░_____________________________ ____ _______________________
________________░▒▒▓▒▒▒▒▒▒▓▓▒░____________________ _________________________
______________▒▓▓▒▒▒▒▓▓▒▒▒▒▒▓▓▓___________________ _________________________
_____________▓▓▒▒▒▓▓▓▒▒▒▒▒▒▒▒▒▓▓░_________________ _____________░▒▒▓▓▓▓▓▓▓▒_________
____________▒▓▒▒▓▓▓░░░░░░░░▒▓▒▒▓▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒░____▒▓▓▓▒▒▒▒▓▓▓▓▓▓▒_______
____________▓▓▒▒▓▓░░░░░░▒▓▓▓▓▓▒▒▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▓▓▓▓▓▓▓▒▒▒▓▓▓▓▒▒▒▒▒▓▓______
____________▓▓▒▒▓▓░░░▒▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓░░░░░░░░▒▓▒_____
____________▒▓▒▒▒▓▓▒▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▒░░░░░░░▓▒_____
_____________▓▓▒▒▒▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓░░░░░▒▓______
______________▒▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒░░▒▓░______
______________░▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▓________
_____________░▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒_________
____________░▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▒_________
____________▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░________
___________▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▒▒▒▒▓▒________
___________▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▒▒▒▒▓________
__________▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▒▒▒▒▓________
__________▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▒▒▒▒▒▓░_______
_________░▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░▒▒▒░▒▒▒▒▒▒▒▒▒▓▓▓▒▒▒▒▒▒▒▓░_______
_________▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒░░░░░░░▒▓▓▓▓▓▒░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░_______
________▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒░░░░░░░░▒▓▓▓▓▓▓▓▒░░░░░▒▓▒▒▒▒▒▒▒▒▒▒▓▒_______
_______▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓░░░░░░░░░░▓▓▓▓▓▓▒░░░░░░░▓▓▒▒▒▒▒▒▒▒▒▓▓_______
_____░▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▒░░░░░░░░░▒▓▓▒░░░░░░░░▒▓▓▒▒▒▒▒▒▒▒▒▒▓░______
____░▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▓▓▒▒░░░▒▓▓▓▒▒▒▒▒▒▒▒▒▒▒▓▓______
___▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▒▓▓░░░░░░░░▒▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓_____
___░░░▒▓▓▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▓▓░░░░░░░░▒▒▓▓▒▒▒▒▒▒▒▒▒▓▒▒▒▒▓▓▓▓▓▓____
______▓▓▓▓▓▓▓▒▓▓▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▒▓▓░░░░░░░▒▒▓▓▒▒▒▒▒▒▒▒▒▓▓▓▓▒▒▓▓________
_____░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒▒▓▓▒░░░░▒▒▒▓▓▒▒▒▒▒▓▓▒▒▓▓▓▓▒▓▓░________
______░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▒▓▓▓▓▓▒▒▓▓▒▒▒▒▒▒▓▓▓▓▓▒▓▓▓▓▓▓░_______
______▒▓▓▓▓▓▒▒▓▓▓▓▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▒▒▒▒▒▒▓▓▓▒▒▒▒▒▒▒▒▓▓▓▒▒▒▒▒▒▒▒▓▓░_____
____░▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓____
___░▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▓▓░__
You: Oh wow

Quote
Connecting to server...
Looking for someone you can chat with. Hang on.
You're now chatting with a random stranger. Say hi!
Stranger: hi
You: hi
Stranger: m or f
You: m
Your conversational partner has disconnected.

3
Modification Help / Re: Making a Ghost Brick [New Problem]
« on: June 27, 2009, 08:09:01 AM »
4. getWords(%client.player.getTransform(),0,2); is better than %client.player.position i think.

Why not just do %client.player.getPosition();?

8. serverCmdShiftBrickForward, serverCmdShiftBrickBackward are probably the functions your looking for.  I'm not sure, but just serverCmdShiftBrick is strange.  You should check them.  Also, their only argument would probably be %client.

serverCmdshiftBrick(X in studs, Y in studs, Z in flats);
With the Z axis everything is done in 1/3rd of a brick (e.g. a plate) so if you want to move it up 1 brick you would use 3.

4
Torque is based off of C so it wouldn't be that hard to learn if you are advanced in TorqueScript.

Yes it would. Proper programming has tons of scary stuff.

Not that it doesn't help to already be experienced.

5
Off Topic / Re: Are you addicted to anything.
« on: June 26, 2009, 07:58:25 AM »
My psychiatrist told me that I have a computer addiction. I e-mail'd him expressing my anger.

6
Add-Ons / Re: Content Windows
« on: June 26, 2009, 07:50:44 AM »
I'd like to know what Trader thinks of these windows? I mean, do they meet the 'standards' set by the doors and switches?

I'm slightly put off :/

7
Off Topic / Re: Michael Jackson: DEAD.
« on: June 26, 2009, 07:48:16 AM »
*waits for everyone to change their IM name to rip micheal jackson*

8
Modification Help / Re: Coding, Advanced Lesson?
« on: June 26, 2009, 07:42:08 AM »
% means local variable
$ Means Global

Yes sir, do you know the difference between local and global variables though?

Your biggest tool will be the console. You can find everything out with the console, I mean EVERYTHING.

To find out what happens when you do something, for example, if you want to find out what happens when you click on a vehicle you would do:
Open Console
trace(1);
Close the console
click the vehicle
Open Console
trace(0);

You will then have a list of all functions that were called in the time trace was on.
You will see a list on function names with a bunch of numbers in parentheses. This is a good time to realize that that's what almost everything in Torque is; a number. When you define something like %player = %client.player %player is just storing a number. But we use variables because these numbers aren't always the same.

So, how do you find out what these numbers you got from trace are? you use dump();
Say a number was 7260 and you wanted to find out what that number was; you would use 7260.dump(); This would then echo all of the object's dynamic fields and functions. If that doesn't help you figure out what it is do something like echo(7260.getClassName());

Echo will also help you work things out; you can do anything you do in scripts in the console. so if you want to find out whether or not your string manipulation or something is working correctly, you could just copy it from your script, slap it in the console and use some echos to work things out. You can the modify it until it does work.

Also, you can start typing in the name of a function and press TAB and it will scroll through a list of functions that you begin with what you have type; this can help you find a function.

tl;dr The console is your best friend, use trace(1); trace(0); %foo.dump(); and echo("Hello, World!");

9
Off Topic / Re: Michael Jackson: DEAD.
« on: June 25, 2009, 08:21:22 PM »
This is old news now

10
Off Topic / Re: Computers can go die
« on: June 25, 2009, 07:28:12 PM »
Play in window mode and make the resolution as big as your screen?

11
Off Topic / Re: Michael Jackson: DEAD.
« on: June 25, 2009, 07:27:20 PM »
What's to bet some of his DNA will be preserved for when they perfect human cloning.

12
Off Topic / Re: Michael Jackson: DEAD.
« on: June 25, 2009, 07:09:10 PM »
Oh no, how will the very fabric of the universe continue to exist with someone dieing.

13
Modification Help / Re: Player Datablocks
« on: June 25, 2009, 03:23:45 PM »
Also, I think "$=" is case sensitive.

It's not;
echo("cat" $= "CAT"); (returns 1)

14
Help / Re: What is wrong with my port forwarding?
« on: June 25, 2009, 03:04:00 PM »
A better way to check if your server is up is to look at the server list;

You can either look at RTB's list here: http://returntoblockland.com/forums/serverMonitor.php
Or you can type into the console: canvas.pushDialog(JoinServerGUI);

15
Help / Coming out of full screen via Alt + Enter
« on: June 25, 2009, 12:53:49 PM »
Whenever I hit Alt + Enter to exit fullscreen mode, it fails to recreate my window and gives this error message:

"OpenGLDevice::setScreenMode -- can't switch to resolution larger than desktop in window mode!"
I then have to type setRes(800, 600); which gives me back my window.

This is on Ubuntu 9.04 using WINE; I do not know whether the same applies to windows.

I would like to know if there is a way to either disable Alt + Enter or fix this problem?

Pages: [1] 2 3 4 5 6 ... 111