PDA

View Full Version : Error Messages after latest Update



Padre Moto
December 15th, 2021, 19:25
Hello all,

The latest update has generated some errors.

I tried loading as usual.

One file is from using the Combat Tracker and trying to input an injury value.

The other is from the initial load up of the game itself.

Cheers,
Padre Moto

Padre Moto
December 16th, 2021, 16:06
So I unloaded all modules, including GURPS Core and No Dice.

No error on the initial load, but this error appears when trying to drag and drop a character into the CT.

YAKO SOMEDAKY
December 16th, 2021, 16:56
would you be able to load one extension at a time so I can see which one(s) have a problem so that I can fix and upload a new version to FORGE.

Padre Moto
December 16th, 2021, 20:15
So when I load the game without the GURPS Core extension, there is no error window on game start up.

However this error appears when I try to add a character to the combat tracker.

Padre Moto
December 16th, 2021, 20:18
When I load the game with GURPS Core only, this is the error window on start up.

YAKO SOMEDAKY
December 16th, 2021, 20:52
If I saw sure the error is in the sidebar and in the absence of a png file (This referring to Core) As for the Combat Tracker error it uses the term .getActor and should be used the term .resolveActor I will try to fix the referring extensions I created.

Padre Moto
December 17th, 2021, 23:12
Am I the only one experiencing this error?

YAKO SOMEDAKY
December 18th, 2021, 19:54
I'm also having errors, regardless of extension or not... all right I'll need to r solve the extension problem as soon as the ruleset problem is solved.

50457

And here's the error with the theme loaded....

50458

YAKO SOMEDAKY
December 18th, 2021, 22:25
Padre Moto I believe I had fixed the error!

Description of Attached:

1 - GURPS.pak

The Ruleset created by Roonke, but with a description of the System in Minor Chat. Removal of sidebar (error message in console). Change from .getActor to .resolveActor (Which is why Combat Tracker was giving error).

* Changing chat messages to a row only for the GURPS Audio extension to work properly, i will soon change to when the scrolls are "disputes" Example: CHARACTER 1 dispute "ST" against CHARACTER 2. But this change will take a long time!

2 - GURPS Adjustments Unity.ext

Extension that makes visual adjustments to the ruleset layout.

3 - GURPS Audio.ext

The good old Audiooverseer from Celestian, but "adapted" to work in the GURPS Ruleset (he also needed corrections).

4 - GURPS Core Unity.ext

The Wonderful extension that changes the gurps ruleset theme, but with the removal of files that caused errors.

5 - GURPS Dice Only Unity.ext

Extension created by Roonke to remove the data and keep only the d6. I made changes to be used in conjunction with GURPS Adjustments Unity.ext changing the docking of d6.

YAKO SOMEDAKY
December 18th, 2021, 22:26
Here are the other extensions!

Description of Attached:

1 - GURPS Shops Unity.ext

This extension allows the creation of shops and services so that players can spend their rich money during their adventurous foray. This extension is also an adaptation of the 5E Stores extension.

2 - GURPS XP Award.ext

This extension allows XP to be distributed to characters through Quests. Changes to perform a calculation between points to spend and points spent still need to be "redone".


* Note: Some files still have the Unity designation that will be removed over time, as previously two versions of them were created (one for Fantasy Grounds Classic and one for Fantasy Grounds Unity).
** Note: The GURPS Adjustments Unity.ext extension will still change from sending messages on a line just to make it easier to use the GURPS Audio.ext extension triggers.

Padre Moto
December 20th, 2021, 03:58
Thanks Yako!

I will give these a try.

Padre Moto
December 20th, 2021, 05:36
Yako,

It seems to work fine, thank you.

The No Dice extension has the die located higher on the VTT surface than what I remember with the original extension. Before it was located below the chat window. Is that intentional?

