Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Debugging Help
#error
Hello
?
I have a problem with this table called npc2.tab, it's a table made to create population type that can be encountered in my personnal AD&D like universe called Xitragupten
It's in french (for the names terms etc but for variable / function in general i use english)
The zip with the .tab file + an image which display the error and a txt file (with the text you are currently reading)is uploaded in the ~Debug folder
It dont call external table
The coding is awful sorry for this :) i dont try to make elegant code it's raw tables who call table who call table etc.
The problem i dont achieve to solve is the generation of the class of the npc and the god he worship, for some reason it work well for some but not for some others, if you look at the image with some generated result you can see on the red lines that theses infos are missing?
A good line is such :?
full civil ?? Homme ? Humain asiatique ? Chaotique neutre ? Cr¨¨me (5/5) L'indicible MoineA jeune adulte (19-30) niveau 6 niveau apparent 1-7?
For the bad line, in the previous line "L'indicible MoineA" would be missing?
The lines where the god is selected start at 682 (and there is 6 type god which are selected relativly to alignement of course)
And as the god and the class of the npc is selected in the same tables it's normal that either both are shown or not
From the last search i've done to try to debug it, it could be related to the variable %sexe_applique% which could be not interpreted for an unknow reason
Anyway if somebody could help me on this, it would be awesome :)
Thanks in advance
Zothike
? |
Not sure if this is it but 6 different things:
|sexe_applique=homme| |sexe_applique=femme| |sexe_applique=androgyne homme| |sexe_applique=androgyne femme| |sexe_applique=androgyne indetermine| |sexe_applique=sexe cache| the group only takes into account for 4 options ;god_lg #{If~%sexe_applique%=androgyne femme?[god_lg_homme] / {If~{Dice~1d2}=1?[god_lg_homme] / [god_lg_femme]}} #1,{If~%sexe_applique%=homme?[god_lg_homme] / {If~%sexe_applique%=femme?[god_lg_femme] / {If~%sexe_applique%=androgyne homme?[god_lg_femme] / {If~%sexe_applique%=androgyne femme?[god_lg_homme] / {If~{Dice~1d2}=1?[god_lg_homme] / [god_lg_femme]}}}}} 1,{If~%sexe_applique%=homme?[god_lg_homme]/} _ {If~%sexe_applique%=femme?[god_lg_femme]/} _{If~%sexe_applique%=androgyne homme?{If~{Dice~1d2}=1?[god_lg_homme] / [god_lg_femme]}/} _{If~%sexe_applique%=androgyne femme?{If~{Dice~1d2}=1?[god_lg_homme] / [god_lg_femme]}/} |
;sexe_tous
100, Homme ?? |sexe_applique=homme| 100,Femme ?? |sexe_applique=femme| 1, Androgyne Homme ? |sexe_applique=androgyne homme| 1, Androgyne femme ? |sexe_applique=androgyne femme| 1, Androgyne ind¨¦termin¨¦ ? |sexe_applique=androgyne indetermine| 1,cach¨¦/masqu¨¦ <span style="color:red;">[sexe_tous_cache]</span>? |sexe_applique=sexe cache| |
¿ªÔÆÌåÓýHo! yes thanks a lot will fix that it¡¯s prolly that, and if not it will
help anyway for correctness of the output
Thanks again? |
to navigate to use esc to dismiss