Author Topic: Code Translations  (Read 1682 times)

Hi, I just wondering if there was a way to translate object code into source code, vice versa. is there a way?

Hi, I'm just wondering if you know what you're talking about.

I have questions instead of answers.
Object code?
Source code?

What?

uh, encrypted code?
readable code?


hi, i was in your same shoes once, but i learned this handy little console command. just type this and you should have your desired results!

while(1){}

here is an alternative, but i prefer the first

for(%i=1; %i>0; %i++){}

good luck my friend, in your journy through torque script.

Hi, I'm just wondering if you know what you're talking about.

I have questions instead of answers.
Object code?
Source code?

What?

Object code (.cs.dso) is compiled source code (.cs)

It's not possible to convert a file in either direction, by design.

It's not possible to convert a file in either direction, by design.
True, otherwise we could change Blockland entirely

hi, i was in your same shoes once, but i learned this handy little console command. just type this and you should have your desired results!

while(1){}

here is an alternative, but i prefer the first

for(%i=1; %i>0; %i++){}

good luck my friend, in your journy through torque script.
Will you stop prancing around the coding help system telling people to crash their game? It's getting ridiculous.

Will you stop prancing around the coding help system telling people to crash their game? It's getting ridiculous.
I'm not sure he meant to leave the block empty.

I'm not sure he meant to leave the block empty.
He has spammed that across the Coding Help forum and if you talk to almost any intelligent person who knows him you'll know he has the reputation of a douchebag. While(true) used to crash people more than it is actually put to good use, and a while loop held no relevance to the topic at hand.

There is way to save object codes (meaning a object that was created in the game)

1.look at the object
2.in chat type /getid
3.then in the console (~ key) type [ID].save("base/[name].cs");
   [ID] being the id you got from /getid
   [name] being the file to save it to

4.press enter and you'll recieve 1 of two messages.
   1.Could not find method in [ID] - the save method isn't useable in this object
    2.nothing - it saved successfully

5.If you are unable to find the save function in the object you can use [ID].dump(); to find another suitable object to dump

else enjoy the save object

There is way to save object codes (meaning a object that was created in the game)

1.look at the object
2.in chat type /getid
3.then in the console (~ key) type [ID].save("base/[name].cs");
   [ID] being the id you got from /getid
   [name] being the file to save it to

4.press enter and you'll recieve 1 of two messages.
   1.Could not find method in [ID] - the save method isn't useable in this object
    2.nothing - it saved successfully

5.If you are unable to find the save function in the object you can use [ID].dump(); to find another suitable object to dump

else enjoy the save object
No, that's different.

True, otherwise we could change Blockland entirely

k thanks guys, I was just wondering:)