Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Accounts being upgraded checking? (https://forums.graalonline.com/forums/showthread.php?t=51975)

Fhqwhgads 03-27-2004 08:50 PM

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 :rolleyes: )

Loriel 03-27-2004 08:53 PM

Name your threads so they tell more about the subject. Consider this a warning before I officially warn you. :D

Fhqwhgads 03-27-2004 08:54 PM

eep sorry man.. but what about my question xD

-Ramirez- 03-27-2004 09:11 PM

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

Fhqwhgads 03-27-2004 09:19 PM

o thats what i meant :D I didn't mean if they have gold i meant if they paid at all so playertrial would be free.. thanks ;)

-Ramirez- 03-27-2004 11:16 PM

No problem. Oh... it's serverside only btw.

zokemon 03-28-2004 12:52 AM

I thought I remeber hearing something about a flag to says if the player has VIP or not...

R0bin 03-28-2004 02:13 AM

Ther were many suggestions for this already, no one listens to us though no.

-Ramirez- 03-28-2004 03:10 AM

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!

osrs 03-28-2004 03:31 AM

NPC Code:

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



Would not that help?

Goboom 03-28-2004 04:23 AM

Not really, because you cant tell if the account is VIP or Gold.

Fhqwhgads 03-28-2004 07:16 AM

thats what i did osrs. I got a lot better at scripting since my last posts ;)

osrs 03-28-2004 03:52 PM

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 :D

Dach 03-28-2004 10:54 PM

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?

VeX_RaT_Boy 03-28-2004 11:45 PM

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...

osrs 03-28-2004 11:54 PM

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?
I think you have already seem that a few playerworlds like to put on profile what kind of account you have, and like what Kjetil said the profile needs a string, that's why i saved it.

Quote:

Can't you just check playervip?
playervip? playertrial is the only one available for checking these things, as far as i know... but since there are hidden commands i may be wrong. (or not)

Dach 03-29-2004 12:32 AM

oh yeah, profiles, d'oh

Quote:

Originally posted by -Ramirez-
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!

uh... find dead end -> create workaround -> suggest new feature -> wait for new feature -> use new feature if added, else forget about it

hehe, more detail for account types wouldn't make anything easier or better, it would just allow for spiffy extra stuff. The playertrial flag allows us to deal with trial accounts in special ways since they have different attributes than an upgraded account (not saving, blah blah)

-Ramirez- 03-29-2004 03:37 AM

Quote:

Originally posted by Dach
uh... find dead end -> create workaround -> suggest new feature -> wait for new feature -> use new feature if added, else forget about it
Oh yay, here's that extremely overused little "->" bs once again. How surprising...

Btw, this is extremely OBVIOUS, the problem is with suggesting a new feature. Any time you do so, people just sit there and say how stupid of an idea it is, or tell you how you can get around it, which isn't always able to be done perfectly. Sure, Stefan may ignore everyone and actually consider the suggestion, but something tells me he rarely even reads any threads in the Suggestion forum.


All times are GMT +2. The time now is 12:38 PM.

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