Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #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
  #2  
Old 12-23-2002, 04:12 PM
zell12 zell12 is offline
Gone
zell12's Avatar
Join Date: Jun 2001
Location: Alberta, Canada
Posts: 8,541
zell12 has a spectacular aura about
Send a message via ICQ to zell12 Send a message via AIM to zell12 Send a message via MSN to zell12
Why not make the Managers account have a special attribute in its rights that stores a password for the serveroptions. And when you open the server options, your are prompted for that pass. And it can be edited only through the managers account.
__________________
Reply With Quote
  #3  
Old 12-23-2002, 04:24 PM
Proxy Proxy is offline
Registered User
Proxy's Avatar
Join Date: Oct 2001
Location: West Kentucky
Posts: 774
Proxy is on a distinguished road
Send a message via AIM to Proxy
Re: Various programming and RC suggestions

Quote:
Originally posted by GrowlZ1010
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:


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

Last night, in RC chat, Tseng thought the idea of an r and rw to NC would be useful.
__________________
Reply With Quote
  #4  
Old 12-23-2002, 05:21 PM
Questa Questa is offline
Back to the Beat
Join Date: Jan 2002
Location: USA
Posts: 1,230
Questa is on a distinguished road
Send a message via AIM to Questa
Re: Various programming and RC suggestions

Quote:
Originally posted by GrowlZ1010

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;
}




I don't like this one. First of all the URL would have to be in quotes so not to confuse it with the rest of the code. Second, maybe make a filter so that you can only download .pngs? Downloading ZIPs seems kind of easy to exploit with viruses. I mean what if someone hacked the site that hosted a ZIP file and then he replaced the ZIP file with one that had a virus in it? Besides the server already downloads the needed graphics. So this download thing is pointless.
Reply With Quote
  #5  
Old 12-23-2002, 05:34 PM
GrowlZ1010 GrowlZ1010 is offline
defunct
Join Date: May 2002
Posts: 187
GrowlZ1010 is on a distinguished road
Question Download command

Questa, you have a point. Maybe some limits on the download command would be useful. Though some things that servers use aren't automatically downloaded - fonts, for example, or really big graphics that are over the size the client can download. Servers often don't trust the Graal auto-download and leave you a link to their download website - this would just be an easier way of doing that.

Plus, you could have download links to server sanctioned tools - was it Unholy Nation that had a guild manager downloadable? Or MP3s that are too big to manage through the client.
Reply With Quote
  #6  
Old 12-23-2002, 06:50 PM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
I think theres something for #1 already, its a message code, I forgot what.. 2k2 uses it for the "loading" screen though

& #3 has been suggested before, theres lots of posts about it
__________________

Reply With Quote
  #7  
Old 12-23-2002, 07:02 PM
GrowlZ1010 GrowlZ1010 is offline
defunct
Join Date: May 2002
Posts: 187
GrowlZ1010 is on a distinguished road
Quote:
Originally posted by CheeToS2
#3 has been suggested before, theres lots of posts about it
And yet nothing's been done about it?

Sometimes I wonder if anyone who can actually improve things reads Future Improvements...
Reply With Quote
  #8  
Old 12-25-2002, 08:29 AM
Delteria_Free18 Delteria_Free18 is offline
Registered User
Join Date: Oct 2002
Location: Phoenix, Arizona
Posts: 130
Delteria_Free18 is on a distinguished road
Send a message via ICQ to Delteria_Free18 Send a message via AIM to Delteria_Free18
Quote:
Originally posted by GrowlZ1010


And yet nothing's been done about it?

Sometimes I wonder if anyone who can actually improve things reads Future Improvements...
I guess "simple" stuff isnt exactly a priority... but isnt it the simple things that make life better? I would much rather have a spin command than a 3D terrain (spin less work than 3D terrain)
__________________
Before you make fun of someone, walk a mile in their shoes. Then, when you make fun of them, you'll be a mile away, and have their shoes.

........//////
.......( )
.-oo0-(_)-0oo-

Go To: Delteria.net :: Forums.Delteria.net ::
Reply With Quote
  #9  
Old 01-01-2003, 02:47 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: Various programming and RC suggestions

Quote:
Originally posted by GrowlZ1010

NPC Code:

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


o.O the ==0 thing practically gets rid of the point of using !

if you want to client to download something on the server just use the image (showimg, etc)

download url wouldnt be good, just get stefan to upload anything > 64k

NC rights would be nice
Reply With Quote
  #10  
Old 01-01-2003, 06:01 PM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
mapopen/mapclose events would be nice ;-x
don't say "just do it if they press M"... not gonna work out :P
__________________

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 08:22 AM.


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