![]() |
Re: YaPB Developer Preview 1.1
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 |
Re: YaPB Developer Preview 1.1
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 |
Re: YaPB Developer Preview 1.1
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 8)) - but without the "export" flag (I don't know the correct name). |
Re: YaPB Developer Preview 1.1
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 I'd like to make sure I do things right. |
Re: YaPB Developer Preview 1.1
The problem is caused by the FCVAR_SERVER flag. Remove it from your flags and the SZ_Getspace error should be history.
|
Re: YaPB Developer Preview 1.1
ah great. I never used it anyway :)
|
Re: YaPB Developer Preview 1.1
Oh sorry but I've never been an admin, thanks for pointing this out anyway, I've fixed it now.
|
All times are GMT +2. The time now is 19:56. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.