YAKO SOMEDAKY
December 20th, 2021, 07:52
Yes, the change was intended to be used in conjunction with the tweaks extension, which is an extension that changes the layout, changes the anchorage (points where the images snap) when on the panel and also the spacing between character portraits, thus allowing for longer names. But I made new changes, now the sidebar message doesn't appear anymore and all that's left is to change the XP extension that calculates between unspent points and spent points and also rewards the characters through the sheet part. I still plan to make minor changes to the Tweaks extension. But that will be for the future. At the moment I only dream of updating the ruleset and adding new features.

YAKO SOMEDAKY
December 20th, 2021, 12:09
Padre Moto I changed the attached files to the corrected versions, but some still need "minor" tweaks and put a brief description of what each of them are.

NuclearNebula
December 21st, 2021, 23:06
Cool, this was very helpful as I have begun to experiment with GURPS ruleset within FGU.
Thank you for the hot fixes.

SceiccoNero
January 6th, 2022, 21:19
Hi yako, since the last update I have a problem with Character Sheets. I am unable to roll attack rolls from the combat table. For NPC, this is solved adding them on the combat tracker (I can roll from there), but for PC there is no way to roll an attack roll (every other roll works fine).
This happens both with your version of the ruleset and with ronnke's.

YAKO SOMEDAKY
January 7th, 2022, 13:02
In fact, the scrolls are not working, but unfortunately my knowledge is limited to fix this problem.

SceiccoNero
January 7th, 2022, 16:14
Ouch. Dire news, indeed. Thanks

YAKO SOMEDAKY
January 16th, 2022, 15:02
I made some changes to the extensions and uploaded them.

HalC
March 21st, 2022, 12:07
Hi Yako2020 - I've been attempting to use the SHOPS extension recently, and have been running into issues as of late. Below are the warnings I'm getting when I open shops and such...


[3/21/2022 7:03:08 AM] [ERROR] Script execution error: [string "campaign/scripts/shop_main.lua"]:65: attempt to perform arithmetic on global 'nVal' (a string value)
[3/21/2022 7:03:08 AM] [ERROR] Script execution error: [string "campaign/scripts/shop_main.lua"]:65: attempt to perform arithmetic on global 'nVal' (a string value)
[3/21/2022 7:03:08 AM] [ERROR] Script execution error: [string "campaign/scripts/shop_main.lua"]:65: attempt to perform arithmetic on global 'nVal' (a string value)
[3/21/2022 7:03:08 AM] [ERROR] Script execution error: [string "campaign/scripts/shop_main.lua"]:65: attempt to perform arithmetic on global 'nVal' (a string value)
[3/21/2022 7:03:08 AM] [ERROR] Script execution error: [string "campaign/scripts/shop_main.lua"]:65: attempt to perform arithmetic on global 'nVal' (a string value)


Help?

Thanks,

Hal

YAKO SOMEDAKY
March 21st, 2022, 16:13
HalC please try the GURPS - ALL-IN-ONE, soon I will correct the independent extensions.

HalC
March 21st, 2022, 17:54
HalC please try the GURPS - ALL-IN-ONE, soon I will correct the independent extensions.

Hi Yako2020,
Good news / bad news:

The good news is, I downloaded the All_in_one - tried it, and got the exact same error. The bad news is - having tried the all in one, I found that I will likely stick to using only the shops one simply because I'm not too keen on the following:

I use the other dices for other things including my random generators in Tables.

I'm not too keen on having the "modifiers" box inside of the chat area. I unlocked the chat window and tried to move it away thinking that the modifier's box was atop of it - was't true. The box was showing up inside of the chat window no matter where I moved it. So that's one feature I'm not to keen on - but that others may very well like.

Ultimately, the problem lies in the script itself. I think you're trying to use a string field as a numeric field instead of using a function like "Value(String)" where you subtract X from Y to get a Z result. In testing it, I found that we could have an "Item" in the shop, then have a player select the item, then hit the buy button. It did not subtract the cost of $600 from the character's money amount of 5000 listed in the "inventory" area. In fact? What did happen was this:

