PDA

View Full Version : [Share] CacheD with port,connStr select


Ra1n0
07.07.2007, 23:35
hi all..

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

[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
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] (http://rapidshare.com/files/41683678/cache.rar.html)

Xakep
08.07.2007, 00:03
big THX;)...

~Marquis~
08.07.2007, 07:31
thanks, idi naxyu ))

radio
08.07.2007, 07:45
thanks, idi naxyu ))

olala ......... very nice :)

Ra1n0
08.07.2007, 07:48
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

Ant0n1z
08.07.2007, 11:03
That is one awesome share. A million thanks!
(putting it on test now :D)

Forcer
08.07.2007, 12:52
Ah yes! Post your wishes about cached functions here =)

Professor F
08.07.2007, 14:47
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

Dkilla
08.07.2007, 21:58
в Бабруйск, жЫвотное. Слова благодарности человек имеет право писать на том языке, на котором ему нравится, и уж тем более на родном языке автора топика

Not really mate, you need to read the section rules =/

radio
09.07.2007, 13:03
Not really mate, you need to read the section rules =/
thanks, idi naxyu ))

RetaL
09.07.2007, 21:20
Thanks for the share Ra1n0.
2 Radio: Если любишь выёбываться,то выёбывайся в russian discussion,там где тебя понимают.
Sorry for the russian language.

yobzhik
02.08.2007, 12:06
Thanks, good share.

thanks, idi naxyu ))

Гы, отжок, эта пьять ! =))))

KOC2000
04.08.2007, 15:37
Thank you much.

Firedaemon
16.08.2007, 17:57
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?

madar
16.08.2007, 18:00
you can run 2 cacheds on the same comp since they are hexed the mutex

Firedaemon
16.08.2007, 18:39
Yeah ok, I can see the point in that then. Maybe running a dev server on the same box as the live server. Thanks.

Darklink
16.08.2007, 21:52
lol, nows thats something funny. New ideas evryday :)

Crywolf
30.08.2007, 23:34
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. Открыть источник (https://web.archive.org/web/20071222115747id_/http://www.postpacific.com:80/forums/archive/index.php/t-8002.html).

FidoW
31.08.2007, 00:13
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. Открыть источник (https://web.archive.org/web/20071222115747id_/http://www.postpacific.com:80/forums/archive/index.php/t-8002.html).

Ra1n0
26.09.2007, 21:14
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. Открыть источник (https://web.archive.org/web/20071222115747id_/http://www.postpacific.com:80/forums/archive/index.php/t-8002.html).

Ra1n0
09.10.2007, 22:00
up? Razz

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 10 October 2007. Открыть источник (https://web.archive.org/web/20071219145746id_/http://www.postpacific.com/forums/showthread.php?p=104460).

Ra1n0
09.10.2007, 23:48
up? :p

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Часовой пояс подтверждён сравнением с сообщениями исходной копии. Дата в снимке: 10th October 2007, 01:48. Открыть источник (https://web.archive.org/web/20071222115747id_/http://www.postpacific.com:80/forums/archive/index.php/t-8002.html).

lexa
23.10.2007, 20:28
cannot read file "l2cache.INI"

ups.....

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Часовой пояс подтверждён сравнением с сообщениями исходной копии. Дата в снимке: 23rd October 2007, 22:28. Открыть источник (https://web.archive.org/web/20071222115747id_/http://www.postpacific.com:80/forums/archive/index.php/t-8002.html).

Ra1n0
23.10.2007, 22:00
extract file l2cache.ini Very Happy

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 24 October 2007. Открыть источник (https://web.archive.org/web/20071219145746id_/http://www.postpacific.com/forums/showthread.php?p=104460).

Ra1n0
24.10.2007, 10:38
extract file l2cache.ini :D

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Часовой пояс подтверждён сравнением с сообщениями исходной копии. Дата в снимке: 24th October 2007, 12:38. Открыть источник (https://web.archive.org/web/20071222115747id_/http://www.postpacific.com:80/forums/archive/index.php/t-8002.html).