Author Topic: Can you save a dump?  (Read 3702 times)

Is there anyway I can save a dump? Would really help. Thanks.



The ::save method will save all the fields, but not any methods

The ::save method will save all the fields, but not any methods
That's the thing. I want the methods.

obj.dump()

console.log ???

obj.dump()

console.log ???
That works I guess, takes forever to get through but whatever. Thanks.

That works I guess, takes forever to get through but whatever. Thanks.
pop game open
obj.dump();
alt f4
console.log
ctrl+f

1. setLogMode(0);

2. Delete console.log

3. setLogMode(1); obj.dump(); setLogMode(0);

4. Rename console.log to objectdump.txt

5. setLogMode(1);



Your point?
Wanted to point out the best answer in a handful of lesser answers

Wanted to point out the best answer in a handful of lesser answers
I'm sure OP is smart enough to see the answer.

I think you could also do this:

Code: [Select]
new consoleLogger(log, "object_dump.txt", false); your_object.dump(); log.detach(); log.delete();

Code: [Select]
new consoleLogger(log, "object_dump.txt", false); your_object.dump(); log.detach(); log.delete();
wtf
since when does this exist