PDA

View Full Version : Lobby Credentials [PSR Filter+]



Faedrik
04-08-2010, 01:33 PM
Lobby Credentials

What it does:
- Checks a player's statistics upon game entry, and compares them with preset parameters. If the player fails to meet any of the specified credentials, they will be kicked.

Requirements:
- The Heroes of Newerth Modification Manager (download link: http://forums.heroesofnewerth.com/showthread.php?t=25883)
- The Mod Options Framework (download link: http://forums.heroesofnewerth.com/showthread.php?t=66975)

Download:
- You may download the most up-to-date version here: Version 1.16 (http://dl.dropbox.com/u/6039104/LobbyCredentials.honmod).

Change-log:


Version 1.16:
- Added the ability to whisper kicked players with a customizable message.
*Default message: You did not meet all the credentials to participate in this match!
- Added an icon (although a pretty bland one) until I find a better one.

Version 1.15:
- Recoded the majority of the script
- Added a clan-bypassing parameter
- Added a customizable output message when a player is kicked. (default: ^985!player ^wdid not meet all the ^!lLobby Credentials ^w to participate in this match.)
- Added a toggle-effect to switch between K+A/D and (K/D and A/D)
- Removed S2Games and Premium user bypassing
- Added a "use upper limit" for games played credentials
- Changed the way local chat messages displayed (different colours and text)
- Removed 'Enabled While Private' parameter (as I did not see any practicality for this feature)
- Various other changes.

Version 1.12:
- Fixed K/D and A/D credential checks (were checking the wrong values)

Version 1.11:
- Now is automatically update-able.

Version 1.10:
- Added the ability to display credentials not met in a local chat message (that only you can see)
- Added the ability to disable the modification from being active when the game is in a private state.
- Lowered the maximum Match Count to 3000 (from 9999) - This should help slider issues.
- Added a Leave Percentage credential (maximum only)

Version 1.00:
- Initial Release

chibi22
04-08-2010, 01:52 PM
link??

Sephinator
04-08-2010, 02:37 PM
http://forums.heroesofnewerth.com/showthread.php?t=97547

MahdSkillz
04-08-2010, 02:40 PM
http://forums.heroesofnewerth.com/showthread.php?t=97547
Problem is that your link doesn't provide the very same addon/mod that this topic creator offers.
Theres no (k+a):d filter and no em filter implemented.
So we HAVE to ask for the download link for this mod and we are not statisfied with the link you provided.
Thanks for trying to contribute to this thread anyways.

Temragon
04-08-2010, 03:11 PM
Problem is that your link doesn't provide the very same addon/mod that this topic creator offers.
Theres no (k+a):d filter and no em filter implemented.
So we HAVE to ask for the download link for this mod and we are not statisfied with the link you provided.
Thanks for trying to contribute to this thread anyways.

"Wrong mod" would suffice, you know. He was just trying to be helpful.

Interesting mod, we'll see whose lobby filter comes out on top (Since we can download Halisa's PSR-only-so-far one, but can't download this one)

Sephinator
04-08-2010, 03:19 PM
I meant that Halisa's mod will have all these features.

MackKnife
04-08-2010, 03:24 PM
waiting for link to test it :-) , and no halisa?s dont get this kind of options .. not yet (i hope)

Faedrik
04-08-2010, 03:32 PM
The link will be up once I get a stable version. I was attempting to add / change something, something got messed up and I'm trying to "fix" it.

Bear with me, I'm working on a solution and once I find one I'll post a stable version.

Updated with link: http://www.mediafire.com/?agjwxmooyyb

Post any comments or concerns.

You may also request for me to add any additional parameters you'd like to be checked (I can't think of any that would be reasonable at the moment)

MaxGhost
04-08-2010, 05:23 PM
waiting for link to test it :-) , and no halisa?s dont get this kind of options .. not yet (i hope)

He meant Halisa WILL add those features.

A`nub`is
04-08-2010, 05:54 PM
So... maybe we test this mod first? Eventually it works like the psr filter mod from picklefishs time (I mean without bugs and in the second someone tries to join your game, way before halisas mod currently works). How about that?

Hollenhoe
04-08-2010, 08:25 PM
i cant see the point of make a same mod what already exists. yes my mod have bugs and so but i said ill fix them and make the em/kd/ad/kad/.... options. i just had no time for it cuz my IRL stuff. (i start to improve it tomorrow) but good luck with your mod. i dont mind if someone makes a better mod than mine

(edit: its also funny that if you compare this mod's code and mine's..there is no much difference)

Zesbeer
04-08-2010, 08:53 PM
this seems better then the other one if u added more stats i could filter with i would be happier and if you added auto update i would also be happier

Faedrik
04-08-2010, 09:19 PM
this seems better then the other one if u added more stats i could filter with i would be happier and if you added auto update i would also be happier

What other stats would you like to "play around with"?

Anything you can think of I can see what I can do to implement it.

Dotatod
04-09-2010, 12:22 AM
You two should work together.

Temragon
04-09-2010, 12:32 AM
A feature I would like to see is saying WHY the player was kicked (All flags, not just the first one found)

Additionally, separate KD/AD. K+A/D works, but I prefer the finer control.

Edit: Additionally, allow friends to be skipped, instead of a set list of players.

Faedrik
04-09-2010, 02:40 AM
A feature I would like to see is saying WHY the player was kicked (All flags, not just the first one found)

Additionally, separate KD/AD. K+A/D works, but I prefer the finer control.

Edit: Additionally, allow friends to be skipped, instead of a set list of players.

The problem with it being very specific with the reason they were kicked, I want it to look "nice" and if you have all the parameters checked and they don't meet any of them that's a lot of information to display. If you want, I could make it only display locally, but if you want to tell everyone else in the game why they were kicked I'll have to find a better method to display everything accordingly.

