Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-06-2006, 11:05 PM
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
Client-RC updates

This thread contains the latest updates and bugs related to Client-RC. Some features maybe only work on Rudora, other servers will probably be updated soon.

Updates and resolved problems

- serveroption 'restrictclientrctoweapons=weapon,weapon' to restrict client-rc access to certain weapons
- NC messages are always sent via the gserver, which means that clientrcs also receive NC messages
- script compiler output is always sent now, including when a normal RC is not online
- ability to disconnect players added (must specify player ID, reason optional)
- ability to reset players added
- ability to edit playerflags and playerweapons individually added
- reading ban history, staff activity, editing comments works
- ability to ban and unban players using the new system has been added using sendtext("lister", "getban", ...) and "setban".
- ability to send admin messages has been added
- viewing npc attributes and editing npc flags has been added
- editing of player's chest attributes has been added
- clientside onPlayerLogout() is called when a player is disconnected from the server using sendtext("disconnect", ... (I think)
- better feedback when you try requesttext("clientrc", 1); as to whether or not it worked, and if not an error such as "Your ip is not listed in the ip ranges"
- ability to add database npcs

Bugs and problems

- PC ID is not always sent correctly when using getban
- when using RC commands like /opencomments, onReceiveText() is not triggered. This is not really a large problem since the Scripted RC can interpret the /commands before sending them to the gserver but it might be useful
- on servers where npcrights=false, scripts cannot be loaded unless you still have the rights (rw NPCS/*, etc)
- people can still load the list of NPCs, classes and weapons when they do not have NPC-Control right
- there is no way of determining what the next available DB NPC ID is

Suggestions

None so far!

Last edited by Skyld; 05-05-2007 at 06:24 PM..
Reply With Quote
  #2  
Old 09-07-2006, 12:21 AM
Matt Matt is offline
iZone Administrator
Matt's Avatar
Join Date: Apr 2005
Location: United States
Posts: 2,690
Matt is a jewel in the roughMatt is a jewel in the rough
Nice. I can't wait for the update on every server.
__________________
Need Playerworld or Account support?
GraalOnline/Toonslab Support Center
Reply With Quote
  #3  
Old 09-07-2006, 07:34 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
So, the Client RC is usuable on any server? If so, how?
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #4  
Old 09-07-2006, 07:39 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by xXziroXx
So, the Client RC is usuable on any server? If so, how?
Quote:
Currently these new features only work on Rudora, other servers will probably be updated soon.
=)
Reply With Quote
  #5  
Old 09-07-2006, 07:45 PM
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 xXziroXx
So, the Client RC is usuable on any server? If so, how?
Client-RC works on every server yes, but these new features currently do not.

You can start Client-RC using:
PHP Code:
requesttext("clientrc"1); 
After, you can use sendtorc() clientside to feed RC chat. To receive RC chat:
PHP Code:
function onRCChat(temp.text)
{
  
// 

Similarly you can use requesttext(texttype, textoption); and sendtext(texttype, textoption, textlines); to send commands and use the following to get the results:
PHP Code:
function onReceiveText(temp.texttypetemp.textoptiontemp.textlines)
{
  
//

Reply With Quote
  #6  
Old 09-08-2006, 07:03 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
Ok, logging on the Client RC is no problem.

New Client-RC: Ziro (xXziroXx)

But I cant open it on client, probably because I dont know how. So, how?
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #7  
Old 09-08-2006, 07:11 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by xXziroXx
Ok, logging on the Client RC is no problem.

New Client-RC: Ziro (xXziroXx)

But I cant open it on client, probably because I dont know how. So, how?
Hey, why don't you search for the Client-RC script that was released by stefan?

When you requesttext("clientrc", 1); that just basically allows you to use sendtext/requesttext commands for the RC. (like recieving files, changing rights - ban etc..)
Reply With Quote
  #8  
Old 09-17-2006, 12:26 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
Eventually I will release my scripted RC script, but probably only when it is near complete or the other npcservers have been updated to support the new commands.
__________________
Skyld
Reply With Quote
  #9  
Old 10-01-2006, 11:41 PM
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
A lot of features are working now such as total attribute editing and all other features listed at the top of this thread, it should not be long before I can release the first versions of the script.

Some older screenshots are here, will release more tomorrow: http://forums.graalonline.com/forums...ad.php?t=68912
Reply With Quote
  #10  
Old 10-02-2006, 03:09 AM
Rapidwolve Rapidwolve is offline
Registered User
Join Date: Jul 2006
Posts: 1,241
Rapidwolve is an unknown quantity at this point
Quote:
Originally Posted by Skyld View Post
Client-RC works on every server yes, but these new features currently do not.
They work on Kudosai o_O
Reply With Quote
  #11  
Old 10-02-2006, 09:25 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 Rapidwolve View Post
They work on Kudosai o_O
Could be that the npcserver has been uploaded to other servers, I noticed that some features were working on the login server the other day.
Reply With Quote
  #12  
Old 10-02-2006, 09:45 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by Skyld View Post
Could be that the npcserver has been uploaded to other servers, I noticed that some features were working on the login server the other day.
Quote:
Originally Posted by Stefan View Post
There were updates for the client-RC which changes the sending of RC-chat to and from the npcserver, it requires restart of both gserver and npcserver. Will may be restart all servers tomorrow to avoid future problems with that.
^---^ Read <- Could be it?
Reply With Quote
  #13  
Old 10-02-2006, 04:56 PM
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 KuJi View Post
^---^ Read <- Could be it?
Yeah, could be.
Reply With Quote
  #14  
Old 10-02-2006, 05:08 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by Skyld View Post
Yeah, could be.
lol =P
Reply With Quote
  #15  
Old 12-03-2006, 07:22 PM
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
Please add some feedback for requesttext("clientrc", 1) so that we know if admin rights are missing, IP ranges are wrong, or if it logged in successfully.

This would be useful for disabling the Scripted RC when rights aren't available.
__________________
Skyld
Reply With Quote
  #16  
Old 12-03-2006, 07:29 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 is returning if enabling the clientrc was successful i think, similar to when you connect with normal RC. Or do you want an exact error message ?
Reply With Quote
  #17  
Old 12-03-2006, 10:23 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
I can't wait to start scripting again
Reply With Quote
  #18  
Old 12-03-2006, 11:01 PM
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 excaliber7388 View Post
I can't wait to start scripting again
Eventually the RC can maybe be added when you pass through the login server, we'll have to see about that. It currently does that for me, and only appears on servers that you have RC access to.
__________________
Skyld
Reply With Quote
  #19  
Old 12-04-2006, 03:09 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
What about dev servers?
Reply With Quote
  #20  
Old 12-09-2006, 02:47 AM
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
You can ask Skyld for the script to be put on your server I guess
Reply With Quote
  #21  
Old 12-12-2006, 12:22 AM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
I'm working on my own client-rc :o

Can anyone give me suggestions or w/e? x)
Reply With Quote
  #22  
Old 01-10-2007, 01:28 AM
Lao_Su2 Lao_Su2 is offline
Panda
Lao_Su2's Avatar
Join Date: Jan 2002
Location: Draper, Utah
Posts: 645
Lao_Su2 is on a distinguished road
Send a message via AIM to Lao_Su2
Where can we download this Skyld
__________________
Panda
Reply With Quote
  #23  
Old 01-10-2007, 01:51 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
Currently you cannot, I am waiting upon Stefan to add some things into the gserver before I release it.
Reply With Quote
  #24  
Old 01-10-2007, 02:50 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Quote:
Originally Posted by Skyld View Post
Currently you cannot, I am waiting upon Stefan to add some things into the gserver before I release it.
It's better than using a bunch of unfinished ones.
Right now, I'm using RW's 'rc' for chat and checking the out put from npcs, Joey's nc, and Stefan's online leveleditor.
So I can't create new anything, only edit what I have.
Basically, not helpful for MAKING a new server x_X
I'd take it, even in an unfinished form it's still so much better than what I have to do now.
Unless Mac gets a good level editor, I may be dropping Graal completely.
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 12:00 AM.


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