View Single Post
  #1  
Old 11-11-2014, 04:45 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
RC3 Beta Release

I've put together a beta client my fellow Windows users can try out. It is stable and I have been using it personally for a couple weeks now. There are still some features I plan to release. Feel free to post any feedback/comments.



Download Link:

http://fp4.ca/windows_rc3_beta.zip

Instructions:

1. Extract zip to it's own folder.
2. Run RemoteControl3.exe

Note: You will need to re-enter your password.

Release Updates/Notes:

1. Community names are now displayed in the player list.
2. File browser now clears your selected files after dragging to prevent accidental downloads.
3. Removed level list button since the feature was disabled/removed.
4. Scripted RC channels/tabs are now cleared on server connect.
5. Scripted RC channels/tabs no longer steal focus when added.
6. Chat sent to channels/tabs (excluding RC Chat and #irc_channels) are sent as npc command now, see snippet for usage.
7. Added option to separate NC from RC Chat. Messages sent prefixed with #NC are declared as NC messages and will show up in the NC tab if specified. I.e. echo("#NC example");
8. Added option to timestamp RC (in all tabs/channels) messages. You can customize the format in control2config.txt it uses the standard strftime variables. Those who want 24 Hr time should use timestampformat=[%H:%M]
9. Added a /clear command to clear RC chat.
10. Added ability to separate tabs from RC, simply drag the tab out of the main window or use the /separate command.
11. Added ability to re-order RC tabs with mouse, drag them wherever you want.
12. UTF-8 text now displays correctly in chat and player list instead of being converted back and forth from Latin to UTF-8.
13. Increased the initial size of the File Browser and reduced the size of the log window.
14. Ability to define custom RC commands, see snippet for usage. Built-in commands can't be overwritten nor can commands that start with npc or global be defined.
15. Ability to disable NC messages for people who don't have NC.
16. On login RCs now send "/npc newrc version" to the server. This makes it easier to only send the new #commands to the right RCs, along with other things that you would normally do when a new rc logs in such as welcome messages.
17. Website URLs are now supported in RC chat / tabs. URLs must start with either http://, https://, www. in order to be linked.
18. Alert messages can be sent using #ALERT prefixes to prompt window/tab or flash, and make an alert sound.
19. Messages sent to IRC channels without a nickname no longer display a colon.
20. Text windows (scripts, server ops, etc) are now saved on load (./backups/<server>/original/<type>/file.txt) and when clicking apply (./backups/<server>/modified/<type>/file.txt) to help prevent data loss due to internet issues.
21. Cursor now positions at end of chat entry field when going through previous messages by pressing up or down.
22. RC images can be placed in the images sub-folder now.

Script Usage:

Defined commands and chat sent to tabs are sent as NPC commands. Also when you login a newrc NC command is executed. You would handle them like this in Control-NPC:

PHP Code:
function onRCChat() {
  if (
params[0] == "definedcmd") {
    echo(
params);
    
temp.cmd params[1];
    
temp.channel params[2];
    
temp.cmddata params[3][0].substring(1);
  }
  else if (
params[0] == "channelchat") {
    
temp.channel     params[1];
    
temp.channelchat params[2][0].substring(1);
  }
  else if (
params[0] == "newrc") {
    
temp.version params[1];
    
//echo(player.account);
  
}

To define a custom command:

player.sendtorc("#DEFINECMD helloworld");

When you use /helloworld in RC it would then send it as an NC command to Control-NPC like above.

To send alerts (red text):

player.sendtorc("#ALERT RC Beta released!");

You can also use:

#ALERTF - Makes the RC window flash and makes an alert sound.
#ALERTP - Brings focus to the RC window and makes an alert sound.
#ALERTFS - Makes the RC window flash but doesn't make a sound.
#ALERTPS - Brings focus to the RC but doesn't make a sound.

To disable NC messages for people who don't have NC:

player.sendtorc("#HIDENCMESSAGES");
__________________
Quote:
Reply With Quote