You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ckeys ought to be sanitized when put into the SQL database, specifically into the ss13_player_linking table.
This would enable me to directly pull linking requests tied to a player by using the client.ckey variable. (By doing something like: SELECT blabla FROM ss13_player_linking WHERE ckey = :client.ckey;) Instead, in order to make the requests not care about user input error, I have to pull all requests that are open, and cycle through them with a while() loop, checking for if (ckey(query.item[1]) == client.ckey). Which is inefficient.
This can be improved
The text was updated successfully, but these errors were encountered: