![]() |
Editing the Playerlist Script
I remember reading somewhere this was possible, but I have no idea how.
On the 3.04 client, you used to have the "Playerlist" weapon in your inventory, so we tried using requesttext("weapon", "Playerlist"); and like a hundred other names for the weapon, to get it, but we got a "weapon does not exist" error message. Any information regarding rescripting the playerlist would be much appreciated. |
well you're best off doing it from scratch. if you just want it to be a limited functionality list just use allplayerscount, and allplayers[i], from there it's easy. If you want it to be full functionality of the current one I am sure that it's possible, you will just have a big script to make :-/
|
Quote:
|
Quote:
Probably obvious and already checked in there, but ya never know. |
Quote:
|
Quote:
The playerlist is a scripted part of the client, I think. |
Quote:
|
Quote:
|
I'm thinking the script for the playerlist was built into the client.
When someone says it's a script, they don't mean GScript.... At least I don't believe that's how it is. It's...impossible simply using GScript. Stefan, back me up? |
Quote:
|
Quote:
|
I bet it will show up under 'GUI Scripts' once the scripted RC is enabled.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
I have figured out how to completely rescript it, but I don't know how to access the current script. Loriel, is that possible? (To rescript it, you could do the following:) NPC Code:PlayerList_Window.destroy(); atleast in theory, it should work, haven't tried it yet. |
1 Attachment(s)
I have attached the latest version of the scripted playerlist, with a guild section. Add it as weapon named "-Playerlist" and add it to your inventory, then it will replace the default playerlist which is compiled into the exe.
It is currently not possible to know if a PM is a mass PM because the script is not allowed to access the PM text itself, but I will add a function for being able to know it and display a blue bubble instead. We are working on a far superior playerlist for v2.3 and v3.1 with the possibilty to see players on other servers, but this script might still be interesting to make staff tools or special group chats. It is also planned to enable new scripting engine and GUI stuff in v2. |
Quote:
|
Quote:
|
I need to learn how to use the gui commands they'd really hbe helpful. I'm starting to understand how it works but not to the extent to use it :(
|
Quote:
|
How does one practice something that one has no ability to do?
|
Quote:
|
The documentation contains only the commands, not what they do. Reading example i've tried, anjd some format things I do not get.
|
Just reference to other scripts. Play with their values. Then eventually start changing the Gui control type, playing with new commands.
If you come across any commands you don't understand, play with them. Insert them, change their values, see what changes they make. It is essentially practice. And it does work. You just have to want to learn. |
Actually I can't, they dont work for me for some odd reason. the scripted rc doesnt even work. No one can figure out why.
|
Quote:
Quote:
|
I don't mean to think you stupid, but the error reporter only works on servers with GS2 enabled :whatever:
|
Has anyone edited the RC script at all and could have possibly caused it to break?
|
Let's see, how does one get and learn GS2
Get on a server with GS2 and practice. To get GS2 on your server You need a good scripting team, that can do GS2 To get a good scripting team that can do GS2 They need to practice with GS2 To practice with GS2 they need a server with GS2 To get a server with GS2 they need a good scripting team that can do GS2 .... .... .... |
Quote:
|
I have a server with GS@, i got the rc script straight from the document stefanb provided, and tried it on two servers. As for practicing I don't have time because Im busy worrying aobut what to do about all the damned bugs.
|
Quote:
Did you change visible = false; to true? |
Of course I have. All I see however is this little red thing in the lower left corner of the creen. Besides everyone else can see the rc.
|
the rc on my server was defaulted to true
|
Quote:
Quote:
(I hope you are using the 3.1 client, aswell. Otherwise, I will have to shoot you.) |
They all just fire the weapon called RC. When I do it does nothing. I of course am using 3.1 when i try it.
|
Know what this makes me think of... Poor Stefan, with the global playerlist... He'll be cluttered with messages all the time.
Something I see practical in this, however, is letting all the buddy's who're online to be put on the list -- Like that, you can see if they're on at all. Otherwise, 300 people on the playerlist would be a tweed bit annoying. |
| All times are GMT +2. The time now is 07:15 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.