DoD No Reload
by dodsynthetic · 2009-05-28 · 9 replies · 10386 views · 88 downloads
From the first post
rn
rnThis plugin keeps all weapons full of bullets negating the need to reload.
rn
rn===========================
rnv1.001 Changes
rn===========================
rn- Moved check for entity validity before any entity functions are performed. It was throwing errors
rn on entities no longer existing. Owned again by the obvious. I'll blame it on lack of sleep this
rn time. Thanks Diamond Optic for spotting it. :D
rn
rn===========================
rnCVARs
rn===========================
rnno_reload | 0 = off | 1 = on
rn- Enables or disables the no_reload plugin. Default off.
rn
rn===========================
rnInstallation
rn===========================
rn- Compile the .sma file | An online compiler can be found here:
rn http:www.amxmodx.org/webcompiler.cgi
rn- Copy the compiled .amxx file into your addonsamxmodxplugins folder
rn- Add the name of the compiled .amxx to the bottom of your addonsamxmodxconfigsplugins.ini
The thread
All 10 posts from 4 people on DoD No Reload, kept as they were written.
Threads: 15
Joined: Mar 2007
DoD No Reload v1.001rnrnThis plugin keeps all weapons full of bullets negating the need to reload.rnrn===========================rnv1.001 Changesrn===========================rn- Moved check for entity validity before any entity functions are performed. It was throwing errorsrn on entities no longer existing. Owned again by the obvious. I'll blame it on lack of sleep this rn time. Thanks Diamond Optic for spotting it. :Drnrn===========================rnCVARsrn===========================rnno_reload | 0 = off | 1 = onrn- Enables or disables the no_reload plugin. Default off.rnrn===========================rnInstallationrn===========================rn- Compile the .sma file | An online compiler can be found here:rn http:www.amxmodx.org/webcompiler.cgirn- Copy the compiled .amxx file into your addonsamxmodxplugins folderrn- Add the name of the compiled .amxx to the bottom of your addonsamxmodxconfigsplugins.ini
Threads: 15
Joined: Mar 2007
If anyone wants extra features, feel free to post. I was thinking of adding weapon limiting but I'm too tired tonight and I have to get up early tomorrow and change out the broken timing chain guide in the engine of one of the cars I just bought as well as help my roommate finish replacing the rear main seal on his engine and the input shaft seal on his auto tranny.
Threads: 15
Joined: Mar 2007
Whoever just downloaded it, re-download it. I screwed something up but it's all good now. XD
Threads: 1
Joined: Mar 2009
Hi, Thanks for the plugin. I tested it and it compiled n stuff but when I run and the debug thingy keep on saying.rnrnRun Time error 10: native error (native "pev")rn [o] dod_no_reload.sma::func_full_pack (line 141)rnrnMy fps would drop down to like 30 fps.
Threads: 1
Joined: Mar 2009
Now that I used your compiled file I get a different error. nnDisplaying debug trace (plugin "dod_no_reload.axx")nRun Time error 10: native error (native "pev")n [o] 1063.attach::func_full_pack (line 141)n[FAKEMETA] Invalid entitynnAlso When its on my fps drop to 15 and my ping will jump up to like 200. But when I turn if off fps go back to 100+fps and ping is 6.
Threads: 103
Joined: May 2005
well untill syn see's this and gets a chance to reply/fix it.. i think replacing the whole public func_full_pack function with this should do it:nn
public func_full_pack(nil,nil2,id) {n if(get_pcvar_num(p_reload))n {n if(pev_valid(id))n {n new class_name[32]n pev(id,pev_classname,class_name,sizeof class_name - 1)n n if(contain(class_name,"weapon_") > -1)n set_pdata_int(id,108,5,4)n }n }n}i think just moving the pev_valid check should be enough, tho it might be better to combine the get_pcvar_num and pev_valid checks into one statement, but ill let syn do whatever with that lol...Threads: 1
Joined: Mar 2009
Thanks diamond-optic. It work like a charm. You guys are the best.
Threads: 15
Joined: Mar 2007
All fixed now. Ugh. I need more free time and more sleep. XD I went with combining the cvar and valid check.
Threads: 12
Joined: Mar 2010
Can you please make a correct .sma file for the source.rnrnI dont have it working. tried many times.rnrnthanks
Threads: 103
Joined: May 2005
whats wrong with the sma file?nnnare you setting no_reload to 1?

