Quantcast
[ 3 / biz / cgl / ck / diy / fa / g / ic / jp / lit / sci / tg / vr ] [ index / top / reports / report a bug ] [ 4plebs / archived.moe / rbt ]

Maintenance is complete! We got more disk space.
Become a Patron!

/vr/ - Retro Games

Search:


View post   

[ Toggle deleted replies ]
>> No.3186841 [View]
File: 9 KB, 578x167, shuffling.png [View same] [iqdb] [saucenao] [google] [report]
3186841

I think I might've found the problem with the teleporting problem. The array that I store my monster TIDs has empty elements. I don't know why though
http://hastebin.com/dehevifera.avrasm
In the first step, I make an empty integer array of 48 elements. Then, I assign the values 320 to 367 to them in order. In the second step, I shuffle it with Fisher-Yates. No clue why there would be any zeroes remaining.



Navigation
View posts [+24] [+48] [+96]