Login
Sign Up


You are using the mobile version of the forum, some features have been disabled to have it responsive.
Limelight Reunion 2024 - v4b1Limelight Discord
Ares Defence Services Discord
Limelight Reunion 2024 - v4b1Limelight DiscordAres Defence Services 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 Laws not showing
bimkx radio_button_checked
Developer
Developer
Posts: 803
Threads: 47
Likes Given: 841
Likes Recieved: 699 in 294 posts
Joined: Aug 2015
Reputation: 9
#1
Nov 4, 2019, 09:32 PM
ID: 5dc07c6e6edc8f4426451c58

Server [EU Live/EU Build/US Live/US Build/Event]:
Live
Description:
laws dont show in F1 upon connection, you have to do /laws to see them, happens maybe 50% of the time
Bug observed since:
week or two
Images/Screenshots:
N/A

Steps to Reproduce:
Connect and you'll see the bug sometimes, seems like it's common among many players
Limelight Gaming radio_button_checked
Community Management
Posts: 5,870
Threads: 112
Likes Given: 2
Likes Recieved: 133 in 38 posts
Joined: Nov 2015
Reputation: 47
#2
Nov 4, 2019, 09:32 PM
Thank you for your bug-report, livkx!

It will be reviewed as soon as possible by our Developers.
Limelight Gaming radio_button_checked
Community Management
Posts: 5,870
Threads: 112
Likes Given: 2
Likes Recieved: 133 in 38 posts
Joined: Nov 2015
Reputation: 47
#3
Nov 7, 2019, 06:00 PM
Ticket Status Updated

Changed from New to Awaiting Confirmation
Burnett radio_button_checked
Security Officer, CityRP2 Core Developer
Developer
Posts: 3,225
Threads: 201
Likes Given: 1419
Likes Recieved: 3280 in 973 posts
Joined: Aug 2015
Reputation: 45
#4
Jan 1, 2020, 02:37 AM
I was not able to reproduce this issue but I have found a couple of flaws in the code.

@Developers
cl_laws.lua#L33 calls `` PANEL:Init() `` where it initializes the panel while calling `` net.Receive() `` (cl_laws.lua#L232) and `updateguilaws() `(cl_laws.lua#L239). The intial call to `updateguilaws() ` could potentially lead to race condition since ``net.Receive()`` is run in asynchronous context, causing the laws table to be void.

I'll leave this open until we get more reports on this.
If you have questions regarding Limelight Gaming's security, infrastructure or backend related topics,
feel free to contact me directly via Discord or PM.
Please note that confidential information cannot be disclosed.

Burnett
Judge Rage radio_button_checked
Deny, Defend, Depose
RP Assistant (CityRP)
Posts: 1,050
Threads: 79
Likes Given: 747
Likes Recieved: 1364 in 535 posts
Joined: Aug 2015
Reputation: 12
#5
Jan 3, 2020, 03:40 AM
Seen it happen a few times, disappears from F1 and you have to type /laws to get the laws - not sure I can provide anything valuable but I've seen it happen
[Image: e2383c4b9c0b468c036343bcb016445a.gif]

[Image: dae6afafc7acf1d8463545c4bd530ec1.png]
Jen Away
Stell
Core Staff
Posts: 1,310
Threads: 89
Likes Given: 961
Likes Recieved: 646 in 368 posts
Joined: Apr 2016
Reputation: 11
User is currently away.
#6
Jan 3, 2020, 06:16 AM
From what I've seen, laws in the F1 menu don't work when you connect unless if one is added/removed
Posts: 978
Threads: 96
Likes Given: 535
Likes Recieved: 584 in 261 posts
Joined: Aug 2015
Reputation: 17
#7
May 20, 2020, 08:00 PM
Fixed. The issue was the laws weren't sent on initial spawn (which is weird, because they are sent on _every_ spawn so I'm frankly not sure why it didn't work).

If you fell for it, you're legally obligated to give me a +rep.         [Image: s7Y0Ioo.png]
Burnett radio_button_checked
Security Officer, CityRP2 Core Developer
Developer
Posts: 3,225
Threads: 201
Likes Given: 1419
Likes Recieved: 3280 in 973 posts
Joined: Aug 2015
Reputation: 45
#8
May 21, 2020, 09:21 PM
#692
If you have questions regarding Limelight Gaming's security, infrastructure or backend related topics,
feel free to contact me directly via Discord or PM.
Please note that confidential information cannot be disclosed.

Burnett




Users browsing this thread: 1 Guest(s)