Packet Hook Stuff

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 097.
Note: Core 097 is no longer officially supported.
Post Reply
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Packet Hook Stuff

Post by tekproxy »

When hooking packets, before a character logs in, it would be helpful to at least get the IP address.

Sometimes it's necessary to keep track or recognize clients before the login, like when you're trying to prevent excessive invalid login credentials. The only way to do this right now is to ban the account for some period of time, which could easily turn into a nasty denial of service. If I could get the IP I could store it somewhere and when that IP fails to login too many times it gets banned for a period of time instead of the account.
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post by MuadDib »

Does it send Uninitialized Object for character in pre-login packets? Too lazy to create a packethook and all just to look :D
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Post by tekproxy »

Yes, it does. :(
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Post by Turley »

I would prefer an accountreference not only the ip for all preloginhooks so we have more control :) I missed this during my try to hook packet 0x00.
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post by MuadDib »

Tek and me will be testing with it. Tried account name, but unsure when it actually gets applied to the client in the core...... so will have to research if it's doable for that much.
Post Reply