Page 1 of 1
Questions about Server Announcements
Posted: Sun Jun 30, 2013 6:33 pm
by tagban
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
Posted: Sun Jun 30, 2013 7:29 pm
by whasf
You could write a program to watch the accounts_sessions table and notify you that way, or write something to watch the logfile
Re: Questions about Server Announcements
Posted: Tue Jul 02, 2013 1:24 am
by bluekirby0
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
Posted: Wed Jul 03, 2013 7:19 am
by tagban
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.
Re: Questions about Server Announcements
Posted: Wed Jul 03, 2013 9:29 am
by kjLotus
tagban wrote:
I was actually kind of surprised that GMs don't have a command to make general 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 message
(now that you know that, you should be able to find how to make server wide messages :p)
Re: Questions about Server Announcements
Posted: Wed Jul 03, 2013 12:17 pm
by tagban
Thanks! Found it and added to my project.
Now my friends will know when others are on.
Re: Questions about Server Announcements
Posted: Wed Jul 03, 2013 12:32 pm
by kjLotus
tagban wrote:Thanks! Found it and added to my project.
Now my friends will know when others are on.
isn't that what linkshells are for? o.O
Re: Questions about Server Announcements
Posted: Wed Jul 03, 2013 2:13 pm
by tagban
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