Searching through all userfiles and getting a value
#7

Quote:
Originally Posted by 2KY
Посмотреть сообщение
1: Loop through all of the files, problem solved.

2: It'd be more efficient just to update two files and have the server go through writing a file and reading a file again than looping through 10,000+ user files.
1: That's what I'm exactly having a problem at. Can't manage to get it done.

2: I don't care much about the speed as I do about the check accuracy.
Making it save names into a file is pretty easy, but it doesn't get the job done which is detecting ALL admins in the users folder.

I wouldn't make it put someone's name into the file once he logs in neither as it still won't be accurate until he connects to the server.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)