"Better" Client Cap.

Archive of the older Feature Request Forum Posts

Moderator: POL Developer

Locked
User avatar
MontuZ
Forum Regular
Posts: 338
Joined: Fri Feb 10, 2006 8:08 am
Location: Myrtle Beach, South Carolina

"Better" Client Cap.

Post by MontuZ »

People do find ways around connecting with more than 1 client. Most I've cought someone doing was 7 or 8. I allow 2 per IP. made a script to do checks and whatnot. But.. I'd like it if POL did it it's self. Like we have

MaximumClients=200 in pol.cfg

Think you guys could add,

MaxClientsPerIP=?

And for those few people who play in Lan houses, and have more than 1 person actually playing. Maybe a cfg file or line in pol.cfg with something around the lines of

AllowedIPsMaxClientsPerIp=127.0.0.1;127.0.0.1;127.0.0.1;

Or something..
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Post by Yukiko »

I would take issue with limiting the number of clients per IP and this is why.

I at one time had 4 people living in my house all playing on the same POL server using my shared Inet connection. This was before I started my shard.

I don't know how to overcome the fact that two accounts are being accessed from one machine but limiting the number of connects per IP is a bad idea.

Perhaps having diligent staff who watch players and check IPs. Then watch characters logged in from the same IP to see if one character sits idle while another moves about.

Really don't have a good answer to eliminate doubling up though.
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Post by Pierce »

I you have a windows 96 Server you can use the player.clientinfo that is sent sometimes on logon.

From core-changes:
08-29 Shinigami
Changed : player.spyonclient2 renamed to player.clientinfo (check 01-24)

01-24 Shinigami
Added : player.clientinfo -- returns a struct with a lot of usefull
infomation about client PC
Example :

Function TestClientInfo(who)
Var info:=who.clientinfo;

If (info.unknown1) // in most/all cases 0x02
SysLog("ClientInfo '"+who.name+"' ["+who.acctname+"]");
SysLog(" Unknown1 = "+Lower(Hex(info.unknown1)));
SysLog(" Unique Instance ID of UO = "+Lower(Hex(info.instance)));
SysLog(" OS Version = "+info.os_major+"."+info.os_minor+"."+info.os_revision);
SysLog(" CPU Manufacturer = "+info.cpu_manufacturer);
SysLog(" CPU Family = "+info.cpu_family);
SysLog(" CPU Model = "+info.cpu_model);
SysLog(" CPU Clock Speed = "+info.cpu_clockspeed+" MHz");
SysLog(" CPU Quantity = "+info.cpu_quantity);
SysLog(" Memory = "+info.memory+" MB");
SysLog(" Screen Resolution = "+info.screen_width+" x "+info.screen_height+" x "+info.screen_depth+" Bit");
SysLog(" Direct X Version = "+info.directx_major+"."+info.directx_minor);
SysLog(" Video Card Description = "+CChrZ(info.video_description));
SysLog(" Video Card Vendor ID = "+info.video_vendor);
SysLog(" Video Card Device ID = "+info.video_device);
SysLog(" Video Card Memory = "+info.video_memory+" MB");
SysLog(" Distribution = "+info.distribution);
SysLog(" Clients Running = "+info.clients_running);
SysLog(" Clients Installed = "+info.clients_installed);
SysLog(" Partial Insstalled = "+info.partial_installed);
SysLog(" Language Code = "+CChrZ(info.langcode));
SysLog(" Unknown2 = "+info.unknown2);
Else
SysLog("No ClientInfo '"+who.name+"' ["+who.acctname+"]");
EndIf
EndFunction

Limitations :
The client doesn't send this Packet every time,
if available you can use it first time in your misc/logon.src.
If your login server differs from play/shard server it doesn't work
(Packet will be send before you choose the server only).
This will work for Win release only, until now. Win and Linux core
handle server-choose- and play-connection in a different way.
Not sure why, must be something with OS-Socks implementation :o(

Comment :
Seems to be very usefull to detect shadow accounts...
You love 1984? OSI too ;oP

(p.s.: in 08-29 renamed from player.spyonclient2 to player.clientinfo)
I would love to have that for linux too, but there seems to be some difficulties as stated above.
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Post by MuadDib »

Ugh.... I had security software (on yahoo?) for just this I believe (script package). Try looking it up and see if you can use it as is, or modify to your needs.
User avatar
MontuZ
Forum Regular
Posts: 338
Joined: Fri Feb 10, 2006 8:08 am
Location: Myrtle Beach, South Carolina

Post by MontuZ »

I got it all covered. it'd just be nice to have the core handle it, like while they're at the login screen. but whatever, lol. btw, looked and didn't find any 'security package'.

This is where i looked.
http://groups.yahoo.com/group/pol-scrip ... s/POL-095/
Locked