Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Announcements (https://forums.graalonline.com/forums/forumdisplay.php?f=240)
-   -   RC3 Beta Release (https://forums.graalonline.com/forums/showthread.php?t=134269665)

fowlplay4 11-11-2014 04:45 AM

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.

http://puu.sh/cM44f/de92d0d68b.jpg

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");

smirt362 11-11-2014 05:05 AM

Really nice

Brickster 11-11-2014 07:50 AM

Old time stamps aren't displaying the time properly. For example; I was playing for a while, a few hours or so, and when I looked back at the oldest time stamps they all showed the same time up until about half an hour before I checked.

fowlplay4 11-11-2014 02:07 PM

Quote:

Originally Posted by Brickster (Post 1732515)
Old time stamps aren't displaying the time properly. For example; I was playing for a while, a few hours or so, and when I looked back at the oldest time stamps they all showed the same time up until about half an hour before I checked.

This is related to how messages are currently handled when you pop a window in and out. Will fix it though.

Edit: Will be fixed in the next update.

Matt 11-11-2014 08:03 PM

Good job. :)

Tashkin 11-11-2014 08:35 PM

Looks good :) nice work

alskdjfhg 11-11-2014 08:37 PM

Solid

zod 11-11-2014 10:41 PM

Really nice, love it.

MysticalDragon 11-11-2014 11:28 PM

Very nice work, fp4 for president...

super_matt89 11-11-2014 11:34 PM

A lot of great features, keep it up mate! :)

scriptless 11-12-2014 02:16 AM

Very nice work. I will be awaiting the mac release if you ever manage to get it compiled :(

fowlplay4 11-12-2014 02:26 AM

Quote:

Originally Posted by scriptless (Post 1732526)
Very nice work. I will be awaiting the mac release if you ever manage to get it compiled :(

Going to try to this weekend.

scriptless 11-12-2014 03:16 AM

Quote:

Originally Posted by fowlplay4 (Post 1732528)
Going to try to this weekend.

Do you plan on using Xcode or some other compiler? Super excited about a mac release tho you have done an outstanding job in such a short time. Truly you are a great programmer and you never cease to impress us.

fowlplay4 11-12-2014 03:32 AM

Quote:

Originally Posted by scriptless (Post 1732531)
Do you plan on using Xcode or some other compiler? Super excited about a mac release tho you have done an outstanding job in such a short time. Truly you are a great programmer and you never cease to impress us.

Most likely. Thanks!

Tashkin 11-12-2014 05:39 PM

There are a few people unable to see their chat or anyone else chatting.

fowlplay4 11-12-2014 05:45 PM

Quote:

Originally Posted by Tashkin (Post 1732535)
There are a few people unable to see their chat or anyone else chatting.

Determined it was due to #HIDENCMESSAGES will get it fixed in next release.

Tashkin 11-12-2014 05:46 PM

Quote:

Originally Posted by fowlplay4 (Post 1732536)
Determined it was due to #HIDENCMESSAGES will get it fixed in next release.

Thanks :) keep up the great work. :)

callimuc 11-12-2014 06:38 PM

Looking great, will make sure to test it out soon!

Quote:

Originally Posted by fowlplay4 (Post 1732517)
Edit: Will be fixed in the next update.

Probably the first time I'm actually believing that on Graal!


EDIT: Will it be possible for you to add small checks like if the user is using your custom RC and what version?

Stowen 11-12-2014 07:38 PM

Excellent work! It looks and works great so far.

Just a side note, if you have the ability to edit your OP, you have player.sendtorc() listed as the command to use #ALERT messages. After several minutes of scratching my head, I realized it's sendToNC().

Quote:

Originally Posted by callimuc (Post 1732539)
EDIT: Will it be possible for you to add small checks like if the user is using your custom RC and what version?

This is already implemented. When FP4's RC logs it, it sends a command to Control-NPC with the command "newrc".

NPC Code:
function onRCChat(cmd) {
if (cmd == "newrc") {
echo(params[1]);
}
}



Second parameter is the version of RC that staff logged in with. Essentially, that command won't be called if it's not the new RC, and you can add your own version checks via params[1]. Hope I helped! :)

fowlplay4 11-12-2014 07:42 PM

