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 07.07.2007, 23:35   #1
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default [Share] CacheD with port,connStr select

hi all..

we made CacheD with port,connStr select + no mutex
cached based on la2guard

Code:
[World]
;default 2008 port1
port1=2008

;default 2006 port2
port2=2006

;default 2012 adminport
adminport=2012

;registry key connection. default connStr
connstr=connStr
test log
Code:
07/08/2007 03:27:xx.xx6, BBS use is disabled.
07/08/2007 03:27:xx.xx1, Item write cache is enabled
07/08/2007 03:27:xx.xx3, server ready on port 12345
07/08/2007 03:27:xx.xx3, server ready on port 12346
07/08/2007 03:27:xx.xx3, admin server ready on port 12347
07/08/2007 03:27:xx.xx3, CLogCli::Init()  Connect()
credits to Ra1n0 & Forcer
based on la2guard

[download]
Ra1n0 is offline  
Old 08.07.2007, 00:03   #2
Xakep
Архивный участник
 
Join Date: May 2007
Posts: 208
Default

big THX...
Xakep is offline  
Old 08.07.2007, 07:31   #3
~Marquis~
Архивный участник
 
Join Date: Dec 2006
Posts: 252
Default

thanks, idi naxyu ))
~Marquis~ is offline  
Old 08.07.2007, 07:45   #4
radio
Архивный участник
 
Join Date: Feb 2006
Posts: 685
Default

Quote:
Originally Posted by ~Marquis~ View Post
thanks, idi naxyu ))
olala ......... very nice
radio is offline  
Old 08.07.2007, 07:48   #5
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default

Quote:
idi naxyu ))
man dont say this words
and stop flame in this topic..

first post updated

2 moders: delete plz posts :5,6,7,8,9
Ra1n0 is offline  
Old 08.07.2007, 11:03   #6
Ant0n1z
Архивный участник
 
Join Date: Jan 2007
Posts: 11
Default

That is one awesome share. A million thanks!
(putting it on test now )
Ant0n1z is offline  
Old 08.07.2007, 12:52   #7
Forcer
Архивный участник
 
Join Date: Apr 2006
Posts: 554
Default

Ah yes! Post your wishes about cached functions here =)
Forcer is offline  
Old 08.07.2007, 14:47   #8
Professor F
Архивный участник
 
Join Date: Jul 2005
Posts: 136
Default

as you're first to do this, maybe it's resonable to have the name of db to connect to in there? instead of registry.

PS specially for PyroMaker:
THIS post might be interesting NOT only for author/ru_audience, so it's in english
Professor F is offline  
Old 08.07.2007, 21:58   #9
Dkilla
Архивный участник
 
Join Date: Jun 2007
Posts: 43
Default

Quote:
Originally Posted by radio View Post
[rus]в Бабруйск, жЫвотное. Слова благодарности человек имеет право писать на том языке, на котором ему нравится, и уж тем более на родном языке автора топика[/rus]
Not really mate, you need to read the section rules =/
Dkilla is offline  
Old 09.07.2007, 13:03   #10
radio
Архивный участник
 
Join Date: Feb 2006
Posts: 685
Default

Quote:
Originally Posted by Dkilla View Post
Not really mate, you need to read the section rules =/
thanks, idi naxyu ))
radio is offline  
Old 09.07.2007, 21:20   #11
RetaL
Архивный участник
 
Join Date: Mar 2006
Posts: 53
Default

Thanks for the share Ra1n0.
2 Radio: Если любишь выёбываться,то выёбывайся в russian discussion,там где тебя понимают.
Sorry for the russian language.
RetaL is offline  
Old 02.08.2007, 12:06   #12
yobzhik
Архивный участник
 
Join Date: Mar 2007
Posts: 64
Default

Thanks, good share.

Quote:
Originally Posted by radio View Post
thanks, idi naxyu ))
[rus] Гы, отжок, эта пьять ! =)))) [/rus]
yobzhik is offline  
Old 04.08.2007, 15:37   #13
KOC2000
Архивный участник
 
Join Date: Jun 2006
Posts: 100
Default

Thank you much.
KOC2000 is offline  
Old 16.08.2007, 17:57   #14
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

Interesting release and thank you for sharing. However I am trying to think of the benefit to having the different ports for cached and I cant think of any. Regardless of which ports cached uses, you will still want to close them all from outside sources anyway. If you dont, a simple port scan will lead to discovery.

Am I missing the value of such a thing?
Firedaemon is offline  
Old 16.08.2007, 18:00   #15
madar
Архивный участник
 
Join Date: Dec 2005
Posts: 156
Default

you can run 2 cacheds on the same comp since they are hexed the mutex
madar is offline  
Old 16.08.2007, 18:39   #16
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

Yeah ok, I can see the point in that then. Maybe running a dev server on the same box as the live server. Thanks.
Firedaemon is offline  
Old 16.08.2007, 21:52   #17
Darklink
Архивный участник
 
Join Date: Jul 2007
Posts: 38
Default

lol, nows thats something funny. New ideas evryday
Darklink is offline  
Old 30.08.2007, 23:34   #18
Crywolf
Guest
 
Posts: n/a
Default [Share] CacheD with port select

Question: admin port is used to log in the server in the same pc that the server is runnin???

and if yes, what modifications must i have in l2.ini to log???Oo

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Часовой пояс подтверждён сравнением с сообщениями исходной копии. Дата в снимке: 31st August 2007, 01:34. Открыть источник.
 
Old 31.08.2007, 00:13   #19
FidoW
Guest
 
Posts: n/a
Default [Share] CacheD with port select

Question: admin port is used to log in the server in the same pc that the server is runnin???

and if yes, what modifications must i have in l2.ini to log???Oo



Admin Port is the interactive port... used to send commands to cached by l2admin or similar tools/webapps.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Часовой пояс подтверждён сравнением с сообщениями исходной копии. Дата в снимке: 31st August 2007, 02:13. Открыть источник.
 
Old 26.09.2007, 21:14   #20
Ra1n0
Guest
 
Posts: n/a
Default [Share] CacheD with port select

http://rapidshare.com/files/58473811/cache.rar.html



fixed SetHeroPacket(admin port command)



use SetHeroPacket(107,char_id,hero_type,"admin")



on old cached always return 034,in fixed returns normal error's or 1(OK)



post reply with wrong\error commands in admin port

i try to fix it soon as possible )

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Часовой пояс подтверждён сравнением с сообщениями исходной копии. Дата в снимке: 26th September 2007, 23:14. Открыть источник.
 
Old 09.10.2007, 23:48   #21
Ra1n0
Guest
 
Posts: n/a
Default [Share] CacheD with port select

up? :p

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Часовой пояс подтверждён сравнением с сообщениями исходной копии. Дата в снимке: 10th October 2007, 01:48. Открыть источник.
 
Old 23.10.2007, 20:28   #22
lexa
Guest
 
Posts: n/a
Default [Share] CacheD with port select

cannot read file "l2cache.INI"

ups.....

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Часовой пояс подтверждён сравнением с сообщениями исходной копии. Дата в снимке: 23rd October 2007, 22:28. Открыть источник.
 
Old 24.10.2007, 10:38   #23
Ra1n0
Guest
 
Posts: n/a
Default [Share] CacheD with port select

extract file l2cache.ini :D

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Часовой пояс подтверждён сравнением с сообщениями исходной копии. Дата в снимке: 24th October 2007, 12:38. Открыть источник.
 
 


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:51.