AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   LAN Notifier 1.0a (https://forums.alliedmods.net/showthread.php?t=24429)

Brad 02-22-2006 13:50

LAN Notifier 1.0a
 
2 Attachment(s)
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

Brad 02-22-2006 13:50

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.

SweatyBanana 02-22-2006 14:56

good idea..good job..testing tomarrow :)

Xanimos 02-22-2006 17:25

I don't play LANs

pulpy 02-22-2006 19:15

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.

Jordan 02-22-2006 19:21

Lets say two people weren't lanning but were in the same ventrillo or team speak server. Could you possibly do something that way?

Hawk552 02-22-2006 19:27

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".

Brad 02-22-2006 19:29

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.

AllMassive 02-22-2006 22:03

Sounds nice - have to test it.

pulpy 02-23-2006 13:17

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.

AllMassive 03-07-2006 11:14

I'm using the plugins for some days now.

The ppl complain about the name change in front of their name.
Could it be done that the 'Ln' is shown at the end of their names ?

Or would it be possible to add:
ppl from same lan get same colored teamname in the 'TAB-Score Overview'.

so the players would be able to see same IP's by the color of the playername .

AllMassive 03-07-2006 23:11

The Players Problem is:

Their name in the stats is always starting with Ln. . . .

AllMassive 03-11-2006 08:40

Another thing:

Could you do a check that ppl which rename manually to 'L1: Player', but do not actually play in the same lan like the other players, the 'Ln'-Tag will automatically be removed ?

Brad 03-11-2006 12:06

Quote:

Originally Posted by AllMassive
The ppl complain about the name change in front of their name.
Could it be done that the 'Ln' is shown at the end of their names ?

Quote:

Originally Posted by AllMassive
The Players Problem is:
Their name in the stats is always starting with Ln. . . .

My first reaction is to have you tell them to suck it up and get over it as the tag isn't there for THEIR convenience. I'm staying with my first reaction.

Quote:

Originally Posted by AllMassive
Or would it be possible to add:
ppl from same lan get same colored teamname in the 'TAB-Score Overview'.
so the players would be able to see same IP's by the color of the playername .

Not feasible.

Quote:

Originally Posted by AllMassive
Could you do a check that ppl which rename manually to 'L1: Player', but do not actually play in the same lan like the other players, the 'Ln'-Tag will automatically be removed ?

That's how it currently works. Are you experiencing something different?

AllMassive 03-11-2006 14:19

Yesterday there was a guy on our server who renamed his nick manually to 'L1: Player' - but he wasnt on the same subnet/ip than the other L1's.

Could the plugin re-rename the non-lan/ip players that do not play in the same lan, but using the same tag . .. .

Brad 03-11-2006 15:43

Quote:

Originally Posted by AllMassive
Yesterday there was a guy on our server who renamed his nick manually to 'L1: Player' - but he wasnt on the same subnet/ip than the other L1's.

Can you post a portion of your server log that shows his name?

AllMassive 03-13-2006 23:18

I've done a screenshot:

http://img217.**************/my.php?image=lannmod9qp.jpg

lann_exact_match is 1

If i do 'lann_exact_match' in the console, i dont get any value back.

Brad 03-13-2006 23:51

New Release! I've just released the latest version.

[2006-03-13] v1.0a
  • Fixed incorrect CVAR name that prevented exact IP matches.
@AllMassive:
Thanks for bringing this to my attention. Your problem should be fixed with this latest release.

diamond-optic 04-21-2006 21:19

what about also having it print to all in chat like

"Bob is playing on the same lan as Bill"

after they connect and the tag is added to their name, or something of the sort..? becuase sometimes ppl dont understand what the tag is, they just assume it ppl in the same clan i think...