Quote:

Originally Posted by callimuc (Post 1732539)
EDIT: Will it be possible for you to add small checks like if the user is using your custom RC and what version?

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.

I uploaded a slightly newer version (same download link) that fixes the timestamp issue, better unicode support in chat, and the hidencmessages.

callimuc 11-12-2014 08:14 PM

Quote:

Originally Posted by Stowen (Post 1732541)
This is already implemented. When FP4's RC logs it, it sends a command to Control-NPC with the command "newrc".

Quote:

Originally Posted by fowlplay4 (Post 1732543)
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.



Oohhh ok, got it! Thanks!

Stowen 11-12-2014 11:55 PM

Small bug report:

/scriptscan doesn't seem to detect the type to search. I attempted to do a search, and used "scripts" as the second paremeter, and it returned no results. I also tried to use "all" to see if it was just the "scripts" that wasn't working. Did the same search on Client-RC and it returned what I was looking for.

fowlplay4 11-13-2014 12:07 AM

Quote:

Originally Posted by Stowen (Post 1732546)
Small bug report:

/scriptscan doesn't seem to detect the type to search. I attempted to do a search, and used "scripts" as the second paremeter, and it returned no results. I also tried to use "all" to see if it was just the "scripts" that wasn't working. Did the same search on Client-RC and it returned what I was looking for.

Could you show me the command you're using? Did you try it and see if it worked on the old RC as well?

Seems to work completely fine for me. I.e. /scriptscan weapons onCreated() {

Stowen 11-13-2014 12:30 AM

This is the command I used:
/scriptscan scripts suspected abuse of

This is the output:
Scanning for 'suspected*abuse*of*Relay' in all:
Could not find any matching script.

I used that command in both Client-RC and RC2. Both of which returned what I was looking for. Maybe the spaces are throwing it off?

Snoopy 11-13-2014 12:37 AM

I have been wanting clickable links for so long.

fowlplay4 11-13-2014 01:05 AM

Quote:

Originally Posted by Stowen (Post 1732550)
This is the command I used:
/scriptscan scripts suspected abuse of

This is the output:
Scanning for 'suspected*abuse*of*Relay' in all:
Could not find any matching script.

I used that command in both Client-RC and RC2. Both of which returned what I was looking for. Maybe the spaces are throwing it off?

idk kev, works fine here too. Why do you have asterisks in the scanning part?

PHP Code:

[21:18Weapon/GUI-script $0 added/updated by fowlplay4
[21:18Scanning for 'suspected abuse of' in weapons:
[
21:18] $0:
[
21:18]  6: }
[
21:18]  7
[
21:18] >8//suspected abuse of
[21:18]  9
[
21:18]  10//#CLIENTSIDE
[21:18]  11: function onCreated() {
[
21:18]  12:   this.description "Sorry about that. Just a moment.

[21:18] Script !alex_pokerfunctions updated by fowlplay4
[21:18] Scanning for 'suspected abuse of' in scripts:
[21:18] $0:
[21:18]  6: }
[21:18]  7: 
[21:18] >8: //suspected abuse of
[21:18]  9: 
[21:18]  10: //#CLIENTSIDE
[21:18]  11: function onCreated() {
[21:18]  12:   this.description = "
Sorry about thatJust a moment.
[
21:18] Class !alex_pokerfunctions:
[
21:18]  0/*
[21:18] >1:   suspected abuse of
[21:18]  2: 
[21:18]  3:   Authors:
[21:18]  4:      -Chompy
[21:18]  5:      -Novo (For helping with the pokereval() function)

[21:19] Scanning for 'suspected abuse of' in all:
[21:19] $0:
[21:19]  6: }
[21:19]  7: 
[21:19] >8: //suspected abuse of
[21:19]  9: 
[21:19]  10: //#CLIENTSIDE
[21:19]  11: function onCreated() {
[21:19]  12:   this.description = "Sorry about that. Just a moment.
[21:19] Class !alex_pokerfunctions:
[21:19]  0: /*
[21:19] >1:   suspected abuse of
[21:19]  2: 
[21:19]  3:   Authors:
[21:19]  4:      -Chompy
[21:19]  5:      -Novo (For helping with the pokereval() function) 


xAndrewx 11-13-2014 03:39 PM

This is going to be a weird request-
so right now on most servers there is a custom outfit upload system- is there any way to implement a custom interface system? Here's an example

http://puu.sh/cPhkW/559aaa859d.png

Prompts
http://puu.sh/cPhja/7ff750db8d.png

scriptless 11-13-2014 06:33 PM

Quote:

Originally Posted by xAndrewx (Post 1732560)
This is going to be a weird request-
so right now on most servers there is a custom outfit upload system- is there any way to implement a custom interface system? Here's an example

http://puu.sh/cPhkW/559aaa859d.png

Prompts
http://puu.sh/cPhja/7ff750db8d.png

That would probably be a 2 part system. Not everyone will have an rc to submit there gfx. So that would be a login script. But being able to then approve submissions however could be done from rc maybe but your then having to make the rc communicate with gs2

xAndrewx 11-13-2014 06:50 PM

they don't submit the gfx through rc- players can upload it using www.era-go.com/upload and then staff approve it.

BlueMelon 11-13-2014 07:00 PM

Quote:

Originally Posted by xAndrewx (Post 1732564)
they don't submit the gfx through rc- players can upload it using www.era-go.com/upload and then staff approve it.

I don't exactly see the relevance this has with RC, couldn't a web interface be created to accept/decline an upload?

scriptless 11-13-2014 10:22 PM

Quote:

Originally Posted by BlueMelon (Post 1732565)
I don't exactly see the relevance this has with RC, couldn't a web interface be created to accept/decline an upload?

My point exactly. This isn't rc related and it seems mainly aimed at era only. A Web interface would probably be better since it would be supported by mobiles. The only way this is relevant is like I stated before if they were to add a login script and make it a universal system.

Stowen 11-13-2014 10:38 PM

Quote:

Originally Posted by fowlplay4 (Post 1732552)
Why do you have asterisks in the scanning part

Not sure, that's how it pasted when I copy/pasted from RC. In any case, every other search returns correctly on UN. It's just that phrase. Odd.

On a side note, I'm not Kev xD

fowlplay4 11-13-2014 11:49 PM

Quote:

Originally Posted by xAndrewx (Post 1732560)
This is going to be a weird request-
so right now on most servers there is a custom outfit upload system- is there any way to implement a custom interface system? Here's an example

Noted, probably won't happen any time soon though.

BlueMelon 11-14-2014 12:48 AM

Commands starting with /clear* (ex: /clearnpcs level) invokes /clear and doesn't run the intended command.

Fiberwyre_P2P 11-14-2014 02:43 AM

I'm really liking it.

One bug I found though: Scrolling side to side in the text editor has a screen tearing effect

fowlplay4 11-14-2014 03:05 AM

Could have sworn I put in a fix for the clear bug but I will get it fixed.

Quote:

Originally Posted by Fiberwyre_P2P (Post 1732578)
One bug I found though: Scrolling side to side in the text editor has a screen tearing effect

The tearing will be fixed in the next version.

Edit: New version is up, also bumped the version date to 2014/11/14 since I've fixed like 5 or 6 things now.

xAndrewx 11-15-2014 06:45 AM

This is brilliant, great progress. Thank you for taking on board my suggestion.

Snoopy 11-15-2014 08:54 PM

Any chance for a tab system for file browser? I have to continuously switch between different folders a lot, and it would be a lot simpler if there were tabs at the top that I can set for myself.

Stowen 11-16-2014 04:33 PM

Do you plan to fix the character limit on player's attributes? On UN, when we set attributes via external RC (RC3 included) players either lose weapons or lose saved flags, because of said character limit.

fowlplay4 11-16-2014 09:28 PM

Quote:

Originally Posted by Stowen (Post 1732650)
Do you plan to fix the character limit on player's attributes? On UN, when we set attributes via external RC (RC3 included) players either lose weapons or lose saved flags, because of said character limit.

I'd like to but it's a server-side issue. The flags are sent to RC truncated.

Successfully built the Mac version, need to figure out how to distribute it properly now:

http://i.imgur.com/x5n8MRR.png


All times are GMT +2. The time now is 08:19 PM.

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