Author Topic: What specific functions were removed in Shader update?  (Read 1283 times)

/title

Specifically the functions relating to starting a mission, 'cause I'd really like to fix this:
http://rtb-archive.host22.com/add_ons/Client_Hub.zip
( Blockland Central Hub by Lilboarder, original RTB topic here: http://forum.blockland.us/index.php?topic=106712.0 )

If anyone could even help me (such as helping find the functions that're broken) and even give me a short crash course on Torque, I'd be grateful.

Deciding to take matters into my own hands with at least fixing that script, since Lilboarder appears to not be around anymore.

Hopefully I'm not being too intrusive about this! Sorry if I am!


That's it? Then what causes the add-on to not work at all?
Gonna check the console when I start the game, see if it was CRC'd.

Edit:  It was. So, is the script just non-do-able now or did Badspot just CRC it to prevent probable console spam and/or crashes?
« Last Edit: January 25, 2015, 07:06:58 AM by Reshiram »

Check the console when loading it, if it says that it cannot find specific objects then you may need to look into what the old/new gui names may or may not be. Just by looking over it I don't see any odd functions, however if a function is missing or cannot be found then the console should tell you so.

Check the console when loading it, if it says that it cannot find specific objects then you may need to look into what the old/new gui names may or may not be. Just by looking over it I don't see any odd functions, however if a function is missing or cannot be found then the console should tell you so.

Alright, I'll make it so it actually executes (despite the CRC) and check for the errors,

All you have to do is change any of the files in the zip, that can include namecheck.txt, description.txt, and anything else inside the zip. After that it'll execute fine.

All you have to do is change any of the files in the zip, that can include namecheck.txt, description.txt, and anything else inside the zip. After that it'll execute fine.

I've done this before, so I know, but thanks for the info anyway!

I've gotten it to execute, and I've used
Code: [Select]
trace();
There are various functions failing to execute, notably "getObject()"
And getMissionDisplayName:

The getMissionDisplayName breaks the Advanced options for the add-on.

You just need to figure out the new functions needed to start a singleplayer game. Trace can help with that.
Then you just load the same save file with the same events

I assume you can use trace for the load save function, too?

I assume you can use trace for the load save function, too?
You can use Trace to discover every TorqueScript function that is called while Trace is active.