Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-04-2007, 05:18 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Just amazing Skyld!

Skyld, when loading the flags of the player, is it possible to show more then 255 chars..?
Only shows 255 chars for me..

Edit:

I see that if you request the player flags, then echo them, they will return 255 chars max for 1 variable

Can this be fixed or something?

Whenever I edit my attributes it will make the variable with 255 chars, and not what it was when it was setted >_>
__________________

Last edited by Chompy; 02-04-2007 at 06:58 PM..
Reply With Quote
  #2  
Old 02-05-2007, 12:11 AM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Nice Skyld =]
__________________
What signature? I see no signature?
Reply With Quote
  #3  
Old 02-05-2007, 01:04 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Chompy View Post
Just amazing Skyld!

Skyld, when loading the flags of the player, is it possible to show more then 255 chars..?
Only shows 255 chars for me..

Edit:

I see that if you request the player flags, then echo them, they will return 255 chars max for 1 variable

Can this be fixed or something?

Whenever I edit my attributes it will make the variable with 255 chars, and not what it was when it was setted >_>
There should not be a limit on this, and it's not a limit imposed by the script. I shall see what Stefan says about it.
Quote:
Originally Posted by Matt
When i open client RC, the backround images and all buttons don't show. Do we still need the other WEAPONS still (FileBrowser,TextEditor ect..)?
You don't need the other weapons, but you can download the Scripted RC images and such by logging onto Rudora and going into the Updates section of the serverlist.
__________________
Skyld
Reply With Quote
  #4  
Old 02-05-2007, 01:49 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Skyld View Post
There should not be a limit on this, and it's not a limit imposed by the script. I shall see what Stefan says about it.

You don't need the other weapons, but you can download the Scripted RC images and such by logging onto Rudora and going into the Updates section of the serverlist.
Stefan posted about it here: http://forums.graalonline.com/forums...ad.php?t=71958
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #5  
Old 02-05-2007, 03:13 PM
Matt Matt is offline
iZone Administrator
Matt's Avatar
Join Date: Apr 2005
Location: United States
Posts: 2,690
Matt is a jewel in the roughMatt is a jewel in the rough
Quote:
Originally Posted by Skyld View Post
You don't need the other weapons, but you can download the Scripted RC images and such by logging onto Rudora and going into the Updates section of the serverlist.
Thank you.
__________________
Need Playerworld or Account support?
GraalOnline/Toonslab Support Center
Reply With Quote
  #6  
Old 03-04-2007, 12:04 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Skyld View Post
logging onto Rudora and going into the Updates section of the serverlist.
You mean 'Install Packages'? Nothing in it.
__________________
Reply With Quote
  #7  
Old 03-04-2007, 01:01 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by cbkbud View Post
You mean 'Install Packages'? Nothing in it.
Yes, that's because the server has been cleared recently. I'll readd the package tomorrow, or I'll get Stefan to put it on the login server.
__________________
Skyld
Reply With Quote
  #8  
Old 03-04-2007, 01:20 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Skyld View Post
Yes, that's because the server has been cleared recently. I'll readd the package tomorrow, or I'll get Stefan to put it on the login server.
I uploaded it on Vivitron, hit F8 -> Start -> Update Packages -> Vivitron -> Client-RC Images -> Install.

Also, just had an idea.
Since the tab button doesn't work in script editor its really hard to format code. So what about a button in the window that says 'Format Code' and does the command "/style weapon/npc/script name" or whatever the command is.
__________________
Reply With Quote
  #9  
Old 03-04-2007, 01:23 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by cbkbud View Post
I uploaded it on Vivitron, hit F8 -> Start -> Update Packages -> Vivitron -> Client-RC Images -> Install.

Also, just had an idea.
Since the tab button doesn't work in script editor its really hard to format code. So what about a button in the window that says 'Format Code' and does the command "/style weapon/npc/script name" or whatever the command is.
Post that in the stickied "Scripted RC" thread and I'll try to remember to add it in my next update.
__________________
Skyld
Reply With Quote
  #10  
Old 03-04-2007, 04:50 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by cbkbud View Post
I uploaded it on Vivitron, hit F8 -> Start -> Update Packages -> Vivitron -> Client-RC Images -> Install.

Also, just had an idea.
Since the tab button doesn't work in script editor its really hard to format code. So what about a button in the window that says 'Format Code' and does the command "/style weapon/npc/script name" or whatever the command is.
Okay, I'm not going to wait for the next release, right? I modified the code slightly, very easy fix. If you want to install it, I'll tell you how.

Use the find function to find "new GuiButtonCtrl(ScriptedRCScriptEditorDelete)".
Right above that line, add this code:
PHP Code:
    new GuiButtonCtrl(ScriptedRCScriptEditorStyle)
    {
      
profile "GuiBlueButtonProfile";
    
      
position = {196 48444};
      
extent = {4831};
      
      
vertSizing "top";
      
      
text "Style";
      
      
thiso.catchEvent(this"onAction""onScriptEditorButton");
    } 
now using the search function again, search for "function onScriptEditorButton(obj)". Scroll down a bit until you see "case "Delete":".
On the line above that, add this code
PHP Code:
    case "Style":
    {
      if (
this.currentItem == NULL)
      {
        return;
      }
      
// this.currentItem[1] == script name
      // this.currentItem[0] == script type
      
if (this.currentItem[0in {"weapon""class""npc"})
      {
        
sendToRC"/style" SPC this.currentItem[0SPC this.currentItem[1] );
      }
      break;
    } 
If the compiler spits out errors, you did something wrong. Try redownloading the script and adding this again if you can't find the problem.

Thanks so much for releasing this Skyld! Can't wait for the online tile editor now! Then I can go back to MACINTOSH!
__________________
Reply With Quote
  #11  
Old 03-04-2007, 01:01 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by cbkbud View Post
You mean 'Install Packages'? Nothing in it.
Yes, that's because the server has been cleared recently. I'll readd the package tomorrow, or I'll get Stefan to put it on the login server.
__________________
Skyld
Reply With Quote
Reply


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 06:22 PM.


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