Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   NC Tab (https://forums.graalonline.com/forums/showthread.php?t=82823)

DustyPorViva 11-18-2008 11:21 PM

NC Tab
 
Would be nice if RC had a separate tab for NC, instead of sharing it with RC. It's pretty hard to have a fluent conversation when scripts are getting updated, and errors are being shown.

Chompy 11-18-2008 11:23 PM

I sometimes just create an IRC channel that I can use to debug/spam.. but yeah, I agree

would be much easier if NC was separated from RC chat

Inverness 11-18-2008 11:32 PM

I wonder how many years it has been since i requested this.

Tigairius 11-18-2008 11:33 PM

I do concur.

xXziroXx 11-19-2008 12:24 AM

Totally.

DrakilorP2P 11-19-2008 12:25 AM

Yes please.

TSAdmin 11-19-2008 05:42 AM

-Chewing on RC tab-...Oh, Yeah. Agree :]

Pimmeh 11-19-2008 04:01 PM

Is there any argument against this anyway?
I mean, it all gets logged no matter what.

cbk1994 11-20-2008 12:08 AM

Quote:

Originally Posted by Pimmeh (Post 1443423)
Is there any argument against this anyway?
I mean, it all gets logged no matter what.

Yes. It requires work to do. That's why it hasn't been done :p

Inverness 11-20-2008 02:16 AM

Quote:

Originally Posted by Pimmeh (Post 1443423)
Is there any argument against this anyway?
I mean, it all gets logged no matter what.

Stefan doesn't want to update the external development tools, which is why Graal is going nowhere fast.

Darklux 11-20-2008 08:03 PM

Does anyone of you really expect more updates by stefan atm?

Anyways, yes, that would be useful.
Its annoying when you try to talk on rc, and nc chat pops up all the time.

Deas_Voice 11-20-2008 08:33 PM

Quote:

Originally Posted by Darklux (Post 1443647)
Does anyone of you really expect more updates by stefan atm?

Anyways, yes, that would be useful.
Its annoying when you try to talk on rc, and nc chat pops up all the time.

