Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #81  
Old 01-31-2002, 08:51 AM
Hiker Hiker is offline
Registered User
Hiker's Avatar
Join Date: Nov 2001
Location: Darklands
Posts: 522
Hiker is on a distinguished road
Send a message via ICQ to Hiker Send a message via AIM to Hiker
can't change the look of my player with a npc in while in play mode

(using editor of course)
__________________
r0x th3 50x wi7h th3 1337 b34t
b3c4u53 h3 c4n!
Reply With Quote
  #82  
Old 01-31-2002, 09:03 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
Function Params? You told me that was too much work but I am gussing making it C compatable will make it Easier? In any case, Me lub, me want!!!! It would make some of my scripts shorter
__________________

subliminal message: 1+1=3
Reply With Quote
  #83  
Old 01-31-2002, 09:14 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
It will use real parsing, and since the C and Delphi
description languages are open it will not be
a big problem, also the error messages are
better. C++ will be a problem (Graal has a different
class system) but C is possible
Reply With Quote
  #84  
Old 01-31-2002, 09:49 AM
Echos Echos is offline
Banned
Join Date: Jan 2002
Location: Somewhere in Georgia for l33t schoolings
Posts: 1,286
Echos is on a distinguished road
Send a message via ICQ to Echos Send a message via AIM to Echos Send a message via Yahoo to Echos
Quote:
Originally posted by Stefan
It will use real parsing, and since the C and Delphi
description languages are open it will not be
a big problem, also the error messages are
better. C++ will be a problem (Graal has a different
class system) but C is possible
but C++ is the best! <3 for the simplicity and power of C++
Reply With Quote
  #85  
Old 01-31-2002, 10:45 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Scripter-defined classes in Graal would be so good...

NPC Code:

class star(){
var starx;
var stary;
var size;
function draw(){
showimg i,star.png,me.starx,me.stary;
}
}
if(created){
starcount=10;
setarray2 mystars,star,starcount;
}
if(timeout){
timeout=0.05;
for(i=0;i!=starcount;i++){
mystars[i].draw();
}
}



So beautiful...
__________________
Reply With Quote
  #86  
