LOGOmasthead2021

Being the Official Discussion Forum for Astonishing Swordsmen & Sorcerers of Hyperborea


Visit us at the HYPERBOREA web site! Also check out our new HYPERBOREA 3E Kickstarter!





You are not logged in. Would you like to login or register?

2/05/2020 7:53 am  #101


Re: pc or pregen generator

Caveman wrote:

gizmomathboy wrote:

Caveman wrote:

Yes each was 1 1...

Cheers
 

 
Cavemen, if you run into your problem again let me know about what time it happened and I'll look at my logs.

Okay as I in Scotland its 3 minutes to high noon or 11:57 am.  

Got a (amongst others, but obvious did not show attributes):

class: cleric
level: 2
race: Esquimaux
Did not meet class requirements

 

 


Ok, so in the logs there is:

=========================
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:55 - In create_character
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:56 - class    : random
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:57 - method   : 1
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:58 - strict   : 1
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:59 - game_data: HASH(0x55c232f99b30)
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:60 - debug    : 0
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:62 - create dispatch table
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:39 - create dispatch table
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:67 - check class validity
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:87 - roll character
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:105 - In _roll_character
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:107 - Rolling for cleric using method 1
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:108 - game_data HASH(0x55c232f99b30)
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:109 - dispatch_ref HASH(0x55c233056a58)
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:184 - sub name is method_1
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:191 -  ST: 9
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:191 -  DX: 7
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:191 -  CN: 9
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:191 -  IN: 12
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:191 -  WS: 8
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:191 -  CH: 10
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:127 - Attribute set is 'normal'
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:129 - attributes_set_ref is HASH
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:131 - call check_class_requirements
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:275 - Let's check class requirements
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:297 -  Called check_type_
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:328 -  Called get_sorted_attribute_requirements
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:348 - normal attribute check
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:356 -   Checking WS
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:357 -   requirement 9
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:358 -   attribute_value 8
[2020/02/04 06:57:47] Hyperborea/PC/Generate.pm:371 - Sorry you can't be a cleric, WS to low
=========================

Since the rolls didn't meet the requirements for the class it didn't spit out the attributes and gave you that message.

That's the behaviour I expect it to do.

What were your expectations?

The Strict 2 option will keep re-rolling until a set meets the requirements.

Strict 3 just raises the stat to meet the class requirements.


What? Me worry?
 

2/05/2020 9:53 am  #102


Re: pc or pregen generator

I got it to make a PDF! From stats I input into the drop-downs (one of our PCs, not generated by the web app). Druid. One note: It filled in 8 for Saving Throw rather than Hit Dice. HD was left blank. HP were not carried over, though I had entered them.

 

2/05/2020 10:54 am  #103


Re: pc or pregen generator

Handy Haversack wrote:

I got it to make a PDF! From stats I input into the drop-downs (one of our PCs, not generated by the web app). Druid. One note: It filled in 8 for Saving Throw rather than Hit Dice. HD was left blank. HP were not carried over, though I had entered them.

Can you share the stat block with me? PM me if you want. I can check things...

edit: Actually I can dig in the logs and find out what you put in and then figure out where my stuff went wrong.

Last edited by gizmomathboy (2/05/2020 11:03 am)


What? Me worry?
     Thread Starter
 

2/05/2020 12:27 pm  #104


Re: pc or pregen generator

In case it helps

15
11
12
16
17
16
Druid
Kimmeri-Kelt
M
30
44
63923

 

2/05/2020 1:09 pm  #105


Re: pc or pregen generator

Ah, it looks like level isn't specified.

So, I'm wondering where tf it's getting the saving throwing number from.

I don't thinking I'm inferring level from XP.

So, since no level is defined or inferred then level is 0, so no HP.

Lemme ponder how I want to solve this specific case (XP and HP defined but no level). Then how to generalize things (the checks and such).


What? Me worry?
     Thread Starter
 

2/05/2020 1:26 pm  #106


Re: pc or pregen generator

gizmomathboy wrote:

Ah, it looks like level isn't specified.

So, I'm wondering where tf it's getting the saving throwing number from.

I don't thinking I'm inferring level from XP.

So, since no level is defined or inferred then level is 0, so no HP.

Lemme ponder how I want to solve this specific case (XP and HP defined but no level). Then how to generalize things (the checks and such).

Ah, yes, when I input the level, the data are in the right spots.

Can we input spells?

 

2/05/2020 1:31 pm  #107


Re: pc or pregen generator

Handy Haversack wrote:

gizmomathboy wrote:

Ah, it looks like level isn't specified.