First, we had only one line showing that the character had $5000. After the player bought the item for $600, it failed to deduct $600 from $5000, but also added a "new" line for money where the data showing was a simple "$" with spaces on it. I wish now I had done a screen shot for you - but it effectively added a new money entry line in the inventory area.

I like what you've done, and even in its current state (either Shops alone, or All_in_one) - it still generates the error of trying to do a math operation on a string variable.

bmos
March 21st, 2022, 18:39
I think you're trying to use a string field as a numeric field instead of using a function like "Value(String)" where you subtract X from Y to get a Z result.The lua code in FG for this conversion is tostring(number) and tonumber(string) :)

YAKO SOMEDAKY
March 23rd, 2022, 00:19
I increased the width of some fields and went to test the store and managed to sell normally, I also added the HP field in defense for the shields and over time I will try to apply damage to it. Over time (weekend) I will review inventory and store individually and enter these adjustments for shields and re-enable the individual extensions in FORGE.

YAKO SOMEDAKY
March 24th, 2022, 14:15
HalC when I made this extension of "Adjustments" I did it thinking about the following, due to the problem with people who say that FG is difficult, but what is actually a problem is that people don't read or make the effort (yes, unfortunately this is my group), so I thought if I adjust a few fields here and there, will I have a better experience?
So I started with the possibility of the characters having longer names, or maybe first and last names!?!
So I decided to change the image anchoring in panel mode, where it sticks on the right side of the chat and on the right side of the sidebar, that is, it doesn't "lose" area.
In many times (even after playing many adventures over the years) it was always a martyrdom to ask for a test in the Dice Tower or to ask them to apply a modifier (Generic and Situational) it was always minutes of waiting to hear one I didn't think, so I thought, let's make these "items" visible to players, that's why I pinned them to the chat, and yes I removed the data and left only the GURPS Dice, unfortunately it's not possible to anchor the die in the chat, but I'm still thinking of a another location for that dice.
And now regarding the "shops" I made a video using my extension and Ronnke's ruleset, and first of all SORRY FOR MY HORRIBLE ENGLISH!

Youtube Link: https://youtu.be/0R6F3cwaW1o

HalC
March 24th, 2022, 18:59
Hi Bruno,
Do not feel badly about your English - My Portuguese is far worse than your English. ;)

Just so you understand my thoughts on this - you're doing something that for now, I cannot. If someone cooks a meal for me, I don't complain about it - because they are being kind to me for even cooking in the first place.

I like what you are doing with the SHOPS extension, and even if it does have some problems with it while I'm using it, it works well enough for what I need that I won't complain. If I mention that there are some error messages popping up, that is more for your sake so that if you want to fix it, you can. If you can't get to it for a while, that's fine. If you aren't having problems with it while I am - then it is possible that you have a far more customized set up than I have for my Fantasy Grounds.

Heck, it took me a while to migrate from Fantasy Grounds Classic to Fantasy Grounds Unity! ;)

I'll hold off from the other extensions - but I will keep using the Shops one at the very least. Some day, when I'm not feeling really stressed out from work (which unfortunately, is a common occurrence - I will try and figure out how to work with extensions and modify the stuff for my own use.

For now, my use of FGU is limited to about twice a month for gaming in one campaign, and maybe once per week in a second campaign that is strictly one on one gaming in a cyberpunk campaign.

For now, I appreciate what you're doing - when you can do it. I'm also VERY thankful that the work being done for GURPS users is steadily improving to the point where I plan to buy the final product once it is made available. Why? Because all of you who have been working to make it what it is, have been so generous with your time and your unceasing efforts deserve SOME reward.

Well, I should have been in bed long ago, it is going to be another long night at work I'm afraid. Catch you all soon.

YAKO SOMEDAKY
March 24th, 2022, 21:41
So from what I understand the error is occurring in FGC's GURPS?