Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Make Chat Not Disappear (https://forums.graalonline.com/forums/showthread.php?t=80048)

zokemon 07-17-2008 09:17 PM

Quote:

Originally Posted by xXziroXx (Post 1403794)
I couldn't care less about being able to debug scripts in a level editor, I have RC for that. But alas, it'd be nice to have the current offline level edtior support 24-bit pngs (that's the one aye?) and tile layers, plus some other misc. things.

I never said anything about scripts. In fact I plan to only have script editing in the level editor be a plug-in to be added at a later date (with maybe a basic text editor when no script editor is present)

Pretty much, this scripted editor is already far enough, it would be far easier to get Stefan to fix the bugs with external windows so I can finish the editor then to wait for him to actually add all those features into the offline editor.

Most of the features such as tilelayers and a few others you are thinking about are already done on my editor. I just need some bugs with displaying of images and such fixed.

Crono 07-17-2008 09:50 PM

Quote:

Originally Posted by zokemon (Post 1403782)
The features I want (which I just named) would not be possible in an offline editor. Plus, I'm so far along in this editor, it would take me longer to work on the offline one by now.

What kind of features do you want?

Quote:

I shouldn't even have to mention that Stefan wouldn't give the code out for GraalEditor.exe ;).
So he'd rather have a player improve (or in this case create) something he should have done years ago. Clever.

zokemon 07-17-2008 10:14 PM

Quote:

Originally Posted by Crono (Post 1403824)
So he'd rather have a player improve (or in this case create) something he should have done years ago. Clever.

Well, it was my own doing to create this level editor, he never asked me to. I'm pretty sure if he asked me to do it, it would be done by now.

Quote:

Originally Posted by Crono (Post 1403824)
What kind of features do you want?

Like having the server you are on pre-define the default settings for a new level such as the tiledefs, etc. Another example is joint editing with other people so that you work on only a "part" of some level(s) and changes you make only effect those parts (which can allow others to edit those other parts). Kinda like being able to edit just 1 function in a npc while another person edits a different function at the same time.

xXziroXx 07-18-2008 12:32 AM

Quote:

Originally Posted by zokemon (Post 1403818)
Pretty much, this scripted editor is already far enough, it would be far easier to get Stefan to fix the bugs with external windows so I can finish the editor then to wait for him to actually add all those features into the offline editor.

You're missing something though; Myself, and many others, do not want to be forced to logon Graal in order to edit levels. Sadly, things are starting to look like we'll have too.

Inverness 07-18-2008 01:59 AM

This is the future, where everyone has internet access. If you don't you fail.

Crono 07-18-2008 02:41 AM

Quote:

Originally Posted by zokemon (Post 1403844)
Well, it was my own doing to create this level editor, he never asked me to. I'm pretty sure if he asked me to do it, it would be done by now.

Trust me, when you finish it will be all over the new Graal client and people will start to forget about the .exe one.

Quote:

Like having the server you are on pre-define the default settings for a new level such as the tiledefs, etc.
Ez.

Quote:

Another example is joint editing with other people so that you work on only a "part" of some level(s) and changes you make only effect those parts (which can allow others to edit those other parts). Kinda like being able to edit just 1 function in a npc while another person edits a different function at the same time.
A good LAT team can already do this.

I give Graal's current generation of "LATs" too much credit though. :p

Quote:

Originally Posted by Inverness (Post 1403896)
This is the future, where everyone has internet access. If you don't you fail.

He said forced log onto Graal not the internet.

xXziroXx 07-18-2008 03:08 AM

Quote:

Originally Posted by Crono (Post 1403903)
He said forced log onto Graal not the internet.

Exactly, huge difference.

Faulkon 07-18-2008 03:25 AM

Quote:

Originally Posted by cbk1994 (Post 1396386)
This is extremely annoying; when chat is set via player.chat, it disappears after several seconds.

!pissed!!pissed!!pissed!

You want player chat to stay? Try this script.

PHP Code:

// Player Chat Repeater
// by Faulkon
//#CLIENTSIDE
function onPlayerchats() {
  
timeout 1;
}
funciton onTimeout() {
  
temp.chat player.chat;
  
player.chat "";
  
player.chat temp.chat;


It makes player chat stay by repeating it every second.

Inverness 07-18-2008 03:47 AM

Quote:

Originally Posted by xXziroXx (Post 1403908)
Exactly, huge difference.

So tell me how it would be a problem if you have Internet access?
Quote:

Originally Posted by Faulkon (Post 1403910)
You want player chat to stay? Try this script.

PHP Code:

// Player Chat Repeater
// by Faulkon
//#CLIENTSIDE
function onPlayerchats() {
  
timeout 1;
}
funciton onTimeout() {
  
temp.chat player.chat;
  
player.chat "";
  
player.chat temp.chat;


It makes player chat stay by repeating it every second.

You obviously have no idea what we're talking about.

Also, most people nowadays tend to use this.settimer(seconds) rather than this.timeout.

cbk1994 07-18-2008 06:10 AM

Quote:

Originally Posted by Faulkon (Post 1403910)
You want player chat to stay? Try this script.

PHP Code:

// Player Chat Repeater
// by Faulkon
//#CLIENTSIDE
function onPlayerchats() {
  
timeout 1;
}
funciton onTimeout() {
  
temp.chat player.chat;
  
player.chat "";
  
player.chat temp.chat;


It makes player chat stay by repeating it every second.

Major fail >_<

Admins 07-18-2008 07:33 PM

Setting the chat in a timeout is probably causing a lot of onPlayerChats, so it's not recommended to do.

cbk1994 07-18-2008 09:02 PM

Quote:

Originally Posted by Stefan (Post 1404069)
Setting the chat in a timeout is probably causing a lot of onPlayerChats, so it's not recommended to do.

Yes, so please fix it :)

Inverness 07-18-2008 09:03 PM

Quote:

Originally Posted by Stefan (Post 1404069)
Setting the chat in a timeout is probably causing a lot of onPlayerChats, so it's not recommended to do.

That's why we want this function to mimic entering text into the chat bar.

zokemon 07-19-2008 06:51 AM

Quote:

Originally Posted by xXziroXx (Post 1403887)
You're missing something though; Myself, and many others, do not want to be forced to logon Graal in order to edit levels. Sadly, things are starting to look like we'll have too.

So a great alternative is to just not get any level editor updates at all!

Anyways, if you read that other thread, Ter is already making an offline editor anyways so it really doesn't matter.

My editor is intended for online editing much like a scripter uses RC to edit scripts and test them on the fly.

Faulkon 07-19-2008 10:07 AM

Quote:

Originally Posted by Inverness (Post 1403914)
You obviously have no idea what we're talking about.

Yeah. I have to admit I didn't understand what you needed it for. The script I suggested was something I used in a test level to make my own player-chat not disappear. And as Stefan said, it will cause onPlayerChats every second.

Quote:

Originally Posted by Inverness (Post 1403914)
Also, most people nowadays tend to use this.settimer(seconds) rather than this.timeout.

Thank you. GS2 is not my strong point and I welcome opportunities to learn it.

Quote:

Originally Posted by Inverness (Post 1404231)
That's why we want this function to mimic entering text into the chat bar.

I have to agree. If you want something to mimic entering text into the chat bar and don't want onPlayerChat to repeat, you should probably be doing exactly what you're doing: asking for a new function.


All times are GMT +2. The time now is 09:37 AM.

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