help with openexternalpm()
ok, so I'm just working with some stuff and I try to get a pm window open when a player just double clicks another, here's what I got:
PHP Code:
|
PHP Code:
|
No dice, still nothing happens
|
Try this, have someone PM you and chat "checkpms"...
PHP Code:
|
I have made the ("-Playerlist").anypmswaiting() a public function so that should return if there are any unread PMs.
The correct format is to use ("-Playerlist").openPMWindow({array of player objects}, bool ismasspm); (note the ismasspm value is ignored if reading a received PM). On the current client this may not always produce an external PM window as currently shown on the Windows client, but the TServerPlayer.openexternalPM(bool display PM) function doesn't work properly on Mac or Linux I don't think (where the scripted playerlist is used already). In the next client the scripted playerlist windows are all external by default anyway. Tig has also made some changes to the scripted playerlist in an attempt to make it more like the Windows one (which is currently uploaded on Login 2). |
Quote:
|
Quote:
|
Quote:
The scripted one is glitchy, clumsy, and ugly. Something tells me a lot of people aren't going to be happy using it, including me. |
Quote:
It doesn't make sense to have a Delphi playerlist on the Windows client and not on the Mac and Linux clients though because then we have to implement a Gtk and a Cocoa playerlist separately in addition, and that makes code portability a nightmare and updating the playerlist logic even more of a nightmare. |
Quote:
I find it quite glitchy, especially on Mac, though that's probably mostly the external windows - mainly focus problems, clicking doesn't select, you have to click once to select the window, then click again to select. Quote:
|
Quote:
Quote:
Quote:
|
Scripted things like the playerlist wouldn't be so bad if the GUI's were more responsive like the real OS counterparts. They always feel like they're scripted rather than being part of the 'real' interface, if that makes sense.
|
Selecting also doesn't work in the scripted playerlist. Holding shift while selecting players just "adds" more to the selection, while holding ctrl should do that job, and shift should select a range between click one and click two. Ctrl does nothing. That's my main concern.
|
I'm not a fan of the scripted playerlist, and the login 2 one doesn't look much different. Also, there's an 'Options' button on the login 2 playerlist but it opens up a Mass PM when you click it, might want to look into that.
As for the removal of the dockability, that's a rather huge downgrade considering the amount of positive feedback that came from it when it was first released. Personally, I always have my playerlist docked to the side when I'm on. |
Quote:
Quote:
|
All times are GMT +2. The time now is 03:09 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.