Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-08-2008, 08:09 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
RC online/offline events

More of a question then a certain "bug".

Why is onPlayerLogout triggered for RC's, while onPlayerLogin (or even onActionPlayerOnline) isn't? Sounds stupid having only logout trigger, and could be useful to have it trigger for login (automated staff messages ftw).

I can do it by doing a loop checking all online players and blah blah, but it defeats the purpose of a built-in function for it.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #2  
Old 03-20-2008, 01:29 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
*bump*
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #3  
Old 03-31-2008, 12:43 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
*bump x2*


Come ooooooon....
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #4  
Old 03-31-2008, 05:56 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
It's not invoking the onPlayerLogin and onActionPlayerOnline events because the RC is not a regular player and might mess up stuff if it's not checking the case that it's an RC connecting and not a normal player. It could be possible to add a new event when an RC is connecting.
Reply With Quote
  #5  
Old 03-31-2008, 08:56 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Stefan View Post
It could be possible to add a new event when an RC is connecting.
Yes! Please do! It could be useful for so many things!
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #6  
Old 03-31-2008, 10:09 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
I've wanted an RC login event for the longest time, I'd also really love some way to send echos to only a single RC and not all of them. I want to be able to have debug messages for my scripts on RC without flooding the other people who have the NC. With that, messages could be left for specific people when they login to RC and not everyone will see them every time someone logs in.

Maybe add an echo2(text, account) that sends an echo to that RC account, or if the account is left out then it sends it to the calling player's account. I've noticed that static functions (like substring()) can be overloaded with different parameter counts.

I would also want that feature so I could display messages for newer staff when they login to RC so they would see notices and any rules they need to remember or their assignments.
__________________
Reply With Quote
  #7  
Old 03-31-2008, 10:12 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
I echo the need of local echos.
This way we could have message systems and such for staff on RC and they won't be able to miss them.
Reply With Quote
  #8  
Old 04-03-2008, 10:57 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Inverness View Post
I would also want that feature so I could display messages for newer staff when they login to RC so they would see notices and any rules they need to remember or their assignments.
You could script this yourself by sending PMs to the new RC, using some database script with a loop running, say, every 30-60 seconds, and a bit of creative use of timevar2.
Reply With Quote
  #9  
Old 04-03-2009, 11:31 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Bumping in hopes of Stefan not forgetting it.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #10  
Old 04-04-2009, 12:03 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Oh I definitely agree with this suggestion.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #11  
Old 04-04-2009, 10:45 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
It should be possible to add a new echo command to send messages to individual players, will check it.
Reply With Quote
  #12  
Old 04-05-2009, 12:40 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Skyld View Post
You could script this yourself by sending PMs to the new RC, using some database script with a loop running, say, every 30-60 seconds, and a bit of creative use of timevar2.
I should not have to bend over backwards to do simple things.
__________________
Reply With Quote
  #13  
Old 04-05-2009, 12:40 AM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Stefan View Post
It should be possible to add a new echo command to send messages to individual players, will check it.
Nice! :]
__________________
Reply With Quote
Reply


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 +2. The time now is 07:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.