You can already allow buddies to join your game, look in the Player Bypassing category under Automatic Buddy Bypassing (it's enabled by default)

I'm currently working on a more customizable KDA feature (which allows you to specific minimums and maximums for K-D and A-D as well as K+A-D)

Budist
04-09-2010, 03:14 AM
the mod is very nice. But i have a few requests it is possible.

First auto - updateable
Second a button to click from the interface, not just to go to option mods
Third to say the exact reason somebody was kicked (em too high, too low psr). Thank you

RG_PankO
04-09-2010, 03:29 AM
And whisper to the kicked person why he had been kicked like "You have been kicked from the game "GAME TITLE" because your "reason - em%, kd ratio,..." by autokicker :O.

Temragon
04-09-2010, 03:48 AM
The problem with it being very specific with the reason they were kicked, I want it to look "nice" and if you have all the parameters checked and they don't meet any of them that's a lot of information to display. If you want, I could make it only display locally, but if you want to tell everyone else in the game why they were kicked I'll have to find a better method to display everything accordingly.

You can already allow buddies to join your game, look in the Player Bypassing category under Automatic Buddy Bypassing (it's enabled by default)

I'm currently working on a more customizable KDA feature (which allows you to specific minimums and maximums for K-D and A-D as well as K+A-D)

I'd just have it report like so:
XYZ Kicked for: K/D < .5, A/D < 1.0, Games < 10, EM >, 50% Leave > 10%
A lot of stats, one line.

Budist
04-09-2010, 05:40 AM
And whisper to the kicked person why he had been kicked like "You have been kicked from the game "GAME TITLE" because your "reason - em%, kd ratio,..." by autokicker :O.

yes the whisper would be a great idea..

DdsT
04-09-2010, 06:03 AM
yes the whisper would be a great idea..
I don't think whispering someone to tell him that in your opinion his stats suck is a good idea.

Hollenhoe
04-09-2010, 06:20 AM
I don't mean to hijack this thread or anything, but if you're like to use my version of a PSR Filter, go here:

http://forums.heroesofnewerth.com/showthread.php?t=99829

dont you think youre a bit insolent? make an exactly same mod as i with the improvements i said i will make and also advertise your mod in my fckin thread??

Budist
04-09-2010, 06:43 AM
I don't think whispering someone to tell him that in your opinion his stats suck is a good idea.

he will know why he was kicked and he can whisper you to put him on exceptions to not be kicked 3 times and then get banned.

Qgel
04-09-2010, 11:16 AM
would it be possible to make the settings input-boxes? the sliders are just way to inaccurate for some options (like games played, the smallest i can get there is ~50)

Joy
04-09-2010, 05:01 PM
A few things.

I agree whispering someone with the kicking reason should at least not be priority, a feature which can be turned off is obviously never a big issue anyways.

One feature I'd love to see is for the mod to NOT kick people when there is X or less people in the game. When you make a new lobby and have 1-2 people in it, you tend to want people to join the lobby to get it rolling, then when you have around 6-7 players you want to start filtering.

And I agree with the above posted, the sliders are problematic for some of the stats, matched played especially.

Great work so far!

Rean
04-09-2010, 05:21 PM
ok this mod makes my chat go crazy

it scrolls up all the time when anyone is joining channel or picking hero or whatever

04-10-2010, 12:14 AM
put an autoupdate feature

korreWorre
04-10-2010, 11:14 AM
[QUOTE=Joys;1369521
And I agree with the above posted, the sliders are problematic for some of the stats, matched played especially.

[/QUOTE]


Indeed it needs a fix.

MackKnife
04-10-2010, 02:19 PM
and more featurs like saying why kicked him in chat etc. ...

Faedrik
04-10-2010, 06:17 PM
Updated to Version 1.11 (http://dl.dropbox.com/u/6039104/LobbyCredentials.honmod)

shuwi
04-11-2010, 02:18 AM
hey guys,

i downloaded this psr filter and put it like my other mods in the HoN/game/mod folder, but my Mod-Manager cant find this addon oO All other addons are shown up.

What can i do ?!

Edit* I tested the first vers. 1.0 and this works but not the updated one 1.11 . Maybe other guys have the same problem with the new version.

Faedrik
04-11-2010, 02:50 AM
hey guys,

i downloaded this psr filter and put it like my other mods in the HoN/game/mod folder, but my Mod-Manager cant find this addon oO All other addons are shown up.

What can i do ?!

Edit* I tested the first vers. 1.0 and this works but not the updated one 1.11 . Maybe other guys have the same problem with the new version.

There was a bug with the version I had uploaded, it has been resolved now and you can re-download the file.

Sorry for the inconvenience.

MackKnife
04-11-2010, 07:07 AM
I got a sound in your mod options that is allways there ... i think this will be one of the
sliders that makes the sound , does anybody else get this sucking sounds ?

Azita
04-11-2010, 12:24 PM
yes my sound stucks too.

SajsiMiTuki
04-11-2010, 12:31 PM
yes my sound stucks too.

sounds r ok for me, but not k:d /a:d filter. noone can join (mod kick everyone)

malavilosu
04-11-2010, 12:53 PM
^
||

KD / AD bugged =[ fix plz :D

shuwi
04-11-2010, 02:46 PM
^
||

KD / AD bugged =[ fix plz :D


yeah its true. if u enable this future everyone gets kicked ;) this should be fixed m8

Faedrik
04-11-2010, 02:48 PM
yeah its true. if u enable this future everyone gets kicked ;) this should be fixed m8

This has been fixed. Sorry the for inconvenience, I guess programming without much sleep can cause silly errors like that.

Download latest version here: Version 1.12 (http://dl.dropbox.com/u/6039104/LobbyCredentials.honmod)

---

If you would like other parameters to be added (like creep scores or building damage or basically anything stat-wise), mention it and I'll see what I can do.

MackKnife
04-11-2010, 02:53 PM
An Option if someone are on my banlist he can not join the game , or maybe he will autokicked ?

Thx in advance

MahdSkillz
04-11-2010, 03:13 PM
Could you add a TRUE skill filter like (k+a):d filter instead of single k:d and a:d filter which show you NOTHING?
A 1.0 k:d filter can still filter out someone with 0.8 k:d who has over 2.0 a:d
A 1.0 a:d filter can still filter out someone with 0.8 a:d who has over 2.0 k:d

Berra_la
04-11-2010, 06:10 PM
An Option if someone are on my banlist he can not join the game , or maybe he will autokicked ?

Thx in advance
Yes, please.

Also, why does it paste the gamename in the chat on announce? I know what game I'm in thank you. :-p

Joy
04-12-2010, 06:47 AM
Could you update the changelog for 1.13 and 1.14?

kyyla
04-12-2010, 09:13 AM
This is awesome! Thanks alot!

eNTi
04-12-2010, 01:43 PM
could you add a check for one's banlist too? so that this sucker has a meaning already? like your options btw, but i think you should put the last 3 in separate categories.

...and i'd have another rather unusual request: since games fill up rather quickly with more players in them already, i was wondering, if you could create a list of the players to be kicked, and only start kicking them, after a given number of slots is taken.

update: max played games should be removed or at least x100.

update 2: you should check your min/max checks. for example if i set psr min to 1600 it checks against < 1599 which is <= 1598.

Faedrik
04-13-2010, 03:24 AM
I don't know how to retrieve the information whether they're banned or not when they join the lobby.

I am, however, working on a minimum-player to activation thing, so if you set it to 4 it won't start kicking players until there are at least 4 players, hitting a few snags, but I'll keep you updated.

Anything else you'd like to see implemented? Comments and criticisms are much appreciated.

Berra_la
04-13-2010, 09:20 AM
I haven't looked into how modding works yet, but couldn't you execute "/bl list" internally somehow and then crosscheck every nick that joins? If this can't be done, the next best thing would be to try to detect the "this player is banned" message that appears after he loads and picks a slot.
Not a biggie.. Apparently the new banlist assist modder is planning to add this feature along with public announce of the ban somewhere down the road.

I don't like the suggestion to wait before kicking people. I'd call that bad mannered hosting (you don't always put the exact limits in your game name, so it's not always "their own fault"). But to each his own. I can always just turn that feature off.

The [LOBBY] announces really don't need to be that long or split up on different rows. Maybe do something similar for the public announce, shorter is always nice. But it's only taking up one row now with the game name cut, so it's fine. Maybe make it an option to give exact numbers to everyone (and of course cutting the private announce if you do). Good grammar and sentence construction are kind of unnecessary.

Example:
[LOBBY] FukU2: EM 47% > 15% | PSR 999 < 1650 | Leave 25% > 4%

Since the game already tells us that "the host has kicked..." we don't really need any more information than this. Some coloring would probably help, but try to avoid bright colors that draw too much attention. Also, try to keep the number of different colors you use down, right now it's very distracting.

That's all for now. Keep up the good work!

MahdSkillz
04-13-2010, 12:01 PM
Anything else you'd like to see implemented? Comments and criticisms are much appreciated.

This:


Could you add a TRUE skill filter like (k+a):d filter instead of single k:d and a:d filter which show you NOTHING?
A 1.0 k:d filter can still filter out someone with 0.8 k:d who has over 2.0 a:d
A 1.0 a:d filter can still filter out someone with 0.8 a:d who has over 2.0 k:d

Berra_la
04-13-2010, 06:33 PM
I just noticed, when someone is kicked and then rejoins (and kicked again) the message appears again. Not really necessary to show it the second time (the old PSR Filter worked like that). Any way to cut down on the chat spam is good.

Creep666
04-14-2010, 04:06 AM
The [LOBBY] announces really don't need to be that long or split up on different rows. Maybe do something similar for the public announce, shorter is always nice. But it's only taking up one row now with the game name cut, so it's fine. Maybe make it an option to give exact numbers to everyone (and of course cutting the private announce if you do). Good grammar and sentence construction are kind of unnecessary.

This! need a shorter message with more information.

Azita
04-14-2010, 10:52 AM
Is it possible to set the max of max games to unlimited because there are some player with more than 1000.

Temragon
04-14-2010, 07:34 PM
Additionally, sliders are just awkward.

It works good so far, but just use text entries with -1 for 'don't check' or 'unlimited' instead of sliders.

Edit: Add a option to change the message when someone is kicked if you're not going to be able to show why they were actually kicked in/on one line. (I know that HoN's scripting is a bit restrictive)

Faedrik
04-15-2010, 04:12 AM
I intend to keep the sliders, because a functioning text box can cause more errors than it "fixes" users could input non-numerical values and cause things to crash / crush etc. It's more annoying than it is helpful. As it stands, I don't feel the sliders are terrible, you merely have to use the button step to define it to a specific value.

There will be an update shortly.

Changes that I have made:
- Added a "Check Upper Limit" for match count parameters, where if this is checked it will check the maximum value, if it isn't it won't bother.
- Added the ability for you to change the on-kick message (default: ^985!player did not meet all of the ^!lLobby Credentials to participate in this match)
*You can access the player's account name using the phrase '!player' (will only replace the first encounter)
- Removed premium / S2Games automatic bypassing (I didn't see a practical use for it nor did I think anyone else would)
- Added a toggle-effect to change between checking for (K/D and A/D) and K+A/D (per request)

I'm also looking into making a button that contains all the settings to be changed (removing the requirement for Mod Options Framework, but this is something that may not happen, and if it does, it is long down the road.)

---

If there are any more features / requests you have for me to implement, feel free to post them here and I'll see what I can do to get around to implementing them for your use. Thanks for all the support.

MackKnife
04-15-2010, 11:45 AM
cool new stuff .. will there be an icon for ur mod , with the next update ?

snakepliski1
04-15-2010, 12:46 PM
Thanks for making this. Its great. It's going to make my life a lot easier.


would it be possible to make the settings input-boxes? the sliders are just way to inaccurate for some options (like games played, the smallest i can get there is ~50)


I intend to keep the sliders, because a functioning text box can cause more errors than it "fixes" users could input non-numerical values and cause things to crash / crush etc. It's more annoying than it is helpful. As it stands, I don't feel the sliders are terrible, you merely have to use the button step to define it to a specific value.


I have to say that sliders suck bit time. I also agree that input boxes can cause more problems then solve. Solution is - add LABELS that show the exact value that sliders point to. That way when I use sliders I can see what value I'm setting. Right now I'm totally confused.
Add labels for slider values and your mods becomes instant first pick.

I hope you add them labels in the next update.

Cheers! :chip:

Faedrik
04-15-2010, 03:06 PM
cool new stuff .. will there be an icon for ur mod , with the next update ?

If there is someone that is willing to make me a 48x48 icon. I'm looking for a very simple icon that has the letters LC in the middle of it, preferably in shades of blue (darker colours). If anyone is willing to fulfill this request for me, it would be much appreciated. Thanks in advance!

Thanks for making this. Its great. It's going to make my life a lot easier.





I have to say that sliders suck bit time. I also agree that input boxes can cause more problems then solve. Solution is - add LABELS that show the exact value that sliders point to. That way when I use sliders I can see what value I'm setting. Right now I'm totally confused.
Add labels for slider values and your mods becomes instant first pick.

I hope you add them labels in the next update.

Cheers! :chip:

Beside the sliders should be the value that the slider is looking at. At least, when I run the script it works that way. Perhaps your Mod Options Framework is out of date, otherwise I have no idea why you would have to be "guessing" as to what value you have it set to.

awowa
04-15-2010, 03:09 PM
is there an SMR filter for this?

Faedrik
04-15-2010, 03:16 PM
is there an SMR filter for this?

There could be, but why isn't PSR sufficient, as public games do not inflate / deflate SMR.

I don't see the practicality of this, if it were to be implemented. Care to elaborate?

Temragon
04-15-2010, 03:16 PM
I intend to keep the sliders, because a functioning text box can cause more errors than it "fixes" users could input non-numerical values and cause things to crash / crush etc. It's more annoying than it is helpful. As it stands, I don't feel the sliders are terrible, you merely have to use the button step to define it to a specific value.

Well, I guess I only have to set them once or twice anyways. /shrug


- Added the ability for you to change the on-kick message (default: ^985!player did not meet all of the ^!lLobby Credentials to participate in this match)Thanks

- Added a toggle-effect to change between checking for (K/D and A/D) and K+A/D (per request)Allow both to be enabled please, Instead of a "Use A instead of B" option, both a "Use A" and "Use B".


I'm also looking into making a button that contains all the settings to be changed (removing the requirement for Mod Options Framework, but this is something that may not happen, and if it does, it is long down the road.)Why? Extra work for almost no gain. If you want better functionality out of the framework, submit a suggestion or patch. Most all mods that have options use it for more than one good reason - keeping options in one place is the way to go.

awowa
04-15-2010, 03:52 PM
There could be, but why isn't PSR sufficient, as public games do not inflate / deflate SMR.

I don't see the practicality of this, if it were to be implemented. Care to elaborate?

I guess it's a moot topic for public games; I was thinking in terms of a SMR floor of 1500 to set up something that is very lax in restrictions but I see your point, disregard my previous post.

Creep666
04-16-2010, 05:10 AM
http://img59.imageshack.us/img59/3569/lcicon.png








...just kidding^^

tomaskir
04-16-2010, 03:46 PM
the mod is very nice. But i have a few requests it is possible.

First auto - updateable
Second a button to click from the interface, not just to go to option mods
Third to say the exact reason somebody was kicked (em too high, too low psr). Thank you

PLEASE

I will love you long time if you do that.

Edit: one more thing, could it please check if the player is in your clan same is it does with the friend list? I dont have any of my clannies on my friend list, simply because i can just use the clan interface, which has the same functionality.

Faedrik
04-16-2010, 07:21 PM
PLEASE

I will love you long time if you do that.

Edit: one more thing, could it please check if the player is in your clan same is it does with the friend list? I dont have any of my clannies on my friend list, simply because i can just use the clan interface, which has the same functionality.

The clan-bypassing has already been added into the next version.

MackKnife
04-16-2010, 07:25 PM
great , when is next release ?

Faedrik
04-16-2010, 07:52 PM
great , when is next release ?

Just as soon as I debug this problem and fix it. It's quite an annoyance.

Updated to Version 1.15 (http://dl.dropbox.com/u/6039104/LobbyCredentials.honmod).


Version 1.15:
- Recoded the majority of the script
- Added a clan-bypassing parameter
- Added a customizable output message when a player is kicked. (default: ^985!player ^wdid not meet all the ^!lLobby Credentials ^w to participate in this match.)
- Added a toggle-effect to switch between K+A/D and (K/D and A/D)
- Removed S2Games and Premium user bypassing
- Added a "use upper limit" for games played credentials
- Changed the way local chat messages displayed (different colours and text)
- Removed 'Enabled While Private' parameter (as I did not see any practicality for this feature)
- Various other changes.

Faedrik
04-16-2010, 11:36 PM
Updated to Version 1.16 (http://dl.dropbox.com/u/6039104/LobbyCredentials.honmod).


Version 1.16:
- Added the ability to whisper kicked players with a customizable message.
*Default message: You did not meet all the credentials to participate in this match!
- Added an icon (although a pretty bland one) until I find a better one.

Berra_la
04-17-2010, 01:33 AM
I've been testing a few phrases to whisper and I found one that someone might find useful. Surely I'm not the first one who had to tell someone that their friend was auto-banned for being kicked twice.. even though their combined stats would have been acceptable.

Took a while to come up with a short enough phrase to fit in the textbox.

Autokicked... If you have friends joining, ^rDO NOT REJOIN^w before told to. I may make exceptions for a group of players.

If someone from S2 happens to read this, please make it so that banned players can be allowed by invitation from the host.

Faedrik
04-17-2010, 02:49 AM
I've been testing a few phrases to whisper and I found one that someone might find useful. Surely I'm not the first one who had to tell someone that their friend was auto-banned for being kicked twice.. even though their combined stats would have been acceptable.

Took a while to come up with a short enough phrase to fit in the textbox.

Autokicked... If you have friends joining, ^rDO NOT REJOIN^w before told to. I may make exceptions for a group of players.

If someone from S2 happens to read this, please make it so that banned players can be allowed by invitation from the host.

Glad you like the whisper capability.

If there's anything else you'd like to see implemented, I'm be more than willing to give it my best shot.

As it stands now, I am pretty comfortable to call this mod a "complete" mod as I don't see any more necessary features, only more customization, etc.

---

Not that it matters, but I am working on another mod, called "Event Notifications", that will send team-chat messages for various events (as of now when you are low on health / mana and when a player levels up, etc)

04-17-2010, 03:26 AM
Ive put my range as 1550-1800. still some 1400's can enter my room

Temragon
04-17-2010, 03:37 AM
Glad you like the whisper capability.

If there's anything else you'd like to see implemented, I'm be more than willing to give it my best shot.

As it stands now, I am pretty comfortable to call this mod a "complete" mod as I don't see any more necessary features, only more customization, etc.

---

Not that it matters, but I am working on another mod, called "Event Notifications", that will send team-chat messages for various events (as of now when you are low on health / mana and when a player levels up, etc)

A: A few people (And myself) have asked for the ability to send failed credentials in lobby chat. Gave up on the feature, figuring out the jumbled, tangled (but somehow functional) mess that is the HoN UI/XAML and adding it myself currently. Will submit when complete.
Edit: Current progress: |=============== | (Oh god why does the UI work this way?!)

B: Please, don't make a mod that says "I'm low on health!" or anything like that. Any decent player will be watching his teams' health, and any new player will have better things to pay attention to - like their own health.

Faedrik
04-17-2010, 03:53 AM
A: A few people (And myself) have asked for the ability to send failed credentials in lobby chat. Gave up on the feature, figuring out the jumbled, tangled (but somehow functional) mess that is the HoN UI/XAML and adding it myself currently. Will submit when complete.
Edit: Current progress: |=============== | (Oh god why does the UI work this way?!)

B: Please, don't make a mod that says "I'm low on health!" or anything like that. Any decent player will be watching his teams' health, and any new player will have better things to pay attention to - like their own health.

I had it working, to output the credentials the player didn't meet, but there's a 150 character limit per message, that's the problem I encountered. I figured, if a player didn't meet any of the credentials (worst case scenario) or I added more, they wouldn't fit anyway, so I figured I'd spit out all the information in local chat messages. I opt'd for single messages per stat failed because it looks "cleaner", in my opinion and you only get the information that you're looking for.

You can disable local chat messages if it's too "spammy" or lower the amount of credentials you're looking at.

If you find some healthy medium to incorporate all 6 of the credentials (granted a player meets all of them) and make it fit under 150 characters in length (including colour codes), I'd be more than happy to implement it.

As it stands, I don't see how it can be done, having it colour-coded (which is ideal) and spitting out information for it to be legible and informative.

I'm open to suggestions.

Temragon
04-17-2010, 04:20 AM
I had it working, to output the credentials the player didn't meet, but there's a 150 character limit per message, that's the problem I encountered. I figured, if a player didn't meet any of the credentials (worst case scenario) or I added more, they wouldn't fit anyway, so I figured I'd spit out all the information in local chat messages. I opt'd for single messages per stat failed because it looks "cleaner", in my opinion and you only get the information that you're looking for.

You can disable local chat messages if it's too "spammy" or lower the amount of credentials you're looking at.

If you find some healthy medium to incorporate all 6 of the credentials (granted a player meets all of them) and make it fit under 150 characters in length (including colour codes), I'd be more than happy to implement it.

As it stands, I don't see how it can be done, having it colour-coded (which is ideal) and spitting out information for it to be legible and informative.

I'm open to suggestions.

Yeah, I can see the potential problem. Thing is, it's rare that they fail too many... And if they do, a simple string length > 150 set string to "Too ****ing many failed parameters" works for me.

Progress: |=============== |
(Sanity draining away. But it's working, sortof. Fixafixa.)


Edit:
Also, the "Missed credential b X" thing is nice in the messages to host only, but for messages to everyone, something like this will work:

!player removed for ^wPSR (^runder $option^w) ^wK+A/D (^rover $option^w)
Or even
!player removed for PSR (over $option) K+A/D (under $option)
The second one doesn't have colors, but it's still easily readable. I ended up listing my requirements in my kick message anyway, because too many people would leave if it was vague.
It's also much easier to write for you (or me, or anyone else)

Edit again:
KD ratios should be listed to 1 decimal point instead of 0, otherwise you see only 0:1 or 1:1 (in my games they tend to go from .8 to 1.6, so the difference is important)

Creep666
04-17-2010, 04:50 AM
pretty happy with the new version, but i need a !reason function for the custom message. hope you and temragon work something out soon^^

btw that !reason should only be short like "PSR1440<1500" short
so i can put it like "^900!player was auto-kicked (!reason)"

Faedrik
04-17-2010, 04:52 AM
I could put something together really quick if you want me to, and if the message is too long, it'll just default to the one you set? How's that sound?

Temragon
04-17-2010, 05:16 AM
I could put something together really quick if you want me to, and if the message is too long, it'll just default to the one you set? How's that sound?
Progress: |=============== |
(**** IT HE'S GOING TO DO IT)

Yesplz.

Optimal !reason format seems to be either:
"^wSTAT ^r{under/over OR </>} {limit}"
or "^wSTAT ^r{value}{</>}{limit}"
(space-delimited unless you want to do a if len > 0 for each stat checked, to add a ', ')

This would dictate two message options instead of one:
Kick message: !player removed for !reasons
and "omfg kicked for everything" message: !player removed for failing too many Lobby Credentials to list.

Edit:
For the record, I kindof had it working D:
But ... well it's better if you do it anyway. <.<

Edit again:
As for your text notification mod, the only application I could see would be a textual warning of a rampage charge, but we've already ruined him with the Watch Out! mod quite enough.

tomaskir
04-17-2010, 05:20 AM
I could put something together really quick if you want me to, and if the message is too long, it'll just default to the one you set? How's that sound?

Me gonna love you long time indeed.

Thank for the awesome updates man.

Creep666
04-17-2010, 05:31 AM
I could put something together really quick if you want me to, and if the message is too long, it'll just default to the one you set? How's that sound?
sounds awesome

Faedrik
04-17-2010, 05:33 AM
Here's how I'm functioning this (granted it works:

Prefix String: This is sent before any of the parameter messages are added:
Default: (^985!player ^v-)

Parameter Compilation String (Under): This is added to the kick messages whenever you're lower than the minimum
Default: (^w!item: !value ^o(-!diff))

And the upper string looking similar.
Default: (^w!item: !value ^o(+!diff))

*Whereas
!item points to things like PSR
!value points to things like 1650
!diff points to things like +-50 (points off)
!limit points to things like 1400 (the minimum or maximum value)

Then the message (which many of you have probably already set, to be sent if the combined string is too long (over 150 character)
Default: (^985!player ^wdid not meet all the ^!lLobby Credentials ^w to participate in this match.)

Temragon
04-17-2010, 06:01 AM
Parameter Compilation String (Under): This is added to the kick messages whenever you're lower than the minimum
Default: (^w!item: !value ^o(-!diff))

And the upper string looking similar.
Default: (^w!item: !value ^o(+!diff))

I'd contend that ^w!item: ^o!value {</>}!limit would be more quickly comprehended, and it would be easier logic-wise. (Personal preference, too)
However, (!diff) does seem to end up being shorter character-wise.

Faedrik
04-17-2010, 06:07 AM
I'd contend that ^w!item: ^o!value {</>}!limit would be more quickly comprehended, and it would be easier logic-wise. (Personal preference, too)
However, (!diff) does seem to end up being shorter character-wise.

The user is going to be able to customize these messages.

I'm hitting some snags concatenating strings and maintaining values.

Perhaps I'm just too tired. Expect an update sometime tomorrow.

Joy
04-17-2010, 06:32 AM
I love this addon but I still really would love to see one major feature added before I can use it in all my games. It's been brought up before, but you ideally do not want strict restrictions when starting a fresh game, since an empty lobby can fill real slowly.

So either:

- Make it an option for the addon to enable itself when there's X people in the lobby.
- Make an easy on/off switch in the lobby
- Make it store bans and only kick when there's X people in the lobby.

04-17-2010, 11:34 AM
please fix asap as some players can still pass through and the mod didn't kick them from the lobby.. check the minimum psr range

MahdSkillz
04-17-2010, 02:20 PM
Another thing I liked about the old psr filter is that you can change the psr/em % in a small windows at the top left without going through many menus.

arnold_swe
04-17-2010, 02:49 PM
I don't have time, but can you add a varning setting so if someone breaks the reqirement, it tells you as a gamemessage or chat message. Alternativly it shows as attributes on the players names in red/green if he's worse/better then that certain attribute FE PSR: you set 1500 as minimum and 1600 as max and if a player joins and his psr is 1666 and his kd is 2.5 His name would say MyName [kd] if he was over th kd limit. A mod like this would be awsome and Good luck with the coding :)

Berra_la
04-17-2010, 02:50 PM
Found another reason to limit the announces to once per player per game. Sometimes the servers seem to lag or something making your mod output the same thing twice for only one join/kick... not to mention that many still rejoin despite the whisper message, causing the announcer to repeat himself.

Other than that, when you get !reason to work satisfactory (consider splitting the announce on two rows when it exceeds the character limit) I'd agree that this mod is pretty much finished.

Nice job!

Faedrik
04-17-2010, 11:43 PM
Just an update.

Hitting a few snags with the new feature (the descriptive kick message addition). For some reason, I can't "change" the value of a string. It remains the default no matter what I do with it, which is frustrating.

Here's the line of code that I'm looking at, if someone can shine some light on it as to why it's not changing it's value, it would be much appreciated.


Set ('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage', '' # *('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage') # ' ' # Faedrik_LobbyCredentials_ParameterCompilation_Uppe r)

Temragon
04-18-2010, 01:29 AM
Just an update.

Hitting a few snags with the new feature (the descriptive kick message addition). For some reason, I can't "change" the value of a string. It remains the default no matter what I do with it, which is frustrating.

Here's the line of code that I'm looking at, if someone can shine some light on it as to why it's not changing it's value, it would be much appreciated.


Set ('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage', '' # *('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage') # ' ' # Faedrik_LobbyCredentials_ParameterCompilation_Uppe r)

I hit the same thing.

It seems concatenation doesn't work inside set? Perhaps a extra (), or since it works in Create, you'd just chain Create's ('' if nothing for that segment).

Wish they'd just use Lua.

Faedrik
04-18-2010, 01:50 AM
I hit the same thing.

It seems concatenation doesn't work inside set? Perhaps a extra (), or since it works in Create, you'd just chain Create's ('' if nothing for that segment).

Wish they'd just use Lua.

I'm not sure, but I can combine substrings (how I replace phrases with the value they're pointing to)

Here's the example I'm talking about ... this replaces !player with the respective player name.


Set ('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage', Substring (*('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage'), 0, SearchString (*('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage'), '!player', 0)) # *('Faedrik_LobbyCredentials_User_' # param0 # '_AccountName') # Substring (*('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage'), (SearchString (*('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage'), '!player', 0) + 7), StringLength (*('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage'))))

Temragon
04-18-2010, 02:12 AM
I'm not sure, but I can combine substrings (how I replace phrases with the value they're pointing to)

Here's the example I'm talking about ... this replaces !player with the respective player name.


Set ('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage', Substring (*('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage'), 0, SearchString (*('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage'), '!player', 0)) # *('Faedrik_LobbyCredentials_User_' # param0 # '_AccountName') # Substring (*('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage'), (SearchString (*('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage'), '!player', 0) + 7), StringLength (*('Faedrik_LobbyCredentials_User_' # param0 # '_KickMessage'))))
then combine substr(0, 150)'s?

04-19-2010, 10:50 AM
psr credentials not always working...still some players can pass through the specified psr range

Berra_la
04-19-2010, 03:30 PM
psr credentials not always working...still some players can pass through the specified psr range
I've never seen anyone pass though, but sometimes the kick have been delayed. The stats sometimes lag a bit, probably because there are too many automatic queries for S2's servers to cope.

I don't know if it's needed, but some indicator whether or not a player has been checked yet might be useful.

reno`
04-19-2010, 03:46 PM
It has happened at least three times to me that I can recall where the mod didn't pick up a few people above the limitations I had set. Not too big of a problem because of the small amount of times it has happened, but it would be nice if it could be looked into.

Faedrik
04-19-2010, 08:19 PM
Make sure your mod version is always updated to the latest version. I have never encountered this problem and I thoroughly test things before I update versions online.

04-19-2010, 08:28 PM
Yep, before I play hon I always see to it that I update all my mods in the hon manager. Probably there's something to do with my other mods like fullgamenotifier and sephinator_quickstats - if it's incompatible or something

Version 1.15 filters better though and no one passes through the credentials. Do you have an archive or something where can i get this version? Tnx

Berra_la
04-20-2010, 02:42 PM
I'm running seph's quickstats too, I'll probably stop using it soon though as the stats queries may very well conflict when a new player joins.

04-21-2010, 09:07 AM
I hope that Faedrik would start fixing this issue with sephinator_quickstats as some players usually 1400-1499 can easily pass through

Gotti
04-22-2010, 05:43 PM
Is there a way to show reason for kick in the kick message? You get an echo message with that info, so there should be a way to put it in the kick message aswell, no?

Edit: Sorry, read up a bit in the post and saw that you're working on it. So, how's it going? :)

04-24-2010, 05:02 AM
where's faedrik?

Faedrik
04-24-2010, 05:15 AM
As far as I know, the current version that is downloadable is in a stable state.

I am working on another project (various minor ones, at least).

I will, perhaps, remake this mod in the new future, having a customizable interface that removes the requirement of Mod Options Framework.

It will be reworked and it will work much smoother, when I do decide to "remake" it.

04-24-2010, 05:21 AM
Good luck =)

Creep666
04-25-2010, 05:10 AM
no need for a remake, mod options framework is the way to go.
the only thing this mod needs is the !reason parameter

Temragon
04-25-2010, 04:38 PM
no need for a remake, mod options framework is the way to go.
the only thing this mod needs is the !reason parameter

Agreed, again. The options framework works fine - There's no reason to move away from it unless it saves you time.

Really do need the !reason parameter, though. Might need S2 to look at string concatenation, though we know they look at modder suggestions - see tussle's suggestions in the latest patch.

Edit: Also, KDR/ADR/K+ADR all need to be in x.x:y, not rounded down to x:y.

04-26-2010, 06:04 AM
it works now, though I had to find lobby credentials 1.1 and not the latest version. it filters the psr's more accurately.

`SunTzu
04-27-2010, 07:57 AM
hm. i have had a recent problem with this. when i click the Announce Kick Message button, then go to delete the text already in the box below it the blinking text-here thing was (unlined) below the box. once i pressed delete to delete text it crashed the program. it happened to me twice after i did the exact same thing, then didnt happen the third time :/

weird..

zwixo
04-27-2010, 09:36 AM
A few things.

I agree whispering someone with the kicking reason should at least not be priority, a feature which can be turned off is obviously never a big issue anyways.

One feature I'd love to see is for the mod to NOT kick people when there is X or less people in the game. When you make a new lobby and have 1-2 people in it, you tend to want people to join the lobby to get it rolling, then when you have around 6-7 players you want to start filtering.

And I agree with the above posted, the sliders are problematic for some of the stats, matched played especially.

Great work so far!

I agree if it was possible to make a "activate/deactivate" button in the lobby, making you able to decide when the lobby credentials were checked then you would actually be able to get a game going, and benefit from the mod too.

My only wish is the above, otherwise great mod - one that i predict will be used alot in the future.

Berra_la
04-27-2010, 06:47 PM
I've been thinking. The mod options framework is fine for the most part, since you usually don't change limits that often. But... when I want to add an exception and allow a player in, it's a bit awkward and many times the kicked player rejoins too soon and is autobanned until the game is remade (impractical).

What if.. you could quickly access a few things through the chat, for example:
!allowlast or !allow yoda
which would automatically add a temporary exception for the last player kicked or the last player with "yoda" somewhere in his name.

Probably would requite quite a bit of recoding.. but it would help out a lot.

KepugLeinad
05-01-2010, 03:25 PM
Works fine for me but there is still 1 option missing.Is there any hope for "Creep Deny" check in next release?

THX for your work.

eNTi
05-02-2010, 03:20 AM
i had an issue, where max psr wouldn't filter right, after it set it from 1800 to 1750.

also: would it be possible to autokick people on your banlist?

eNTi
05-02-2010, 04:41 AM
...and again. it seems there's a problem with the 4th hellbourne slot? or maybe if two ppl join at the same time, one won't be checked.

RuYz
05-07-2010, 02:30 AM
min and max PSR FILTER wouldn't filter correctly, some could still pass through

Berra_la
05-09-2010, 04:22 PM
Yeah.. I've encountered ppl slipping through the filter multiple times. It usually happen after you have been hosting for a while and maybe.. maybe the green slot, havn't really noted where the "offender" sat. Doubt it is slot based though as the kicks happen at load, before the player has a chanse to sit down.

Also, yay for S2 finally adding PSR limits to the default hosting interface!

Raycrash
05-10-2010, 06:34 AM
I got the problems that I can't receive stats from other people after some gaming.
(refer to my networking problem thread.)

Maybe the same problem you got ? ^^

Also I like this mod very much =)

Berra_la
05-11-2010, 10:50 AM
I've turned off the PSR filter part for now, sticking to S2's PSR+-2% standard. If someone with a bit high leave or EM slip through, so be it. I don't check for it manually and what I don't know doesn't hurt me. :p

A`nub`is
05-11-2010, 11:46 AM
I've turned off the PSR filter part for now, sticking to S2's PSR+-2% standard.

People though don't agree with this, if you join a 1600-1700 labeled game with 1710 psr those idiots kick you (more often than not).

Anyway, why did they put that in anyway? no difference if it allows for +- 2% or simply the correct value.

Berra_la
05-12-2010, 06:11 AM
Dunno, can't say I agree with the "close enough" scheme, but so far I've actually had zero complaints while hosting. In the end, the community decides. I'm just testing the waters here.

05-15-2010, 01:43 AM
@Faedrik
Are you still active? Can you update this helpful mod of yours? S2's psr filter doesn't work particularly on the max psr filter.

A`nub`is
05-15-2010, 06:44 AM
@Faedrik
Are you still active? Can you update this helpful mod of yours? S2's psr filter doesn't work particularly on the max psr filter.

That's what I'm walking about. Why do they name the filter 1600-1800 +-2% when they could just label it to the correct values of 1568-1832 to avoid confusion?

Moreover 1570 and 1600 is a damn difference. There's really no need for such a stupid system (if someone of S2 reads this ^-^). And it totally sucks due to hosts kicking players who do not have the psr the hosts initially wanted to filter out but slipped through due to the 2% rule. Hosts are annoyed and think it's buggy and people who joined and be kicked are annoyed as well.

Anyway, the EM-% based kicking is the even more important option here :D

05-15-2010, 07:34 AM
^^ I agree

MatressGiant
05-16-2010, 02:30 AM
Going to update this for retail?

eNTi
05-16-2010, 11:32 AM
an update would be nice, yes.

MackKnife
05-17-2010, 09:23 AM
yap would be great but i dont know if the author does work at this time on it so just waitung for a comment here from Faedrik ..
So Long we have to wait

daedelus_
05-18-2010, 09:52 PM
I miss this mod since retail. I'd still like this mod because yes the official PSR filter is somewhat lax and it is still nice to be able to auto-kick based on other stats (EM%, leave %, games played, etc.)

daedelus_
05-18-2010, 10:33 PM
My friend updated the mod so that it just accepts the 1.x version. It seems to work fine so far: http://www.mediafire.com/file/w0zo2zmzzvn/LobbyCredentials.honmod

MatressGiant
05-19-2010, 09:44 PM
^ Anyone check this out? Legit?

Zesbeer
05-19-2010, 09:51 PM
^ Anyone check this out? Legit?
i am sure all they did was change the version number that's what i did and it works fine.

MackKnife
05-28-2010, 08:53 PM
pumb

06-13-2010, 03:53 AM
This is way better than S2's psr filter. No more update on this one? As some players can still pass through the filter..

vA10
08-23-2010, 11:46 PM
Hope anyone knows how to update this, it's way better than Hon's filter

MackKnife
08-24-2010, 08:37 AM
agree to u YuKiM

MackKnife
09-12-2010, 03:17 PM
He Pump it up ! +1

Shen
11-05-2010, 05:45 PM
Does this still work? it doesn't for me <.<

Shen
11-09-2010, 02:28 PM
No intel on this?

Berra_la
11-13-2010, 07:46 PM
@Shen:

I'm using it. No problems. Just have to use the dummy Mod Options Framework to fool the mod into working with the new built in mod menu.

Don't remember where I found it though but it shouldn't be that hard to look up.

MrQuack
11-13-2010, 10:59 PM
Seems like a few people are still having problems. I removed the mod options requirements in the xml which made it work fine here. If you wanna do it yourself instead of downloading - or simply curious about how for other mods:

1. Open your honmod file with winrar
2. Open the mod.xml file (I use notepad ++ - but any textprogram can be used)
3. Find the mod requirements part. In this case:

<requirement name="Mod Options Framework"/>
<applyafter name="Mod Options Framework"/>
4. Delete the code
5. Save the file - winrar should said that the file is updated and wether you want to overwrite the file - Say yes
6. Go enable the mod in honmod manager and play.

I havent experienced any bugs or anything - but since i didnt read trough the code and only removed the requirements i cant promise everything works 100%.

Anyways link for the lazy people working with latest version: http://www.mediafire.com/file/yar73y5fn5yq8k5/LobbyCredentials.rar

Berra_la
11-14-2010, 08:51 AM
Found it. MrQuack's way works too, of course. But this method (http://forums.heroesofnewerth.com/showthread.php?t=170206) is a bit more newbie friendly.

Lim_Dul
12-20-2010, 04:51 AM
Fixed for HoN 2.0+:

http://www.mediafire.com/?kq1mq9r3oe95h72

_4g0t10_
07-18-2011, 03:17 AM
hon runs with it, but it doesnt work anymore/kick players

Warning: Form "Faedrik_LobbyCredentials_Retrieve" not found in interface main

would be nice if you fix it ;)

slogga
07-28-2011, 06:04 AM
Anyway to ad a TSR option to this mod?

Tankie
08-15-2011, 04:04 AM
can anyone bring this back? i miss this mod :(

St0l3n_ID
08-15-2011, 11:55 AM
Fixed for HoN 2.0+:

http://www.mediafire.com/?kq1mq9r3oe95h72
Tried that?

Tankie
08-16-2011, 04:14 AM
Tried that?
yup, doesn't work.