Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Automatic Status Icons (https://forums.graalonline.com/forums/showthread.php?t=64456)

haunter 03-01-2006 02:51 AM

Automatic Status Icons
 
Quote:

It would be freakin' sweet if we could get some script control of that [playerlist status icons]. Then we could automatically set people's status to things like "Questing" or "In an event"... or Sparring, for that matter
:)

Rick 03-01-2006 06:27 AM

This should go in Graal4 main or bugs forum.

petro1212 03-01-2006 09:13 PM

This might be offtopic but I do not wish to create a new topic for a pointless thing such as this.

Is it just me or does the "questing" playerlist icon on g2k1 look realy weird. It looks like a.. very weird hamster?

Rufus 04-09-2008 03:08 PM

Bump, because this is a good idea and with the new Graal version it could probably be done much easier.

Spark910 04-09-2008 03:23 PM

agree, good idea

Admins 04-09-2008 08:04 PM

Currently that icon cannot be updated or even accessed by script (not shown in script player list), but we could add support for that.

Rufus 04-09-2008 08:16 PM

Quote:

Originally Posted by Stefan (Post 1385068)
Currently that icon cannot be updated or even accessed by script (not shown in script player list), but we could add support for that.

That would be good. It would also be nice if the default icons displayed could be changed. For instance you could set the "Away" as the back of the players head rather than a predefined "back" head, and other icons such as "DND" with the cross could be changed, while still keeping the players head. It would be better than adding the option to the server options and uploading a file named plisticon[status].png.

Admins 04-09-2008 08:52 PM

Well that can probably be scripted using the scripted playerlist which will replace the old playerlist in the next version anyway.

Ok added support for changing the icon, on client-side, in the new version.

Dan 04-09-2008 09:01 PM

Quote:

Originally Posted by Stefan (Post 1385077)
Well that can probably be scripted using the scripted playerlist which will replace the old playerlist in the next version anyway.

Ok added support for changing the icon, on client-side, in the new version.

Can you also add support for displaying eg. a head animation of a player in the playerlist? Instead of their player.head (lets say we make a playerlist_icon.gani file with the head and stuff such as earrings attached to it in it)?

zokemon 04-10-2008 02:45 AM

Quote:

Originally Posted by Stefan (Post 1385077)
Well that can probably be scripted using the scripted playerlist which will replace the old playerlist in the next version anyway.

Ok added support for changing the icon, on client-side, in the new version.

I sooooo want to try this new version.

Deas_Voice 04-10-2008 07:19 PM

why will you take awey the external playerlist?:frown:
i dont like the ingame playerlist >_<

Rapidwolve24 04-10-2008 08:39 PM

Quote:

Originally Posted by Stefan (Post 1385077)
Well that can probably be scripted using the scripted playerlist which will replace the old playerlist in the next version anyway.

Ok added support for changing the icon, on client-side, in the new version.

Nooo. No scripted playerlist :(

Crow 04-10-2008 09:10 PM

Quote:

Originally Posted by Deas_Voice (Post 1385193)
why will you take awey the external playerlist?:frown:
i dont like the ingame playerlist >_<

Because the next client version has external windows.

Admins 04-10-2008 09:40 PM

External scripted playerlist:
http://forums.graalonline.com/forums...2&postcount=17
http://forums.graalonline.com/forums...6&postcount=38

Rufus 04-10-2008 10:31 PM

Quote:

Originally Posted by Stefan (Post 1385218)

If scripted RC is replacing regular RC, can you still keep the RC icon in the notification area tray down at the bottom right of the screen? I find that useful with PM's and just generally finding it. After looking at these screenshots, seems that has not been added.

Another idea for the playerlist, is if servers could place categories onto it (like Admins, Buddies, Guild) for situations like on Bomy Island and Kingdoms with their "Kingdoms", Era and their "Gangs" and Zodiac with their "Nations"; when the tag is worn it doesn't make sense to be in the 'Guild' category, as that's not what they are. If it was able to be scripted, it could be placed into the serveroptions which guilds fit into the new categories, like the staff guild list.

For example:
kingdomguilds=Dustari,Zormite,Pirates,Samurai
gangguilds=Los Carteles,Blazian Bandits,Black Holst
nationguilds=Seryl,Agara,Alseus

Dan 04-10-2008 10:32 PM

Nice nice :) Can you upload the updated version for me please? :p

