Goals text is capped / too short

No replies
Wuzzy
Wuzzy's picture
User offline. Last seen 2 weeks 4 days ago. Offline
Joined: 2012-06-20
Posts: 1301

I want to report a bug regarding the Goals variable in Lua scripts.

It seems that the Goals text is being violently cut off at some point, so its length is limited.

Here's a demonstration using a Goals text (I just used a random text from the forums):

https://i.imgur.com/unuRFaM.png

Note the shown text (including line break characters) is 255 characters long.

Here is the source code of the Lua script:
http://lpaste.net/raw/139826

Alternatively, you could use my Game Hacks script and put in a lot of modifiers:

saucerfuel=inf, birdyenergy=inf, rcplanetimer=inf, strategictools=t, teamcure=t, sharehealth=t, nojump=t, noknock=t, g=50, a=t, e=15s, l=200

(above line is 141 characters long)

Again, the goals text is cut off at some point.

Hi, I am a Hedgewars developer. Smile

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]