Limit on aliases/triggers?

General discussion about the Genesis Web Client located at https://www.genesismud.org/play/

Moderator: Eowul

Forum rules
- Use common sense and be respectful towards each other at all times, even when disagreeing.
- Do not reveal sensitive game information. Guild secrets, player seconds are examples of things not allowed.
Post Reply
mallor
Rising Hero
Posts: 371
Joined: 27 Jun 2011 13:20

Limit on aliases/triggers?

Post by mallor » 07 Nov 2017 16:48

Hi.

It seems like there's a hard-coded limit for size of aliases/triggers, around 70k. If request to save settings exceeds 70k, it fails with response "Incomplete response received from application".
Is it intended? I mean I can easily have up to 70k JS code in aliases/triggers.

Thanks,
Mallor's player.

Saimon
Wanderer
Posts: 52
Joined: 26 Jul 2017 23:08

Re: Limit on aliases/triggers?

Post by Saimon » 07 Nov 2017 20:30

There was already rised this issue in past:

https://www.genesismud.org/forums/viewt ... 843#p35843

mallor
Rising Hero
Posts: 371
Joined: 27 Jun 2011 13:20

Re: Limit on aliases/triggers?

Post by mallor » 07 Nov 2017 20:36

The fact it still hasn't been fixed is quite alarming. 70k text is nowhere near enough to be able to maintain even minimal amount of scripts.

User avatar
Drazson
Expert
Posts: 263
Joined: 24 Jan 2016 21:27

Re: Limit on aliases/triggers?

Post by Drazson » 08 Nov 2017 01:41

mallor wrote:The fact it still hasn't been fixed is quite alarming. 70k text is nowhere near enough to be able to maintain even minimal amount of scripts.
Wait, 70k characters in total for the sum of the aliases or for each? :P

mallor
Rising Hero
Posts: 371
Joined: 27 Jun 2011 13:20

Re: Limit on aliases/triggers?

Post by mallor » 08 Nov 2017 08:17

Drazson wrote:
mallor wrote:The fact it still hasn't been fixed is quite alarming. 70k text is nowhere near enough to be able to maintain even minimal amount of scripts.
Wait, 70k characters in total for the sum of the aliases or for each? :P
Why do people keep asking that? :D The total size of json that is being sent to server when you save your settings, so it's all triggers/aliases/whatever is sent as well.

User avatar
Drazson
Expert
Posts: 263
Joined: 24 Jan 2016 21:27

Re: Limit on aliases/triggers?

Post by Drazson » 08 Nov 2017 15:16

mallor wrote:Why do people keep asking that? :D The total size of json that is being sent to server when you save your settings, so it's all triggers/aliases/whatever is sent as well.
We gotta seize the day, grasp the opportunities to learn. (lol am i drunk)
Uhm to be honest I use most scripts I can think of needing and I'm just fine.
However, I don't pvp tho but there's no scripting there now is it.

If the server can take it then I think it's a worthy expansion. MAYBE some widely used stuff could get integrated for casual usage though, just like "l" for "look". If wizzies think it's a possibity then we can create a post with (hopefully sensible) suggestions. Hmm... maybe that's irrelevant to your issue though, since those are mostly aliases with little size contributions. Anyway.

mallor
Rising Hero
Posts: 371
Joined: 27 Jun 2011 13:20

Re: Limit on aliases/triggers?

Post by mallor » 08 Nov 2017 15:26

1200 lines of JS code is about 70k of text, there you go. ONLY 1200 lines :)

User avatar
cotillion
Site Admin
Posts: 310
Joined: 04 Mar 2010 01:14

Re: Limit on aliases/triggers?

Post by cotillion » 19 Nov 2017 17:38

Should be fixed in 0.4.9.

User avatar
Shanoga
Wizard
Posts: 168
Joined: 03 Mar 2014 13:03
Location: US West

Re: Limit on aliases/triggers?

Post by Shanoga » 19 Nov 2017 20:08

cotillion wrote:Should be fixed in 0.4.9.
Awesome response time. Thanks!

mallor
Rising Hero
Posts: 371
Joined: 27 Jun 2011 13:20

Re: Limit on aliases/triggers?

Post by mallor » 19 Nov 2017 21:22

I've already implemented a workaround that compresses my aliases, but still thanks :)

Post Reply
http://tworzymyatmosfere.pl/przescieradla-jedwabne-z-gumka/