Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Server (https://forums.graalonline.com/forums/forumdisplay.php?f=14)
-   -   A list of commands, I want to see in Graal (https://forums.graalonline.com/forums/showthread.php?t=12065)

Krakken_2001 09-16-2001 07:38 PM

A list of commands, I want to see in Graal
 
Hey, I have thought about it and here are a few commands I would love to see programmed for use in graal.

1) A rotate image command. It should be able to rotate any image up to 360 degrees.
2) A better control of strings. Make it so you can use words in VARIABLES more easily.
3) A tilecheck command so you don't have to include a subroutine in your script to do it!
4) Better use of showimg. The index thing needs to be modified slightly. It needs to be more efficient.
5) A clientside level. So the level ONLY effects the user and what others do in the level at the same time is not visible.
6) A system to allow popup boxes to enter inmprtant things such as passwords. This will stop everyone knowing what you are typing.
7) Being able to send any string you want to a CGI or SQL server. (Keep this one secret if you make it)

There were lots more too but I have forgotten. I am sure it will come to me later and I will post it.

Krakken_2001 09-17-2001 02:45 AM

Re: Re: A list of commands, I want to see in Graal
 
Quote:

Originally posted by Kaimetsu
Sure, that's easy for you to say. You have a new computer.
I doubt this would be a problem, If I can show 500 images on a Pentium 200 (Friends CPU) five times a second then this should'nt be a problem


Quote:

Originally posted by Kaimetsu
How d'you mean? Could we have an example?
Being able to just assign a string to a normal variable like almost every other modern language.
E.G. this.variable = 'Hello How Are You?';
instead of
setstring name, value;
Just a little thing to make life easier!


Quote:

Originally posted by Kaimetsu
I think it's good that it's difficult to do. It makes us scripters look better.
I suppose so =)


Quote:

Originally posted by Kaimetsu
In what way?
Well showimg has to use a massive amount of showimg indexes. There should some sort of grouping function like
addtoimg indexofshowimg, filename, x, y;
Then it would be much easier to show and hide sections of images instead of single images.


Quote:

Originally posted by Kaimetsu
I agree that this would be cool and useful.
Yup =)


Quote:

Originally posted by Kaimetsu
Hmm... Maybe not popup boxes but some way to make the chat text private. Like, an "NPCchat" mode (enableNPCchat and disableNPCchat) where any text is only delivered to NPCs and not other players.
Yeah, sounds good. Just something to hide what you are saying.


Quote:

Originally posted by Kaimetsu
Hmm. Maybe so.
It would allow some cool features, also if you could retrieve from a file on the web. Then THAT would be cool!. You could sign up for someting online and then gain access to a certain area on Graal!

Krakken_2001 09-17-2001 09:07 PM

Re: Re: Re: Re: A list of commands, I want to see in Graal
 
Quote:

Originally posted by Kaimetsu
I think it's more a problem of people having 3D cards. Not everybody's cards support the good DirectX stuff.
Oh yeah I did'nt really think of DirectX I suppose you are right.


Quote:

Originally posted by Kaimetsu
I think that would slow down the actual execution of the script. Besides, most programming languages don't allow this.
Hmm, yeah, I suppose I can put up with "setstring"


Quote:

Originally posted by Kaimetsu
You can always do this using for loops.
How so? Oh... but that way is fairly clumsy and you could lose track of ID's


Quote:

Originally posted by Kaimetsu
Yeah, I'll agree that it could have uses. But it could also be bad - what if people start using the GServer for some kind of bad stuff? You never know - the more freedom you give to scripters, the more ways they can abuse it.
Yeah, but it should be top secret. Like the command to do anything on a players account no matter what level they are in. (E.G. The police script warps people from any level into jail from one NPC) This is the command I would like to see the most!

Krakken_2001 09-17-2001 10:39 PM

Re: Re: Re: Re: Re: Re: A list of commands, I want to see in Graal
 
Quote:

Originally posted by Kaimetsu
Not if you're careful. Just reserve index ranges and loop through them all.
Can't be done if you are making a Universal NPC which changes tge amount of showimages with a variable.


Quote:

Originally posted by Kaimetsu
That command isn't so secret, is it? I mean, 'with' is pretty well-known.

But anyway, such commands just affect game stuff. If people abused these then it wouldn't be such a problem. If someone used the Graal server to do illegal stuff then it'd be a different story.

How would retreiving date from the web be of any threat anyway? Only trusted admins have access to NPC Servers.

Krakken_2001 09-17-2001 11:41 PM

Re: Re: Re: Re: Re: Re: Re: Re: A list of commands, I want to see in Graal
 
Quote:

Originally posted by Kaimetsu
Please elaborate. What would this be used for?
Forget it. It will never happen anyway =/


Quote:

Originally posted by Kaimetsu
Not only retrieving - you talked about sending too. Which means that data could be sent from the Graal servers to anywhere. This could have bad repercussions.
Okay, scrap the sending bit! Recieveing is good though!

Faheria_Admin5 09-19-2001 02:46 AM

there is a thing called saveinfo wich does something with PHP (nust have NPCs server) I believe its saveinfo key,text;

I duno anything about PHP so im just stating what i know =\

Krakken_2001 09-19-2001 06:32 PM

Quote:

Originally posted by Faheria_Admin5
there is a thing called saveinfo wich does something with PHP (nust have NPCs server) I believe its saveinfo key,text;

I duno anything about PHP so im just stating what i know =\

Yeah, but it connects to the Graal database. I am talking about connecting to any database.

Warcaptain 09-20-2001 01:37 AM

erm i beleive it was me who suggested the setrotateeffect and setimgrotate first.

SagaTCN 09-20-2001 01:40 AM

... variables in php are just variables. the type of variable is determined by what you assign to it. or you can specify the type seperately.

$varakastringakaarrayakainterger = Hello

$varakastringakaarrayakainterger = 234.23141

$varakastringakaarrayakainterger = forgot how to assing arrays in php

LiquidIce00 09-23-2001 03:27 AM

$string
%long (owns integers cuz u dont crap out when you have too high of a number)
...
oh by the way.. in Graal you do have integers and strings.. and you have constants and variables..
constant would be when you specify your variable on top of the script...
integer is this. variables.. or any variable that is numerical only..
string is the string..
the neat thing is that in npc server npc's u can have almost any variable having text in it like you want

LiquidIce00 09-23-2001 08:36 AM

not really about the ram thing ...
its just like having strings but instead of having to set them u can use them in the npc ..
like I said the npc server already does that . u can have some variables being strings even if they are not set. .

Sep3kP2P 09-28-2001 08:44 AM

???
 
what exactly does with do?

Falcor 09-29-2001 02:05 AM

Quote:

Originally posted by Warcaptain
erm i beleive it was me who suggested the setrotateeffect and setimgrotate first.
Its been sugersted MANY times befor. Dont claim ideas like your name will be plastered in the newfeatures.txt or something :rolleyes:

ZORG1986 10-04-2001 12:18 AM

Damn you people type to much, I wont be reading all that in this decade

btedji 10-04-2001 03:18 AM

#1 i think is the best idea

roshna 10-13-2001 01:00 AM

Re: A list of commands, I want to see in Graal
 
Quote:

Originally posted by Krakken_2001
Hey, I have thought about it and here are a few commands I would love to see programmed for use in graal.

1) A rotate image command. It should be able to rotate any image up to 360 degrees.
2) A better control of strings. Make it so you can use words in VARIABLES more easily.
3) A tilecheck command so you don't have to include a subroutine in your script to do it!
4) Better use of showimg. The index thing needs to be modified slightly. It needs to be more efficient.
5) A clientside level. So the level ONLY effects the user and what others do in the level at the same time is not visible.
6) A system to allow popup boxes to enter inmprtant things such as passwords. This will stop everyone knowing what you are typing.
7) Being able to send any string you want to a CGI or SQL server. (Keep this one secret if you make it)

There were lots more too but I have forgotten. I am sure it will come to me later and I will post it.

I really really REALLY want to see number 5. Number 7 would be nice too, but keeping it secure would be the problem..


All times are GMT +2. The time now is 07:29 PM.

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