Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 04.08.2005, 06:46   #1
erloko
Архивный участник
 
Join Date: Jul 2005
Posts: 42
Default [sharing] Set announce, users online

Announcement that shows amount of users in line.

Code:
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.
erloko is offline  
Old 04.08.2005, 06:52   #2
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

good work
SoaPy is offline  
Old 04.08.2005, 07:11   #3
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

Idd, nice one
archy is offline  
Old 04.08.2005, 10:29   #4
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

One of the few usefull things ive seen around here xD lemme donate some cash (for whatever this is needed for)
Metalmurphy is offline  
Old 04.08.2005, 12:23   #5
archonus
Архивный участник
 
Join Date: Apr 2005
Posts: 75
Default

nice share !!
archonus is offline  
Old 06.08.2005, 01:01   #6
nemeek
Архивный участник
 
Join Date: May 2005
Posts: 105
Default

nickname max level you know make it??

Thanks
nemeek is offline  
Old 06.08.2005, 16:27   #7
Sakumi
Архивный участник
 
Join Date: Apr 2005
Posts: 555
Default

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!)
Sakumi is offline  
Old 06.08.2005, 17:35   #8
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

is the server not load all announces once at start???
RmzVoid is offline  
Old 06.08.2005, 17:55   #9
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

//setannounce command is real time you can add or delete announce on the fly
demon is offline  
Old 06.08.2005, 19:01   #10
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

wow nice!
thx for sharin.
toolpunk is offline  
Old 06.08.2005, 22:37   #11
Sakumi
Архивный участник
 
Join Date: Apr 2005
Posts: 555
Default

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?

Sakumi is offline  
Old 07.08.2005, 01:59   #12
gamedeveloper
Архивный участник
 
Join Date: Mar 2005
Posts: 77
Default

Who knows how to announce (about server restart for example) by cached commands (not setannounce but announce)?
gamedeveloper is offline  
Old 07.08.2005, 02:22   #13
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

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...
archy is offline  
Old 07.08.2005, 11:38   #14
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

this not workable, announces loads just one time at server start.
RmzVoid is offline  
Old 07.08.2005, 20:37   #15
Sakumi
Архивный участник
 
Join Date: Apr 2005
Posts: 555
Default

Quote:
Originally Posted by gamedeveloper
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)
Sakumi is offline  
Old 14.08.2005, 13:24   #16
Sirijus
Архивный участник
 
Join Date: Jul 2005
Posts: 4
Default

search does not work... :/
Sirijus is offline  
Old 31.08.2005, 12:33   #17
montejo1974
Архивный участник
 
Join Date: Aug 2005
Posts: 42
Default

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
montejo1974 is offline  
Old 01.09.2005, 04:25   #18
darkagent
Архивный участник
 
Join Date: Aug 2005
Posts: 54
Default

telnet server-ip 2009
1) ManageAnnounce
50;action;announceId;announceMsg
2) ManageIntervalAnnounce
51;action;interval;announceId;announceMsg

there ";" is "TAB"
darkagent is offline  
Old 01.09.2005, 04:29   #19
darkagent
Архивный участник
 
Join Date: Aug 2005
Posts: 54
Default

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)
darkagent is offline  
Old 04.09.2005, 17:21   #20
LDragonL
Архивный участник
 
Join Date: May 2005
Posts: 133
Default

when you send posts like this it's better to say nothing
LDragonL is offline  
Old 04.09.2005, 21:17   #21
juster
Архивный участник
 
Join Date: May 2005
Posts: 8
Default

it will be nice, if somebody will post a small tutorial how to handle server with telnet.
juster is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 20:31.