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 Laws not showing
bimkx radio_button_checked
Developer
Developer
Posts: 829
Threads: 52
Likes Given: 931
Likes Recieved: 778 in 304 posts
Joined: Aug 2015
Reputation: 12
#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,985
Threads: 117
Likes Given: 2
Likes Recieved: 135 in 40 posts
Joined: Nov 2015
Reputation: 48
#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,985
Threads: 117
Likes Given: 2
Likes Recieved: 135 in 40 posts
Joined: Nov 2015
Reputation: 48
#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,248
Threads: 201
Likes Given: 1438
Likes Recieved: 3298 in 982 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,061
Threads: 79
Likes Given: 765
Likes Recieved: 1372 in 541 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,319
Threads: 89
Likes Given: 981
Likes Recieved: 651 in 370 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
goigle radio_button_checked
hello there
Developer
Posts: 1,000
Threads: 96
Likes Given: 549
Likes Recieved: 599 in 271 posts
Joined: Aug 2015
Reputation: 18
#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).
         [Image: s7Y0Ioo.png]
Burnett radio_button_checked
Security Officer, CityRP2 Core Developer
Developer
Posts: 3,248
Threads: 201
Likes Given: 1438
Likes Recieved: 3298 in 982 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)