Asphalt Roads Patched


Asphalt pavement for increased vehicle speed. Also includes tiles for lane marking (single and double lines) and various hazard areas. Original mod by Arcitos patched for 2.0.

Content
21 hours ago
2.0
2.56K
Transportation

b [Probably Solved] Weird Crash Issue

a month ago

Hosted the headless server and suddenly crashed when my friend was playing. Seems like some bug happened from Asphalt Roads Patched.

25868.652 Error MainLoop.cpp:1429: Exception at tick 2776216: The mod Asphalt Roads Patched (1.4.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event AsphaltRoadsPatched::AR-event-revert-tiles (ID 199)
AsphaltRoadsPatched/tile_reconverter.lua:6: attempt to index field 'cursor_stack' (a nil value)
stack traceback:
AsphaltRoadsPatched/tile_reconverter.lua:6: in function 'revert_tiles'
AsphaltRoadsPatched/control.lua:46: in function <AsphaltRoadsPatched/control.lua:44>
25868.653 Error ServerMultiplayerManager.cpp:84: MultiplayerManager failed: "The mod Asphalt Roads Patched (1.4.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event AsphaltRoadsPatched::AR-event-revert-tiles (ID 199)
AsphaltRoadsPatched/tile_reconverter.lua:6: attempt to index field 'cursor_stack' (a nil value)
stack traceback:
AsphaltRoadsPatched/tile_reconverter.lua:6: in function 'revert_tiles'
AsphaltRoadsPatched/control.lua:46: in function <AsphaltRoadsPatched/control.lua:44>"

a month ago

I'm not sure how this issue got triggered, I cannot reproduce it myself and it looks like the cursor stack is supposed to have a value even when the player has nothing on the cursor. Thankfully, this appears to just be a case of needing a nil check, so fixing this should be easy.

If you have any way to reliably reproduce this issue, let me know, but I'll be pushing out an update soon that should stop this from occurring.

a month ago

Update has just been uploaded, it may take up to 15 minutes to show in the in-game mod manager. Let me know if this crash continues with this version.

New response