Jump to content




Screen Mapping Help


  • You cannot reply to this topic
1 reply to this topic

#1 Too_Quataz

  • Members
  • 3 posts

Posted 19 August 2013 - 09:17 PM

I have been developing an operating system in my free time. I've been slowly making it more complex, and each time, I distribute updates throughout my server. I've decided to try to add a GUI into the OS. I've got most of it working.

www.pastebin.com/pQb0aa22 --save as startup
www.pastebin.com/0kxDUbmc --create directory "OS" and save as "scrollAPI" within it

The code is very messy, I'll apologize in advance. The problem lies in the GUI function, within the while loop under mapping. The GUI prints in a grid, 3 to a row, and a variable amount of rows. It tracks the click by running through a for loop (within the while loop) and using the looping variables to track its position. The problem is that, when it resets rows, one of the variables resets, instead of counting on (1,2,3,4), it resets at the end of the row (1,2,3,2). I've tried troubleshooting, but cannot figure out the problem. Hopefully someone understands what I'm trying to say.

Note: This needs to be ran on an advanced computer.

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 20 August 2013 - 12:13 AM

Split into new topic.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users