Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-09-2005, 02:26 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
Updated Scripted RC

I've updated the scripted RC with a few new functions.

- Database NPC button now works
- Option to allow highlighting if someone says your nickname
- New indicator at the bottom-left changes color if someone says something while the RC window is not visible, and flashes if someone says your name while the RC window is not visible
- this.hasnc variable now works
- You can now reopen the RC by firing the weapon if you have closed it
- Help button enabled

Things I plan to add to it (if possible):

- The ability to check from the server whether the player has NC when the RC loads
- An option to enable/disable the indicator
- Editing Database NPC flags
- Folder configuration
- Adding of NPCs
- Player attributes viewing and editing

The file is attached. As with the others, just add it to a weapon called "RC". For the NC and File Manager, you still need the weapons "TextEditor" and "FileManager", which can be found here:
http://forums.graalonline.com/forums....php?p=1044870

I'll be working on my version more, so if you have any suggestions, or anything you'd like adding, then let me know and I'll put it in my next release if I can.
Of course, you could always add whatever to it yourself for your own use.

Edit - skyld_updatedrc2.txt
Now with automatic NC right detection option.
Only problem is, is that it says "account has loaded the rights of account" in RC every time it is loaded while the option is enabled.
This can be disabled in the options if you do not have NC anyway.
Attached Files
File Type: txt skyld_updatedrc.txt (10.0 KB, 185 views)
File Type: txt skyld_updatedrc2.txt (10.6 KB, 186 views)
__________________
Skyld

Last edited by Skyld; 02-09-2005 at 04:33 PM..
Reply With Quote
  #2  
Old 02-13-2005, 04:53 PM
Nitro2030ce Nitro2030ce is offline
Canadian
Nitro2030ce's Avatar
Join Date: Apr 2004
Location: Ontario, Canada
Posts: 189
Nitro2030ce is on a distinguished road
Send a message via AIM to Nitro2030ce Send a message via MSN to Nitro2030ce
found a bug! chat does not work after using skyld_updatedrc2.txt as the RC
__________________
http://forums.graalonline.com/forums/image.php?type=sigpic&userid=3500&dateline=1182349  229
Reply With Quote
  #3  
Old 02-13-2005, 05:13 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 Nitro2030ce
found a bug! chat does not work after using skyld_updatedrc2.txt as the RC
Anything in particular you did before it stopped working? It appears fine for me, and (obviously) unless you have normal RC rights, then the scripted RC will not work.
__________________
Skyld
Reply With Quote
  #4  
Old 02-13-2005, 05:16 PM
Nitro2030ce Nitro2030ce is offline
Canadian
Nitro2030ce's Avatar
Join Date: Apr 2004
Location: Ontario, Canada
Posts: 189
Nitro2030ce is on a distinguished road
Send a message via AIM to Nitro2030ce Send a message via MSN to Nitro2030ce
i have all the rights exept for shange staff accounts, and when i first added the script the chat did not work
__________________
http://forums.graalonline.com/forums/image.php?type=sigpic&userid=3500&dateline=1182349  229
Reply With Quote
  #5  
Old 02-13-2005, 05:33 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
Actually added the chat routine now.
I cannot believe I forgot it.
Attached Files
File Type: txt skyld_updatedrc2.txt (10.8 KB, 177 views)
__________________
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 10:22 PM.


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