Old 01-31-2002, 11:02 AM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
have both the scrollbars and the guy, personally i like the guy better, b/c whenever i edit a single level, the arrow thing doesnt show up, and its hard to know where im going to end up
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #87  
Old 01-31-2002, 12:07 PM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
Quote:
Originally posted by Stefan
It will use real parsing, and since the C and Delphi
description languages are open it will not be
a big problem, also the error messages are
better. C++ will be a problem (Graal has a different
class system) but C is possible
=( Well C is always good to, not to much a different between C and C++, except C++ is easier and all in all has more possibilities (think about it...)
Reply With Quote
  #88  
Old 01-31-2002, 11:17 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
Quote:
Originally posted by Kaimetsu
class star(){
BUG BUG BUG
class star { would be nicer
Reply With Quote
  #89  
Old 01-31-2002, 11:20 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
Yes will add some way of defining structures/classes,
but it will be more Java than C++
(don't plan to add templates, and
you need to specify how the attributes are synchronized
like local var x; or so)
Reply With Quote
  #90  
Old 02-01-2002, 05:09 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
BUG BUG BUG
class star { would be nicer
>.<

I'm used to putting ()s in all of Graal's 'open bracket' statements like "if(){", "for(){", "function name(){" etc.

Quote:
Originally posted by Stefan
Yes will add some way of defining structures/classes,
but it will be more Java than C++
(don't plan to add templates, and
you need to specify how the attributes are synchronized
like local var x; or so)
Excellent, Stefan, you've made my day
__________________

Last edited by Kaimetsu; 02-01-2002 at 07:11 AM..
Reply With Quote
  #91  
Old 02-01-2002, 05:25 AM
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
God, not full C++....imagine the hackers if you were allowed to do everything with the "power" of C++. A playerworld that uses a nonterminating array to leech off the contents of all your active memory, a Graal NPC Virus that attatches to your hard drive, noo...
But it appears he wasn't speaking about LITERALLY making it use C++, only adhere to the syntax, and that's cool. I learned Java by teaching myself GraalScript, still use .graal levels for demos. Will this algorythm work? One way to find out....^_~
__________________
"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
  #92  
Old 02-01-2002, 06:06 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
The virus thing would be handy at times.

Quote:
L33tdued43: HEy YU Kimeiaitistu!!"?
Kaimetsu: Hello
L33tdued43: U MAERK M3 a BomMY fOR MY SRVER???!?
Kaimetsu: Yes indeed. Here it is
L33tdued43: WUT?!"£! mY COMPUT3r exPLeDED!
Kaimetsu: Muhahaha!
__________________
Reply With Quote
  #93  
Old 02-01-2002, 06:08 AM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
Quote:
Originally posted by Kaimetsu
The virus thing would be handy at times.

LOL
Reply With Quote
  #94  
Old 02-01-2002, 06:59 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
Quote:
Originally posted by Tyhm
God, not full C++....imagine the hackers if you were allowed to do everything with the "power" of C++. A playerworld that uses a nonterminating array to leech off the contents of all your active memory, a Graal NPC Virus that attatches to your hard drive, noo...
But it appears he wasn't speaking about LITERALLY making it use C++, only adhere to the syntax, and that's cool. I learned Java by teaching myself GraalScript, still use .graal levels for demos. Will this algorythm work? One way to find out....^_~
lol im sure he wouldnt put like all that support for it
__________________
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
  #95  
Old 02-01-2002, 08:50 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
Yes only syntax, the engine itself (executing a list
of 'GraalScript byte code' commands) is still done&controlled
by Graal itself, but will be updated too with a stack
and stuff to enable function results and things.
Reply With Quote
  #96  
Old 02-01-2002, 09:03 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
so we will have to define variables like

signed long coolvar = 1; ??
__________________

subliminal message: 1+1=3
Reply With Quote
  #97  
Old 02-01-2002, 10:11 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Well, I guess this will give me an excuse to learn C. Stefan, there is only 1 problem with this new scripting engine. Will it be backwards compatible with the existing one? Of not, will you make a script converter? There could be a lot of angry people if they have to reprogram everything... I personally don't mind, but I bet some would.
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #98  
Old 02-01-2002, 12:24 PM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
Quote:
Originally posted by Falcor
so we will have to define variables like

signed long coolvar = 1; ??
I doubt it. If so, I would be very angry...

And BoCo, if that happened, I would be completely FURIOUS and will have to hax0r graal (joke).

Stefan do not make anything which would make current scripts not work...

Oh yeah! I forgot to thank you Stefan! You fixed the attribute bug! *gives stefan hug...backs away realizing stefan is a guy and takes a shower...a long one...*

Anywho, thanks for fixing it. That bug was very annoying =(
Reply With Quote
  #99  
Old 02-01-2002, 02:39 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Graal is currently fairly C-compatible anyway. I don't see any reason why old scripts wouldn't work - though it might be advisable to go back to important ones and rescript them for the new function stuff etc
__________________
Reply With Quote
  #100  
Old 02-02-2002, 12:27 AM
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
I favor the idea of a script converter anyway...since we can't use Join on Classic, it'd be handy to do a mass-replace, like with honds' assimilator.
__________________
"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
  #101  
Old 02-02-2002, 03:18 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
Hey, If you are going to fuxor up variable, why not make setlevel be setlevel2 and stuff of the like.
__________________

subliminal message: 1+1=3
Reply With Quote
  #102  
Old 02-02-2002, 10:36 AM
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
New "Bug":
Be advised that all scripts which rely on implicit playerendsreading and playertouchsother calls will no longer run. So if you tried to cut out a timeout loop by having it just go toweapons after the player touches the chest - you need to specify that condition. =_=
__________________
"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
  #103  
Old 02-02-2002, 10:10 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
playerendsreading and playertouchsother work,
when you do if (playerendsreading) then the
script is called when the player finish reading a sign.
Things like if (timeout && playerendsreading) should
not have been worked before anyway. Please explain a little
bit more exact (script?) :-)
Reply With Quote
  #104  
Old 02-03-2002, 04:28 AM
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
Nevermind, you answered it already in another thread. It's the thing where one NPC says
if(playertouchsme) set getthehammer;
and another NPC says
if(getthehammer){
unset getthehammer;
toweapons hammer;
}
Easy enough to fix, add a timeout loop, or even better make the first callnpc getthehammer instead of setting, but nevertheless...it means I get to fix a lot of levels...;
__________________
"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
  #105  
Old 02-03-2002, 09:20 AM
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
Depressingly minor bug:

there's no carryobject hotsuperbomb
hotbomb, and hotjoltbomb...I just think it's weird is all.
__________________
"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
  #106  
Old 02-04-2002, 01: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
Bug that will never be fixed: Where did our mail accounts go? Still cant log in, 5 months and counting! (maybe more/less)
__________________

subliminal message: 1+1=3
Reply With Quote
  #107  
Old 02-05-2002, 10:41 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
!
__________________

subliminal message: 1+1=3
Reply With Quote
  #108  
Old 02-14-2002, 08:37 AM
Banjo180 Banjo180 is offline
Registered User
Join Date: Jan 2002
Location: Right where i'm standing, idiot! (no place in particular)
Posts: 105
Banjo180 is on a distinguished road
Send a message via AIM to Banjo180
Unhappy HAAAAAALLLLP!!!!!!!

for some reason i can't connect to the playerlist and when i did a tracert on www.graal2001.com it said "Unable to resolve target system name www.graal2001.com"
__________________
"Tradegy is when i cut my finger, comedy is when you fall through an open manhole and die"

[img]CMy Documents\My Pictures\tubcat.jpg[/img]<-A cat that had too much catnip.

[img]CMy Documents\My Pictures\hapywn.gif[/img]

[img]CMy Documents\My Pictures\PS2Smash.gif[/img][img]CMy Documents\My Pictures\XBoxSmash.gif[/img]

"one day i'll look back at this and laugh" -Garfeild

------------------------------------------------
Graal is currenty:Working.
Rag is: Not working.(but i know why)
Banjo is: Mentally insane.

*computer voice*
!!Warning!! Brain will decrease in efficiency on weekends. Do you accept?(Y/N) *types Y and presses enter*Confermed..you will now be drained of a brain cell and become defective in grammar and spelling. *it does so*. the brain cell will only be replaced on mondays, thank you for using BD (Brain Defissencee).

AIM: y2kgraalbanjo
MSN: [email protected]
Reply With Quote
  #109  
Old 02-15-2002, 04:11 AM
Banjo180 Banjo180 is offline
Registered User
Join Date: Jan 2002
Location: Right where i'm standing, idiot! (no place in particular)
Posts: 105
Banjo180 is on a distinguished road
Send a message via AIM to Banjo180
Talking got it! *puter freezes* wait...

i got it fixed thanks to grim squeaker. and likely unixmad
after puter freezes...
>.< great now it doesn't work ****!!
__________________
"Tradegy is when i cut my finger, comedy is when you fall through an open manhole and die"

[img]CMy Documents\My Pictures\tubcat.jpg[/img]<-A cat that had too much catnip.

[img]CMy Documents\My Pictures\hapywn.gif[/img]

[img]CMy Documents\My Pictures\PS2Smash.gif[/img][img]CMy Documents\My Pictures\XBoxSmash.gif[/img]

"one day i'll look back at this and laugh" -Garfeild

------------------------------------------------
Graal is currenty:Working.
Rag is: Not working.(but i know why)
Banjo is: Mentally insane.

*computer voice*
!!Warning!! Brain will decrease in efficiency on weekends. Do you accept?(Y/N) *types Y and presses enter*Confermed..you will now be drained of a brain cell and become defective in grammar and spelling. *it does so*. the brain cell will only be replaced on mondays, thank you for using BD (Brain Defissencee).

AIM: y2kgraalbanjo
MSN: [email protected]

Last edited by Banjo180; 02-15-2002 at 04:32 AM..
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 01:56 PM.


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