View previous topic :: View next topic |
Author |
Message |
Gniarf Grandmaster Cheater Supreme Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Tue Jul 02, 2013 11:50 am Post subject: |
|
|
Hmm, yes, results seem correct with single cpu affinity.
Thanks for commit 1978.
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Jul 27, 2013 6:27 am Post subject: |
|
|
Too bad I have not found until now:
* component doesn't work properly (code below should nil OnSectionClick event):
Code: | getAddressList().getComponent(1).OnSectionClick = nil
-- and this
getAddressList().Component[1].OnSectionClick = nil |
But this works:
Code: | setMethodProperty(getAddressList().getComponent(1), 'OnSectionClick', nil)
-- and this works too
setMethodProperty(getAddressList().Component[1], 'OnSectionClick', nil) |
* Strings class
stringlist.getString(0) - doesn't work
strings_getString(stringlist,0) - works
_________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25301 Location: The netherlands
|
Posted: Sat Jul 27, 2013 6:46 am Post subject: |
|
|
Code: |
setMethodProperty(getAddressList().Component[1], 'OnSectionClick', nil)
|
also doesn't work in the released 6.3 as there getAddressList().Component[1] just returns the componentcount instead
Quote: |
stringlist.getString(0) - doesn't work
|
I can not reproduce this
Code: |
stringlist=createStringlist()
stringlist.add("bla")
stringlist.add("bla2")
stringlist.add("bla3")
print(stringlist[0])
print(stringlist.getString(0))
|
woks fine.
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Jul 27, 2013 6:54 am Post subject: |
|
|
Yes, but Component was already fixed in SVN revision 1987.
(wait, which revision CE6.3 is?)
_________________
Last edited by mgr.inz.Player on Sat Jul 27, 2013 7:02 am; edited 2 times in total |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25301 Location: The netherlands
|
Posted: Sat Jul 27, 2013 7:00 am Post subject: |
|
|
I test with the release of June 30
revision 1975
(the component bug isn't a major bug like the inability to use breakpoints, and no major bug was reported afterwards, so it's not in the release)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
Last edited by Dark Byte on Sat Jul 27, 2013 7:03 am; edited 1 time in total |
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Jul 27, 2013 7:02 am Post subject: |
|
|
OK, this is the problem:
getPropertyList
Code: |
properties = getPropertyList( getAddressList().getComponent(1) )
for i=0,strings_getCount(properties)-1 do
print( strings_getString(properties,i) )
end
-- we can't: properties.Count, properties[i] or properties.getString(i) |
_________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25301 Location: The netherlands
|
Posted: Sat Jul 27, 2013 7:06 am Post subject: |
|
|
easiest way to check if it's broken is use the "return object" method
"return properties" shows it's a userdata instead of a luaclass object, so looks like getPropertyList doesn't wrap it's result into a luaclass
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
|