mormonman
2011-09-28 17:17:55
This thread is for information regarding the new reflection plugin. It has not been merged into the main branch yet, but soon will be there.
No more script changes
Functions of the new plugin:
The biggest thing in the new plugin is the built in open object handling. If you read through the source you will see that any SmartGet's that have to do with objects(java objects not rsobject) have the object added to a global array.
To debug the objects that are left unfreed use: PrintOpenObjects;
To free objects that are currently loaded use: CleanSmartObjects;
To not use the memory management call: SetMemoryManagement(False);
Another huge benefit of the new plugin is the exception raising if a bad(less than 1) object pointer is sent to a SmartGet function. This drastically reduces runtime crashes and in all of my tests I have not yet come across an un-explainable crash. I have even posted some of my test runs on Harry's guard fighter and port sarim chopper.
If you have any questions/comments/concerns/rants please post them here.
ps - I might have missed something, so if you guys are lost please let me know.
@Wizzup?: Edit this thread when you do the merge.
No more script changes
Functions of the new plugin:
The biggest thing in the new plugin is the built in open object handling. If you read through the source you will see that any SmartGet's that have to do with objects(java objects not rsobject) have the object added to a global array.
To debug the objects that are left unfreed use: PrintOpenObjects;
To free objects that are currently loaded use: CleanSmartObjects;
To not use the memory management call: SetMemoryManagement(False);
Another huge benefit of the new plugin is the exception raising if a bad(less than 1) object pointer is sent to a SmartGet function. This drastically reduces runtime crashes and in all of my tests I have not yet come across an un-explainable crash. I have even posted some of my test runs on Harry's guard fighter and port sarim chopper.
If you have any questions/comments/concerns/rants please post them here.
ps - I might have missed something, so if you guys are lost please let me know.
@Wizzup?: Edit this thread when you do the merge.