In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

Pages: [1]   Go Down
  Print  
Author Topic: Incognito & ForceCVar  (Read 762 times) Bookmark and Share
Newbie
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 1
Offline Offline
« on: November 23, 2011, 12:22:19 AM »

Just curious if anyone has written a b3 plugin for the Incognito or ForceCVar patches for b3?

Also if I try to write something for the Incognito command, how does that work with the rcon? For example if the player executes /rcon incognito then the game knows to put them in incognito mode... but if b3 is executing the command then how does the game know who to put incognito? Would it even work?
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: Urt
Posts: 20
Offline Offline
« Reply #1 on: March 09, 2012, 05:43:22 AM »

I saw somewhere plugin for forcvar on connection on the forums..

And about incognito.. Its done for using with rcon and only for admin who types is. It cant put another players in incognito. To make it working with b3 you need to write some lines which will add possibility to incognito players with rcon.
Logged
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: UrT
Posts: 198
Offline Offline
WWW
« Reply #2 on: March 10, 2012, 09:11:52 PM »

Also if I try to write something for the Incognito command, how does that work with the rcon? For example if the player executes /rcon incognito then the game knows to put them in incognito mode... but if b3 is executing the command then how does the game know who to put incognito? Would it even work?

You would need to modify the incognito patch you apply'd to get the build if you built it yourself. Ideally incognito would work with slot numbers, allowing an admin with rcon to choose who is incognito, or for B3 to make any player incognito. Looking through the incognito code this should be trivial, and actually run faster. Rather then spinning through all possible client slots (which is what it does now, it would simply pull the first argument, get an integer, and then if that client is infact connected, pass them as the selected client. Should be pretty easy, then having a B3 command would be pretty easy that would make that slot go incognito.

Does B3 still handle an incognito player correctly/parse commands, team change etc?
Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 35
Offline Offline
WWW
« Reply #3 on: May 04, 2012, 06:12:18 PM »

I did both ^^ Actually I have not built a b3 plugin, but just added some functions inside the Admin Plugin. And yes, to make that work correctly the incognito patch have to be rewritten. I don't know if i can post UrT patches here Cheesy:D If I can let me know so I can share my code with you ^^
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal