Raised This Month: $106 Target: $400
 26% 

LAN Notifier 1.0a


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   EKS (167)
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-22-2006 , 14:50   LAN Notifier 1.0a
Reply With Quote #1

LAN Notifier 1.0a

This plugin let's everyone see who on the server is on the same LAN. It will prepend "Ln:" to the front of players' names when they are on the same LAN where "n" is an integer signifying which LAN group they belong to.

You can set whether this plugin should look for an exact IP match or just a match of the first 3 octets. My recommendation, and the default setting, is to look at just the first 3 octets.

See the Options (CVARs) section for detailed functionality.


Installation

File Locations:
  • .\gamemod\addons\amxmodx\plugins\lann.amxx
  • .\gamemod\addons\amxmodx\data\lang\lann.txt
Enabled Modules:
  • regex
Options (CVARS)

lann_exact_match <0|1>
Determines whether to look at all 4 octets of an IP address or just the first 3.
  • 0: xxx.xxx.xxx.* = yyy.yyy.yyy.*
    1: xxx.xxx.xxx.xxx = yyy.yyy.yyy.yyy
The default is 0.


Compilation
Most people will have no need for this section.

File Locations:
  • .\scripting\lann.sma
Attached Files
File Type: txt lann.txt (4.5 KB, 3157 views)
File Type: sma Get Plugin or Get Source (lann.sma - 4645 views - 7.9 KB)

Last edited by Brad; 06-28-2006 at 10:30. Reason: fixed formatting that got screwy from the conversion
Brad is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-22-2006 , 14:50  
Reply With Quote #2

Notes

Language Translations:

If you have a set of new translations or updates to existing translations, please post them in the sister thread to this one: LAN Notifier (Translations)


Change Log

[2006-03-13] v1.0a
  • Fixed incorrect CVAR name that prevented exact IP matches.
[2006-02-22] v1.0
  • Initial release.

Last edited by Brad; 06-28-2006 at 10:31. Reason: fixed formatting that got screwy from the conversion
Brad is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 02-22-2006 , 15:56  
Reply With Quote #3

good idea..good job..testing tomarrow
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 02-22-2006 , 18:25  
Reply With Quote #4

I don't play LANs
__________________
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
pulpy
Senior Member
Join Date: Oct 2005
Location: Brights Grove, ON
Old 02-22-2006 , 20:15  
Reply With Quote #5

i believe this is so ppl can tell if there wallhacking, or lanning. So if 2 ppl are lanning, the 1 person if their dead, can tell the other guy where everyone is. So this lets ppl know who is lanning, and has the possibility to do this.
__________________
pulpy is offline
Jordan
Veteran Member
Join Date: Aug 2005
Old 02-22-2006 , 20:21  
Reply With Quote #6

Lets say two people weren't lanning but were in the same ventrillo or team speak server. Could you possibly do something that way?
Jordan is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 02-22-2006 , 20:27  
Reply With Quote #7

Quote:
Originally Posted by ^_^Satan^_^
Lets say two people weren't lanning but were in the same ventrillo or team speak server. Could you possibly do something that way?
Think.

If your answer to your own question was "yes", change it to "no".
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-22-2006 , 20:29  
Reply With Quote #8

Quote:
Originally Posted by pulpy
i believe this is so ppl can tell if there wallhacking, or lanning. So if 2 ppl are lanning, the 1 person if their dead, can tell the other guy where everyone is. So this lets ppl know who is lanning, and has the possibility to do this.
Exactly. The bolded portion anyway. It's to let people know who MIGHT be lanning.
Brad is offline
AllMassive
Senior Member
Join Date: Sep 2004
Location: /dev/urandom
Old 02-22-2006 , 23:03  
Reply With Quote #9

Sounds nice - have to test it.
AllMassive is offline
pulpy
Senior Member
Join Date: Oct 2005
Location: Brights Grove, ON
Old 02-23-2006 , 14:17  
Reply With Quote #10

ya i said wallhacking, cause at least with the lan issue u can block it with a simple rcon command. Cause sometimes it can look like a lanner is actually wallhacking. So with this u can then realize their not hacking, just i guess ghosting through lan.

Also with the ventrilo/teamspeak idea.. i dunno.. not to sure its possible as those are external programs, which would mean that you'd have to create something like HLGuard maybe.. then if it detects ventrilo, or teamspeak running, somehow it finds out connected ip, and if anyone else is on same one it lets u know? I dunno, doesnt sound possible through a plugin, and if so, i'd imagine it'd be very CPU intensive server side... i'll let brad be the final verdict on it.

Also side not to brad :p

My bugblatter port idea i had a while back, this is basically one of the features it had, but it did a tsay sorta notice to any admins telling u who was lanning.. however it didnt change their name or nething. heh.
__________________
pulpy 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 13:32.


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