View unanswered posts | View active topics It is currently Fri Dec 27, 2024 7:21 am



Reply to topic  [ 6 posts ] 
 Hidden vars found! 
Author Message
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Hidden vars found!
From what I know, there are accessable tables named like:
AHumans
MOSRotatings
AEmitters

Oh, I found these while setting MovableMan to nil and looking at the error dumps.
Running table.foreach show at the end of the dump that I can access the functions used in presets.


Last edited by mail2345 on Tue Jun 30, 2009 4:46 am, edited 1 time in total.



Tue Jun 30, 2009 4:40 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Better way of going though lists.
So I could say do a string find on aemitters named "Dent Metal"? Does this work as another way to work around attachables?


Tue Jun 30, 2009 4:43 am
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Hidden vars found!
Apparently, while doing some testing, this only shows preset functions.
I'll still be doing some hackish ness to find a solution, seeing as there still are hidden tables.

Anybody know how to expand the part where lua says the code that caused the error?
EDIT:
Damm, that part's hard coded, according to the lua ref manual.
It's up to the game to decide how much of an error is shown.
EDIT2:
Well, looks like I found something interesting.
This only tracks existing scripted objects.
EDIT3:
Can't seem to make anything useful.
For reference, I have some console dumps.


Attachments:
magic.txt [1.42 KiB]
Downloaded 224 times
moremagic.txt [138.21 KiB]
Downloaded 375 times
x.txt [6.78 KiB]
Downloaded 223 times
Tue Jun 30, 2009 4:47 am
Profile
User avatar

Joined: Sun May 31, 2009 1:04 am
Posts: 308
Reply with quote
Post Re: Hidden vars found!
Why can't the devs just tell us this stuff? Reminds me of the days of Tribes, where no one knew where the source was and all the modders had to rely on hacky methods to find out how the game worked.


Fri Jul 03, 2009 3:21 am
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Hidden vars found!
Data's source code comment posting bot has some problems.


Fri Jul 03, 2009 3:29 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Hidden vars found!
I think it's more that Data's source code commenting is somewhat outdated with the actual functions.


Fri Jul 03, 2009 3:37 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.040s | 16 Queries | GZIP : Off ]