| closedi need help |
| Started by gfy mmf on 08-29-2008, 09:24 PM |
Threads: 5
Joined: Apr 2008
i cant get the /chickenme to work for the chicken mod or the /ninja for self ninja everything is enabled all i did was drop the plugin in and add it to the list etc but it dont work i can do it from consol ie "amx_chicken play" but players cant do it themselves can someone help me please i know it must be something simple
Threads: 59
Joined: Jan 2007
I don't want to sound like I am blaiming everything on the Weapons Mod 2.0, but are you running that plugin? Cause it is generaly known that every /command used in a plugin loaded after Weapons Mod 2.0 disables /commands.rnrnCheck if you are running Weapons Mod 2.0
Threads: 5
Joined: Apr 2008
so kill wepons mod 2 restart serv then reinstall weapons mod
Threads: 59
Joined: Jan 2007
Well, you do have to note that im just not experienced as the developers and real coders in this community. But the first thing I thought of when I read your problem with the weapons mod loaded and /command in chat commands are not working.rnrnBasicly you have two options;rnrn1. You put weapons mod 2.0 as last in plugins.ini (I run a lot of plugins 40+ (incl. defaults) and putting weapons mod 2.0 as last didn't work. If you face the same problem, get to know your plugins (read the sma) and see which plugins uses a /command (like /chicken) and is the last in plugins.ini, place weaponsmod2.0 underneath that.rnrn2. Synthetic, kinda on my request/he wanted to fix that, created a new weaponsmod either from scratch or with a complete new approach and with his plugin you wont have to worry about plugins loaded after weaponsmod2.0 using /commands and works better on high-pingers (at least in my server) but there is a slight bug in it. Sometimes you drag a gun behind you, you will notice it but it won't that much affect you.rnrnI understand if you didn't read the entire thread (read at the bottom) but I advice you to comment (open your plugins.ini, go to the bottom of the file and place a ; infront of weaponsmod2.0.amxx and upload it back to your game server.rnrnThis way, by putting the ; infront of the plugin you disabled the plugin. If chickenmod and the other plugin will work, then I was right. If they still cause issues perhaps you did something wrong.rnrnI am happy to help you out, just contact me through the contact info on my profile.rnrnPs: I hope I made any sense, cause i just came home from clubbing
Threads: 75
Joined: Jun 2006
That means that weapons mod needs to fix its return. It most likely has PLUGIN_HANDLED as the return for the /command instead of the PLUGIN_CONTINUE. All plugins that use that kind of command intercept should have multiple returns, as an example, the /help:nn
nprivate amx_chat_intercept(id, level, cid)n{n if (!cmd_access(id, level, cid, 1))n return PLUGIN_CONTINUEnn new cmd[32], var[32]n read_argv(0, cmd, 31)n read_argv(1, var, 31)nn // check to see that the command called is a say commandn // check to see that the first attached word to this command is weaponn // eg: /say weapon kar98n if(containi("say", cmd) != -1 && containi("weapon", var) != -1)n {n // Do Something and exit all the 'say' commandsn // as we have done something and we KNOW theren // is no other plugin that is going to use this combinationn return PLUGIN_HANDLEDn }nn // Ok this plugin is done, we did nothing cause we found nothing we wantedn // to do, so we will tell amxx to continue checking all the other /say commandsn // in all the other plugins after this one in the listn return PLUGIN_CONTINUEnn}nnnSo as you can see from above, ppl who are scripting tend to forget to do the above, however if the function is only going to get called on your certain command such as /dothisyouasshat weapon kar98 then you can use PLUGIN_HANDLED. So for coders out there ensure you keep the above in mind when you are developing as it will ensure compatibility with other plugins.nnCheers!Threads: 59
Joined: Jan 2007
so kill wepons mod 2 restart serv then reinstall weapons modrnrnAnother thing, basicly you only have to restart the server when you are making changes in server.cfg as it needs a restart for the changes to take affect.rnrnBasicly with a mapchange (amx_map dod_mapname) done in console you can let changes done in plugins.ini to take affect.
Threads: 5
Joined: Apr 2008
ok it works thanks alot guys :Dnalso does anyone have roll the dice or rock the vote or booster mods? also and other fun little mods :) i know on avamods they have like a meth command which is cool and also you can get the different command info by typing /commands and you get the info on like say i have chicken mod and ninja mod (fun kuz u can be a chicken ninja) how would i go about makeing a .commands to pop up a motd window with the info?
Threads: 59
Joined: Jan 2007
So I assume it was the Weapons Mod 2.0 causing the issues with the /commands?rnrnLet me try to answer your questions, feel free to add anything/correct where I am wrong.rnrnBooster plugin:rnI think most if not every booster plugin is coded for private use. The few boosters I know and there are probably way more out there....Para3 server uses a booster but the server founder/admin coded it himself. Synthetic from Weak-Sauce and I use the same booster created by Synthetic, IVXX (community just died recently) used a booster (I though created by Tatsu). So basicly, correct me if I'm wrong, the best way to get a booster is either creating one yourself or let someone else do it or port a booster plugin from Allied Modders to Day of Defeat.rnrnRoll the Dice:rnhttps://www.dodplugins.net/forums/showthread.php?t=981&highlight=Rock+the+vote&page=2 If you used the search option on these forums you would have found this result. It's a plugin created by Feuersturm, just roam through the thread and you will find probably all the information needed and the download link for the SMA file.rnrnRock the Vote:rnI bet there are millions out there on Allied Modders, so just search those forums. Put some time in it and you will find it.rnrnMeth plugin:rnBasicly if you can't find it on either avamods.com, on here or on Allied Modders its not publicly released. Diamond-Optic, the server founder/admin from Avamods is one of the coders over here, so good chance he made it himself. I dont know if you can find this one on Allied Modders as they have a rule that you can't publicly release plugins (correct me if I'm wrong) when they are not suited for all ages.rnrnCustom say commands:rnThere are a lot of plugins who do what you asked on Allied Modders, one is Custom Say Commands made by GHW_Chronic, try that one. It will allow you to link client say commands to either auto responders in chat, motd or hud.rnrnBasicly these are the answers on your questions. You will notice that some answers refer back on doing a search. I thought the search takes the same time for me as it does for you, therefor I left you the favour to do the search.rnrnGood luck
Threads: 59
Joined: Jan 2007
and also you can get the different command info by typing /commands and you get the info on like say i have chicken mod and ninja mod (fun kuz u can be a chicken ninja) how would i go about makeing a .commands to pop up a motd window with the info?rnrnI was looking for something else in "Search" and found a link to this plugin, I used it for a while and it works great (imo).rnrnhttp://forums.alliedmods.net/showthread.php?p=206987

