The code is in github:
Please comment if you commit cause i dont check it regularly
https://github.com/urielsalis/UOS
I aisled the problem to the file called PartManager, but i dont find anything there
OS dont work, black screen and nothing happens(and sometimes an error that i cant see cause it clears too fast)
Started by FuuuAInfiniteLoop(F.A.I.L), Apr 21 2013 01:36 AM
6 replies to this topic
#1
Posted 21 April 2013 - 01:36 AM
#2
Posted 21 April 2013 - 02:55 AM
Maybe tell us more about what's supposed to happen...
PS:
just do #tableName
PS:
table.size = function(tbl)
local count = 0
for _,__ in pairs(tbl) do
count = count + 1
end
return count
end
?just do #tableName
#3
Posted 21 April 2013 - 03:03 AM
remiX, on 21 April 2013 - 02:55 AM, said:
PS:
just do #tableName
table.size = function(tbl) local count = 0 for _,__ in pairs(tbl) do count = count + 1 end return count end?
just do #tableName
EDIT: Pretty much the first 143 lines are all NeverCast's...
Edited by theoriginalbit, 21 April 2013 - 03:07 AM.
#4
Posted 21 April 2013 - 08:55 AM
Yes, i think that is the problem
#5
Posted 21 April 2013 - 08:59 AM
remiX, on 21 April 2013 - 02:55 AM, said:
Maybe tell us more about what's supposed to happen...
PS:
just do #tableName
PS:
table.size = function(tbl)
local count = 0
for _,__ in pairs(tbl) do
count = count + 1
end
return count
end
?just do #tableName
Using the "#" operator only counts numeric indices up until a nil value. His function makes it so that the length of this table
t = {
[1] = 4,
[2] = 2,
[3] = 0,
[5] = 3,
foo = 'bar',
spam = 'eggs'
}
would evaluate to 6, and not 3 with the regular old hash symbol.
#6
Posted 21 April 2013 - 11:15 AM
I deleted the first part and i detected that the problem is with the partition part that gives a too long without yelding error, so it its doing nothing while its on a loop(cause parallel then gives me that error)
#7
Posted 22 April 2013 - 01:12 PM
I edited the main post with the new code
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users











