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 04-18-2006, 03:57 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Server Options - Profile Vars

In the next gserver version can you please include the ability to do flags as this:
profilevars=Kills:=clientr.stats[1], Deaths:=clientr.stats[0]

Please allow some kind of support for this.
Reply With Quote
  #2  
Old 05-01-2006, 11:15 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Could this be added please? thanks
Reply With Quote
  #3  
Old 05-01-2006, 12:41 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Posted this like a month ago, I'll try to find Stefan and bring it to his attention .

I hate having to to make a client. string to display HP / Max HP

* Edit * also, if possible, maybe we can use @ in profilevars aswell:

HP:=clientr.health[0] @ " / " @ clientr.health[1]

:O

Last edited by KuJi; 05-01-2006 at 12:58 PM..
Reply With Quote
  #4  
Old 10-07-2006, 05:36 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Way to go reviving an old thread! The thing is, can you add a substring in profilevars? If not, please add it!
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #5  
Old 10-07-2006, 06:02 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by xXziroXx View Post
Way to go reviving an old thread! The thing is, can you add a substring in profilevars? If not, please add it!
If you are talking about me reviving a thread, your saying this 5 months later lol!
Reply With Quote
  #6  
Old 10-07-2006, 06:15 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by KuJi View Post
If you are talking about me reviving a thread, your saying this 5 months later lol!
I ment the part where I revived it.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #7  
Old 10-07-2006, 06:34 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by xXziroXx View Post
I ment the part where I revived it.
O hahahaha, about to say
Reply With Quote
  #8  
Old 10-07-2006, 09:21 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Pretty please
__________________
Reply With Quote
  #9  
Old 10-07-2006, 10:08 AM
Demisis_P2P Demisis_P2P is offline
Kanto League Champion
Demisis_P2P's Avatar
Join Date: Jan 2005
Posts: 2,357
Demisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud of
Yes. Would be very useful with the dynamic birds I am scripting.
Reply With Quote
  #10  
Old 10-07-2006, 02:14 PM
Rapidwolve Rapidwolve is offline
Registered User
Join Date: Jul 2006
Posts: 1,241
Rapidwolve is an unknown quantity at this point
Quote:
Originally Posted by KuJi View Post
Posted this like a month ago, I'll try to find Stefan and bring it to his attention .

I hate having to to make a client. string to display HP / Max HP

* Edit * also, if possible, maybe we can use @ in profilevars aswell:

HP:=clientr.health[0] @ " / " @ clientr.health[1]

:O
We already can
Reply With Quote
  #11  
Old 10-07-2006, 04:09 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by Rapidwolve View Post
We already can
No you can't o.O
Reply With Quote
  #12  
Old 10-07-2006, 04:23 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
Eventually it could be interesting if the profile could be fully customized (a script which you could override). Would it be ok to have the profile in the game window or do people prefer the external profile window?
Reply With Quote
  #13  
Old 10-07-2006, 04:31 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
I like the external a lot =o.. it is possible to rescript them anyway.
Reply With Quote
  #14  
Old 10-07-2006, 05:53 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Stefan View Post
Eventually it could be interesting if the profile could be fully customized (a script which you could override). Would it be ok to have the profile in the game window or do people prefer the external profile window?
I would preffer in-game :o
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #15  
Old 10-07-2006, 07:03 PM
Bl0nkt Bl0nkt is offline
Era Developer
Bl0nkt's Avatar
Join Date: Mar 2005
Location: Pennsylvania
Posts: 1,589
Bl0nkt will become famous soon enough
Send a message via AIM to Bl0nkt
clientr.thisisaprofilevar = clientr.iwanttomakethisavar[1];

profilevars=Var:=clientr.thisisaprofilevar

God you guys are lazy.
Reply With Quote
  #16  
Old 10-07-2006, 07:22 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Bl0nkt View Post
clientr.thisisaprofilevar = clientr.iwanttomakethisavar[1];

profilevars=Var:=clientr.thisisaprofilevar

God you guys are lazy.
No, I just hate useless strings.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #17  
Old 10-07-2006, 08:03 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by Bl0nkt View Post
clientr.thisisaprofilevar = clientr.iwanttomakethisavar[1];

profilevars=Var:=clientr.thisisaprofilevar

God you guys are lazy.
That is not necessary.. it should have been using arrays in the first place.
Reply With Quote
  #18  
Old 10-07-2006, 08:33 PM
Rapidwolve Rapidwolve is offline
Registered User
Join Date: Jul 2006
Posts: 1,241
Rapidwolve is an unknown quantity at this point
Quote:
Originally Posted by KuJi View Post
No you can't o.O
It was done on one server and it worked fine...I cant remember which one though
Reply With Quote
  #19  
Old 10-07-2006, 09:00 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Rapidwolve View Post
It was done on one server and it worked fine...I cant remember which one though
Really, you CANT do it.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #20  
Old 10-07-2006, 10:28 PM
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
The principal problem with making a variable and setting it equal to the more complex array entry you want reflected in the profile is that, while effective, it is crude in the sense of efficiency - you have to update the profile-ready variable every time you update the array entry. While that's not a whole LOT of overhead, it can be if the variable/string/array changes frequently, and what's worse, it's one more operation to be transcribed an unbound number of times: if the array ever changes and someone forgets to update the profile-ready variable, it'll be reflecting the wrong information on the profile.

Now, maybe if there was an action for onProfileOpen, that could work...but I've been up to my ears in figuring out the most efficient way of sending details like "A lot of information about another player's gani which isn't likely to change a great deal while these two players are online, but might, so should it re-send every detail every time they appear on each others' screens, or should it send updates even when they're not on each others' screens, or...?"

Nicely complicated. So glad this game has Stefan to deal with these issues, he actually knows what he's doing.
__________________
"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
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:29 AM.


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