Skip to content

WzCanvasProperty Write NullReferenceException #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Star a new C# project, include MapleLib.
2. Make a for loop to loop through Mob.wz modifying bodyAttack, then setting 
ParentImage.Changed to true.
3. After the foor loop is done looping, run wzFile.SaveToDisk(fileName) and the 
error should show up, pointing to a NullReferenceException at 
WzCanvasProperty.write->write(bytes.length + 1)

What is the expected output? What do you see instead?
Expected: Saves the newly modified wz file.
Outcome: NullReferenceException found during the writing of WzCanvasProperty, 
as if the PngProperty(Image) is missing.

What version of the product are you using? On what operating system?
Latest Revision as of Nov 26, 2010, Visual Studio 2010 on windows XP SP3, and 
on Maplestory v92.

Please provide any additional information below.
Was going about making a quick little patcher to sort through the monsters that 
I would want to filter out in a PQ, setting the bodyAttack value to 0, and 
deleting the move properties, as well as setting lt/rb to 0. Might just be this 
old computer though, will test again on other computers.


Original issue reported on code.google.com by vangphe...@gmail.com on 26 Nov 2010 at 5:03

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions