Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   Client-RC updates (https://forums.graalonline.com/forums/showthread.php?t=68580)

Skyld 09-06-2006 11:05 PM

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!

Matt 09-07-2006 12:21 AM

Nice. I can't wait for the update on every server. :)

xXziroXx 09-07-2006 07:34 PM

So, the Client RC is usuable on any server? If so, how?

KuJi 09-07-2006 07:39 PM

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.
=)

Skyld 09-07-2006 07:45 PM

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)
{
  
//



xXziroXx 09-08-2006 07:03 PM

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?

KuJi 09-08-2006 07:11 PM

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..)

Skyld 09-17-2006 12:26 AM

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 10-01-2006 11:41 PM

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

Rapidwolve 10-02-2006 03:09 AM

Quote:

Originally Posted by Skyld (Post 1216724)
Client-RC works on every server yes, but these new features currently do not.

They work on Kudosai o_O

Skyld 10-02-2006 09:25 AM

Quote:

Originally Posted by Rapidwolve (Post 1224786)
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.

KuJi 10-02-2006 09:45 AM

Quote:

Originally Posted by Skyld (Post 1224938)
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 (Post 1224470)
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?

Skyld 10-02-2006 04:56 PM

Quote:

Originally Posted by KuJi (Post 1224947)
^---^ Read <- Could be it?

Yeah, could be.

KuJi 10-02-2006 05:08 PM

Quote:

Originally Posted by Skyld (Post 1225044)
Yeah, could be.

lol =P

Skyld 12-03-2006 07:22 PM

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.


All times are GMT +2. The time now is 05:04 PM.

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