Login
Sign Up


You are using the mobile version of the forum, some features have been disabled to have it responsive.
Limelight CityRP - v4b1Limelight CityRP - EU Build
Ares Defence Services DiscordAres Defence Services
Limelight Discord
Limelight CityRP - v4b1Limelight CityRP - EU BuildAres Defence Services DiscordAres Defence ServicesLimelight Discord

receiptDevelopment Blog:

Development Contributor Workflow

receiptHR Blog:

What *are* they doing over there?

receiptTeacher Blog:

Insight into the Teacher Team

receiptDevelopment Blog:

Infrastructure Upgrade 11/2019

receiptDevelopment Blog:

how suggestions???

receiptDevelopment Blog:

Planning for the future.


This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

CityRP Console error when using disconnected player's uploaded material
Markus radio_button_checked
Roleplayin' since 2011
Contributor
Posts: 1,826
Threads: 184
Likes Given: 2123
Likes Recieved: 621 in 407 posts
Joined: Aug 2015
Reputation: 13
#1
Feb 24, 2025, 06:00 PM
Server: Build (?)

Description and steps to reproduce:

So during my tests, I've found two distinct bugs:

Scenario A:
1. Player 1 and Player 2 are on the same server.
2. Player 2 uploads a material to the Material URL tool then disconnects.
3. Player 1 clicks on the uploaded material in the tool.
4. Player 1 gets the following console error:
Code:
[material_url_2559426779] gamemodes/darkrp/gamemode/core/libraries/sh_workarounds.lua:137: Tried to use a NULL entity!
  1. oldNick - [C]:-1
  2. oldNick - gamemodes/darkrp/gamemode/core/libraries/sh_workarounds.lua:137
    3. Nick - gamemodes/darkrp/gamemode/core/libraries/sh_workarounds.lua:137
    4. UpdateToolgun - addons/material_url_2559426779/lua/weapons/gmod_tool/stools/materialurl.lua:778
      5. OnRowSelected - addons/material_url_2559426779/lua/weapons/gmod_tool/stools/materialurl.lua:1447
      6. OnClickLine - lua/vgui/dlistview.lua:447
        7. unknown - lua/vgui/dlistview_line.lua:81


Scenario B:
1. Player 1 and Player 2 are on the same server.
2. Player 2 uploads a material to the Material URL tool then disconnects.
3. Player 1 also disconnects, then reconnects.
4. Player 1 will now see the "Uploader" of the uploaded material as "Unknown" (until Player 2 reconnects).
5. Player 1 clicks on the uploaded material in the tool.
6. Player 1 gets the following console error:
Code:
[material_url_2559426779] addons/material_url_2559426779/lua/weapons/gmod_tool/stools/materialurl.lua:778: attempt to call method 'Nick' (a nil value)
  1. UpdateToolgun - addons/material_url_2559426779/lua/weapons/gmod_tool/stools/materialurl.lua:778
  2. OnRowSelected - addons/material_url_2559426779/lua/weapons/gmod_tool/stools/materialurl.lua:1447
    3. OnClickLine - lua/vgui/dlistview.lua:447
    4. unknown - lua/vgui/dlistview_line.lua:81


Note: The uploader's name appears again - no longer as "Unknown" -, if the uploader rejoins, but stays "Unknown" if they remain off the server. Needs more testing.
[Image: sigs.php?steamid=STEAM_0:1:36038228]
(This post was last modified: Feb 24, 2025, 06:02 PM by Markus. Edited 2 times in total.)
Limelight Gaming radio_button_checked
Community Management
Posts: 5,972
Threads: 117
Likes Given: 2
Likes Recieved: 135 in 40 posts
Joined: Nov 2015
Reputation: 48
#2
Feb 24, 2025, 06:00 PM
Thank you for your bug report, Markus!

It will be reviewed as soon as possible by our Developers.




Users browsing this thread: 1 Guest(s)