Questions about Server Announcements
Questions about Server Announcements
Is it possible to flag a server announcement for when someone logs in? I have a server of like 8 people and it'd be nice to know when someone logs in.
Re: Questions about Server Announcements
You could write a program to watch the accounts_sessions table and notify you that way, or write something to watch the logfile
-- Whasf
-
- Developer
- Posts: 707
- Joined: Sun Jul 22, 2012 12:11 am
Re: Questions about Server Announcements
It would also be fairly trivial to rig a chat packet into the login sequence, but that would be your burden to maintain.
Re: Questions about Server Announcements
Like, when the charactor zones into their first zone, to have it say something like (forgive me because I know VB and NOT C++ so my "pseudocode" is mainly based on that aspect..)
OnEvent CharactorLogin do
- add to active charactor list in search server
- make them dance like a chicken for 30 seconds
- announce to server & CharName & " has entered the realm.."
I just don't know how the announce command works, or what it is/where to find it. Im pretty sure I could make that work though with the right info as to where it is in the code.
--Edit
I was actually kind of surprised that GMs don't have a command to make general server announcements.
OnEvent CharactorLogin do
- add to active charactor list in search server
- make them dance like a chicken for 30 seconds
- announce to server & CharName & " has entered the realm.."
I just don't know how the announce command works, or what it is/where to find it. Im pretty sure I could make that work though with the right info as to where it is in the code.
--Edit
I was actually kind of surprised that GMs don't have a command to make general server announcements.
Re: Questions about Server Announcements
they do, it's just prepending a chat message with a hashtag. it's why every time i try to "#YOLO" on DS Test it makes a server messagetagban wrote: I was actually kind of surprised that GMs don't have a command to make general server announcements.
(now that you know that, you should be able to find how to make server wide messages :p)
Re: Questions about Server Announcements
Thanks! Found it and added to my project. Now my friends will know when others are on.
Re: Questions about Server Announcements
isn't that what linkshells are for? o.Otagban wrote:Thanks! Found it and added to my project. Now my friends will know when others are on.
Re: Questions about Server Announcements
I had asked a long time ago, but I wanted to auto-give a linkshell to each person that logged in, and could never figure it out. So meh