Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graal V4 Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=143)
-   -   RC script flags limit (https://forums.graalonline.com/forums/showthread.php?t=65154)

Yen 04-02-2006 11:07 PM

RC script flags limit
 
Would it be possible to increase or even remove the limit of characters you can save on a single line in a player's script flags?

At the moment, it's REALLY limiting my development. I'm unable to give myself more than 3 items with RC, because the fourth will be cut off.

Skyld 04-03-2006 07:34 PM

How are you storing items?

Warcaptain 04-03-2006 07:46 PM

The variable limit is only on RC not in-game. My chat system, if you load the players attributes in RC, will cut off a large portion of the chat when you save.

Admins 04-03-2006 11:18 PM

It was planned to add edit-player-flags and edit-player-weapons menu item for the RC2 playerlist, can do that sometime soon

Yen 04-04-2006 12:07 AM

Quote:

Originally Posted by Skyld
How are you storing items?

clientr.items=proper name,archetype path,quantity

Warcaptain 04-04-2006 05:16 AM

Eh.. so you want to have one huge long list for each item?

Thats a bit.. silly? If you are using archetypes each item should have its own unique index.

Yen 04-04-2006 08:44 PM

clientr.items="Training Sword",weapons/sword/trainingsword,1,"Potion of Life",items/lifepotion,31

clientr.muditem_Training Sword="Training Sword",zod-trainingsword.png,zodsword3.png,...
clientr.muditem_Potion of Life=blah

When you log on or pick up an item, it loads all of your item's variables from the server.
clientr.items is a list of items you have in your possession, it references the systems to the proper string and holds quantity.

Skyld 04-04-2006 09:19 PM

Quote:

Originally Posted by Yen
clientr.items="Training Sword",weapons/sword/trainingsword,1,"Potion of Life",items/lifepotion,31

clientr.muditem_Training Sword="Training Sword",zod-trainingsword.png,zodsword3.png,...
clientr.muditem_Potion of Life=blah

When you log on or pick up an item, it loads all of your item's variables from the server.
clientr.items is a list of items you have in your possession, it references the systems to the proper string and holds quantity.

Maybe you should store less information in your clientr.items string and more in your clientr.muditem_ strings. Hell, you could even move it all into clientr.muditem_ strings, and then just use getstringkeys("clientr.muditem_") to get all of the muditem strings.

Yen 04-04-2006 11:03 PM

Even if I did, I still have to save the quantity and quantity of each item somewhere.

The muditem_ strings are reloaded at each log on, in case of an update. I'd have to save the quantities elsewhere, regardless. If I do that, I'd have to put the name to go with the quantity.

No matter how you look at it, the length is too limiting

Warcaptain 04-04-2006 11:44 PM

As I said, the length is only for saving attributes in RC.. otherwise I don't believe there is a limit.

On another note, the way I have done things like that in the path is to change the parameters so its like
clientr.item_index=AMMT,itemdata
and when it loads the data, it would just save the value of param[0] in the string already there.. then load clientr.item_index as the value saved on the server.. then add the value of params[0] at the beggining.

napo_p2p 04-05-2006 12:36 AM

Quote:

Originally Posted by Yen
No matter how you look at it, the length is too limiting

Which is the real issue at hand (not the details of a mud system).

I'm with Yen. Updating flags with RC shouldn't cut them off.

Warcaptain 04-05-2006 04:37 AM

Yes, I agree.

This is why I do not use flags on mana realms x_x

Inverness 04-14-2006 12:12 AM

Indeed, please fix this.
=^.^=

ApothiX 04-14-2006 01:15 AM

I'm having this problem with my mudlib system and playerflags too. Way I 'solved' it was remove set attributes from all admins, and made a GuiScript that lets you modify playerflags and such.

napo_p2p 04-14-2006 01:42 AM

Quote:

Originally Posted by ApothiX
Way I 'solved' it was remove set attributes from all admins, and made a GuiScript that lets you modify playerflags and such.

Creative :D.

But annoying... :eek:

Moondeath_2 04-14-2006 02:15 AM

Quote:

Originally Posted by ApothiX
I'm having this problem with my mudlib system and playerflags too. Way I 'solved' it was remove set attributes from all admins, and made a GuiScript that lets you modify playerflags and such.

Indeed that is very creative but you'd have to be on player to set someones attributes. Seems annoying for some people who get lazy such as me. :spam:

Yen 04-14-2006 03:32 AM

Quote:

Originally Posted by ApothiX
I'm having this problem with my mudlib system and playerflags too. Way I 'solved' it was remove set attributes from all admins, and made a GuiScript that lets you modify playerflags and such.

:P Lol
I thought of that, too. I think I'm gonna remove attributes from everyone, anyway.

Warcaptain 04-14-2006 04:44 AM

x_x I think its a way better idea to have it all in-game.

Thats how Mana Realms will be.. almost every aspect of the game will HAVE to be changed in-game aside from scripts.. an even that is able to be changed in-game.

If you are too lazy to be on as a player on a pw you work at.. you shouldnt be working there x_x

Theres no reason to NOT be on your player if you are on the pw as staff x_x No staff should be just sitting on RC.

ApothiX 04-15-2006 07:21 PM

I encourage my staff to use Client-RC as much as possible anyway. My attributes setter and such are attached right on to my Client-RC (along with some other nifty things, like an archetype editor ;)) <3 Client-RC.

Inverness 04-27-2006 12:46 AM

Changing RP settings (Items, Descriptions, Topics, Types) is annoying since you have to do it using plain text and it makes it kinda hard to look through after awhile, maybe going to make a GUI for it on player unless we can somehow make plug-ins to RC...


All times are GMT +2. The time now is 11:53 PM.

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