Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 02.04.2007, 04:12   #1
RiVaL
Архивный участник
 
Join Date: Apr 2007
Posts: 21
Default [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 байт
RiVaL is offline  
Old 02.04.2007, 04:18   #2
nish
Архивный участник
 
Join Date: May 2006
Posts: 237
Default

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

thanks for sharing
nish is offline  
Old 02.04.2007, 04:21   #3
L2Requiem
Архивный участник
 
Join Date: Oct 2006
Posts: 64
Default

wow. thanks dude. i needed this.
test it and it works great.
thanks so much
L2Requiem is offline  
Old 02.04.2007, 08:34   #4
Spire
Архивный участник
 
Join Date: Feb 2007
Posts: 19
Default

Mmmm wanna test this, seems te be a nice dll. =)
Spire is offline  
Old 02.04.2007, 09:03   #5
Dmytro
Архивный участник
 
Join Date: Nov 2005
Posts: 215
Default

Mmmm ...
https://postpacific.mmorpg-game.onli...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.
Dmytro is offline  
Old 02.04.2007, 10:23   #6
RiVaL
Архивный участник
 
Join Date: Apr 2007
Posts: 21
Default

Quote:
Originally Posted by Pipec View Post
Mmmm ...
https://postpacific.mmorpg-game.onli...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?
RiVaL is offline  
Old 02.04.2007, 12:04   #7
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by Pipec View Post
Mmmm ...
https://postpacific.mmorpg-game.onli...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 View Post
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
FidoW is offline  
Old 02.04.2007, 19:16   #8
Dmytro
Архивный участник
 
Join Date: Nov 2005
Posts: 215
Default

RiVaL, you right, thx for share.

Quote:
Originally Posted by FidoW View Post
Maybe thats the reason... but never see a update
Maybe, but now i don't think so.
Dmytro is offline  
Old 02.04.2007, 21:58   #9
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

Rawr to both
Great work again RiVaL
Works great.
tpuNIsher is offline  
Old 04.04.2007, 19:58   #10
Nevyn
Архивный участник
 
Join Date: Sep 2006
Posts: 114
Default

Well done. Keep on rocking
Nevyn is offline  
Old 06.04.2007, 16:42   #11
RiVaL
Архивный участник
 
Join Date: Apr 2007
Posts: 21
Default

Updated, added source code
RiVaL is offline  
Old 06.04.2007, 19:51   #12
Le][u$
Архивный участник
 
Join Date: Aug 2006
Posts: 57
Default

tnx. it's very helpful for start learning.
Le][u$ is offline  
Old 12.04.2007, 11:43   #13
djvogans
Архивный участник
 
Join Date: Apr 2005
Posts: 306
Default

10x for all your support Rival
djvogans is offline  
Old 12.04.2007, 15:58   #14
Dmytro
Архивный участник
 
Join Date: Nov 2005
Posts: 215
Default

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.
Dmytro is offline  
Old 13.04.2007, 01:10   #15
RiVaL
Архивный участник
 
Join Date: Apr 2007
Posts: 21
Default

Thanks Pipec Hopefully they can figure out how to update it and recompile :P
RiVaL is offline  
Old 13.04.2007, 20:48   #16
Insight
Архивный участник
 
Join Date: Mar 2007
Posts: 24
Default

great share rival, keep it comming ;P

thanks
Insight is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 22:34.