So, I'm wondering where tf it's getting the saving throwing number from.

I don't thinking I'm inferring level from XP.

So, since no level is defined or inferred then level is 0, so no HP.

Lemme ponder how I want to solve this specific case (XP and HP defined but no level). Then how to generalize things (the checks and such).

Ah, yes, when I input the level, the data are in the right spots.

Can we input spells?

Rather: what's the syntax for entering spells? Seems like it's pulling some from someplace!

 

2/05/2020 2:45 pm  #108


Re: pc or pregen generator

Damn Handy! :-)
For spells I'm grabbing from the stuff BlackAdder has in the Hyperborean Encounters resource for NPCs.

I just give a limited amount of info. Partly for space reasons and partly not to trod on Ghul's IP.

That being said. I do have that info for all spells in 2e.

I just don't have it grabbing that from the stat file....yet.

It is high on my TODO list. When I do get it in there it will just be something like:

Spells:
  - Burning Hands
  - Fireball
  - Precipitation


After I suss out the check I need to make you found early I'll look at that.

Fucking slave drivers... ;-)
 


What? Me worry?
     Thread Starter
 

2/05/2020 3:48 pm  #109


Re: pc or pregen generator

I hope you were coding while typing all of that. Time is money, Gizmo!

No worries, pal! I spent some time messing about since Manny's about to hit 7th level druid and his character sheet is a Dada masterpiece frozen in a comet from the realm where stars shine only inward and planets made of magic circle strange melodies.

He needs to copy it over is what I'm saying.

Wait till you hear my thoughts on animal companions for the sheet!

And thanks for your efforts!
 

 

2/05/2020 3:55 pm  #110


Re: pc or pregen generator

The spells stuff shouldn't be *too* hard.

Just about making time between now and gary con.
 


What? Me worry?
     Thread Starter
 

2/05/2020 4:39 pm  #111


Re: pc or pregen generator

Gizmo, if you search for the "Character Sheet of Wondrous Automation" thread, I added a lot of one-line spell descriptions there.

 

2/06/2020 6:57 am  #112


Re: pc or pregen generator

gizmomathboy wrote:

Since the rolls didn't meet the requirements for the class it didn't spit out the attributes and gave you that message.

That's the behaviour I expect it to do.

What were your expectations?

The Strict 2 option will keep re-rolling until a set meets the requirements.

Strict 3 just raises the stat to meet the class requirements.

Well glad it working as planned, but I just wanted the attributes to show whether successful or failure:

Example: the program is on random and it selects a fighter (1, 1) and the attributes rolled by it is: ST 8, DX 13, CN 14, IN 17, WS 13, CH 15. The program will ignore this and state it a fail basically no character was created.

I was just hoping that even though it regards it as a fail, that the rolled attributes (especially as it 3d6 rolled and placed in order) could be used by me to create a Magician, but if there not shown, I cannot use them.

It not important, it is just I; whom is pernickety and horde any rolls I do. I still have scrapes of paper with rolls from 30 to 40 years ago hidden in cupboards!  
 

 

2/06/2020 9:52 am  #113


Re: pc or pregen generator

Handy Haversack wrote:

I hope you were coding while typing all of that. Time is money, Gizmo!

No worries, pal! I spent some time messing about since Manny's about to hit 7th level druid and his character sheet is a Dada masterpiece frozen in a comet from the realm where stars shine only inward and planets made of magic circle strange melodies.

He needs to copy it over is what I'm saying.

Wait till you hear my thoughts on animal companions for the sheet!

And thanks for your efforts!
 

 
Handy, it doesn't look to hard to do.

Once I get it out of my testing I'll let you know. I'll also update which ever page has the really detailed example.

For now I'll keep my spell info but I'll consult with Ghul about using info you suggested.

Also, I added a check to determine level if it is left blank but XP is given. Additionally, if no level is given then it should default to 1...I should probably test that more.


What? Me worry?
     Thread Starter
 

2/06/2020 9:53 am  #114


Re: pc or pregen generator

Caveman wrote:

...
Well glad it working as planned, but I just wanted the attributes to show whether successful or failure:

Example: the program is on random and it selects a fighter (1, 1) and the attributes rolled by it is: ST 8, DX 13, CN 14, IN 17, WS 13, CH 15. The program will ignore this and state it a fail basically no character was created.

I was just hoping that even though it regards it as a fail, that the rolled attributes (especially as it 3d6 rolled and placed in order) could be used by me to create a Magician, but if there not shown, I cannot use them.

