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-17-2001, 08:51 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
New Features PLEASE!

Some things need to be added...

Function Arguments

All us people who code in another language other than Gscript LUV FUNCTIONS ARGUMENTS! Please add them.

Fuctions aregument syntax is as follows

funcname(aug1,aug1,...)

and

function funcname (name for aug1,name for aug 2,...) {
routein......
}

and also there needs to be

return value;

example : return true; return false: return HAPPY MONKEY!; return #v(money);

So we can do l33t things like

if(getArea(x,y)) {
message OMG LIKE THE OBJECT IS IN THE AREA!!!!!!!;
}

Next on the agenda........

Script Ganis!

Kaimetsu suggested it and I luv the idea. There must be some way to add this option.

Also if sever-side showimg wouldnt round to the closes half (.5) it would be good =\

Oh my... Playerspeed Variable
This is a good option that GodSpeed suggested.. I hope it gets on =\

NPC Server programing

It would be nice if there was an NC option to give the player a pm if a certain condition is true.

Like a script command
PM Commands for NPC server
pmplayer account,message text;
masspm message text;

And int he NPC server you could do stuff like
NPCs server Programming
if(strequals(#pm,Hello!)) {
pmplayer #a,Hi!;
}

And stuff.


OH OH!!!

hidden NPCs should be able to show images!

And....

New Flags!
playerkillsbaddie
playerkills[baddiename]
playerkillsplayer
playerkillsnpc

It would be nice for EXP. Since detecting if a play has killed an enemy is really difficult to do perfectly. =\

playerids in With operation
with(getplayer(id))

and idscount varaible

the idscount variable woudl be the hiest id on the server so if ids

4,7,8,13 were online... idscount == 13

Bug
Graal:Offline bug was never fixed =\


Style show insert a newline character after semicolons and Braces or Brace+semicolon combos (for arrays and such).

thats all I can think of now.
__________________

subliminal message: 1+1=3
Reply With Quote
  #2  
Old 08-17-2001, 09:40 AM
LilbrojX LilbrojX is offline
why dont you marry it?
LilbrojX's Avatar
Join Date: Mar 2001
Location: hmm
Posts: 1,465
LilbrojX is on a distinguished road
Send a message via AIM to LilbrojX Send a message via Yahoo to LilbrojX
Red face

very good ideas, like baddykilled and pm stuff, but hidden NPCs are able to show images! in the new bug fix version
__________________

http://www.dictionary.com/search?q=arrogant
kai is an expert on all things arrogant
Reply With Quote
  #3  
Old 08-17-2001, 10:16 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Oh, It wasnt in the new features txt. hehe cool.
__________________

subliminal message: 1+1=3
Reply With Quote
  #4  
Old 08-17-2001, 12:17 PM
dragoonvenganc dragoonvenganc is offline
Registered User
Join Date: Jul 2001
Location: USA
Posts: 331
dragoonvenganc is on a distinguished road
Send a message via ICQ to dragoonvenganc Send a message via AIM to dragoonvenganc
nice ideas.
function arguments are great you are right about that
__________________
Dragoon Vengance
Owner of Pangea Relics of Time
P2P Rp server
For info or job
Email: [email protected]
aim: dragoonvengnc
Reply With Quote
  #5  
Old 08-18-2001, 02:37 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Yeah. They make jops so much EZer...
__________________

subliminal message: 1+1=3
Reply With Quote
  #6  
Old 08-18-2001, 03:57 AM
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
function parameters: possible, although the current
script engine is object-orientated instead of linear,
so i would need to change some stuff first (imagine
you do a sleep in such a function)

playerkills: npcs can detect their own 'dead',
the player-kills-player thing can be added
Reply With Quote
  #7  
Old 08-18-2001, 04:01 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
nice. im looking forward to seeing this
__________________

subliminal message: 1+1=3
Reply With Quote
  #8  
Old 08-19-2001, 06:08 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
You know what would be good and nice also? Server Accounts saved on a txt file

For like reference. I dont mean that you can edit the account but jsut to reference info from the account would be cool. Like there current gralats and stuff. Then we could do some CGI junk and make some Server stuff like popular shields and stuff on our own.
__________________

subliminal message: 1+1=3
Reply With Quote
  #9  
Old 08-21-2001, 07:33 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
get object exists .. they got board[] and testnpc, testplayer,testbomb.. and function argument has already been suggested a few times. .
and return is kinda useless since Graal variables are avaible to the whole script
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #10  
Old 08-21-2001, 07:35 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
oh oh and I forgot
its not that hard to check if the player pk'ed
all you have to do is save the current ap of the player then check if it went down ..

few things that come from there
been able to check the player kills, deaths, rating would be nice..
u can do exp systems based off how much kills ppl got and such that be cool . but it would be pk fest
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #11  
Old 08-21-2001, 11:24 AM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
I have also had the same idea about adding better scripting to ganis. Then stefan could do away with the animation checking the graal engine does
__________________
Reply With Quote
  #12  
Old 08-21-2001, 11:46 AM
IceHawk IceHawk is offline
Jenseits von Gut und Böse
IceHawk's Avatar
Join Date: Mar 2001
Location: Vancouver BC, Canada
Posts: 4,704
IceHawk will become famous soon enough
Send a message via AIM to IceHawk
Quote:
Originally posted by LiquidIce00

its not that hard to check if the player pk'ed
all you have to do is save the current ap of the player then check if it went down ..
He meant so he could set different enemies could give like different EXP
like lets say you killed a blue baddie, you got 10 EXP points, and if you killed a lizardon you got 50 EXP points.
You couldn't do that with a check-if-AP-went-down system
__________________
Reply With Quote
  #13  
Old 08-21-2001, 08:10 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by IceHawk
He meant so he could set different enemies could give like different EXP
like lets say you killed a blue baddie, you got 10 EXP points, and if you killed a lizardon you got 50 EXP points.
You couldn't do that with a check-if-AP-went-down system
And also stuff like "go kill player x". It'd have to know who you'd killed to work.
Reply With Quote
  #14  
Old 08-22-2001, 12:35 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Quote:
Originally posted by LiquidIce00
get object exists .. they got board[] and testnpc, testplayer,testbomb.. and function argument has already been suggested a few times. .
and return is kinda useless since Graal variables are avaible to the whole script
board[] = An array, Not a function

All the other things are predifined functions. I want it enabled to that you can do funciton arguments when you create your own functions

return IS usefull

if(getcoolplayer(#a,ap)) {
setplayerprop #c,I AM COOL!;
} else {
setplayerprop #c,I AM A LOSER
}

function getcoolplayer(account,alignment) {
if(strequals(#p(account),Falcor) && strtofloat(#p(alignment)) > 90) {
return true;
} else {
return false;
}
}

It would take up extra code if you had to prefor variable operations. Why make your code longer? Why not make it simple?

I sugested Function Arguments twice before.. Stefan never saw them i dont think.
__________________

subliminal message: 1+1=3

Last edited by Falcor; 08-22-2001 at 12:40 AM..
Reply With Quote
  #15  
Old 08-22-2001, 12:29 PM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
board[]'s math would be very handy in the commands.rtf...I have to go back to the shovel and hammer script every time, personally. If it's left out to prevent hackers from learning it, it doesn't work...they just all ask me. =_=
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #16  
Old 08-22-2001, 01:20 PM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
board[] is a silutated 2d array. Its not that hard to memorize really

x+(64*y)

so line one would be 0-63
then line 2 would be
64-127

ect ect ect.

and board tiles are the same syntax right?

tilex+tiley*16???
__________________

subliminal message: 1+1=3
Reply With Quote
  #17  
Old 08-22-2001, 01:49 PM
Birdbird_0 Birdbird_0 is offline
am yum
Birdbird_0's Avatar
Join Date: Mar 2001
Location: California
Posts: 4,436
Birdbird_0 is on a distinguished road
Send a message via AIM to Birdbird_0
You menchoned scripted ganies,
what about the posiblitys for ganies to have blank sprites, that can be changed with showimg and such, instead of making 23923 for 2309238 sprites, each with a diffrent gani?
Reply With Quote
  #18  
Old 08-23-2001, 05:33 AM
SagaTCN SagaTCN is offline
Registered User
Join Date: Aug 2001
Location: West Michigan
Posts: 190
SagaTCN is on a distinguished road
Send a message via ICQ to SagaTCN Send a message via AIM to SagaTCN Send a message via Yahoo to SagaTCN
all I know is I started to understand when I made a tile editer Npc

works wonderful =)

you say
"board copy" then it copies the tile information of the level
then u say
"board replace" and it replaces the board tiles with the tiles saved from board copy

it's fun =)

also you can edit any x y width height to any 1 tiles

using the one number for the tile. which can be found if you can see the tile by saying
"board study" and moving the image over the tile.
also displays the x and y for more precise editing.

trouble is I tried it online and only I could see the changes =(
__________________

Rogue World
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 12:10 AM.


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