Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 10-16-2017, 05:02 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,743
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 repute
Quote:
Originally Posted by MysticalDragon View Post
show me your TextControls
I eventually removed the font type option, but I believe the script looked something like this:

PHP Code:
new GuiMLTextCtrl("say3_text") {
  
useownprofile true;
  
profile.fonttype "FONT NAME";
  
profile.fontcolor = { 255255255255 };
  
profile.textshadow true;
  
profile.shadowoffset = { 2};
  
profile.shadowcolor = { 00};
  
profile.fontsize 32;
  
htmllinks true;
  
width say3_scroll.width 10;
  
height say3_scroll.height 10;
  
0;
  
text " ";

In place of FONT NAME I used the font name inside of the .ttf file (in this case I was testing using a Zelda font, Return of Ganon I think). I also used the file name itself (returnofganon.ttf I believe).
__________________
Save Classic!
Reply With Quote
  #17  
Old 10-16-2017, 05:49 AM
MysticalDragon MysticalDragon is offline
Global Administration
MysticalDragon's Avatar
Join Date: Oct 2002
Location: Lynn Ma
Posts: 883
MysticalDragon is just really niceMysticalDragon is just really nice
Send a message via AIM to MysticalDragon Send a message via MSN to MysticalDragon
profile.fonttype = ""; is correct but without the extension

you can also do this

text = "<font face=arial>TEXT</font>"; //don't add extensions (if its GUIMLTextCtrl)
__________________
~Delteria Support
~Playerworld Support
~PWA Chief
http://support.toonslab.com
[email protected]



Reply With Quote
  #18  
Old 10-16-2017, 06:04 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,743
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 repute
Quote:
Originally Posted by MysticalDragon View Post
profile.fonttype = ""; is correct but without the extension

you can also do this

text = "<font face=arial>TEXT</font>"; //don't add extensions (if its GUIMLTextCtrl)
I tried that as well.
Quote:
Originally Posted by F2 Log
File download: returnofganonbd.ttf not found
folder config has:
file fonts/*.ttf
and the font is uploaded to fonts/

I will try with another font to see if maybe it is an issue with the font itself.

EDIT I've tried a few different fonts and none of them download. I don't know if it has anything to do with it, but occasionally we have an error message about a japanese file type being too large to download in RC.
__________________
Save Classic!
Reply With Quote
  #19  
Old 10-16-2017, 06:59 AM
MysticalDragon MysticalDragon is offline
Global Administration
MysticalDragon's Avatar
Join Date: Oct 2002
Location: Lynn Ma
Posts: 883
MysticalDragon is just really niceMysticalDragon is just really nice
Send a message via AIM to MysticalDragon Send a message via MSN to MysticalDragon
I wonder since its G2k1 if the NPC-Server is outdated and doesn't support it. i'll have to investigate more.
__________________
~Delteria Support
~Playerworld Support
~PWA Chief
http://support.toonslab.com
[email protected]



Reply With Quote
  #20  
Old 10-16-2017, 09:51 AM
Kamaeru Kamaeru is offline
G2k1
Kamaeru's Avatar
Join Date: Dec 2001
Posts: 1,040
Kamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud of
Quote:
Originally Posted by MysticalDragon View Post
I wonder since its G2k1 if the NPC-Server is outdated and doesn't support it. i'll have to investigate more.
That would be good. We have frequent disconnects and would be cool if possible to have more server memory. For stuff like events, the disconnect issue is a big problem.
__________________
3DS friendcode: 1118-0226-7975
Reply With Quote
  #21  
Old 10-17-2017, 04:07 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,743
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 repute
Quote:
Originally Posted by Kamaeru View Post
That would be good. We have frequent disconnects and would be cool if possible to have more server memory. For stuff like events, the disconnect issue is a big problem.
I agree. The disconnects are a bit tedious. It makes communicating between staff a bit harder when you leave them a message in RC or via PM and they end up being disconnected before they read it. Also annoying when trying to bug fix, because the error is most commonly encountered when a level is updated.
__________________
Save Classic!
Reply With Quote
  #22  
Old 10-28-2017, 05:02 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,743
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 repute
Quote:
Requested file DroidSansFallback.ttf is larger than the maximum allowed file size (1048576)
Default game file(s) found (relative to levels/, max 50 files):
mainfiles/fonts/DroidSansFallback.ttf: not downloadable because size is over download limit, 3727996 byte, 2013-09-09 10:33:32
This is the specific error related to fonts we've been experiencing. I'm not even sure why it is being prompted. I can't find anything related to that file name inside of the scripts.
__________________
Save Classic!
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 01:40 AM.


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