Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major issue - safes can be looted even then locked (by anyone) #424

Closed
eedijs opened this issue Nov 24, 2015 · 14 comments
Closed

Major issue - safes can be looted even then locked (by anyone) #424

eedijs opened this issue Nov 24, 2015 · 14 comments

Comments

@eedijs
Copy link

eedijs commented Nov 24, 2015

Title says it all.

@RC-Robio
Copy link
Contributor

This is also infistar related.

@infiSTAR
Copy link

I have nothing to do with that crap, what are you talking about?
Maybe some people updated their epoch servers and have somewhat old versions of the anti-hack which then changes / reverts functions? But nothing related to me :)

@uranoxyd
Copy link

Its not infistar related, there is a syntax error in https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_server_settings/configs/security/security_checks.h line 67 producing this error:

14:45:35 Error in expression < [2, 3] || (_this select 1) getVariable['EPOCH_Locked;, false])>
14:45:35   Error position: <'EPOCH_Locked;, false])>
14:45:35   Error Fehlendes '

@infiSTAR
Copy link

Oh, good to know Uranoxyd.
I was just starting to look into it but apparently it is like always.. people that don't know what they are talking about spreading the word until everybody assumes false truth and errors never get fixed. Good you posted this so it can actually be fixed 👍

@infiSTAR
Copy link

What you posted there seems to be from that copy paste tool. There might be another issue with the safe locking as probably not everybody runs it

@RC-Robio
Copy link
Contributor

That was my bad Chris. I do know what I am talking about. Didn't mean to jump the gun. I apologize.

@uranoxyd
Copy link

maybe, i just searched the codebase for 'EPOCH_Locked;, false and found this.

@MGTDB
Copy link
Contributor

MGTDB commented Nov 24, 2015

This is the error line in security_checks.h

InventoryOpened = "_this spawn EPOCH_initUI; (locked (_this select 1) in [2, 3] || (_this select 1) getVariable['EPOCH_Locked;, false])";

@infiSTAR
Copy link

no problem, sorry RC-Robio for being rude. You would not believe how many people emailed me today about that problem ^^

@infiSTAR
Copy link

btw for those who don't see the issue here. it is in

epoch_server_settings\configs\security\security_checks.h

InventoryOpened = "_this spawn EPOCH_initUI; (locked (_this select 1) in [2, 3] || (_this select 1) getVariable['EPOCH_Locked;, false])";

there is a ; behind EPOCH_Locked instead of a single quote '

should be this instead
InventoryOpened = "_this spawn EPOCH_initUI; (locked (_this select 1) in [2, 3] || (_this select 1) getVariable['EPOCH_Locked', false])";

@RC-Robio
Copy link
Contributor

Pull Request created:
c359745

@Skaronator
Copy link
Member

fixed via 34e8806

@uranoxyd
Copy link

It seems the wrong PBO was packed after the patch. The change was made in a3_epoch_server_settings and in the last commit for the Server_Install_Pack a3_epoch_server.pbo was changed not a3_epoch_server_settings.pbo. So, the bug remains :)

@vbawol
Copy link
Member

vbawol commented Nov 24, 2015

Sorry about that guys, repacked the settings pbo and pushed build 053 https://github.com/EpochModTeam/Epoch/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants