Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-07-2003, 07:11 AM
KainDaMan KainDaMan is offline
Registered User
Join Date: Jul 2003
Location: Virginia,USA
Posts: 51
KainDaMan is on a distinguished road
Send a message via AIM to KainDaMan
A few new features....

Here is a list of features I would like to see Incorperated into the scripting system.

~~commands~~
NPC Code:

redownload file; /* this would make good for if there is an update for say a gani or an image and you don't want to flood the player's webgifs folder with the same crap, just edited. I know I have made mistakes with things and wanted to replace them, but at the same time didn't want to go into my levels directory and remove the files in question then re-start graal, not to mention the fact most newbies wouldn't know where to start x.x */



~~strings/variables~~
NPC Code:

imgscount
imgs[index].x
imgs[index].y
imgs[index].vis
#f2(index) // for images from showimg/showpoly/showani/showtext



Just a few that came to mind...
---Kain
__________________
---Kain Morbid
Reply With Quote
  #2  
Old 08-07-2003, 07:18 AM
voicedcow6666 voicedcow6666 is offline
Registered User
Join Date: May 2002
Location: Texas
Posts: 182
voicedcow6666 is on a distinguished road
Re: A few new features....

NPC Code:

redownload file



All they have to do is close graal and restart and whenever they come back it'll automatically redownload.
__________________
-Zega, Staff Advisor of Delteria
Reply With Quote
  #3  
Old 08-07-2003, 10:58 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
imgscount wouldn't work, since you can have an index of 20, 500, and 600, there is no order you have to go in, so the indexes for them wouldnt work in a for loop
Reply With Quote
  #4  
Old 08-07-2003, 03:27 PM
faenix faenix is offline
Registered User
Join Date: Jul 2003
Posts: 56
faenix is on a distinguished road
i can just imagine a hacker signing on and forcing everybody in the server to redownload pics1.png 5 million times and crash their computer
__________________
In a mad world, only the mad are sane.
Reply With Quote
  #5  
Old 08-07-2003, 05:31 PM
KainDaMan KainDaMan is offline
Registered User
Join Date: Jul 2003
Location: Virginia,USA
Posts: 51
KainDaMan is on a distinguished road
Send a message via AIM to KainDaMan
't would be impossible for a hacker to do so because you can't just magically put an npc somewhere x.x
Not to mention that redownload file would most likely have to be serverside seeing as how the server is what handles download distribution...

I also just remembered somthing else I would like added...
It would be nice to be able to specify a folder for savelog2 's...

[edit]
It would also be nice if the "style" button in the graal level editor were incorperated into the NC. I have having to open the level editor every time I want to format my scripts....
[/edit]
__________________
---Kain Morbid
Reply With Quote
  #6  
Old 08-07-2003, 07:36 PM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Quote:
Originally posted by KainDaMan
I also just remembered somthing else I would like added...
It would be nice to be able to specify a folder for savelog2 's...
Why?

Quote:
[edit]
It would also be nice if the "style" button in the graal level editor were incorperated into the NC. I have having to open the level editor every time I want to format my scripts....
[/edit]
Or, you could just format it as you go, and not rely on the level editor to do such basic work for you.
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #7  
Old 08-18-2003, 04:41 PM
KainDaMan KainDaMan is offline
Registered User
Join Date: Jul 2003
Location: Virginia,USA
Posts: 51
KainDaMan is on a distinguished road
Send a message via AIM to KainDaMan
but formatting as you go is tedious and time consuming

and choosing folders for savelog2 would be nice for things like bugreports that you would want in a different folder or certain things for GPs that you don't want added to the logs folder not to mention things you would want in your personal staff folder...
__________________
---Kain Morbid
Reply With Quote
  #8  
Old 08-18-2003, 05:28 PM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
The style thing I think is just pure laziness. But a folder for savelog2 would be nice.. like an extra in the command to specify which folder or when left blank it goes to the default.
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote
  #9  
Old 08-18-2003, 06:44 PM
TribulationStaff TribulationStaff is offline
Registered User
Join Date: Jul 2003
Location: Pennsylvania
Posts: 368
TribulationStaff is on a distinguished road
Send a message via AIM to TribulationStaff
Quote:
't would be impossible for a hacker to do so because you can't just magically put an npc somewhere x.x
It is very possible. I still remember the days of gnpc.
__________________


Help me keep scripting
Reply With Quote
  #10  
Old 08-18-2003, 07:56 PM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
Everything is always possible. Hard as it may be, it is possible.
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote
  #11  
Old 08-18-2003, 07:56 PM
marcoR marcoR is offline
Registered User
Join Date: Jul 2003
Posts: 1,349
marcoR is on a distinguished road
it would be really hard ot do that... not the getting the NPC... but using a command like that with the npc abilities you have...
__________________
If this is your account, contact me.
- loriel
email, jabber: [email protected]
icq: 67530805
aim: lorielvictrix
Reply With Quote
  #12  
Old 08-18-2003, 08:53 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Quote:
Originally posted by Python523
imgscount wouldn't work, since you can have an index of 20, 500, and 600, there is no order you have to go in, so the indexes for them wouldnt work in a for loop
Could make it an array? ... nah too much work.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #13  
Old 08-19-2003, 12:47 AM
draygin draygin is offline
Telmont Bandit
draygin's Avatar
Join Date: Feb 2002
Location: Ohio
Posts: 2,550
draygin is on a distinguished road
Quote:
Originally posted by KainDaMan
choosing folders for savelog2 would be nice for things like bugreports that you would want in a different folder or certain things for GPs that you don't want added to the logs folder not to mention things you would want in your personal staff folder...
That's really a waste of time with the new -rw feature. If there is something in the logs you dont want them to see example a level you didnt want some one to see you would make it -rw levels/levelname.nw then they couldnt see that level. It works the same for images and txt's etc..
__________________

I stole Spanky's gold!
Reply With Quote
  #14  
Old 08-21-2003, 03:25 AM
KainDaMan KainDaMan is offline
Registered User
Join Date: Jul 2003
Location: Virginia,USA
Posts: 51
KainDaMan is on a distinguished road
Send a message via AIM to KainDaMan
Though I didn't know of that feature, you still don't seem to know what exactly I'm talking about =/
I'm saying like with copylevel you can specify an output folder
That would be good for savelog2 as well....
example
NPC Code:

if (actionserverside) {
tokenize #p(0);
if (strequals(#t(0),jail)) {
savelog2 gplogs/jail-log_#t(1).txt,~Jailed by #a for #t(2) seconds;
} else if (strequals(#t(0),unjail)) {
savelog2 gplogs/jail-log_#t(1).txt,~Unjailed by #a;
}
}



see what I mean now?
__________________
---Kain Morbid
Reply With Quote
  #15  
Old 08-21-2003, 08:29 PM
draygin draygin is offline
Telmont Bandit
draygin's Avatar
Join Date: Feb 2002
Location: Ohio
Posts: 2,550
draygin is on a distinguished road
Yes, I understand and it is really a waste of time when if there is an item you dont want a specific person you can just block them from having access to it. So it doesnt matter if they all save to the log folder.
__________________

I stole Spanky's gold!
Reply With Quote
  #16  
Old 08-24-2003, 12:14 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Quote:
Originally posted by draygin
Yes, I understand and it is really a waste of time when if there is an item you dont want a specific person you can just block them from having access to it. So it doesnt matter if they all save to the log folder.
I think he is aiming to organize it a bit better, rather than hide it.
__________________
Reply With Quote
  #17  
Old 09-13-2003, 08:15 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Images are automatically downloaded and redownloaded when it has been changed. The only thing that is annoying about it is that players need to restart their Graal client if you upload a new image, could add something to let clients check again if they are up-to-date.
Reply With Quote
  #18  
Old 09-13-2003, 08:37 PM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally posted by Stefan
Images are automatically downloaded and redownloaded when it has been changed. The only thing that is annoying about it is that players need to restart their Graal client if you upload a new image, could add something to let clients check again if they are up-to-date.
Please do, Stefan!

Btw, I've always had to delete the images from levels\webgifs\ and restart Graal for it to redownload. Simply restarting Graal never worked for me.
__________________
Kat
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 06:12 PM.


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