I know they are all connected to the same tables on the embed database, but I think it would be nice to create a better approach in the code towards "blockBuddy" and "addBuddy".
Reason for that: It doesn't make much sense to add the player to your buddy list before adding it to your block list. In fact, in order to create a different approach (without making this awkward option), my block event handler goes to a small function that first add the buddy, and once its caught in the onBuddyListUpdate, automatically send them to the block list. Same way goes when removing a player from it. First remove them from block list, then from buddy list.
Would be even more interesting if there was a way for the buddy list to trigger the onBuddyListError in case you try adding a blocked buddy in your buddy list.
Hope you consider
Separate BlockList from BuddyList
- mistermind
- Posts: 131
- Joined: 15 Sep 2007, 01:33
- Contact:
Separate BlockList from BuddyList
SELECT * FROM users WHERE clue > 0
0 rows returned.
0 rows returned.
Return to “Features Wish List”
Who is online
Users browsing this forum: No registered users and 29 guests