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 - $trinick

Pages: 1 ... 174 175 176 177 178 [179] 180 181 182 183 184 ... 368
2671
Modification Help / Re: How can I learn to script these things?
« on: August 08, 2014, 02:21:05 PM »
This is the GameMode reference, it'll explain pretty much everything about making a gamemode to you: http://forum.blockland.us/index.php?topic=203327.0

As for scripting in general, the best way to start off is reading through other scripts and trying to figure out what they do. Most of scripting is plain english, so it's not really that difficult.

2672
Drama / Re: So, what've I missed?
« on: August 08, 2014, 02:16:14 PM »
Woah, my bad. I totally meant to say Player::Kill() not GameConnection::Kill(). Dunno what I was thinking.

2673
Drama / Re: So, what've I missed?
« on: August 08, 2014, 02:14:58 PM »
Am I the only modder in existence that doesn't care about the lack of documentation?

There's a loving trace() function that tells you the parameters of every function and the functions it then calls from there. If you can't interpret how a function like miniGameCanDamage works from the name, then you might need to reconsider how you use your time. For Torque functions, every single last one has an explanation of how it works if you just call it with the incorrect number of parameters. Need a complete list of all Blockland functions? dumpConsoleFunctions();.

There is nothing that Badspot would document that would be any more helpful than a combination of these methods of figuring out how stuff works. It might make it easier because all you have to do is open up your web browser and search for a function, but it's not like documentation is necessary.

And you know what? We even have an absolutely massive unofficial documentation of the Torque language and Blockland functions in particular. You might have heard of it: it's called the Coding Help board. It's literally the single largest TorqueScript reference on the entire internet. If you google your TorqueScript problems, there's a 9/10 chance you're gonna find the answer on the Blockland Forums and if not you'll find it nowhere. And the best part is, it's not even a static documentation. You can ask questions whenever you want and dozens of qualified coders will come to help you. So next time you're thinking, "Wow, I really wish there was documentation for GameConnection::Kill()." just go to the Coding Help board and post a topic saying, "Hey! Can somebody explain to me how to use GameConnection::Kill()? Thanks!"

2674
Off Topic / Re: Narcissistic Personality Quiz
« on: August 08, 2014, 01:28:23 PM »
i mean i guess my results match me, considering i usually bullstuff my ego and confidence because in reality i have absolutely no self esteem and have been suicidal for the past 3 years

See, the difference with me is I really feel that way.

I really am just inherently an amazing human being destined for success.

2675
Off Topic / Re: Narcissistic Personality Quiz
« on: August 08, 2014, 01:15:01 PM »


nailed it.

2676
Off Topic / Re: Post real life pictures of yourself.
« on: August 07, 2014, 02:59:35 PM »


Girl in natural habitat

2677
Yuki; the purpose of this thread is not an exclusive club of drug users. We welcome everyone's questions and (reasonable) input equally. Maybe it's better, in retrospect, that we moved from your thread so that the thread can shift forward and progress from what it used to be. This thread is a discussion for all things drugs. It's not an advocacy to drugs in and of itself.

Drugs are a huge topic of conversation and controversy. It's only natural that on a forum with threads for all other kinds of controversies, a thread for drugs exists too. In this thread we try to provide objective replies to people's genuine questions, concerns, and general interest in drugs. While discussion of drugs often fades from fact to sharing of experiences, nobody here advocates children taking drugs. But you said it yourself, it's going to happen whether or not their parents tell them not to. I don't know about you, but I am much more comfortable with the idea of people coming to this thread and getting actual answers to their questions about drugs than getting their information from some handicapped classmate who honestly couldn't care less whether he's popping 2C-I, 2C-E, MDMA, or even simply adderall as long as it gets him forgeted up.

The intent of your thread may have been to educate people about drugs, and that spirit lives on to this thread. It's grown since you left it though, and now it includes an open community of people who can talk about, ask questions about, and otherwise discuss drugs without fear of getting stuff on by everyone else. That's what the Rec. Drug Thread is all about.



This is kind of nitpicky and irrelevant, so I don't want it connected to the top piece of my post. When you posted the Rec. Drug Thread, you posted specifically about recreational use of drugs. This invalidates statements such as the following in an argument that your intentions were purely to convey information about the subject of pharmacology.

Anyone can take drugs and dance for six hours. Great people use that time of new perspective wisely.

2678
I never thought R34 was a TYPE of research

I mean, I can pretty clearly understand that he means research of stuff that isn't intended to be loveually explicit turns him on.

2679
The whole idea behind use not abuse is that you are able to stop using them. Once you've gotten to a point where you cannot stop using them, you've entered the abuse stage.

2680
The fact that you can exhibit the self control necessary to not abuse something that can be very easily abused is something to be proud of. It's something that's difficult for a lot of people, so overcoming it is an achievement.

2681
Off Topic / Re: First day of senior year.
« on: August 06, 2014, 05:29:13 PM »
Pffff, indoor campuses. I haven't had an indoor campus since elementary school.

2682
And then when you move onto more hardcore drugs (which you probably already have done), you will say otherwise. You shouldn't take pride in doing drugs.

He has moved on to harder drugs and he is still saying that. You literally contradicted yourself.

You should take pride in being a user, not abuser, of drugs. That takes self control and discipline that not everybody has. They're good qualities.

Also, assuming that people are going to move on to harder drugs is the whole gateway drug thing. Literally nobody even believes that anymore unless they're as stubborn as a rock.

2683
Off Topic / Re: First day of senior year.
« on: August 06, 2014, 05:05:22 PM »
Senior year is best year. Look forward to it, it goes by fast.

2684
I love that hair color.

Same. I love dyed hair. I don't know if I'd say it's a turn on, but it's definitely really attractive.

2685
I think it's pretty cool.
Just one question though (since I have like zero knowledge of "hacking" into games like this): if the game engine code was changed enough, wouldn't that change the executable and you'd need to find all the address all over again?

Sooort of. We don't statically link our addresses, at least not after we finish debugging and stuff. We do what's called signature scanning where it searches through the executable to find machine code we ask it to, then return the address it's at. So we find the 'signature' for the assembly at the start of a specific function, then when the DLL gets injected it searches through the executable and finds that function. The only way this would break is if the machine code of the signature changed, meaning Badspot directly modified the beginning of the function we're looking for.

For example, this is the code I use to find the address of the function inside Blockland to register a Torque function that returns an integer:

Code: [Select]
typedef void (WINAPI *aFunc)(const char* className, const char* funcName, void *func, const char* usage, DWORD minArgs, DWORD maxArgs);
aFunc addIntFunction; // address inside Blockland.exe for Con::addCommand (int)

DWORD setup = findPattern("\x83\xEC\x0C\x56\x8B\x35\x00\x00\x00\x00\x85\xF6", "xxxxxx????xx");
addIntFunction = (aFunc)(setup+0xA4+*(int *)(setup+0xA0));

Pages: 1 ... 174 175 176 177 178 [179] 180 181 182 183 184 ... 368