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
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
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
Send a message via AIM to xXziroXx Send a message via MSN to xXziroXx
So, the Client RC is usuable on any server? If so, how?
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
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
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
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
Send a message via AIM to xXziroXx Send a message via MSN to 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?
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
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
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 11:24 AM.


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