Maximum number of filterscripts problem
#1

Hello, I have 23 filterscripts that are mandatory in my gamemode, but as you may know the maximum number of filterscripts are 16, but I need them and I want to know if the only solution is to add the FSs in my GM or is there any other solution as the filterscripts run at a certain time like a map then another map after a certain amount of time (timer), so I don't know how to make it like that, but in the GM.
Reply
#2

I think you can merge , Put 2 in 1 ..
Reply
#3

You should just add them into your GM. Makes it a lot smoother/easier. I NEVER use filterscripts in my gamemodes because of possible interference and stuff.

But yeah, I have never tried using a timer to intermittently load and unload filterscripts, but I know for a fact it's possible. But I would recommend you just integrate the filterscripts into your gamemode.
Reply
#4

I said every one runs at a certain time, did you even bother reading all what I wrote ?
Reply
#5

You can pretty much make any filterscript into a include actually I don't even see the need for any filterscripts in a gamemode beyond tools such as editors etc there is only a few circumstances where I would consider a filterscript in a public gamemode in your case alternating maps should be only loading one filterscript at a time.
Reply
#6

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
I said every one runs at a certain time, did you even bother reading all what I wrote ?
I did.. That's what I just said? Or were you talking to the other guy? Lol.
Reply
#7

@zDivine: I was talking to the other guy xD

@[uL]Pottus: Yes they are alternating maps and they should be only loading one FS at a time, so any solutions ?
Reply
#8

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
@zDivine: I was talking to the other guy xD

@[uL]Pottus: Yes they are alternating maps and they should be only loading one FS at a time, so any solutions ?
You can set a timer, or something similar checking to see when you need to alternate filterscripts.

Then use something like this:
pawn Код:
SendRconCommand("unloadfs OLD_FS_TO_UNLOAD");
SendRconCommand("loadfs NEW_FS_TO_LOAD");
Reply
#9

I have another question related kinda to this topic about my server anyway, so my system is in MySQL, so how can I make myself without scriptfiles, as it is MySQL, so no scriptfiles

EDIT: This code is from the server console (server log), but I don't know if it loads or no
Код:
[14:08:48] [part] Dan_Honnington has left the server (0:1)
[14:08:14] [death] Dan_Honnington died 255
[14:08:14] Suicide human works!
[14:06:39] Finished Selecting teams
[14:06:39] Selected humans
[14:06:27]   Filterscript 'dillmorezma.amx' load failed.
[14:06:27] Map ID 3's Information Has Been Loaded.
[14:06:27]   Filterscript 'dillmorezma.amx' loaded.

[14:06:27] --------------------------------------
[14:06:27]  dillmorezma Loaded
--------------------------------------
[14:06:27] 
[14:06:27] loading Map /Maps/3.ini
[14:06:27]   Filterscript 'lvhoodzma.amx' unloaded.
[14:01:09] Finished Selecting teams
[14:01:09] Selected humans
[14:00:58]   Filterscript 'lvhoodzma.amx' load failed.
[14:00:58]   Filterscript 'lvhoodzma.amx' loaded.

[14:00:58] --------------------------------------
[14:00:58]  lvhoodzma Loaded
--------------------------------------
[14:00:58] 
[14:00:58] Map ID 2's Information Has Been Loaded.
[14:00:58] loading Map /Maps/2.ini
[14:00:58]   Filterscript 'lshoodzma.amx' unloaded.
[13:55:40] Finished Selecting teams
[13:55:40] Selected humans
[13:55:28]   Filterscript 'lshoodzma.amx' load failed.
[13:55:28]   Filterscript 'lshoodzma.amx' loaded.

[13:55:28] --------------------------------------
[13:55:28]  hoodzma Loaded
--------------------------------------
[13:55:28] 
[13:55:28] Map ID 1's Information Has Been Loaded.
[13:55:28] loading Map /Maps/1.ini
[13:55:28]   Filterscript 'lsbeachzma.amx' unloaded.
[13:50:09] Finished Selecting teams
[13:50:09] Selected humans
[13:50:08]   Filterscript 'lsbeachzma.amx' loaded.

