Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Rescripting the Playerlist (https://forums.graalonline.com/forums/showthread.php?t=57414)

ApothiX 02-01-2005 05:11 AM

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.

falco10291029 02-01-2005 05:18 AM

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

ApothiX 02-01-2005 05:22 AM

Quote:

Originally Posted by falco10291029
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 :-/

The playerlist is already a weapon, and I know it's possible to rescript it, so there isn't much point in me recreating one from scratch

HoudiniMan 02-01-2005 05:54 AM

Quote:

Originally Posted by ApothiX
The playerlist is already a weapon, and I know it's possible to rescript it, so there isn't much point in me recreating one from scratch

If it's already a weapon, is it also already in NC?

Probably obvious and already checked in there, but ya never know.

ApothiX 02-01-2005 06:39 AM

Quote:

Originally Posted by HoudiniMan
If it's already a weapon, is it also already in NC?

Probably obvious and already checked in there, but ya never know.

That was the first thing we did ;)

Skyld 02-01-2005 05:54 PM

Quote:

Originally Posted by ApothiX
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.

I thought requesttext(); asked the server for things..?
The playerlist is a scripted part of the client, I think.

Ajira 02-01-2005 10:09 PM

Quote:

Originally Posted by Skyld
I thought requesttext(); asked the server for things..?
The playerlist is a scripted part of the client, I think.

Well, we thought it may have been a clientside weapon script held in NC, that's why we used it. Also, I think Okie meant to title the thread "Editing the Playerlist Script".

ApothiX 02-01-2005 10:19 PM

Quote:

Originally Posted by Ajira
Also, I think Okie meant to title the thread "Editing the Playerlist Script".

Yes, that is a more suitable title. It was late when I wrote that ;)

Curt1zzle 02-01-2005 10:42 PM

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?

Python523 02-01-2005 11:58 PM

Quote:

Originally Posted by Curt1zzle
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?

You can easily rescript it with the new engine.

Rick 02-02-2005 12:19 AM

Quote:

Originally Posted by Python523
You can easily rescript it with the new engine.

How?

Slash-P2P 02-02-2005 12:22 AM

I bet it will show up under 'GUI Scripts' once the scripted RC is enabled.

Ajira 02-02-2005 01:44 AM

Quote:

Originally Posted by Slash-P2P
I bet it will show up under 'GUI Scripts' once the scripted RC is enabled.

How is the script accessed to begin with?

HoudiniMan 02-02-2005 01:52 AM

Quote:

Originally Posted by Ajira
How is the script accessed to begin with?

I would check your Graal folder, if it's at all editable yet.

Ajira 02-02-2005 02:24 AM

Quote:

Originally Posted by HoudiniMan
I would check your Graal folder, if it's at all editable yet.

I've checked before, but I guess checking again couldn't hurt. o_O


All times are GMT +2. The time now is 04:53 AM.

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