-
August 23rd, 2023, 09:21 #1021
Before the first error add a Debug like this:
Debug.chat("rSource: ", rSource);
-
August 23rd, 2023, 09:22 #1022
And right after the
function AbwehrHandler(rSource, rTarget, rRoll)
add the following:
Debug.chat("rSource: ", rSource);
Debug.chat("rTarget: ", rTarget);
Debug.chat("rRoll: ", rRoll);
Are they all giving you what you expect?
It looks like rSource isnt being sent?
-
August 23rd, 2023, 09:26 #1023
- Join Date
- May 2020
- Posts
- 37
I try and tell
-
August 23rd, 2023, 09:32 #1024
- Join Date
- May 2020
- Posts
- 37
here is the screenshot with the debug to chat command . first line is the "angriffHandler" (line 22) #1021 from damned
the rest ist #1022 "function AbwehrHandler"
both rSource and rTarget are nil
SC03.png
i dont no why. before update (yesterday evening) everything worked and i didnt change anything.
disclaimer: all artwork is licensed (bought on graphic river) so i think its no problem to show the screenshots.
-
August 23rd, 2023, 09:49 #1025
it is difficult to trace the source of the problem without seeing the whole project, but you can try to install the previous version to check if it is something related to the update, here is a link:
https://mega.nz/file/msRDjJyL#DUrClm...6lEVFiNp3BqU3k
you must uninstall the current version first.Ruleset Wizard
The Ruleset Development Environment
www.rulesetwizard.com
Ruleset Wizard Tutorials
Damned's Ruleset Wizard Tutorials
-
August 23rd, 2023, 10:07 #1026
- Join Date
- May 2020
- Posts
- 37
I roll back to 0.8.8. everything work as expected. no more errors or nil Values occured
-
August 23rd, 2023, 10:23 #1027
that is worrying, would you mind sharing the project (or a part of it) to try to find the source of the problem? I would need the part where the dice roll is generated.
Ruleset Wizard
The Ruleset Development Environment
www.rulesetwizard.com
Ruleset Wizard Tutorials
Damned's Ruleset Wizard Tutorials
-
August 23rd, 2023, 10:31 #1028
- Join Date
- May 2020
- Posts
- 37
thank you so much for your help. I can now use the RW as normal, perhaps there is a solution in future for coming updates, but for now I can play. If it is helpful, I can provide my extension, but be aware i am without coding experience so it is a self-made solution i build after watching videos from real coders like you and damned.
BTW: the Wizard is fullfilling my dream of making an extension for my self-written ruleset on a wonderful VTT, which allows such things. And I am damned so thankful for his video series (esp. the christmas specials). i learned enough to build this and unterstand quotes here in forum or in forums like stackoverflow to find a solution working for me for all the things and automation I want to insert.
-
August 23rd, 2023, 10:34 #1029
- Join Date
- May 2020
- Posts
- 37
@psicodelix: sure I will provide you everything you need for trouble shooting. should I send you the whole extension data as pm? or only the snippet with my roll Handlers? I tried to give my extension a similar structure as you did with the OGL example.
-
August 23rd, 2023, 11:26 #1030
- Join Date
- May 2020
- Posts
- 37
Handlers
I attached in a zip all my used roll Handlers. If you need the whole extension, tell me. Do not hesitate to ask me any question about my weird structure...
My system uses competetive rolls, so I build all rolls like an attac roll but changed the not used DC against the results of the former roll of the opponent. I manage the data transfer in the CT by (hidden) number fields, cross-linked to the NPC/ charsheet. The damage rolls are quite normal I guess, but uses rTarget so I attached them too. The values "LP" and "AP" are hitpoints and endurancepoints. The SF value is a damage multiplier (damage is in most situations based on the roll difference)
name explanation:
InitHandler = initiative
AngriffHandler = attac
AbwehrHandler = defense (parry action)
AusweichenHandler = defense (evade action)
ResistenzHandler = resistance
SkillHandler = skill
SchockHandler = shocked
FertigkeitDefensivHandler = competetive defense skill roll
AbwehrAstralHandler = defense (magic)
BFHandler/ PZHandler = breakage
I hope this gives a clou , what I did within the rolls.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks