Search results

  1. ohlidalp

    Performance: Batches v Tris

    Hi @rents1977 , sorry about the response lag. Triangle count is a sum of all triangles rendered in the current frame. For performance, it doesn't mean practically anything - even a low tier hardware can process enough of them. Batch count says how many individual "draw calls" (google that...
  2. ohlidalp

    Does the RoRNet protocol have documentation?

    I've been working on the rorserver for past ~2 weeks and I realized some scenarios are not defined very well. For example: should the server expect the client to close the socket connection, or should it actively close it? Right now both sides race to do it, but coincidentally the server is...
  3. ohlidalp

    rorserver woes

    I've (finally!) set myself up a linux box (ManjaroLinux 21.0.5, running in VirtualBox VM) so I can develop the server with confidence. I build with GCC 10.2.0 and connect clients from Windows host. I tried to make the server crash but no luck; the furthest I got is "ERROR|ReceiveMessage()...
  4. ohlidalp

    rorserver woes

    I did some cleanups which will hopefully help us get more info from the gdb backtraces: https://github.com/RigsOfRods/ror-server/pull/120
  5. ohlidalp

    rorserver woes

    I'm analyzing the crashes.txt from top to bottom. Currently I'm focusing on the first entry: Thread 744 "rorserver" received signal SIGABRT, Aborted. [Switching to Thread 0x7fffcaffd700 (LWP 11039)] __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 51...
  6. ohlidalp

    rorserver woes

    The rorserver crashes awfully often lately. Sometimes it runs fine for 2 weeks, sometimes it crashes 2 times a day. From Tritonas00 on Discord: lets get the facts from start years ago socketw working fine (at least from what mike said) rorserver used to run months without crash then rornet...
  7. ohlidalp

    Terrain: how to convert and use textures from cc0textures.com

    I found an excellent resource for ground textures: https://cc0textures.com/. All textures are licensed CC-0, detailed and come with all data needed by our terrn2 shader generator. I'm talking about the "diffusespecular" and "normalheight" combined images, see...
  8. ohlidalp

    Does the RoRNet protocol have documentation?

    Hi. We have no doc, RoR codebase serves as reference implementation. We also have a Python interface: https://github.com/tritonas00/RoRServerBot/blob/master/RoRnet.py. Anyway, If I should write docs for it, what structure should it have? I'll try to create an outline here: joining a server...
  9. ohlidalp

    2021.04 Discussion thread

    turns out this is a feature... you need to disable "gfx_declutter_map" in console or RoR.cfg. It's on by default.
  10. ohlidalp

    Multiplayer: Flares, Sounds, Voice chat, etc

    Hello @SchoolBusDriver71 and thanks for the well formulated feedback. Flares: as a matter of fact, we adressed exactly this in https://github.com/RigsOfRods/rigs-of-rods/pull/2729 Flare groups: also adressed in https://github.com/RigsOfRods/rigs-of-rods/pull/2729 - all 10 custom flare bindings...
  11. ohlidalp

    my character

    Replacing RoRBot is possible but you must use exactly the same filenames/animation names as the default one: - File 'character.mesh' (resources/meshes.zip) is the 3D model (source code) - Material name is "tracks/character" - RoR updates it with multiplayer colors (source code) - if you don't...
  12. ohlidalp

    Parsing/exporting a truckfile

    (continued) How my modified Blender addon does it: I coded this last year but never published it, it's an extended version of Ulteq's import/export scripts, it adds GUI to manipulate set_beam_defaults/set_node_defaults and also calls it "presets". see https://github.com/only-a-ptr/ror-blender...
  13. ohlidalp

    Parsing/exporting a truckfile

    Our Truck Definition Fileformat (TDF) (which I call just truckfile) is designed as sequential (order matters), which works nicely in a text editor, but once you start thinking about creating an interactive editor, it suddenly gets ugly. @Max98 is currently struggling with it in rorEditor, I...
  14. ohlidalp

    Rigs of Rods Won't Start on Windows 10 - Complied from Source

    Hello. What do you build with? I assume it's Visual Studio - can you send me the Debug log from the Output window please? Also, post your RoR.cfg please.
  15. ohlidalp

    [Test build] Version 0.4.8 RC4

    Name some vehicles which show this and what "stuff" is exactly not working like it used to. Then I can take a look.
  16. ohlidalp

    Project 'minimap'

    Some new developers appeared on Discord chat, so I was thinking of some non-core tasks for them. This came in mind - a new, polished and meaningful minimap. Existing feature: 'Survey map' Old feature, I'm not sure if anyone even uses it. It displays a rendered top-down view of the map, there...
  17. ohlidalp

    Future: how to define N/B in truckfile

    I'm not sure how to continue developing the truckfile format. There are 2 possible approaches: The classic approach: Truckfile is parsed from top to bottom, nodes are generated on-the-go. Named nodes (nodes2) and generated nodes (*wheel*) get numbers assigned. To attach a...
  18. ohlidalp

    In-game testing of new mods (reloading resources etc...)

    Greetings. At the moment, testing and tuning new mod (vehicle/load etc...) in game is quite tedious proces. You must start RoR, load the mod, see how it does, modify it in external editors and reload in-game. You can reload quickly using "top menubar -> simulation -> reload current vehicle"...
  19. ohlidalp

    Developer suffering a "release block"

    Hi everybody. I can't get myself to work on the v0.4.8 release. RoR is still too glitchy to call 'stable', and new issues just keep coming. To make it worse for me, stabilizing RoR means 'resist the urge to fix any of this stuff' - and by extension, it means "just fix the code as it is, even...
  20. ohlidalp

    Enter the Codebase

    This is an entry point for new RoR developers - it describes how RoR currently works, why it sucks and what I'd like to do about it. The reason to write it down right here right now is this excellent contribution from a new developer ** split to multiple posts because of character limit **...
Back
Top