Posts by red51

    That's absolutely no problem, you can ask as many questions as you want! We are happy to see someone working with the LUA stuff! :) And without a wiki, it is really not an easy task^^

    The PlayerObjectPlace and PlayerObjectRemove events already provide the worldposition (accessible with event.position.x, event.position.y, event.position.z).


    The AreaUtils:isPointInArea3D() accepts different parameters, so for objects you can use
    [lua]AreaUtils:isPointInArea3D(event.position, areax, areay, areaz, areasizex, areasizey, areasizez)
    --or alternatively, probably you need this function:
    AreaUtils:isPointInArea3D(event.position, startChunkpositionX, startChunkpositionY, startChunkpositionZ, startBlockpositionX, startBlockpositionY, startBlockpositionZ, endChunkpositionX, endChunkpositionY, endChunkpositionZ, endBlockpositionX, endBlockpositionY, endBlockpositionZ)
    [/lua]


    A wiki is really needed :D Btw., you can add me in Steam, you can always ask a question about a function or event there, in most cases I can answer much faster then^^

    Yes, the terrain events are:


    PlayerTerrainDestroy
    (you can access event.player, event.chunkOffsetX, event.chunkOffsetY, event.chunkOffsetZ, event.blockPositionX, event.blockPositionY, event.blockPositionZ)


    PlayerTerrainFill
    (you can access everything like for PlayerTerrainDestroy, but additionally also event.newBlockID [this is the ID of the stone the player used to fill the terrain]).


    Cancelling the events works exactly like for the PlayerBlockDestroy and PlayerBlockPlace events (event:setCancel(true))


    To turn chunkoffset and blockposition into a global position, you can use these functions:


    Lua
    ChunkUtils:getGlobalBlockPositionX(int chunkoffsetx, int blockpositionx) --global x position (horizontally)
    ChunkUtils:getGlobalBlockPositionY(int chunkoffsety, int blockpositiony) --global y position (vertically)
    ChunkUtils:getGlobalBlockPositionZ(int chunkoffsetz, int blockpositionz) --global z position (horizontally)

    Once the workbench is crafted and placed in the world, look at it (a small hammer icon will be shown), and then press your interaction key (as Selawie said, default key F, but can be changed in the settings) ;)

    Thanks for the hint about the fov, and especially your nice words!! :)


    Since many players said now, that the default fov is too small, we will fix the default value for the next version and also add a slider for that in the settings menu soon ;)
    Currently the fov can only be changed manually in the config.properties file (Steamversion: Steam/SteamApps/commons/RisingWorld), change "graphic_fov" to a higher value (default: 45).

    Yes, we will change the default FOV soon, and also add a slider to the settings menu.
    But you can already manually fix the FOV, simply edit the config.properties file in your game directory (Steam: Steam/SteamApps/commons/RisingWorld/) and change "graphic_fov" to a higher value (default: 45).

    Is there an errorlog created in your game directory (Steam/SteamApps/commons/Risingworld)? Otherwise it may be related to another issue, usually multiplayer has nothing to do with your graphics card. Only exception would be when you connect to a server where player used a lot of custom images, that consumes more memory (vram) than usual.

    Where do you click "update driver"? In most cases windows doesn't find the newest driver. Usually you have to manually download it from the Intel homepage (or Asus homepage).

    Ok it seems the laptop only has an Intel HD 3000. Your driver version is outdated, please install the latest Intel driver, that should fix the problem.

    Okay Intel HD... Do you have a second graphics card? If you're using a laptop, can you tell me the name of it?
    The game requires at least an Intel HD 3000. Can you please also tell me what's next to driver (also in dxdiag display tab, I need version and date)?

    how do i find my graphics card?


    Press [windowskey]+R (then an input dialog should appear), type "dxdiag" (without quotation marks), then go to the tab "Display" and tell me the name, manufacturer and chipset please

    Okay, so when switching to the NVIDIA card, the game crashes? Using the integrated adapter works, but causes black textures? Or am I wrong?
    Can you tell me what NVIDIA card you have?

    Thanks! I'm not sure but it appears it is related to your graphics card. What graphics card do you have?
    Just for the case: If you're having two graphics card (Intel HD + dedicated card), you have to specify that the game should use the dedicated graphics card

    Oh yes, bug reports are always nice! Especially since you're hosting your own server, if any bugs or issues related to multiplayer occur, it would be very helpful if you provide us logs or (if available, errorlog files). You can alternatively also send them as private message :)