Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-23-2002, 02:28 PM
GrowlZ1010 GrowlZ1010 is offline
defunct
Join Date: May 2002
Posts: 187
GrowlZ1010 is on a distinguished road
Question Various programming and RC suggestions

Whee, first post since my account expired four months ago! Not like you care, or anything.

Okay, I've been thinking of some new ways to improve the Graal client for a while now, and now I can share them with the world! Which is a yay.

Just note that since I've been away so long, I don't know how many of these have been suggested or even implemented already. If I'm repeating something, then I apologize.

New "function": hasfile(filename)
Checks through all the normal resource folders in the Graal directory and looks for a file. Returns 1 if the file was found and 0 if no such file exists. Example:
NPC Code:

if (playerendsreading){
if (hasfile(growlz-image.png)==0{
say2 Download the GrowlZ#bGraphics Pack before you#bcan proceed.;
}
}



New command: download url;
Opens up one of those Internet Explorer download boxes with the download URL set to what you specify. Good for getting level packs, maps, graphics, etc. Example:
NPC Code:

if (playerchats && strequals(#c,DOWNLOAD GRAPHICS)){
download http://whatever.examplehost.com/growlz/growlzgfx.zip;
}




New RC options: DB NPC protection
If you have a DB NPC in development, a "secret project", for example, or are just very protective of your work, then you'll know the NC is less than secure, as anyone with NC can just open it up and do whatever they want. I propose a new right, View All DB NPCs, and a new field in the DB script editor for permitting individual accounts:

If you don't have the permissions, this would appear in the RC...


Well, that's it for now. Questions? Comments? Expansions on my ideas? Post them here.
Reply With Quote
 


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


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