Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
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
  #2  
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
  #3  
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
  #4  
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
  #5  
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
  #6  
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

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 02:03 PM.


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