Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [Share] Auto-AuthReload ServerList (https://postpacific.loc-online.com/showthread.php?t=7271)

RiVaL 02.04.2007 04:12

[Share] Auto-AuthReload ServerList
 
I've decided to make this open source and free to everyone in the community. Hopefully someone can learn something from this. I was in kind of a hurry when I coded this, so I didn't bother commenting anything. Make sure you read the license file. Leave feedback ;)

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
ServerList.rar — 282092 байт

nish 02.04.2007 04:18

hey rival awesome your sharing this works good, gonna test it out some more

thanks for sharing ;)

L2Requiem 02.04.2007 04:21

wow. thanks dude. i needed this.
test it and it works great.
thanks so much

Spire 02.04.2007 08:34

Mmmm wanna test this, seems te be a nice dll. =)

Dmytro 02.04.2007 09:03

Mmmm ...
https://postpacific.loc-online.com/f...ead.php?t=6078
<Rus>
http://l2storm.com/forums/index.php?showtopic=500
</Rus>

But i'm don't see necessary to do something as CServerList::ReloadServer(void); ServerKind::ReloadServerList(void);

Also i do packet filter without using proxy, maybe i'll share it.

RiVaL 02.04.2007 10:23

Quote:

Originally Posted by Pipec (Post 82788)
Mmmm ...
https://postpacific.loc-online.com/f...ead.php?t=6078
<Rus>
http://l2storm.com/forums/index.php?showtopic=500
</Rus>

But i'm don't see necessary to do something as CServerList::ReloadServer(void); ServerKind::ReloadServerList(void);

Also i do packet filter without using proxy, maybe i'll share it.

It was requested by another member of this forum. Since no one else would do anything about it I did. The other 2 features were requested by nish so I added them in. There was really no point to post a link to your addon we all already know its there.
Also it looks like you haven't made an effort to update it since "Last edited by Pipec : 10-28-2006 at 04:09 AM." Why so quick now?

FidoW 02.04.2007 12:04

Quote:

Originally Posted by Pipec (Post 82788)
Mmmm ...
https://postpacific.loc-online.com/f...ead.php?t=6078
<Rus>
http://l2storm.com/forums/index.php?showtopic=500
</Rus>

But i'm don't see necessary to do something as CServerList::ReloadServer(void); ServerKind::ReloadServerList(void);

Also i do packet filter without using proxy, maybe i'll share it.

Packet filter ?? ummm , maybe your extension can block walker login packets ? would be interesting... about your "block ips reload version" if i remember good ... when i try to test it... dont work for me... dont reload it :scratch:

Quote:

Originally Posted by Pipec (Post 75514)
Yes i know, addon have some mistakes in code with write in memory.
And it's not properly work on win-2003-x64.
I work on new version, so, if you wont you may wait. =)

Maybe thats the reason... but never see a update

Dmytro 02.04.2007 19:16

RiVaL, you right, thx for share.

Quote:

Originally Posted by FidoW (Post 82801)
Maybe thats the reason... but never see a update

Maybe, but now i don't think so.

tpuNIsher 02.04.2007 21:58

Rawr to both :)
Great work again RiVaL :)
Works great.

Nevyn 04.04.2007 19:58

Well done. Keep on rocking

RiVaL 06.04.2007 16:42

Updated, added source code ;)

Le][u$ 06.04.2007 19:51

tnx. it's very helpful for start learning.

djvogans 12.04.2007 11:43

10x for all your support Rival

Dmytro 12.04.2007 15:58

Some corrects to code (not necessary)...
You have:
Code:

DWORD WINAPI ReloadThread(LPVOID pData)
{
...
        while (true)
        {
                if (EnableList == true)
                {
                        Sleep((DWORD)ReloadListDelay);
                        Auth.CServerListReload();
                }
                if (EnableIP == true)
                {
                        Sleep((DWORD)ReloadBlockedIPDelay);
                        Auth.CIPReloadForbiddenIP();
                }
        }
...
}

You start one thread. And sleep time for both functions are summed.
If ReloadListDelay=10, and ReloadBlockedIPDelay=60, next delay for Auth.CServerListReload() be ~70. =)
Do two threads for real delays. ;)

RiVaL 13.04.2007 01:10

Thanks Pipec ;) Hopefully they can figure out how to update it and recompile :P

Insight 13.04.2007 20:48

great share rival, keep it comming ;P

thanks


All times are GMT. The time now is 15:24.