Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llListSort

Vanhal McGettigan
Keep Smiling Games Maker
Join date: 3 Jun 2005
Posts: 28
09-07-2005 14:58
Does anyone else get problems with this fuction?
I mean does it not sort the list right some times?
I'm Sorting Numbers and sometimes a bigger one comes out below the smaller one (Yes assending is false)
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
09-07-2005 15:00
Are you using llCSV2List at all?

Also make sure the length of your lists are correct.

llSortList will bug out if types are wrong (which happens easily with llCSV2List) and if the stride doesn't match the length.
_____________________
Taken from The last paragraph on pg. 16 of Cory Ondrejka's paper "Changing Realities: User Creation, Communication, and Innovation in Digital Worlds :

"User-created content takes the idea of leveraging player opinions a step further by allowing them to effectively prototype new ideas and features. Developers can then measure which new concepts most improve the products and incorporate them into the game in future patches."
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
09-07-2005 22:11
llParseString2List has the same problem: all the data in the list it produces is strings, so if your list is supposed to contain numbers it won't always sort right.
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
Kain Cleaver
Registered User
Join date: 24 Jan 2006
Posts: 178
01-05-2009 22:20
nm wrong board