Posts: 173
Threads: 39
Joined: Dec 2010
Reputation:
0
Hello all,
I want to find some users and I know part of name I don't know how to do search in ini files only with part of name users.
like this:
[R]Worson.txt
how can I do it?
Posts: 419
Threads: 38
Joined: Feb 2013
Reputation:
0
go to your gamemod derictory/scriptfiles/users/you'll find there the users.ini ( most servers use this system)
Posts: 173
Threads: 39
Joined: Dec 2010
Reputation:
0
I don't use in users.ini, if player register to server that's open new txt file I want do command to find all of txt files with part of name - Loop.
Posts: 419
Threads: 38
Joined: Feb 2013
Reputation:
0
i dont get your idea 100 percent , but i would say , go to your gamemod / registration system , whene player register(put his password and logins ) find the write"file.txt" system you'll find ther fopen("file..."); and his path,
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
I don't actually know if this is possible with Y_INI, I mean obviously it would be possible in some way, but it would be a shit load of loops and data usage etc.
The best option is to go with MySQL or SQLite, which for your convenience, I don't have very much experience in. I'm fairly sure this is possible in MySQL without some bitch-ass code to fill your entire script.
Posts: 173
Threads: 39
Joined: Dec 2010
Reputation:
0
Thank you very much.
Do I understand correctly that there is no other way?