adding NPC users int buddylist

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
vsbait
Posts: 7
Joined: 13 Jul 2011, 04:53

adding NPC users int buddylist

Post by vsbait »

Hi,

I am using your SmartFoxServerPRO 1.6.6 and i am creating npc users according to the your api. Now my question is

can any other normal user can add npc users in there buddylist? If yes, then how to do it??

Thanks.
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

NPC is like a normal user, so you should be able to add NPC the way you add normal users.
Smartfox's forum is my daily newspaper.
vsbait
Posts: 7
Joined: 13 Jul 2011, 04:53

Post by vsbait »

Hi,
Thanks for your reply.
Its glad to listening that we can treat npc users as normal users.
Now my next question is suppose if any normal user send buddy request to npc user then who will accept that buddyrequest as buddylist setting is "advanced" so mutual request response is require in this setting. So how could i(server java extension) accept that buddy request.
Thanks.
yours faithfully,
vaibhav
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

I'm not sure. What you're doing isn't a common workflow, so it's up to figure it out. Hint: use zone.getBuddyManager() to give you more controls.
Smartfox's forum is my daily newspaper.
Post Reply