FilterScript - YCMD -
Glenn332 - 18.07.2015
Whenever I load a filterscript > unload > load it again it disables all the CMDS from the main script, Anyone know a way around this?
*EDIT*: I found out that when I remove the fs of the server.cfg I can load unload and load the fs and the main CMDs will work but now the fs CMDs wont work

.
Status: Not Solved
Re: FilterScript - YCMD -
Alpay0098 - 18.07.2015
Delete all of useless functions like OnGameModeInit and etc in your FS
EDIT : They can interfere with your whole GM functions.
Re: FilterScript - YCMD -
Glenn332 - 18.07.2015
Quote:
Originally Posted by Alpay0098
Delete all of useless functions like OnGameModeInit and etc in your FS
EDIT : They can interfere with your whole GM functions.
|
I already did, It only has OnFilterScriptInit, OnFilterScriptExit, OnPlayerUpdate, and two YCMD's for now.
Re: FilterScript - YCMD -
Alpay0098 - 18.07.2015
You can P.M. me if you want,
Then I'll answer the firm answer.
Re: FilterScript - YCMD -
Glenn332 - 18.07.2015
Quote:
Originally Posted by Alpay0098
You can P.M. me if you want,
Then I'll answer the firm answer.
|
Done.
Re: FilterScript - YCMD -
MotherDucker - 19.07.2015
What sort of commands are they? like.. general use ones? such as.. for example /me /do /help /assistance etc. or w/e
If they are, I would suggest using includes.. not .inc but by adding..
Код:
#include "commands.pwn"
To the end of your script so that it loads automatically without needing to load the fs, this is also a lot faster and less buggy than filterscripts and is fine for simple things such as commands.
Re: FilterScript - YCMD -
Glenn332 - 19.07.2015
Quote:
Originally Posted by MotherDucker
What sort of commands are they? like.. general use ones? such as.. for example /me /do /help /assistance etc. or w/e
If they are, I would suggest using includes.. not .inc but by adding..
Код:
#include "commands.pwn"
To the end of your script so that it loads automatically without needing to load the fs, this is also a lot faster and less buggy than filterscripts and is fine for simple things such as commands.
|
Here is the thing :P
I want to make a fs so i can unload the cmds whilst the server is running and load them back up. :S
Re: FilterScript - YCMD -
MotherDucker - 19.07.2015
Uhm.. okay..
Surely you should just put all of the commands into the fs?
Re: FilterScript - YCMD -
Glenn332 - 19.07.2015
Quote:
Originally Posted by MotherDucker
Uhm.. okay..
Surely you should just put all of the commands into the fs?
|
Well i put in 2 new ones.
But basically i just want to know ehats wrong for the future if and when im going to make another fs you see?
Re: FilterScript - YCMD -
SoFahim - 19.07.2015
Restart your server. If you don't want to put the FS , then delete the line from server.cfg . Restart server is best way