Raised This Month: $12 Target: $400
 3% 

Eventscript flooding my console with 'couldnt exec' ...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
maitredede
Senior Member
Join Date: May 2005
Old 05-31-2005 , 14:48   Eventscript flooding my console with 'couldnt exec' ...
Reply With Quote #1

Hi

First, Great plugin, I love it. It make fun and admin more powerfull

But...

My console is flooded with each scripts the plugin tries to fire, and then fire it...
For example, I have cfg/noautosnipe/player_hurt.cfg

I do a :

Code:
mattie_eventscripts 1
eventscripts_register noautosnipe
And the console is flooded with :
Code:
couldn't exec \player_hurt.cfg
Here is my file :
Code:
//es_msg #green event_var(weapon)
if(event_var(weapon) equalto "sg550") then ma_cexec es_steamid drop
__________________
make brain && make install
maitredede is offline
ajax
Veteran Member
Join Date: Jan 2005
Old 05-31-2005 , 15:02  
Reply With Quote #2

create an empty file here... cfg/player_hurt.cfg
ajax is offline
maitredede
Senior Member
Join Date: May 2005
Old 05-31-2005 , 16:26  
Reply With Quote #3

Ok, but that means that I will fill my cfg dir with empty scripts...
__________________
make brain && make install
maitredede is offline
ajax
Veteran Member
Join Date: Jan 2005
Old 05-31-2005 , 17:22  
Reply With Quote #4

Quote:
Originally Posted by maitredede
Ok, but that means that I will fill my cfg dir with empty scripts...
right now that is the only solution... either console spam or empty files. you get to choose.

i think Mattie is working on a solution, but it's a valve message.
ajax is offline
Cr3V3TT3
Senior Member
Join Date: Jul 2004
Location: V'dauban
Old 05-31-2005 , 22:38  
Reply With Quote #5

:/

thats could not be possible i think
because the plugin is checking for the file before executing it

Code:
      if(filesystem->FileExists(szCommand))
Cr3V3TT3 is offline
Send a message via MSN to Cr3V3TT3
maitredede
Senior Member
Join Date: May 2005
Old 06-01-2005 , 03:55  
Reply With Quote #6

Ok

So does it means that the plugin will execute all scripts for an event, that are in the registred packs ? for example, in the pack 'p1' there is a script player_hurt.cfg and in the root dir another player_hurt.cfg. Will both be executed ?
__________________
make brain && make install
maitredede is offline
Mattie
Veteran Member
Join Date: Jan 2005
Old 06-01-2005 , 08:34  
Reply With Quote #7

Quote:
Originally Posted by maitredede
Ok

So does it means that the plugin will execute all scripts for an event, that are in the registred packs ? for example, in the pack 'p1' there is a script player_hurt.cfg and in the root dir another player_hurt.cfg. Will both be executed ?
Yes, both will be executed. (All scripts in the root event dir will be executed, no matter what script packs you have installed.)

If a script pack contains a .cfg file, ES will automatically try to run a copy of that event .cfg from your ES root directory. That's the message you're seeing. Just create an empty one to bypass the message.
Mattie is offline
maitredede
Senior Member
Join Date: May 2005
Old 06-01-2005 , 09:10  
Reply With Quote #8

Ok, thanks.

Mattie, If I could, I would give you a big kiss for that plugin...
__________________
make brain && make install
maitredede is offline
Reply



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


All times are GMT -4. The time now is 02:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode