FilterScript - YCMD
#1

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
Reply
#2

Delete all of useless functions like OnGameModeInit and etc in your FS
EDIT : They can interfere with your whole GM functions.
Reply
#3

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.
Reply
#4

You can P.M. me if you want,
Then I'll answer the firm answer.
Reply
#5

Quote:
Originally Posted by Alpay0098
Посмотреть сообщение
You can P.M. me if you want,
Then I'll answer the firm answer.
Done.
Reply
#6

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.
Reply
#7

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
Reply
#8

Uhm.. okay..

Surely you should just put all of the commands into the fs?
Reply
#9

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?
Reply
#10

Restart your server. If you don't want to put the FS , then delete the line from server.cfg . Restart server is best way
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)