Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Gladox114

Members
  • Content Count

    21
  • Joined

  • Last visited

  • Days Won

    1

Gladox114 last won the day on April 5

Gladox114 had the most liked content!

About Gladox114

  • Rank
    Junior Member

Contact Methods

  • Minecraft
    Gladox114

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Ups, i tested it with file:read() but i miss typed and somehow wrote file:write()
  2. But what if I want to read the third line? do I need to: -- file:read("*l") file:read("*l") x = file:read("*l") -- or can i type the number somewhere somehow? edit: Marked a section where I replaced all "write" with "read" because I'm stupid
  3. That should write to the first line or to a new line? IP = file:read(1)? What is with multiple settings? How should i use the write function then? Can you give me an example how someone uses such system?
  4. I want to make an application that creates a file named "config.txt" and read/write to it but i am hanging on creating the file. Can't find how to create the file. My Project: Github_Project_Line85 I want to save the IP that the user writes in and after rebooting it should stay. (Line 85) I want to make a check system with the config.txt and then load the variable into it. It's using the GUI API from MineOS
  5. I didn't edit the init.lua and im not sure what i need to edit. Owner: Gladox114 Name: Gladox114.robot Last error: bad argument #1 (number expected, got string) Number of connected components: 6/12 Component name: computer Address: 02bc007a-42e2-44cb-9f9c-480a27239814
  6. Gladox114

    a nil value

    I tried it and it didn't work. And yeah i overlooked that ^^ I tried it with items = {} and it didn't worked. And I want to load the itemList.cfg and tried it with os.execute("itemList.cfg") and the same error edit: The ME_Controller didnt had energy so my working code didnt worked too but now both are doing great
  7. Gladox114

    a nil value

    I was building on the AE2Stock code and i wanted the items list separate from the code itself to edit it while its running but however the storedItem[1].size is nil by executing my newer version of AE2Stock. So i need help The working older version: https://pastebin.com/c1B0L0Pi The New Version i need help with: https://pastebin.com/Tb4KWszT and the list https://pastebin.com/ZiPbChT2 Maybe you'll need my function drawText(text,SecondGPUProxy): https://pastebin.com/S5uMbMBT
  8. I can't use functions like error() or print() and the most programs don't work on MineOS
  9. I think its working but its not starting directly so i would maybe start it ones before timer starts it "loopDelay" later. I appreciate it and thx for helping me
  10. Im not sure how to do the event stuff. Im half way a noob but i'll try
  11. I installed AE2crafting stock from here and edited it so that its a thread and uses an another screen and i want to use the home of OpenOS while its active to multitask... for more infos my codes: Drawtext to another screen > pastebin.com/NnsHQ4cB AE2 crafting stock > pastebin.com/wTbDU5di adjustScreen > pastebin.com/LU8eNn1n
  12. Yeah for now i just wanted to go a line down if the string contains "\n" in it. its cheap ik I am not allowed to use numbers in gpu.set() but i want so i need to convert however the number to a string.tonumber() converts a string with a number like "10" in to a number like 10. The opposite what i need and i thought that string.format() does the opposite.
  13. When i am in the Lua section and want to use the string.format("%g",num) it works like it should but in my code drawtext not... I want to use gpu.set(x,y,string) but my problem is that i want sometime numbers as strings but i don't know how to convert them properly info who is wondering whats drawText() drawText(print, gpu proxy) is my function that prints something on my second screen with a second graphics card to multi-task
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.