Few things though;
- RC Background does not display for me (maybe add it into mainfiles?).
- The player profile should be external I'd say.
- Not sure if degtorad() (and maybe radtodeg()) were fixed already? Reminding you.
- The hints of the playerlist keep showing when mouse is moved out of the list.. it's just a little annoying.
- It doesn't save playerlist resizes/positions (eg. when restarting the client).
- I used to debug with F2 and all the echo's. When the F2 window is external I have to resize my screens to show both.. because if I click somewhere in the screen F2 gets pushed to the back. Not sure if this will be annoying for some other people?
- After a while my keychecks seem to act weird, but I've already told you that in game, just reminding.

zokemon 04-11-2008 09:25 PM

Quote:

Originally Posted by Dan (Post 1385233)
- It doesn't save playerlist resizes/positions (eg. when restarting the client).

It's because when you set GuiWindowCtrl.isexternal, it sets the window's position to the mouse position because the GUI is actually at 0,0 of the external window. We need some way to be able to modify the window's position such as maybe externalx, externaly and externalpos (array of the two). resize() could also maybe be modified to change externalx and externaly instead of x and y when isexternal == true.

Quote:

Originally Posted by Dan (Post 1385233)
- I used to debug with F2 and all the echo's. When the F2 window is external I have to resize my screens to show both.. because if I click somewhere in the screen F2 gets pushed to the back. Not sure if this will be annoying for some other people?

Maybe there should be a alwaysontop variable? And priority is given to which ever alwaysontop variable is higher in the controls array (changed with pushtoback(), etc).

Quote:

Originally Posted by Dan (Post 1385233)
- After a while my keychecks seem to act weird, but I've already told you that in game, just reminding.

Graal has seemed to have problems with key checks a lot for many many versions. Most notably is the keydown2 sticking which I find most annoying when making a custom movement system. I always get players on my server going "help! I can't stop going up!" and I have to say "press up to unstick it".

cbk1994 04-11-2008 10:07 PM

Quote:

Originally Posted by Deas_Voice (Post 1385193)
why will you take awey the external playerlist?:frown:
i dont like the ingame playerlist >_<

You'll get use to it. With some improvements, it is much better since it will hopefully let servers customize it more.
Quote:

Originally Posted by Rapidwolve24 (Post 1385202)
Nooo. No scripted playerlist :(

It's actually not that bad.
Quote:

Originally Posted by Crow (Post 1385207)
Because the next client version has external windows.

And great they are :)
Quote:

Originally Posted by Rufus (Post 1385232)
If scripted RC is replacing regular RC, can you still keep the RC icon in the notification area tray down at the bottom right of the screen? I find that useful with PM's and just generally finding it. After looking at these screenshots, seems that has not been added.

Another idea for the playerlist, is if servers could place categories onto it (like Admins, Buddies, Guild) for situations like on Bomy Island and Kingdoms with their "Kingdoms", Era and their "Gangs" and Zodiac with their "Nations"; when the tag is worn it doesn't make sense to be in the 'Guild' category, as that's not what they are. If it was able to be scripted, it could be placed into the serveroptions which guilds fit into the new categories, like the staff guild list.

For example:
kingdomguilds=Dustari,Zormite,Pirates,Samurai
gangguilds=Los Carteles,Blazian Bandits,Black Holst
nationguilds=Seryl,Agara,Alseus

I agree, I like the idea of placing people into custom headings rather than just "Guild"

Crow 04-11-2008 10:56 PM

I demand some client options that you can change which will tell the default controls (F2 log, playerlist and so on) if they are external or internal. For example, since the scripted playerlist will used and the other one is most likely gone, I want that to be external. But I like having the F2 log window internal.

cbk1994 04-11-2008 11:00 PM

Quote:

Originally Posted by Crow (Post 1385447)
I demand some client options that you can change which will tell the default controls (F2 log, playerlist and so on) if they are external or internal. For example, since the scripted playerlist will used and the other one is most likely gone, I want that to be external. But I like having the F2 log window internal.

Noone cares what you demand, the rest of us are more important.

Why do you want the F2 window internal? :o

Dan 04-12-2008 08:54 PM

Quote:

Originally Posted by zokemon (Post 1385400)
It's because when you set GuiWindowCtrl.isexternal, it sets the window's position to the mouse position because the GUI is actually at 0,0 of the external window. We need some way to be able to modify the window's position such as maybe externalx, externaly and externalpos (array of the two). resize() could also maybe be modified to change externalx and externaly instead of x and y when isexternal == true.

Not really. V5 (new version is 5.2 or so) saved playerlist positions and screensize. The screensize is saved but the playerlist becomes small everytime I open it on another server. Stefan just needs to make it load at the last position and set the same width/height.

Quote:

Originally Posted by zokemon (Post 1385400)
Maybe there should be a alwaysontop variable? And priority is given to which ever alwaysontop variable is higher in the controls array (changed with pushtoback(), etc).

