View Full Version : [sharing] Set announce, users online
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.
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 !!
nickname max level you know make it??
Thanks
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!)
is the server not load all announces once at start???
//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. :)
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)?
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...
this not workable, announces loads just one time at server start.
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)
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
it will be nice, if somebody will post a small tutorial how to handle server with telnet.