Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bug Report (https://forums.graalonline.com/forums/forumdisplay.php?f=193)
-   -   onAllRCChat() for new Client-RC (https://forums.graalonline.com/forums/showthread.php?t=134269393)

callimuc 07-18-2014 10:22 PM

onAllRCChat() for new Client-RC
 
Whenever I'm using onAllRCChat(msg), it doesn't log when a new Client-RC logs in. So the default New Client-RC: Nickname (Account) message is being ignored, not when I echo that tho (to "simulate" a login). Whenever a Client-RC disconnects, onAllRCChat(msg) catches that message as well. So I don't see why a login shouldn't trigger that function as well.
EDIT: Same thing goes for the external RC

Would like to have this fixed so I can continue something on Era iPhone, which will make staff work kinda easier and motivate the team even more to continue working on such a great money resource

BlueMelon 07-18-2014 10:34 PM

On Era we do something like this,

PHP Code:

//#CLIENTSIDE

function onFirstResponderChanges(temp.obj) {
  if(
temp.obj.name == "ScriptedRCWindow"){
    
// trigger, do something
  
}



callimuc 07-19-2014 12:06 AM

Quote:

Originally Posted by BlueMelon (Post 1728916)
On Era we do something like this,

PHP Code:

//#CLIENTSIDE

function onFirstResponderChanges(temp.obj) {
  if(
temp.obj.name == "ScriptedRCWindow"){
    
// trigger, do something
  
}



Thank you! I suppose that's the best way to have it "fixed" so far for the Client-RC. It still would be neat to have the other one working :)


All times are GMT +2. The time now is 11:17 AM.

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