Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   more readable variables (https://forums.graalonline.com/forums/showthread.php?t=16009)

btedji 11-02-2001 08:20 PM

more readable variables
 
here are some variables that should be added:

playerkills
playerdeaths
onlinetime

please don't yell at me if this has been suggested before

grim_squeaker_x 11-02-2001 08:34 PM

*Yells*
:p

Would be handy though.

Slaktmaster 11-02-2001 08:35 PM

add: playersmarts

if (playerchats&&strequals(#c,wanna be my gf?)) {
playersmarts--;
}

konidias 11-02-2001 10:02 PM

Stefan needs someone that is good with english to check over anything that is made.. Like a new store or something (if it's made by him)

Thing's like
"breads"
"fishes"
"chief hat"
"pinguin hat"
"bred"

etc. :)

Tyhm 11-03-2001 03:21 AM

"I am good at all kind of maths."-BX-10

Thak2 11-03-2001 03:31 AM

Re: more readable variables
 
Quote:

Originally posted by btedji
here are some variables that should be added:

playerkills
playerdeaths
onlinetime

please don't yell at me if this has been suggested before

Online time especially. It would be very nice to only enable something after the player has been on for five hours or so.

btedji 11-03-2001 04:12 AM

Quote:

Originally posted by konidias
Stefan needs someone that is good with english to check over anything that is made.. Like a new store or something (if it's made by him)

Thing's like
"breads"
"fishes"
"chief hat"
"pinguin hat"
"bred"

etc. :)

those could just be typos

Loriel 11-03-2001 04:18 AM

I agree, those variables would come in handy. For example,
if (playerenters && playerkills>playerdeaths*2)
say2 #b Go away, stupid PK!;
But it should be "playeronlinetime", not just "onlinetime".
They should be read-only of course.
*imagines bunch of people asking why "if (strequals(#a,their account name)) playeronlinetime = 500219480912428;" isn't working*

btedji 11-03-2001 04:25 AM

playerdeaths might be able to be done with script but not accuratley, this could be good for exp, or possibly changing difficultly of enemies depending on the players deaths

grim_squeaker_x 11-09-2001 05:36 AM

Quote:

Originally posted by btedji
playerdeaths might be able to be done with script but not accuratley, this could be good for exp, or possibly changing difficultly of enemies depending on the players deaths
Actually if you make a weapon with:
NPC Code:
if (playerdies) setstring client.deaths,#v(strtofloat(#s(client.deaths))+1);


It would extremely efficiently keep track of playerdeaths, you just can't really script anything along the lines of playerkills unless you make your own whole new damage system thing using triggeraction.

Psyker 11-10-2001 06:02 AM

"cow melking"

anyway, those would be pretty useful...

I could make some pretty nifty NPCs with those...


All times are GMT +2. The time now is 04:48 PM.

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