[13:50:08] --------------------------------------
[13:50:08]  lsbeachzma Loaded
--------------------------------------
[13:50:08] 
[13:50:08] Map ID 0's Information Has Been Loaded.
[13:50:08] loading Map /Maps/0.ini
[13:50:06] Dan_Honnington|b97786274fc2662701308223a8cdbdb6071c5f29|137|1|2|0|1|0|0|0|16|54|6|1|41.233.139.9
[13:49:40] [join] Dan_Honnington has joined the server (0:41.233.139.9)
[13:49:39] Incoming connection: 41.233.139.9:10976
[13:49:00] Number of vehicle models: 0

[13:49:00] ----------------------------------
It says map loaded then load failed unlike the first map which worked, now the maps are merged in the GM, not in the FSs, so why these says FAILED even the objects load !!
Reply
#10

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
I have another question related kinda to this topic about my server anyway, so my system is in MySQL, so how can I make myself without scriptfiles, as it is MySQL, so no scriptfiles

EDIT: This code is from the server console (server log), but I don't know if it loads or no
Код:
[14:08:48] [part] Dan_Honnington has left the server (0:1)
[14:08:14] [death] Dan_Honnington died 255
[14:08:14] Suicide human works!
[14:06:39] Finished Selecting teams
[14:06:39] Selected humans
[14:06:27]   Filterscript 'dillmorezma.amx' load failed.
[14:06:27] Map ID 3's Information Has Been Loaded.
[14:06:27]   Filterscript 'dillmorezma.amx' loaded.

[14:06:27] --------------------------------------
[14:06:27]  dillmorezma Loaded
--------------------------------------
[14:06:27] 
[14:06:27] loading Map /Maps/3.ini
[14:06:27]   Filterscript 'lvhoodzma.amx' unloaded.
[14:01:09] Finished Selecting teams
[14:01:09] Selected humans
[14:00:58]   Filterscript 'lvhoodzma.amx' load failed.
[14:00:58]   Filterscript 'lvhoodzma.amx' loaded.

[14:00:58] --------------------------------------
[14:00:58]  lvhoodzma Loaded
--------------------------------------
[14:00:58] 
[14:00:58] Map ID 2's Information Has Been Loaded.
[14:00:58] loading Map /Maps/2.ini
[14:00:58]   Filterscript 'lshoodzma.amx' unloaded.
[13:55:40] Finished Selecting teams
[13:55:40] Selected humans
[13:55:28]   Filterscript 'lshoodzma.amx' load failed.
[13:55:28]   Filterscript 'lshoodzma.amx' loaded.

[13:55:28] --------------------------------------
[13:55:28]  hoodzma Loaded
--------------------------------------
[13:55:28] 
[13:55:28] Map ID 1's Information Has Been Loaded.
[13:55:28] loading Map /Maps/1.ini
[13:55:28]   Filterscript 'lsbeachzma.amx' unloaded.
[13:50:09] Finished Selecting teams
[13:50:09] Selected humans
[13:50:08]   Filterscript 'lsbeachzma.amx' loaded.

[13:50:08] --------------------------------------
[13:50:08]  lsbeachzma Loaded
--------------------------------------
[13:50:08] 
[13:50:08] Map ID 0's Information Has Been Loaded.
[13:50:08] loading Map /Maps/0.ini
[13:50:06] Dan_Honnington|b97786274fc2662701308223a8cdbdb6071c5f29|137|1|2|0|1|0|0|0|16|54|6|1|41.233.139.9
[13:49:40] [join] Dan_Honnington has joined the server (0:41.233.139.9)
[13:49:39] Incoming connection: 41.233.139.9:10976
[13:49:00] Number of vehicle models: 0

[13:49:00] ----------------------------------
It says map loaded then load failed unlike the first map which worked, now the maps are merged in the GM, not in the FSs, so why these says FAILED even the objects load !!
Are you using reloadfs instead of loadfs ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)