Raised This Month: $ Target: $400
 0% 

Fixing abandoned DoD no-scope plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OG_Algier
New Member
Join Date: Jan 2016
Old 01-20-2016 , 00:22   Fixing abandoned DoD no-scope plugin
Reply With Quote #1

In Syn's No Scope Notifier v2.001 plugin the scope blocking feature has no longer worked for over 5 years now. The developer doesn't seem to be active anymore so I thought I'd get some help in fixing this plugin.

This seems to be the section that is broken:
Code:
        // Block scoped shots
        if(get_pcvar_num(pntr_notify_block_scope) && players_zoomed[id] > 0)
        {
                new morenill,morenull
                new wpnindex = get_user_weapon(id,morenill,morenull)

                switch(wpnindex) {
                        case 6,9,35: {
                                if(pev(id,pev_button) & IN_ATTACK && pev(id,pev_oldbuttons) & IN_ATTACK)
                                {
                                        if (get_pcvar_num(pntr_notify) && get_pcvar_num(pntr_notify_block_notify))
                                        {
                                                set_hudmessage(255,255,255, -1.0, 0.32, 2, 0.02,5.0, 0.01, 0.1, 2)
                                                show_hudmessage(id,"No Scope mod is running! All shots are blocked while$
                                                set_pev(id, pev_button,pev(id,pev_button) & ~IN_ATTACK)
                                        }
                                }
                        }
                }
        }
I've attached the full source below. Can anyone help me find out what is wrong with this plugin?
Attached Files
File Type: sma Get Plugin or Get Source (syns_no_scope_notifier_v2.001.sma - 571 views - 66.4 KB)
OG_Algier is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-20-2016 , 00:54   Re: Fixing abandoned DoD no-scope plugin
Reply With Quote #2

Wow, you posted in the plugin's thread less than an hour before posting here . . . forums aren't instant gratification services. Give a post some time.

I responded to your post over there.
__________________

Last edited by fysiks; 01-20-2016 at 01:04.
fysiks is offline
OG_Algier
New Member
Join Date: Jan 2016
Old 01-20-2016 , 01:38   Re: Fixing abandoned DoD no-scope plugin
Reply With Quote #3

Dodplugins.net isn't very active, the last post in their script help subforum is from 2013 and the last post in that thread is from 2010. I doubt that anyone will help me out over there.

Edit: Didn't see your post over there. Thanks, I'll try it out. I also replied to you on the other site.

Last edited by OG_Algier; 01-20-2016 at 02:07.
OG_Algier is offline
Reply


Thread Tools
Display Modes

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 09:23.


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