Installing Plugins

Use this forum if you have a relatively general question or comment about a game, Ventrilo, TeamSpeak, or Murmur/Mumble server with us. If you have a server-specific question that might not help out the community, please directly contact us through your control panel instead.
Post Reply
robotics
A regular
A regular
Posts: 53
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Oct 24, 2003 1:30 pm
Location: Seattle
Contact:

Installing Plugins

Post by robotics »

http://amxmod.net/forums/viewtopic.php?p=183875#183875

I am trying to follow that tutorial on how to install a plugin but I get stuck when I try to find the compile.bat file in examples directory. I see one called sc.bat, when I press it there is no "compiled" amx file. Anyone can help me out?

Thanks
robotics
A regular
A regular
Posts: 53
Joined: Fri Oct 24, 2003 1:30 pm
Location: Seattle
Contact:

Post by robotics »

Basically same problem, I'm unable to install this profanity plugin. It is

http://amxmod.net/amx-showplugin.php?id=29607

Here's what I did according to the AMX site I am suppose to:

Copy that plugin. Save it as an sma file, then put it into addons/amx/examples

Then I compile it by pressing...(this is where I'm stuck). But I pressed sc.bat anyways.

But then no compiled AMX file is produced and I don't even have a folder called compiled until I manually made it?

Lastly, I of course made wordlist.ini and put it under amx with my list of swear words I wanted to star out. The file swear.amx was also put in my plugins.ini file under addons/amx/plugins

Something along that way went wrong. Anyone care to shed some light?
robotics
A regular
A regular
Posts: 53
Joined: Fri Oct 24, 2003 1:30 pm
Location: Seattle
Contact:

Post by robotics »

Just FTR I did read the FAQ but it did not have the same files that were mentioned on the AMX site...
badboy36511
New to forums
New to forums
Posts: 4
Joined: Mon Dec 01, 2003 5:42 pm

Post by badboy36511 »

I fixed his problem.
User avatar
Edge100x
Founder
Founder
Posts: 13108
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Post by Edge100x »

Don't forget to tell potentially curious readers what his problem was and what the solution was.

His problem was that he was trying to do the compile on our server, which is not possible. Instead, it is necessary to download AMX to your personal machine and perform the compile there; then you can upload the resulting .amx file to the server.
badboy36511
New to forums
New to forums
Posts: 4
Joined: Mon Dec 01, 2003 5:42 pm

Post by badboy36511 »

No it was an error inside hte sma file. He sent me his it had a error i got a good working copy and sent it to him.
User avatar
Edge100x
Founder
Founder
Posts: 13108
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Post by Edge100x »

Sounds like he had more than one problem ;). I was also helping him in email.
robotics
A regular
A regular
Posts: 53
Joined: Fri Oct 24, 2003 1:30 pm
Location: Seattle
Contact:

Post by robotics »

Yes thank you both for your explanations! I appreciate them...now I am on mIRC hoping to get some fine tuned details settled :)
Operator
A semi-regular
A semi-regular
Posts: 27
Joined: Sun Nov 02, 2003 3:12 pm

sma file

Post by Operator »

Just one quick question, how do i turn a copy of plugin coding into a sma file inorder to compile it by using compile.bat?

Thanks
User avatar
Edge100x
Founder
Founder
Posts: 13108
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Post by Edge100x »

When you paste it into your text editor (presumably copied from the AMX mod forums), you just save it as pluginname.sma. There is no conversion process other than that -- the code you are seeing is in Small language format already. Then you put that sma file in addons/amx/examples and run compile.bat.
Operator
A semi-regular
A semi-regular
Posts: 27
Joined: Sun Nov 02, 2003 3:12 pm

Post by Operator »

Edge100x wrote:When you paste it into your text editor (presumably copied from the AMX mod forums), you just save it as pluginname.sma. There is no conversion process other than that -- the code you are seeing is in Small language format already. Then you put that sma file in addons/amx/examples and run compile.bat.
Yeah but it's still a piece of text document...it looks different from others sma files...will it still work?
Operator
A semi-regular
A semi-regular
Posts: 27
Joined: Sun Nov 02, 2003 3:12 pm

Post by Operator »

I tried to compile, after i downloaded the amx folder from the ftp down to my machine, but there's an error: it said there's not temp.text. The compiled folder is empty after the compiling process...
User avatar
Edge100x
Founder
Founder
Posts: 13108
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Post by Edge100x »

When you save the file in notepad, put its name in quotes. For instance, "pluginname.sma". That will save it with the correct extension and not add .txt to it.
Post Reply