PDA

View Full Version : [sharing] Set announce, users online


erloko
04.08.2005, 06:46
Announcement that shows amount of users in line.

update lin2world.dbo.login_announce set announce_msg = 'At this moment ' + convert(varchar,(SELECT top 1 world_user
FROM lin2db.dbo.user_count
WHERE (record_time =
(SELECT MAX(record_time)
FROM lin2db.dbo.user_count))
)) + ' users online.' where announce_id='5'

The procedure is due to create so that actualise the announcement every certain time.

The announcement is due to create manually with you go ID=5 and its delay.

Sorry for my english.

SoaPy
04.08.2005, 06:52
good work ;)

archy
04.08.2005, 07:11
Idd, nice one

Metalmurphy
04.08.2005, 10:29
One of the few usefull things ive seen around here xD lemme donate some cash (for whatever this is needed for)

archonus
04.08.2005, 12:23
nice share !!

nemeek
06.08.2005, 01:01
nickname max level you know make it??

Thanks

Sakumi
06.08.2005, 16:27
I feel stupid for not trying this myself.

Kudos for originating the concept and releasing the code to boot!

++ Cash ill be using this on my server (thank you!)

RmzVoid
06.08.2005, 17:35
is the server not load all announces once at start???

demon
06.08.2005, 17:55
//setannounce command is real time you can add or delete announce on the fly

toolpunk
06.08.2005, 19:01
wow nice!
thx for sharin. :)

Sakumi
06.08.2005, 22:37
Maybe im newbing it up, but I cant get it to stay updated.

It only changes at server reboots, maybe due to cached?

Any suggestions?

:)

gamedeveloper
07.08.2005, 01:59
Who knows how to announce (about server restart for example) by cached commands (not setannounce but announce)?

archy
07.08.2005, 02:22
gamedeveloper, i dont think its possible...
problem is CacheD doesnt affect runtime, so announce are handles by L2Server while login announces are taken from cached each time someone joins...

RmzVoid
07.08.2005, 11:38
this not workable, announces loads just one time at server start.

Sakumi
07.08.2005, 20:37
Who knows how to announce (about server restart for example) by cached commands (not setannounce but announce)?

The cached php page that was posted in the section of the forums allows cached style announce/setannounce

serch "cached php" 8)

Sirijus
14.08.2005, 13:24
search does not work... :/

montejo1974
31.08.2005, 12:33
Don't foolish this good job.....it runs perfect, but maybe you didn't think how to update it......it may be in the DB...think off ......TRIGGERS

darkagent
01.09.2005, 04:25
telnet server-ip 2009
1) ManageAnnounce
50;action;announceId;announceMsg
2) ManageIntervalAnnounce
51;action;interval;announceId;announceMsg

there ";" is "TAB"

darkagent
01.09.2005, 04:29
some people tryin' to make l2Radmin (thru SSL or any other secure tunneling) which workin just like a telnet on localhost..
wait some time or use telnet via tcp tunnel or any familiar type of connecting such a localhost..
(telnet via Radmin, putty, terminal services via win2k-server)

LDragonL
04.09.2005, 17:21
when you send posts like this it's better to say nothing

juster
04.09.2005, 21:17
it will be nice, if somebody will post a small tutorial how to handle server with telnet.