.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > YappA > Offtopic
Offtopic Just anything. You have time to waste ? Prove it !!!

Reply
 
Thread Tools
Re: YaPB Developer Preview 1.1
Old
  (#31)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: YaPB Developer Preview 1.1 - 03-04-2004

I've blocked those CVars from the server rules:

yapb_autosaveexp
yapb_botchat
yapb_botspray
yapb_botuseradio
yapb_debuggoal
yapb_detailnames
yapb_followuser
yapb_inhumanturns
yapb_maxbots
yapb_maxskill
yapb_minskill
yapb_shootthruwalls
yapb_timergrenade
yapb_timerpickup
yapb_timersound
yapb_useexp
yapb_votekick
  
Reply With Quote
Re: YaPB Developer Preview 1.1
Old
  (#32)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: YaPB Developer Preview 1.1 - 08-04-2004

blocking those CVARs may cause weird problems.

you can try modify the source code to the old dev1.1 version (use pfnAddServerCommand).

Also you can try using the DLL as normal HPBbot type DLL (i.e., use +localinfo mm_gamedll) and it may be better
  
Reply With Quote
Re: YaPB Developer Preview 1.1
Old
  (#33)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: YaPB Developer Preview 1.1 - 09-04-2004

I'm not blocking the engines access to the CVARs, I prevent the remote access to them via the server status request of the game browsers.

When you define a CVAR you can set some flags. One of those flags makes the CVAR appear in the server status report (that's what causes the problem). All this plugin does is defining those CVAR before other plugins do (CVARS can only be defined once ) - but without the "export" flag (I don't know the correct name).
  
Reply With Quote
Re: YaPB Developer Preview 1.1
Old
  (#34)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: YaPB Developer Preview 1.1 - 09-04-2004

The possible flags a CVAR can wear are those here:
Code:
#define FCVAR_ARCHIVE  (1<<0) // set to cause it to be saved to vars.rc
#define FCVAR_USERINFO  (1<<1) // changes the client's info string
#define FCVAR_SERVER  (1<<2) // notifies players when changed
#define FCVAR_EXTDLL  (1<<3) // defined by external DLL
#define FCVAR_CLIENTDLL	 (1<<4)  // defined by the client dll
#define FCVAR_PROTECTED	 (1<<5)  // It's a server cvar, but we don't send the data since it's a password, etc.  Sends 1 if it's not bland/zero, 0 otherwise as value
#define FCVAR_SPONLY		(1<<6)  // This cvar cannot be changed by clients connected to a multiplayer server.
#define FCVAR_PRINTABLEONLY (1<<7)  // This cvar's string cannot contain unprintable characters ( e.g., used for player name etc ).
#define FCVAR_UNLOGGED  (1<<8)  // If this is a FCVAR_SERVER, don't log changes to the log file / console if we are creating a log
Please Terran, could you tell me which one I need to set in order for my CVARs to stay accessible locally on the server and not externally ?
I'd like to make sure I do things right.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: YaPB Developer Preview 1.1
Old
  (#35)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: YaPB Developer Preview 1.1 - 09-04-2004

The problem is caused by the FCVAR_SERVER flag. Remove it from your flags and the SZ_Getspace error should be history.
  
Reply With Quote
Re: YaPB Developer Preview 1.1
Old
  (#36)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: YaPB Developer Preview 1.1 - 09-04-2004

ah great. I never used it anyway



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: YaPB Developer Preview 1.1
Old
  (#37)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: YaPB Developer Preview 1.1 - 19-04-2004

Oh sorry but I've never been an admin, thanks for pointing this out anyway, I've fixed it now.
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com