View unanswered posts | View active topics It is currently Wed Dec 11, 2024 8:31 am



Reply to topic  [ 3 posts ] 
 B22 Object Function Dump 
Author Message

Joined: Thu Aug 21, 2008 2:19 am
Posts: 14
Reply with quote
Post B22 Object Function Dump
Heya, I figured I would do this again for B22, since it may or may not have additional functions. Since my last thread was locked, I'll just make a new one.

http://pastebin.com/f252ef35f

There is the Object Member function dump, but, the objects are not attached. It looks like it is in the same layout as last time, so, nothing big has changed.


Also, here is the source code for what I used to dump the functions, just in case you wanted to do it yourself.

Code:
--Registry Debug Dumper
--For Cortex Command
--By Kylegar


function DumpCCRegistry()
   regdump = debug.getregistry()
   for k , v in pairs(regdump) do
      print(tostring(k).."\t"..type(v))
      if (type(v) == "table") then
         for k1, v1 in pairs(v) do
            print("\t\t"..tostring(k1).."\t"..type(v1))
            
         end
      end
   end
      
   ConsoleMan:SaveAllText("condump.txt")


end


Last edited by MadKylegar on Tue Apr 07, 2009 8:53 pm, edited 1 time in total.



Tue Nov 11, 2008 1:39 am
Profile
User avatar

Joined: Sat Jun 30, 2007 4:39 am
Posts: 521
Reply with quote
Post Re: B22 Object Function Dump
Cool, thanks bud! I really appreciate it.

EDIT: Wow, Data renamed a good portion of actor methods.

EDIT2:
Code:
AddAIMOWaypoint


Yesss this is what I was looking for. Again thanks.


Tue Nov 11, 2008 1:41 am
Profile WWW

Joined: Thu Aug 21, 2008 2:19 am
Posts: 14
Reply with quote
Post Re: B22 Object Function Dump
Happy to be of service.

The source for the dumper is almost version independent. If the name changes for the command to save the console log, then, there may be a problem, else, it should run on any version.

EDIT: I think I just figured out how to get the names of the objects... __tostring is in the userdata objects...

hmmm


Tue Nov 11, 2008 1:48 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 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.033s | 15 Queries | GZIP : Off ]