It not important, it is just I; whom is pernickety and horde any rolls I do. I still have scrapes of paper with rolls from 30 to 40 years ago hidden in cupboards!  
 

 
I think I can put in a button or something to show stats that don't meet requirements.


What? Me worry?
     Thread Starter
 

2/07/2020 5:52 am  #115


Re: pc or pregen generator

gizmomathboy wrote:

Caveman wrote:

...
Well glad it working as planned, but I just wanted the attributes to show whether successful or failure:

Example: the program is on random and it selects a fighter (1, 1) and the attributes rolled by it is: ST 8, DX 13, CN 14, IN 17, WS 13, CH 15. The program will ignore this and state it a fail basically no character was created.

I was just hoping that even though it regards it as a fail, that the rolled attributes (especially as it 3d6 rolled and placed in order) could be used by me to create a Magician, but if there not shown, I cannot use them.

It not important, it is just I; whom is pernickety and horde any rolls I do. I still have scrapes of paper with rolls from 30 to 40 years ago hidden in cupboards!  
 

 
I think I can put in a button or something to show stats that don't meet requirements.

Great, that be good!
 

 

2/15/2020 7:38 pm  #116


Re: pc or pregen generator

Well, in my continuing effort to avoid Gay Con prep...

I did roll up a ton of pc's (selected 29...cut that down to 18...need to cut that down some more I think).

I then figured I needed some names. So....I added Colin Chapman's Name generator to the mix.

You can do it separately: https://www.gizmomathboy.com/pc_gen/name_form

I added gender to the stats generation form so a name will get generated as well.

Caveman, it will take a bit to get "keep failed stats" button/choice. They way I check and valid it that...make it a bit harder than I thought. So it might have to wait until after Gary Con for me to throw enough time at it. Sorry.


What? Me worry?
     Thread Starter
 

2/16/2020 6:36 am  #117


Re: pc or pregen generator

gizmomathboy wrote:

Caveman, it will take a bit to get "keep failed stats" button/choice. They way I check and valid it that...make it a bit harder than I thought. So it might have to wait until after Gary Con for me to throw enough time at it. Sorry.

That a mis-spell on Gary?

No problem Giz, if you can do it, you can do it and no rush... 

Cheers.

 

2/20/2020 3:27 pm  #118


Re: pc or pregen generator

Ok, done some more work on this since I am in "make pregens" mode and finally deciding to address some of the stuff I was ignoring.

It should be handling MV better now, especially for barbarians and monks.

Most of the work has been monk related actually.

I did decide on a way to deal with weapon mastery.

You stick [w] (weapon mastery) or [g] (grand mastery) at the end of the line for a weapon.

I also added an HP_rolls thing to track the rolls for hp by level.

As always, let me know if things are not working for you are any changes you might suggestion.

For an example, here is my ranger pregen:

class: ranger
name: Zennxonna Xilltos
level: 2
Race: Common
Gender: female

ST: 10
DX: 18
CN: 13
IN: 13
WS: 14
CH: 12

HP: 22

HP_rolls:
  - 10
  - 10

Gear:
  - <a>studded armour
  - <hm>hand axe x3
  - <l>long bow[w]
  - arrow quiver
  - arrows x12
  - backpack
  - bandages
  - blanket
  - soft leather pouch
  - large sack
  - torches x3
  - wineskin (full)


What? Me worry?
     Thread Starter
 

3/23/2020 7:36 pm  #119


Re: pc or pregen generator

I think I found an relatively painless way to import stats into a roll20 character sheet.

https://github.com/joesinghaus/roll20-api-scripts/tree/ChatSetAttr/ChatSetAttr

I was looking for a way to import the pregens for an event and looked around tonight some more. It worked once I sorted out some stuff.

Now to have my pc_gen stuff spit out the commands to feed chat.

The downside is that you need a pro level account because this is accessing the API. I think just the GM needs it. I think players can use the commands to edit/update their assigned character sheet.


What? Me worry?
     Thread Starter
 

3/23/2020 7:39 pm  #120


Re: pc or pregen generator

gizmomathboy wrote:

I think I found an relatively painless way to import stats into a roll20 character sheet.

That's Awsome Gizmo!!!


-- 
BlackKnight, AKA Sausage
Older than Dirt, Crusty, and set in my ways. Been playing TTRPGs for over 45 years...
 

Board footera





“HYPERBOREA” is a registered trademark of North Wind Adventures, LLC. “Astonishing Swordsmen & Sorcerers of Hyperborea,” “AS&SH,” and all other North Wind Adventures product names and their respective logos are trademarks of North Wind Adventures, LLC in the USA and other countries. ©2021 North Wind Adventures, LLC.