Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-22-2004, 02:51 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
if (playervip)

Add that, if (playertrial) exist, i think playervip should exist.

I want to make a little world on adiarde for VIPs only and don't want them to put on tag for that
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #2  
Old 01-23-2004, 06:16 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
ummm... better yet... how about if (subscription=index)?
Reply With Quote
  #3  
Old 01-24-2004, 01:35 AM
MrGannondorf MrGannondorf is offline
Teh Lunpa
Join Date: Apr 2002
Location: usa, alas
Posts: 395
MrGannondorf is on a distinguished road
Send a message via AIM to MrGannondorf
correct me if I'm wrong, but isn't this forum for future improvements??
__________________
Reply With Quote
  #4  
Old 01-24-2004, 01:44 AM
Thallen Thallen is offline
Banned
Thallen's Avatar
Join Date: Jun 2003
Location: Florida
Posts: 1,284
Thallen is an unknown quantity at this point
Send a message via ICQ to Thallen Send a message via AIM to Thallen Send a message via MSN to Thallen Send a message via Yahoo to Thallen
Quote:
Originally posted by MrGannondorf
correct me if I'm wrong, but isn't this forum for future improvements??
Ok, so what do you call these requests?
Reply With Quote
  #5  
Old 01-24-2004, 01:54 AM
MrGannondorf MrGannondorf is offline
Teh Lunpa
Join Date: Apr 2002
Location: usa, alas
Posts: 395
MrGannondorf is on a distinguished road
Send a message via AIM to MrGannondorf
oh, I don't consider economic devides as an improvement, but thats just me, I guess.
__________________
Reply With Quote
  #6  
Old 01-24-2004, 05:04 AM
Hevaricubed Hevaricubed is offline
Registered User
Join Date: Aug 2003
Posts: 262
Hevaricubed is on a distinguished road
Send a message via AIM to Hevaricubed Send a message via Yahoo to Hevaricubed
It is an addition to the scripting language, therefore it would be an improvement.
__________________
Reply With Quote
  #7  
Old 02-10-2004, 05:19 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally posted by jake13jake
ummm... better yet... how about if (subscription=index)?
Ya like:

0 = Trial
1 = Classic Only
2 = VIP
3 = Gold
4 = VIP + Gold
__________________
Do it with a DON!
Reply With Quote
  #8  
Old 02-10-2004, 06:29 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
the variable idea sounds interesting, that way it could be possible to give classic or gold players different features aswell
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #9  
Old 02-10-2004, 09:17 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally posted by Dach
the variable idea sounds interesting, that way it could be possible to give classic or gold players different features aswell
I probably wouldn't use it, but the variable idea would make a lot more sense.

Zokemon said
0 = Trial
1 = Classic Only
2 = VIP
3 = Gold
4 = VIP + Gold

The 4 there would be insignificant since you could do 2&3. Although if there was ever another subscription plan created, you could more easily go up a number rather than having to make a predefined flag for each one.
Reply With Quote
  #10  
Old 02-11-2004, 01:28 AM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
the numbers would have to be like this:

1 - Trial
2 - Classic
4 - Gold
8 - VIP

bitflags, see showstats, enablefeatures.

So no two numbers added could be equal to another bitflag.

e.g, 1+2 = 3, 1+2+4 = 7, etc.
Reply With Quote
  #11  
Old 02-11-2004, 03:51 AM
dlang dlang is offline
Yoshi!
dlang's Avatar
Join Date: Oct 2002
Location: Houston, Texas
Posts: 406
dlang is on a distinguished road
Send a message via AIM to dlang Send a message via MSN to dlang
why would they HAVE to be like that?
And whats up with bitflags?
__________________
Where do I take this pain of mine?
I run but it stays right by my side.
So tear me open, pour me out,
there's things inside that scream and shout.
And the pain still hates me, so hold me until it sleeps.

---------------
Reply With Quote
  #12  
Old 02-11-2004, 12:35 PM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
Quote:
Originally posted by R0bin
the numbers would have to be like this:

1 - Trial
2 - Classic
4 - Gold
8 - VIP

bitflags, see showstats, enablefeatures.

So no two numbers added could be equal to another bitflag.

e.g, 1+2 = 3, 1+2+4 = 7, etc.
Put it this way:

If you want all players with Gold or VIP, and not, you could do:

NPC Code:

bitflag = 4+8;
if (accounttype == bitflag){
message YOUR IN!;
}



Whereas elsewise, you'd have to say:
NPC Code:

bitflag = {2,3};
if (accounttype in bitflag){
message Your In!;
}



The first method is more effiecent with the engine, whereas the second one is still easily done.

Most people would put:
NPC Code:

if (accounttype == 2 || accounttype == 3){
message Your In!;
}


And... That way looks ugly. To prevent ugliness, they use bitflags.

Personally, I don't mind either way.
__________________
- Rance Vicious
Reply With Quote
  #13  
Old 02-11-2004, 02:36 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
How about variables for playergoldtime and playerviptime, and a builtin function to get years and months and days and hourse and minutes and seconds out of really big amounts of seconds?
Reply With Quote
  #14  
Old 02-11-2004, 03:15 PM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
lol builtin?

minutes = seconds / 60
hours = minutes / 60
days = hours / 24
years = days / 365.25
weeks = years * 52
months = years * 12

omg, so hard.. need... builtin...command.

How bout an accurate time variable, and timestamping on RC messages while we are at adding the "builtin" seconds command?
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:45 PM.


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