I changed it on my server so the tag is [CLONE#] hoping ppl might get the idea of what it is lol.. maybe i just spend too much time on irc heh

tho i could probably do it myself, but anyways :P

nice plugin tho..

raa 05-02-2006 21:14

how would you make this plugin not affect admins?

unnamed_ro 05-04-2006 15:28

Ya this plugin does not work 4 me i have instaled it and it doesn't even show if is active or not
I have a AMXX v1.60, WC3 v2.6.3, server and this plugin is the only one who doesn't work

AllMassive 05-28-2006 18:44

Would it be possible that you add this feature:

All L1 Players are forced to the same team ?

Brad 05-28-2006 20:19

Wow. Apparently I've missed a few posts in this thread. My apologies for all those who were waiting on me to respond.

Quote:

Originally Posted by diamond-optic
what about also having it print to all in chat like

"Bob is playing on the same lan as Bill"

I'll consider this for the next release of this plugin.

Quote:

Originally Posted by raa
how would you make this plugin not affect admins?

I personally think that is a bad idea. Why would you want it to not affect admins?

Quote:

Originally Posted by unnamed_ro
Ya this plugin does not work 4 me i have instaled it and it doesn't even show if is active or not
I have a AMXX v1.60, WC3 v2.6.3, server and this plugin is the only one who doesn't work

If you're still interested in running it and haven't gotten it worked out yet... What error does it give you in your AMXX log when it tries to load the plugin? You may have to turn debug mode on for it.

Quote:

Originally Posted by AllMassive
Would it be possible that you add this feature:

All L1 Players are forced to the same team ?

I'll consider this for the next release of this plugin. However, I don't agree with what I assume your objective is. Just because people are on the same LAN is no way indicative of them ghosting. I don't feel that punishing people for something they might do to be a good thing. Forcing them to one team is a type of punishment, though not necessarily a severe one.

AllMassive 05-29-2006 10:51

Quote:

Originally Posted by Brad
I don't feel that punishing people for something they might do to be a good thing. Forcing them to one team is a type of punishment, though not necessarily a severe one.

But thats what i see nearly every day on our server - 60-70% of those Ln's do it.

But i think this will mess up the ptb-autoteam-option . .. .

hmhm . .. .

raa 05-29-2006 22:10

Quote:

Originally Posted by Brad
Quote:

Originally Posted by raa
how would you make this plugin not affect admins?

I personally think that is a bad idea. Why would you want it to not affect admins?

um... cuz I know my admins won't be ghosting. So there is no point to have the L1 tag in their name.

would it be hard to include a cvar?

lann_affect_admins 0|1

Gunny 06-02-2006 10:16

I installed this on all 6 of my servers. So far I think it is an Awesome plugin.
It is really amazing to see all the players who have been playing on my servers and not knowing that they were on the same IP's with some of the other good players. It really makes me wonder about there skills.


+Karma for you Brad

I too would like for it to print the message indicating who is playing on the same lan as one another.

unnamed_ro 06-06-2006 19:32

Ok after instaling this plugin i got this error in my logs: [AMXX] Plugin "lann.amxx" failed to load: Module "regex" required for plugin. Check modules.ini.

Is this it? ; Regular Expression support
; --------------------------
;regex_amxx_i386.so
;regex_amxx.dll
;regex_amxx_amd64.so
If it is and i enable all this how will this afect my server?

Gunny 06-06-2006 19:51

Quote:

Originally Posted by unnamed_ro
Ok after instaling this plugin i got this error in my logs: [AMXX] Plugin "lann.amxx" failed to load: Module "regex" required for plugin. Check modules.ini.

Is this it? ; Regular Expression support
; --------------------------
;regex_amxx_i386.so
;regex_amxx.dll
;regex_amxx_amd64.so
If it is and i enable all this how will this afect my server?

Yes you need to uncomment the one that is appropriate for your server, remove the ; from in front

unnamed_ro 06-06-2006 20:59

Quote:

Originally Posted by Gunny
Quote:

Originally Posted by unnamed_ro
Ok after instaling this plugin i got this error in my logs: [AMXX] Plugin "lann.amxx" failed to load: Module "regex" required for plugin. Check modules.ini.

Is this it? ; Regular Expression support
; --------------------------
;regex_amxx_i386.so
;regex_amxx.dll
;regex_amxx_amd64.so
If it is and i enable all this how will this afect my server?

Yes you need to uncomment the one that is appropriate for your server, remove the ; from in front

Ya but witch one?

I have a Counter strike 1.5 AMXX v1.71, WC3 v2.6.3,

Brad 06-06-2006 21:04

Just uncomment them all if you can't figure out which one.

unnamed_ro 06-28-2006 02:13

Re: LAN Notifier 1.0a
 
Is there a cvar 4 admin imunity because i have 2 computers and a know i dont ghost?

Brad 06-28-2006 09:34

Re: LAN Notifier 1.0a
 
There is no CVAR for admin immunity.

Being tagged with the LAN tag doesn't mean that you definitely ghost. It's my experience that most people tagged don't ghost.

Also, I find it hard to imagine you playing on two computers at one time.

There is no CVAR for admin immunity and I have no plans to add one.

raa 06-28-2006 15:19

Re: LAN Notifier 1.0a
 
i will be adding it then. thank you for posting your decision

unnamed_ro 06-28-2006 19:15

Re: LAN Notifier 1.0a
 
Quote:

Originally Posted by Brad
There is no CVAR for admin immunity.

Being tagged with the LAN tag doesn't mean that you definitely ghost. It's my experience that most people tagged don't ghost.

Also, I find it hard to imagine you playing on two computers at one time.

There is no CVAR for admin immunity and I have no plans to add one.

How can you expect us as admins 2 inforce no cheats no ghosting rules if players see us as ghosting?

Look is verry simple i have 2 computers me and my wife both play this game and we are admins and we own a server we are both anti cheat fanatycs and it will look preaty bad if ppl think we are ghosting....

Brad 06-29-2006 08:50

Re: LAN Notifier 1.0a
 
If you want it that bad, PM raa and ask for his copy after he updates it.

Like I had said, I have no plans to add it. On a whim I might, whenever I update this plugin again, but I don't have plans to do so.

raa 07-12-2006 15:56

Re: LAN Notifier 1.0a
 
being that I absolutely suck at coding i've managed to come up with modification that finds the admins and attach's hella L1's to their name. In turn crashing the server. =/

anyway, I am still trying to get this to work. I will post when something changes.

Brad 07-12-2006 21:29

Re: LAN Notifier 1.0a
 
A new version will be released soon. It'll include admin immunity and a message that states to everyone why a player's name was changed.

I'm testing it at the moment. Could take a few days.

Example of a line of the language file that handles displaying the reason to everyone on the server:
Code:
TAG_ADDED_ALL = %s had ^"L%i:^" prepended to their name because they are playing on the same LAN as another player.
Note that it doesn't say who the other players are that this player matches. Doing so wouldn't work very well for a couple of reasons.

Brad 09-19-2006 14:04

Re: LAN Notifier 1.0a
 
I'm looking for a beta tester for the next release as I'm unable to test this plugin easily. The beta tester should be able to log into their own server at least twice at one time.

The beta version has immunity and a message that gets displayed to everyone when someone's name changes due to this plugin.

Please send me a private message if you are interested in this beta. Include the version of CS, the version of AMXX, and how many concurrent connections you can test with. I will send you the current code and some instructions on what/how to test.

Thank you for your help!

AllMassive 10-30-2006 20:50

Re: LAN Notifier 1.0a
 
Could you please also do a Check that prevents ppl from changing their nick manually to L1: or L2: - even if they do not play from the same ip/subnet.

It happend quite often that Cheaters connected to our Server and renamed themself as a Lan-Player - but they connected from a different ip - after all every Lan-Player from this IP was suspected - and those Players were regulars on our server.

It would be nice if the 'L1'-Tag is removed automatically by the Plugin if the IPs dont match the cfg-value.

Brad 10-30-2006 20:57

Re: LAN Notifier 1.0a
 
Does that not already happen?

If not, it's already in the fabled next version. Never got anyone interested in beta testing it though it seems to work for me well enough.

Quote:

Originally Posted by Brad (Post 351850)
A new version will be released soon.

It's all relative. :lol:


All times are GMT -4. The time now is 10:19.

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