Data Realms Fan Forums
http://45.55.195.193/

B22 Object Function Dump
http://45.55.195.193/viewtopic.php?f=73&t=12612
Page 1 of 1

Author:  MadKylegar [ Tue Nov 11, 2008 1:39 am ]
Post subject:  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

Author:  Electroclan [ Tue Nov 11, 2008 1:41 am ]
Post subject:  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.

Author:  MadKylegar [ Tue Nov 11, 2008 1:48 am ]
Post subject:  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

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/