Raised This Month: $ Target: $400
 0% 

Two wrong plugins: not giving anything and not doing anything


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EpicKiller
Senior Member
Join Date: Jun 2014
Location: Constanta, Romania
Old 08-19-2014 , 05:55   Two wrong plugins: not giving anything and not doing anything
Reply With Quote #1

Hey. So I got two wrong plugins. One of them was supposed to give a deagle. The other one was supposed to restart the server at /restart and set the server to knife-only on /lame. Well... I checked the code a thousand times and I still find it perfectly ok. So... what on Earth's wrong?

Here's the warmup one:
Spoiler


And here's the deagle one:
Spoiler


These are both compilable, but not doing their job.

Please help!
__________________
~ Swiftly and with style ~

Last edited by EpicKiller; 08-19-2014 at 07:32.
EpicKiller is offline
Send a message via Yahoo to EpicKiller Send a message via Skype™ to EpicKiller
Deathknife
Senior Member
Join Date: Aug 2014
Old 08-19-2014 , 06:28   Re: Two wrong plugins: not giving anything and not doing anything
Reply With Quote #2

For the deagle one:
if(contain(name, req_tag))

if(contain(name, req_tag) != -1)
As said here
Deathknife is offline
EpicKiller
Senior Member
Join Date: Jun 2014
Location: Constanta, Romania
Old 08-19-2014 , 07:14   Re: Two wrong plugins: not giving anything and not doing anything
Reply With Quote #3

Quote:
Originally Posted by Deathknife View Post
For the deagle one:
if(contain(name, req_tag))

if(contain(name, req_tag) != -1)
As said here
Yup, sorry, I checked that thread 5 minutes after posting this one. Then forgot to reply here and notice people that that issue has been figured out.

EDIT: With that code modification, it still doesn't do it's job. Also made the code edit in the first post.
__________________
~ Swiftly and with style ~

Last edited by EpicKiller; 08-19-2014 at 07:31.
EpicKiller is offline
Send a message via Yahoo to EpicKiller Send a message via Skype™ to EpicKiller
Deathknife
Senior Member
Join Date: Aug 2014
Old 08-19-2014 , 08:29   Re: Two wrong plugins: not giving anything and not doing anything
Reply With Quote #4

Both of them work fine for me. Are you running any other plugins that have anything to do with chat? Such as iChat?

Also, you have registered the command /start, not /restart.
Deathknife is offline
EpicKiller
Senior Member
Join Date: Jun 2014
Location: Constanta, Romania
Old 08-19-2014 , 15:48   Re: Two wrong plugins: not giving anything and not doing anything
Reply With Quote #5

Quote:
Originally Posted by Deathknife View Post
Both of them work fine for me. Are you running any other plugins that have anything to do with chat? Such as iChat?

Also, you have registered the command /start, not /restart.
No, I really don't run anything on the server I tested them on. It's a default addons.
Apparently, I mentioned /restart in the first post, altought I meant /start.
__________________
~ Swiftly and with style ~
EpicKiller is offline
Send a message via Yahoo to EpicKiller Send a message via Skype™ to EpicKiller
Deathknife
Senior Member
Join Date: Aug 2014
Old 08-19-2014 , 16:47   Re: Two wrong plugins: not giving anything and not doing anything
Reply With Quote #6

Quote:
Originally Posted by EpicKiller View Post
No, I really don't run anything on the server I tested them on. It's a default addons.
Apparently, I mentioned /restart in the first post, altought I meant /start.
Does anything show up in logs? Are you sure they are running? (You can check by amx_plugins)
Deathknife is offline
EpicKiller
Senior Member
Join Date: Jun 2014
Location: Constanta, Romania
Old 08-19-2014 , 16:56   Re: Two wrong plugins: not giving anything and not doing anything
Reply With Quote #7

Wow, that didn't cross my mind. Apparently, it's not running. Here's the error:
( 23) Load fails: Load error 17 (invalid file format or version) (plugin "ecila_tag_deagle.amxx")
__________________
~ Swiftly and with style ~
EpicKiller is offline
Send a message via Yahoo to EpicKiller Send a message via Skype™ to EpicKiller
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-19-2014 , 18:22   Re: Two wrong plugins: not giving anything and not doing anything
Reply With Quote #8

Try recompiling it.
__________________
fysiks is offline
EpicKiller
Senior Member
Join Date: Jun 2014
Location: Constanta, Romania
Old 08-20-2014 , 07:37   Re: Two wrong plugins: not giving anything and not doing anything
Reply With Quote #9

Yeah, found the problem. My compiler is 1.8.3, but my testing server's running 1.8.1. I compiled the plugins using the separate compiler. Now that I compiled them with the server's addons-included compiler, it works just fine.

Thank you!
__________________
~ Swiftly and with style ~
EpicKiller is offline
Send a message via Yahoo to EpicKiller Send a message via Skype™ to EpicKiller
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 12:55.


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