Good idea.

Quote:

Originally Posted by zokemon (Post 1385400)
Graal has seemed to have problems with key checks a lot for many many versions. Most notably is the keydown2 sticking which I find most annoying when making a custom movement system. I always get players on my server going "help! I can't stop going up!" and I have to say "press up to unstick it".

Not really what I ment, when moving (keydown(0 - 3) is pressed) sometimes the movement is breaking and it's acting 'shocky'. This only happens when the client is active for a while.

Crow 04-12-2008 10:52 PM

Quote:

Originally Posted by cbkbud (Post 1385449)
Why do you want the F2 window internal? :o

Because I'm used to it. I dont want an external window to float around above my Graal main window, maybe even bugging up and being non-visible when I click Graal. I want it internal.

cbk1994 04-13-2008 12:56 AM

Quote:

Originally Posted by Crow (Post 1385673)
Because I'm used to it. I dont want an external window to float around above my Graal main window, maybe even bugging up and being non-visible when I click Graal. I want it internal.

Fair enough, it's actually extremely convenient if you have a second monitor to put it on one side, and scripting on another.

Generally I put Graal & F2 on right monitor, script window on left.

I agree maybe internal is best if lacking a second monitor.

zokemon 04-13-2008 01:10 AM

Quote:

Originally Posted by Dan (Post 1385652)
Not really. V5 (new version is 5.2 or so) saved playerlist positions and screensize. The screensize is saved but the playerlist becomes small everytime I open it on another server. Stefan just needs to make it load at the last position and set the same width/height.

Open the clientrc and click on the GUI editor. Create a new GuiWindowCtrl and set isexternal to true. Now look at x and y. See how they are both 0? Try modifying them.

And yes, I'm using 5.205 and I don't see it doing what you say. The playerlist always appears at my mouse position when I hit F7 for the first time. If I close the playerlist and hit F7 of course it appears at the same place because that is only calling hide() and show() which is not modifying isexternal.

Dan 04-13-2008 09:11 PM

Quote:

Originally Posted by zokemon (Post 1385691)
And yes, I'm using 5.205 and I don't see it doing what you say. The playerlist always appears at my mouse position when I hit F7 for the first time. If I close the playerlist and hit F7 of course it appears at the same place because that is only calling hide() and show() which is not modifying isexternal.

That's why I told to fix it.. 'Save position and size'

zokemon 04-13-2008 09:24 PM

Quote:

Originally Posted by Dan (Post 1385856)
That's why I told to fix it.. 'Save position and size'

Adding externalx and externaly variables would make it easy to fix that ;)

cbk1994 04-13-2008 11:00 PM

Quote:

Originally Posted by zokemon (Post 1385859)
Adding externalx and externaly variables would make it easy to fix that ;)

I don't understand this exactly -- are you saying it isn't letting you change the x & y of an external window? It is generally working fine on Mac.

CORRECTION:

It will sometimes not allow, but most of the time it works.

zokemon 04-13-2008 11:35 PM

Quote:

Originally Posted by cbkbud (Post 1385878)
I don't understand this exactly -- are you saying it isn't letting you change the x & y of an external window? It is generally working fine on Mac.

CORRECTION:

It will sometimes not allow, but most of the time it works.

Quote:

Originally Posted by zokemon (Post 1385691)
Open the clientrc and click on the GUI editor. Create a new GuiWindowCtrl and set isexternal to true. Now look at x and y. See how they are both 0? Try modifying them.

Do this. I have only tried it on Windows OS though, not on Mac (can't get on any of my RCs with this Mac). The reason for this is (and Stefan explained this to me), and I'll say it again, The actual GUI is at 0,0 with-in the window container which is why if you modify the x,y it would just change the position with-in the container (which resets to 0,0 because it can't go out of the window bounds). The only reason width and height work is because Stefan had the window container resize automatically accordingly for the Gui's width and height.

Please don't make me explain this again.

cbk1994 04-14-2008 12:05 AM

Quote:

Originally Posted by zokemon (Post 1385884)
Do this. I have only tried it on Windows OS though, not on Mac (can't get on any of my RCs with this Mac). The reason for this is (and Stefan explained this to me), and I'll say it again, The actual GUI is at 0,0 with-in the window container which is why if you modify the x,y it would just change the position with-in the container (which resets to 0,0 because it can't go out of the window bounds). The only reason width and height work is because Stefan had the window container resize automatically accordingly for the Gui's width and height.

Please don't make me explain this again.

Hmm, is working fine on Mac.

DustyPorViva 04-14-2008 12:57 AM

What's with Graal opening windows at the mouse position? It's annoying. I hate it on RC.


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

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