![]() |
gatherBuddylist
Could you make a function to gather all of the people's accounts in your buddy list? That'd be cool ^^
|
Yeah, it'd be cool.
You can currently find any buddies that are online, but that's the extent of it. :( PHP Code:
|
Quote:
thanks yenni |
PHP Code:
|
O_o That file only has one person, but I have ~12 people on my buddy list.
|
Quote:
|
Quote:
EAT IT! :p |
Quote:
not that it matters to me. im going to try to eliminate the player list on my server, |
You can always manipulate this, though. As programmers, you must work with the flexibility of the language.
Run a check for a players buddies, and have it save in a DB or a txt file or however you want to set it up. Since isbuddy only reads online buddies, you can have the place that you're storing a certain players buddies change when a buddy that is not already on the list triggers whatever it is that you're using to check for buddies. Eventually, a persons buddy list would have been saved anew wherever you wanted it stored, unless of course they never logged on the server at the same time as the person, in which case it shouldn't really matter since they're not active around the same time, so they shouldn't be counted in the data anyways. It really depends on what you would want it for. |
rawr, would be more easy if we could load:
graal/buddyaccounts.txt |
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 03:44 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.