no not to the Extarnal tools. :(
and yes, on the testbed server it could be useful becuase NC is all over the place :p

xXPeoXx 02-25-2009 06:18 PM

bump :D

cyan3 02-25-2009 07:19 PM

Quote:

Originally Posted by Deas_Voice (Post 1443648)
on the testbed server it could be useful becuase NC is all over the place :p

I agree, The testbed server currently has 207 players with RC access and most of them have NC.

Admins 02-26-2009 10:39 PM

Updating the old RC is a problem yes, but it can be added to the scripted RC I guess.

cbk1994 02-26-2009 10:49 PM

Quote:

Originally Posted by Stefan (Post 1469779)
Updating the old RC is a problem yes, but it can be added to the scripted RC I guess.

Stefan, approximately one person enjoys using the scripted RC, and that's Skyld.

Please start updating the external RC. There is no future for the scripted RC.

TSAdmin 02-27-2009 11:34 AM

Quote:

Originally Posted by cbk1994 (Post 1469781)
Stefan, approximately one person enjoys using the scripted RC, and that's Skyld.

Please start updating the external RC. There is no future for the scripted RC.

I like the scripted RC for a single purpose: communication. I really cannot do work efficiently with the scripted RC, mainly to do with how typing seriously lags behind in the scripted windows. It has it's uses for quick reference, but I am in your boat here.

Inverness 02-27-2009 02:57 PM

Quote:

Originally Posted by Stefan (Post 1469779)
Updating the old RC is a problem yes, but it can be added to the scripted RC I guess.

Updating the old RC is only a problem for you, the rest of us would be just fine with it, and you undoubtedly know that we're quite tired of your lack of updates to the external tools.

Crow 02-27-2009 03:07 PM

I can only agree with the three posts above mine.

Deas_Voice 02-27-2009 03:19 PM

Quote:

Originally Posted by Crow (Post 1469882)
I can only agree with the three posts above mine.

me too.
can't say anything else ^^

DarkReaper0 03-01-2009 02:13 AM

Client-RC is only a fail solution for MAC and Linux anyway right? (Or just mac i can't remember)

Plus considering a majority of people use external RC and EVERYONE wants an NC exclusive tab you should cater to your audience, not your preference.

Crono 03-01-2009 02:24 AM

Quote:

Originally Posted by Inverness (Post 1469879)
Updating the old RC is only a problem for you, the rest of us would be just fine with it, and you undoubtedly know that we're quite tired of your lack of updates to the external tools.

Agreed.

MiniOne 03-14-2009 04:03 AM

Quote:

Originally Posted by Crow (Post 1469882)
I can only agree with the three posts above mine.

me three

bscharff 03-14-2009 09:26 PM

Sorry, I deleted it.
I went crazy again.

DarkReaper0 03-16-2009 12:42 AM

*Hopes and Prays hell might freeze over long enough for RC to be updated*

Deas_Voice 11-22-2009 12:08 AM

*bump*

could this be added to client-RC? (also add a option so u can choose if u want chat and nc in 1 tab or separated)

fowlplay4 11-22-2009 01:42 AM

Quote:

Originally Posted by Deas_Voice (Post 1539562)
*bump*

could this be added to client-RC? (also add a option so u can choose if u want chat and nc in 1 tab or separated)

You could hack it in yourself.

Skyld 11-22-2009 01:50 AM

Quote:

Originally Posted by fowlplay4 (Post 1539572)
You could hack it in yourself.

Not yet you can't, because there is currently no way to reliably distinguish between RC and NC chat.

fowlplay4 11-22-2009 02:02 AM

Quote:

Originally Posted by Skyld (Post 1539573)
Not yet you can't, because there is currently no way to reliably distinguish between RC and NC chat.

Maybe not 100 percent (cursed safety measure) reliable, but a check could make it pretty reliable as long as they aren't outputting RC generated messages over NC.

Soala 11-22-2009 02:13 AM

Mwahhhh... I support this thread so much.

Skyld 11-22-2009 02:36 AM

Quote:

Originally Posted by fowlplay4 (Post 1539575)
Maybe not 100 percent (cursed safety measure) reliable, but a check could make it pretty reliable as long as they aren't outputting RC generated messages over NC.

What exactly kind of check do you propose? "String starts with" checks are too easily fooled and unreliable, so ideally Stefan needs to add a way of distingushing between the two.

fowlplay4 11-22-2009 03:47 AM

Something like this could work reasonably..

PHP Code:

function isNCChat(str) {
  
// Check Predefined Text
  
temp.predefined = {
    
"Available commands for GServer:",
    
"/stats: displays server info",
    
"/playerinfo accountname: displays info about an online player",
    
"/open accountname: opens the player attributes window",
    
"/openrights accountname: opens the rights",
    
"/opencomments accountname: opens the comments",
    
"/openaccess accountname: opens the (new) ban info",
    
"/openacc accountname: opens the account",
    
"/openprofile accountname: opens the profile",
    
"/reset accountname: resets the account",
    
"/localbans: lists all local bans (requires RC2)",
    
"/staffactivity accountname: lists staff actions (requires RC2)",
    
"/find filepattern: searches for a game files in levels/",
    
"/finddef filepattern: searches for default (classic) game files",
    
"/global text: global command (only for high admins)",
    
"/updatelevel level[,level]: reloads levels form hard disk",
    
"/refreshfilelist: scans the folders again (only use when /find is not working correctly)",
    
"/clientstats accountname: shows client stats (requires Graal v6)",
    
"/npcstart: starts the npcserver",
    
"/npckill: stops the npcserver (use this if /npcshutdown and /npcstart are not working)",
    
"Available commands for the NPC-Server:",
    
"/stats: displays server info",
    
"/reloadscriptlibs: reloads the script libraries",
    
"/loadlang: reloads the translations into memory",
    
"/loadlevellist: reloads the level list",
    
"/savenpcs: saves all database npcs",
    
"/clearnpcs levelname: deletes local db npcs from a level (including gralats)",
    
"/npc<command param>: commands to the control-npc",
    
"/style weapon/npc/class name: formats the script",
    
"/listscriptlogfunctions: lists all loggable script functions",
    
"/functionprofilestart: start/restart the function profiler",
    
"/functionprofilestop: stop the function profiler",
    
"/functionprofileshow weapon/npc/class name: stats about functions",
    
"/scripthelp text: print help for a server side function",
    
"/scriptscan weapons/npcs/classes/levels/all text: scan scripts",
    
"/npcshutdown: closes the server",
    
"/memstats [full] [level/npc name]: shows memory taken by objects, beta",
    
"GServer statistics:",
    
"Top 10 of npcs taken most CPU time:",
    
"NPC-Server statistics:"
  
};
  if (
str in temp.predefined) return false;
  
// Check for Classes:
  
for (temp.1temp.11temp.i++) {
    
temp.str2 temp.". ";
    if (
str.starts(temp.str2) && str.ends(" times")) {
      if (
str.pos(": ") > 0) return false;
    }
  }
  
// Check Actions
  
temp.actions = {
    
" loaded the comments of ",
    
" loaded attributes of player ",
    
" loaded player attributes of ",
    
" has modified the local ban of ",
    
" has set comments of (offline) player ",
    
" has set comments of player ",
    
" (Server): ",
  };
  for (
temp.acttemp.actions) {
    if (
str.pos(temp.act) > 0) return false;
  }
  
// Check Starts
  
temp.starts = {
    
"Ban type: ",
    
"Reason: ",
    
"Server uptime: ",
    
"Sleeptime (secs/min): ",
    
"Connection tries (last min): ",
    
"Players-in (byte/l.m.): ",
    
"Players-out (byte/l.m.): ",
    
"RCs-in (byte/last min): ",
    
"RCs-out (byte/last min): ",
    
"NPCServer-in (byte/l.m.): ",
    
"NPCServer-out (byte/l.m.): ",
    
"ServerList-in (byte/l.m.): ",
    
"ServerList-out (byte/l.m.): ",
    
"Player-avrg-in (bit/sec): ",
    
"Player-avrg-out (bit/sec): ",
    
"Levels: ",
    
"Players: ",
    
"RCs: ",
    
"NPCServers: ",
    
"ServerListers: ",
    
"Memory (bytes): ",
    
"Server uptime: ",
    
"Sleeptime (secs/min): ",
    
"Scriptime (last min): ",
    
"Connectiontries (last min): ",
    
"NCs-in (byte/last min): ",
    
"NCs-out (byte/last min): ",
    
"GServer-in (byte/l.m.): ",
    
"GServer-out (byte/l.m.): ",
    
"Levels: ",
    
"Active Levels: ",
    
"NPCs: ",
    
"Active Objects: ",
    
"DB-NPCs: ",
    
"NPC-Placeholder: ",
    
"Projectiles: ",
    
"Players: ",
    
"NC count: ",
    
"GServers: ",
    
"Memory (bytes): "
  
};
  
// Add RC Chat Nicknames
  
for (temp.aallplayers) {
    if (
temp.a.level == NULL) {
      
temp.starts.add(temp.a.nick ": ");
    }
  }
  
// Compare String to Starts Array
  
for (temp.acttemp.starts) {
    if (
str.starts(temp.act)) return false;
  }
  return 
true;


But yes you are right, it'd be a lot easier and more reliable if the onRCChat event had a boolean passed with it to indicated NC.

scriptless 12-04-2009 11:59 AM

Hmm.

Couldn't we just use external scripted windows? Or does graal not support this yet? This would solve the lag issue in text and greatly help the progress of the scripted rc. I see much development possible or more likley at least with external scripted windows.

If things like this were possible the scripted RC could get much needed add-ons that would greatly help. And you could tab the rc into multiple tabs if you wanted. Chat and NC would work fine.

Skyld 12-04-2009 12:37 PM

Quote:

Originally Posted by scriptless (Post 1542367)
Hmm.

Couldn't we just use external scripted windows? Or does graal not support this yet? This would solve the lag issue in text and greatly help the progress of the scripted rc. I see much development possible or more likley at least with external scripted windows.

If things like this were possible the scripted RC could get much needed add-ons that would greatly help. And you could tab the rc into multiple tabs if you wanted. Chat and NC would work fine.

The Scripted RC is already using external windows where it is supported by the client (in the beta clients), and has been doing for quite some time now. The external windows are just framebuffers though and look/feel like internal GUI controls. It would be far too complicated to use the OS user interface elements, not least because each OS looks quite different and control behaviour varies.

coreys 12-04-2009 03:47 PM

That's what GUI toolkits like GTK+ are for :D

Umat 12-06-2009 07:22 PM

Quote:

Originally Posted by Skyld (Post 1542371)
The Scripted RC is already using external windows where it is supported by the client (in the beta clients), and has been doing for quite some time now. The external windows are just framebuffers though and look/feel like internal GUI controls. It would be far too complicated to use the OS user interface elements, not least because each OS looks quite different and control behaviour varies.

You could use a theme on graal that looks like the OS interface. That's probably what I'm going to do when the new client is out anyway. :)

Deas_Voice 06-18-2010 08:34 PM

Bump

nullify 06-18-2010 08:44 PM

I would really enjoy a new external RC build.

Inverness 06-19-2010 03:36 AM

Quote:

Originally Posted by nullify (Post 1582805)
I would really enjoy a new external RC build.

Never going to happen. :\

cbk1994 06-19-2010 04:14 AM

Quote:

Originally Posted by Inverness (Post 1582889)
Never going to happen. :\

You'd be surprised. Stefan has a newer version of RC which he used for compiling the Mac RC. Better support for community names (shows in playerlist as "MyCommunityName (Graal123456)", constantly "pings" NC to keep it from disconnecting, and some improved scripting features such as indenting multiple lines with tab and unindenting with shift + tab (these might be a result of a new GTK version or something, though).

It'd only make sense that he'll eventually release it publicly.


All times are GMT +2. The time now is 07:30 AM.

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