Posts: 267
Threads: 7
Joined: Mar 2013
Reputation:
0
Bub, are you kidding me, or you copy-pasted this? The script looks like its from InfinityDM, and it uses dini, and you never told anything, basically the includes needed, etc., also learn to indent codes.
Good job, if it is your script (in which I doubt)
Posts: 61
Threads: 3
Joined: Jan 2013
Reputation:
0
Uhh, have you even tested the code you just posted here?
- RDOn is never created.
- RD is never used.
- dini_Int takes two string parameters, the filename and the key name. I do not know why in the hell you've used Dini for this anyways.
- This adds a struggle for admins to get the RCON password, it's better that you have a strong password (32+ characters, randomly generating A-Z a-z, 0-9, special characters included) and just let them sit there for 20 years trying to get your password.
Posts: 267
Threads: 7
Joined: Mar 2013
Reputation:
0
Well, why is there even dini in the code? Btw, this is a snippet, correct me if I'm wrong. You didn't even use #define FILTERSCRIPT on top of the includes.
Posts: 527
Threads: 54
Joined: May 2013
Quote:
Originally Posted by tomsalmon
InfinityDM is my mod
|
if you did made it am sure this thread will have alot more info then that.
Posts: 1,391
Threads: 85
Joined: Sep 2012
Reputation:
0
Not enough info and so many mistakes in it and that highly doubts that this is yours.
Posts: 3,002
Threads: 86
Joined: Jul 2010
Reputation:
0
I am working on something similar but more complex. My rcon will change once every 15 seconds, or after every loggin attempt (either successful or not). The passwords will be missing words from phrases and only I will be able to figure them out ( and there will be a sh!t load of passwords ).
Don't know what you guys think, but I can't figure a better protection than this.