Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-27-2004, 08:50 PM
Fhqwhgads Fhqwhgads is offline
Registered User
Join Date: Nov 2003
Location: Chicago
Posts: 57
Fhqwhgads is on a distinguished road
Send a message via AIM to Fhqwhgads
Question

Im just wondering is there any way to check if the player has a gold account? like if (playerisp2p) or something like that? (playerisp2p is just an example i made up )
Reply With Quote
  #2  
Old 03-27-2004, 08:53 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
Name your threads so they tell more about the subject. Consider this a warning before I officially warn you.
Reply With Quote
  #3  
Old 03-27-2004, 08:54 PM
Fhqwhgads Fhqwhgads is offline
Registered User
Join Date: Nov 2003
Location: Chicago
Posts: 57
Fhqwhgads is on a distinguished road
Send a message via AIM to Fhqwhgads
eep sorry man.. but what about my question xD
Reply With Quote
  #4  
Old 03-27-2004, 09:11 PM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
No flag of the sort exists as far as I know. There's only "playertrial". Yeah... that could sort of do what you want, but it wouldn't tell you if they actually have gold or VIP time left. If you didn't want it that specific anyway... well, there you go. :P
__________________
Kat
Reply With Quote
  #5  
Old 03-27-2004, 09:19 PM
Fhqwhgads Fhqwhgads is offline
Registered User
Join Date: Nov 2003
Location: Chicago
Posts: 57
Fhqwhgads is on a distinguished road
Send a message via AIM to Fhqwhgads
o thats what i meant I didn't mean if they have gold i meant if they paid at all so playertrial would be free.. thanks
Reply With Quote
  #6  
Old 03-27-2004, 11:16 PM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
No problem. Oh... it's serverside only btw.
__________________
Kat
Reply With Quote
  #7  
Old 03-28-2004, 12:52 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
I thought I remeber hearing something about a flag to says if the player has VIP or not...
__________________
Do it with a DON!
Reply With Quote
  #8  
Old 03-28-2004, 02:13 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
Ther were many suggestions for this already, no one listens to us though no.
Reply With Quote
  #9  
Old 03-28-2004, 03:10 AM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally posted by R0bin
Ther were many suggestions for this already, no one listens to us though no.
But R0bin!!! We can't have new things added that would make things easier or better! We have to work around things and just live with it forever!
__________________
Kat
Reply With Quote
  #10  
Old 03-28-2004, 03:31 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
NPC Code:

if(!playertrial){
sestring client.acctype,what ever;
}



Would not that help?
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #11  
Old 03-28-2004, 04:23 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Not really, because you cant tell if the account is VIP or Gold.
__________________
Reply With Quote
  #12  
Old 03-28-2004, 07:16 AM
Fhqwhgads Fhqwhgads is offline
Registered User
Join Date: Nov 2003
Location: Chicago
Posts: 57
Fhqwhgads is on a distinguished road
Send a message via AIM to Fhqwhgads
thats what i did osrs. I got a lot better at scripting since my last posts
Reply With Quote
  #13  
Old 03-28-2004, 03:52 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally posted by Goboom
Not really, because you cant tell if the account is VIP or Gold.
Indeed, but since there are no others ways to indentify the account type (at least i don't know any other) you could just class the account as upgraded or so..

Quote:
Originally posted by Fhqwhgads
thats what i did osrs. I got a lot better at scripting since my last posts
Woo

Edit: rate me good now
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #14  
Old 03-28-2004, 10:54 PM
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
Quote:
Originally posted by osrs


Indeed, but since there are no others ways to indentify the account type (at least i don't know any other) you could just class the account as upgraded or so..
I may be missing your point, but why would you set a flag to identify that another flag is true/false? Can't you just check playervip?
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #15  
Old 03-28-2004, 11:45 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by Dach


I may be missing your point, but why would you set a flag to identify that another flag is true/false? Can't you just check playervip?
Profile stuff needs strings...
__________________
-Kjetil Valen
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 07:41 AM.


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