logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Joining messages

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows development
View previous topic :: View next topic  
Author Message
Baaleos



Joined: 02 Sep 2007
Posts: 830

PostPosted: Wed Dec 24, 2014 15:11    Post subject: Joining messages Reply with quote

Anyone have any tips for how to disable / hook the
'Baaleos has joined as Player X' message when someone joins a Server?


CServerExoAppInternal::PlayerListChange(unsigned long, int, int)

The string seems to be used in this method.
I am wondering if it is safe to hook it and bypass?

I'd like to be able to sneak into my server (as a player) without other players being aware.

I have developed a 'deity' system, allowing players to enter a pseudo invisible mode (uses visibility hooks), which is used by Gods.
They can buff, and interact with players in similar manner as DM's.
I would like it to be possible for this subrace / or individual users to be able to enter the server without the notification message - so players arent immediately on their guard.
Back to top
View user's profile Send private message
Valgav



Joined: 28 Aug 2010
Posts: 53

PostPosted: Sat Feb 14, 2015 3:34    Post subject: Reply with quote

Any progress in hooking that joining message?
Back to top
View user's profile Send private message
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Sat Feb 14, 2015 8:29    Post subject: Reply with quote

nwnx_chat should be able to block that...
_________________
Community Patch / NWNX Patch / NWNX Files / NWNX Connect
Back to top
View user's profile Send private message
Valgav



Joined: 28 Aug 2010
Posts: 53

PostPosted: Sat Feb 14, 2015 15:02    Post subject: Reply with quote

what version of nwnx_chat is current stable? I've downloaded the one from Terra_777's OneDrive linked here but it doesn't have any nss files or ini information. Should I use old files made by Virusman?
Back to top
View user's profile Send private message
Baaleos



Joined: 02 Sep 2007
Posts: 830

PostPosted: Sat Feb 14, 2015 23:48    Post subject: Reply with quote

Looking at this:
https://github.com/NWNX/nwnx2-win32/blob/master/Chat/Package%20Files/dmb_chat.nss

I think the message can be caught via looking for message type 5
(Server message) = then check the content of the message and block if necessary
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows development All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group