Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-25-2006, 03:01 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,751
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
Problem: Text

I recognize there is several threads about bitmapped fonts and how it changes the fonts, but I have a bug concerning text, which I don't think is related (since it occurs when bitmapped fonts are enabled/disabled).

When I am on Graal Classic, occassionally my ingame text will disappear. When I chat, the messages I say are still sent but I cannot see them. Toalls will appear correctly on my screen during this time, aswell as text in PMs/toguilds. It just seems to be ingame chat text from players and NPCs. It was confirmed that it doesn't effect just me.

Radeon 9550 SE Video Card
Sempron 2400+ AMD Processor (1.66 ghz)
512 MB RAM

Drivers are up to date.

Quote:
Originally Posted by CheeToS2
Does this only happen on Graal Classic?
I don't play other servers and I'm sorry but I can't be bothered to log onto another server and wait for the bug to occur, since it happens randomly. I have asked around but I do not get a responce from people on other servers, so its either confined to Classic, or they chose to ignore me.
__________________
Save Classic!

Last edited by maximus_asinus; 01-25-2006 at 04:00 AM..
Reply With Quote
  #2  
Old 01-25-2006, 03:14 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
Does this only happen on Graal Classic?
__________________

Reply With Quote
  #3  
Old 01-25-2006, 04:20 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by CheeToS2
Does this only happen on Graal Classic?
I asked around on another server and they said that it's happened to them
Reply With Quote
  #4  
Old 01-25-2006, 03:26 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Yes we know of the problem of text sometimes disappearing or showing strange characters for a few moments. We have not found why this happens though. If you get any errors in the F2 window or find something that is connected to the problem (file downloaded or so?) then please report it here on the forum.
Reply With Quote
  #5  
Old 01-25-2006, 06:03 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by Stefan
Yes we know of the problem of text sometimes disappearing or showing strange characters for a few moments. We have not found why this happens though. If you get any errors in the F2 window or find something that is connected to the problem (file downloaded or so?) then please report it here on the forum.
Well, the problem with the player's chat text disappearing appears to be isolated from the problem with showtexts disappearing (like the chat bar text).

We know it's a clientside problem because it doesn't happen to everybody at once.

It seems to happen to me when I exit the map or weapons list.

My educated guess for the overall font scrambling is that it occurs when you're pressing a key on the keyboard. The chat bar text scrambling ALWAYS occured to me when I pressed a key on the keyboard.

It's not usually related to the character being typed, but rather how many characters you typed before that character. When I backspaced it went to normal, when I typed another character it scrambled again. It's the same case for the chat bar text disappearing.

That's all I really know.
Reply With Quote
  #6  
Old 01-25-2006, 07:58 PM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,751
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
When I think back on it, most of the times chat text disappears for me is when I am looking at another window (webpages, PMs occassionally, etc) and I click back to the Graal window.
__________________
Save Classic!
Reply With Quote
  #7  
Old 01-26-2006, 07:05 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by maximus_asinus
When I think back on it, most of the times chat text disappears for me is when I am looking at another window (webpages, PMs occassionally, etc) and I click back to the Graal window.
Well, I've been able to isolate it to an enablefeatures problem. Now I just have to figure out which script(s) is/are causing it.
Reply With Quote
  #8  
Old 01-27-2006, 07:38 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,751
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
I think I managed to recreate the bug.
I noticed my text disappear so I reconnected. Massokre's new movement testing NPC needs to be fired for it to take effect, so I open my Q menu. I fire the NPC. I go back to player and everything was fine. I then pressed R and the spar rating came up. When it disappears chat text disappears.

Server: Graal Classic
NPCs: move_test
Recreated bug in: graalcitybank_inside_01.nw
__________________
Save Classic!
Reply With Quote
  #9  
Old 01-27-2006, 09:18 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by maximus_asinus
I think I managed to recreate the bug.
I noticed my text disappear so I reconnected. Massokre's new movement testing NPC needs to be fired for it to take effect, so I open my Q menu. I fire the NPC. I go back to player and everything was fine. I then pressed R and the spar rating came up. When it disappears chat text disappears.

Server: Graal Classic
NPCs: move_test
Recreated bug in: graalcitybank_inside_01.nw
fixed sortof. I'll probably integrate spar rating into the gui NPC in the next few days, removing the -ratings NPC in the test movement.

A shame I don't have my nick-ap color imitator that I made a while back, then I could expand a little bit more. Otherwise it's too much work to figure out the 4-6 equations I figured to govern it.

It's times like this that I wish there were a certain function:
apcolor(ap,base,r/g/b);

like... ap being the AP value. Base being like, foreground or background text (0,1 I'd imagine), and r/g/b being represented somehow. (big hint, not being able to emulate this is the biggest reason why playerworlds don't expand on nickname functionality.)
Reply With Quote
  #10  
Old 01-27-2006, 02:30 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
This should work:
PHP Code:
function getAlignmentColor(value) {
  if (
value<=0) return {64,0,0};
  if (
value<=26) return {128+int(127*(value-1)/25),64-int(64*(value-1)/25),64-int(64*(value-1)/25)};
  if (
value<=49) return {255,int(255*(value-26)/24),int(255*(value-26)/24)};
  if (
value<=55) return {255,255,255};
  if (
value<=60) return {255-int(127*(value-55)/5),255,255-int(127*(value-55)/5)};
  if (
value<=70) return {128-int(128*(value-61)/10),255,128+int(127*(value-61)/10)};
  if (
value<=99) return {0,255-int(255*(value-70)/29),255};
  return {
224,196,0};

It's returning an array of {red,green,blue}, then you only need to use it like this:
PHP Code:
acolors getAlignmentColors(player.ap);
changeimgcolors(indexacolors[0]/255acolors[1]/255acolors[2]/2551); 
Reply With Quote
  #11  
Old 01-28-2006, 01:28 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by Stefan
This should work:
It's returning an array of {red,green,blue}, then you only need to use it like this:
And the emboss bit is a simpler algorithm I think?
Reply With Quote
  #12  
Old 02-01-2006, 12:47 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
You mean for the shadow?

PHP Code:
  if (red>0.75 || green>0.75) {
    
red2 0;
    
green2 0;
  } else {
    
red2 1;
    
green2 1;
  }
  
blue2 blue
Reply With Quote
  #13  
Old 02-01-2006, 05:19 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by Stefan
You mean for the shadow?
hooray!
oh wait, why am I celebrating when for some reason updated classes don't update on the gmap (on Classic)?
Stefan, please fix this . I have no idea what's causing it. It's driving me nuts.

Last edited by jake13jake; 02-01-2006 at 06:14 AM..
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:39 PM.


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