2018-05-26 08:01 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000272Cheat Enginepublic2013-08-11 10:38
Assigned ToDark Byte 
Summary0000272: Lua MemoryRecord's Description property is not working
DescriptionI looked at the source and I am guessing its because the get and set functions are switched.
In "Cheat Engine/LuaMemoryRecord.pas" line 740:
luaclass_addPropertyToTable(L, metatable, userdata, 'Description', memoryrecord_setDescription, memoryrecord_getDescription);
Steps To ReproduceIn Lua Engine:

getAddressList().createMemoryRecord().Description = 'test1' -- not working
getAddressList().createMemoryRecord().setDescription('test2') -- working
print(getAddressList()[0].Description) -- not working
print(getAddressList()[0].getDescription()) -- working
TagsNo tags attached.
Attached Files




Dark Byte (developer)

Thanks, it's fixed in the svn
In the meantime you can use memoryrecord_getDescription(memrec) and memoryrecord_setDescription(memrec, newdescription)

Actually, you can also just do memrec.setDescription(desc) and memrec.getDescription()

-Issue History
Date Modified Username Field Change
2013-08-11 10:30 2roi6dub New Issue
2013-08-11 10:38 Dark Byte Note Added: 0000574
2013-08-11 10:38 Dark Byte Status new => resolved
2013-08-11 10:38 Dark Byte Resolution open => fixed
2013-08-11 10:38 Dark Byte Assigned To => Dark Byte
+Issue History