Author Topic: Online Harp Character Generator  (Read 16858 times)

0 Members and 1 Guest are viewing this topic.

Offline markc

  • Elder Loremaster
  • ****
  • Posts: 10,697
  • OIC Points +0/-0
Re: Online Harp Character Generator
« Reply #20 on: December 28, 2009, 09:44:27 PM »
 IMO 10 is good or have an option to do 5,10,20, 50 or all on a screen. If that is possible.
MDC
Bacon Law: A book so good all PC's need to be recreated.
Rule #0: A GM has the right to change any rule in a book to fit their game.
Role Play not Roll Play.
Use a System to tell the story do not let the system play you.

Offline Rasyr-Mjolnir

  • Inactive
  • *
  • Posts: 0
  • OIC Points +0/-0
Re: Online Harp Character Generator
« Reply #21 on: December 28, 2009, 10:54:58 PM »
Yes, pagination is always good...

Offline jasonbrisbane

  • Senior Adept
  • **
  • Posts: 660
  • OIC Points +0/-0
  • Darkeen's Battlefield - still going strong.
    • Darkeen's Battlefield
Re: Online Harp Character Generator
« Reply #22 on: December 29, 2009, 07:42:59 PM »
Hi,

Im working on allowing editing and levelling up of characters so that I can insert a lot of characters fast.
Once I have 50 or so characters I can then write the Pagination section. No point writing it with 2 characters!

More options have been added, and tested (deleting characters for example).
Adding Levelling up now.

Screenshot of what the existing characters in an existing account looks like!
http://darkeen.homelinux.com/videos/untitled.jpg
--------
Regards,
Jason Brisbane
HARP GM & Freelancer
Author of "The Ruins of Kausur"
http://roleplayingapps.wordpress.com

Offline jasonbrisbane

  • Senior Adept
  • **
  • Posts: 660
  • OIC Points +0/-0
  • Darkeen's Battlefield - still going strong.
    • Darkeen's Battlefield
Re: Online Harp Character Generator
« Reply #23 on: January 01, 2010, 01:17:35 AM »
On the editting page, I am tempted to remove the borders so that the screen looks like a paper version of  a character sheet.
The disadvantage is that you cant readily determine which fields are to be editted and which ones cant be editted.

Should I simply show the border around each editable field and adjust the size of the character sheet (since all these fields will increase the width of areas with the extra pixels they consume i.e. the page will be bigger than the actual printable/viewable character sheet...)

Thoughts?
--------
Regards,
Jason Brisbane
HARP GM & Freelancer
Author of "The Ruins of Kausur"
http://roleplayingapps.wordpress.com

Offline Rasyr-Mjolnir

  • Inactive
  • *
  • Posts: 0
  • OIC Points +0/-0
Re: Online Harp Character Generator
« Reply #24 on: January 01, 2010, 06:05:30 AM »
Should I simply show the border around each editable field and adjust the size of the character sheet (since all these fields will increase the width of areas with the extra pixels they consume i.e. the page will be bigger than the actual printable/viewable character sheet...)

Thoughts?

You could always color the background of fields to be edited. Take a look at the Quick Reply Box in the "Yabb SE" theme.

Here is a practical example...
Code: [Select]
<input type="text" name="foo" size="50" maxlength="500" style="background-color:#b0c4de;">
<br><br><br>
<input type="text" name="foo" size="50" maxlength="500" readonly style="background-color:#fffff;">

It results in the following:




The editable text box is a different color from the readonly one.

Offline jasonbrisbane

  • Senior Adept
  • **
  • Posts: 660
  • OIC Points +0/-0
  • Darkeen's Battlefield - still going strong.
    • Darkeen's Battlefield
Re: Online Harp Character Generator
« Reply #25 on: January 01, 2010, 08:48:58 AM »
Thanks Rasyr. I like it. I'll use that!

I'm using background-color: #dfefff;
Its a lighter shade of blue as all the darker blue is a bit harsh on the eyes...

Im not going to be updating this for a few days. I've got a section that show you blank or"sample" text for new fields and existing text for when your editting characters.
Ive now got to work on how to update the entire character database when you click Submit and this will take a while to get the SQL correct.

You should be able to create an account and then click Create New to see what the edit screen looks like (only the data in the light blue squares is different!)

See you soon. ;D
--------
Regards,
Jason Brisbane
HARP GM & Freelancer
Author of "The Ruins of Kausur"
http://roleplayingapps.wordpress.com

Offline jasonbrisbane

  • Senior Adept
  • **
  • Posts: 660
  • OIC Points +0/-0
  • Darkeen's Battlefield - still going strong.
    • Darkeen's Battlefield
Re: Online Harp Character Generator
« Reply #26 on: January 04, 2010, 12:26:30 AM »
Hello,

Update: Skills page is now viewable!

Only those skills that the character has are displayed so no "blank" skills are shown.
Ideally once operational, a Newly Created character will have all the default skills (as per the HARP Core skill chart) and he will be allowedd to add in further skills, or change the names of existing ones (I.E. Animal Handling: ___ can be changed to A.H.: Equine (as it is required to be learned per genus (IIRC).)

Spells will be the primary reason for adding new skills.

Am SERIOUSLY thinking of adding in a SPELLS Category so that ppl can show spells together...
But then ppl will want to show the types of spells in one area (universal, then clerical, then mage, etc) - useful for characters with multiple professions.

At this point I will NOT add the SPELLS category, but it will be easy to add in later......
--------
Regards,
Jason Brisbane
HARP GM & Freelancer
Author of "The Ruins of Kausur"
http://roleplayingapps.wordpress.com

Offline markc

  • Elder Loremaster
  • ****
  • Posts: 10,697
  • OIC Points +0/-0
Re: Online Harp Character Generator
« Reply #27 on: January 04, 2010, 02:34:29 PM »
You could add a category for each type of spell as well as add the ability to add new category if needed.

MDC
Bacon Law: A book so good all PC's need to be recreated.
Rule #0: A GM has the right to change any rule in a book to fit their game.
Role Play not Roll Play.
Use a System to tell the story do not let the system play you.

Offline jasonbrisbane

  • Senior Adept
  • **
  • Posts: 660
  • OIC Points +0/-0
  • Darkeen's Battlefield - still going strong.
    • Darkeen's Battlefield
Re: Online Harp Character Generator
« Reply #28 on: January 04, 2010, 08:14:54 PM »
Hi,

Idea: Rather than submitting a request to update the character sheet in bulk (where any issue could result in you loosing all the changes/updates you made), I was thinking of forcing an : this.form.onupdate() request for each field. Thus as you change/update a field it will send the request and update that field.

This will:
- mean you dont loose changes if you've just updated the entire sheet and skills...
- its easier for me to program and doublecheck fields if I'm only checking a few fields rather than the entire sheet with every possibility all at once...

Obviously the later is the main reason for me asking this, but I wanted to know what others do...

Do you make wholesale changes to entire databases (this will be half the tables in the DB changed/updated at once), of should I go along the path of updating individual fields at a time?

PS; the speed wont be a factor - its quite fast on my VERY slow server box....

PPS: can you let me kow what the correct protocol is? What do you do? What do you think is better? Safer?

PPPS: the skills page shows ACROSS the entire page as there is only one category for the character. Multiple categories are split across the page to a max of two columns wide (like the original sheet). This means that it will only show skills that you have... Eventually I will populate the skills list so that all the default skills will be transferred and it wil actually look like the original sheet, except that it wont have spaces for blank skills - you will be able to add skills in so this is superfluous...

« Last Edit: January 04, 2010, 08:21:49 PM by jasonbrisbane »
--------
Regards,
Jason Brisbane
HARP GM & Freelancer
Author of "The Ruins of Kausur"
http://roleplayingapps.wordpress.com

Offline jasonbrisbane

  • Senior Adept
  • **
  • Posts: 660
  • OIC Points +0/-0
  • Darkeen's Battlefield - still going strong.
    • Darkeen's Battlefield
Re: Online Harp Character Generator
« Reply #29 on: January 07, 2010, 12:04:31 AM »
Well, Im almost done...

The categories and skills and some character info can be updated. Just need to test the other character fields (make sure it all updates correctly).

Todo:
- include an Add Skills button/option to allow extra skills to be added - this is how spells will be added too.
- Add all HARP CORE skills to the default_skills table in the DB.
- Allow people to add weapons to home page (weapons 1-5-updated) - currently you cant edit this...
- Include a Failed login attempts screen for security.
- Include a change password section
- Add creation date to character list so you can see when characters were created.
- Add extra Skills screen that allows you to add skills to characters. maybe allow up to 5 skills at once from a drop down list. (you can edit then names of skills and the stats (i.e. everything) when you are in the EDIT mode for characters!)
- Finally, update the Help pages to show details, link to the Design document and FAQ's about what certain fields mean and why you have to enter data that way (Equipment field is one that comes to mind!)

Then test it a few times and its finished!.
« Last Edit: January 07, 2010, 12:10:36 AM by jasonbrisbane »
--------
Regards,
Jason Brisbane
HARP GM & Freelancer
Author of "The Ruins of Kausur"
http://roleplayingapps.wordpress.com

Offline markc

  • Elder Loremaster
  • ****
  • Posts: 10,697
  • OIC Points +0/-0
Re: Online Harp Character Generator
« Reply #30 on: January 07, 2010, 01:16:10 PM »
Yes during testing try and break it not just to see if it world correctly.
MDC
Bacon Law: A book so good all PC's need to be recreated.
Rule #0: A GM has the right to change any rule in a book to fit their game.
Role Play not Roll Play.
Use a System to tell the story do not let the system play you.

Offline jasonbrisbane

  • Senior Adept
  • **
  • Posts: 660
  • OIC Points +0/-0
  • Darkeen's Battlefield - still going strong.
    • Darkeen's Battlefield
Re: Online Harp Character Generator
« Reply #31 on: January 10, 2010, 08:47:03 PM »
More has been done.

Added:
Add skills option - add a blank skill to a category and you can add the details in the Edit screen!
Delete Skills option - for when you accidentally add a skill to the wrong category, etc
added character created date to screens.

TODO:
- Accounts - see failed logon attempts, change your password
- Help page - update with the help details...
- allow people to add weapon details to page 1 of character sheet.

The  test again from scratch and I'm done...

PS: the code looks like spaghetti but it works and I can fix it later...
--------
Regards,
Jason Brisbane
HARP GM & Freelancer
Author of "The Ruins of Kausur"
http://roleplayingapps.wordpress.com

Offline enoch

  • Neophyte
  • *
  • Posts: 35
  • OIC Points +0/-0
    • just me
Re: Online Harp Character Generator
« Reply #32 on: January 11, 2010, 12:23:18 PM »
Okay, I've created my account and added my first character (Stu). Here are my initial observations:

1) Why are stat bonuses not whole numbers? I'm assuming you're using some formula not found (or that I can't find) in the rulebooks.

2) Refreshing the page every time I change a field gets to be quite the exercise in patience. I understand and don't argue with why you did this from your post above, but from a user perspective it greatly slows down entering and updating a character. I've never done it before, but you can use Ajax to "dynamically" write to the database without having to reload the page.

3) My PC's Resistance Rolls on the front page aren't pulling the correct numbers.

4) Eye color doesn't want to save.

5) BMR saves, but doesn't show or calculate the other paces on the "display" page.

6) A "Back" or "Home" button/link on the character page would be nice.

Other than that, it's looking good! I'm impressed at the progress you've made in a few short weeks!

Offline jasonbrisbane

  • Senior Adept
  • **
  • Posts: 660
  • OIC Points +0/-0
  • Darkeen's Battlefield - still going strong.
    • Darkeen's Battlefield
Re: Online Harp Character Generator
« Reply #33 on: January 11, 2010, 04:21:57 PM »
I saw your character and saw that too. I was about to ask how you got my program to NOT display whole numbers? (!)  :D - I'll investigate as all values returned should be returned as INTEGER's....- FIXED

- Ive never used Ajax, but then again I never used PHP so I'll look into it.

- Yes, I changed the way it works so I need to revisit this in testing. Same goes for the Weapons on the front page too... This is on my TODO list... probably be next week before I look at this...

- Eye color? I'll look into it. - FIXED

- Yes,. I havent added the other BMR rates yet... - FIXED

- As per the note on the front page the HARP logo IS the back button. That way it allows you to print the character page without the extra buttons on the page!

I hope its going to be better, but its a start!
 ;D
« Last Edit: January 11, 2010, 04:34:34 PM by jasonbrisbane »
--------
Regards,
Jason Brisbane
HARP GM & Freelancer
Author of "The Ruins of Kausur"
http://roleplayingapps.wordpress.com

Offline jasonbrisbane

  • Senior Adept
  • **
  • Posts: 660
  • OIC Points +0/-0
  • Darkeen's Battlefield - still going strong.
    • Darkeen's Battlefield
Re: Online Harp Character Generator
« Reply #34 on: January 11, 2010, 10:52:11 PM »
Accounts Section - Completed.

TODO:

- Help FAQ's
- Weaponry for Page 1
- character pagination (25 characters at one time)
- Skills to be populated onto page 1 (i.e. resistance rolls, etc)

FUTURE Version: use Ajax to refresh character data.

--------
Regards,
Jason Brisbane
HARP GM & Freelancer
Author of "The Ruins of Kausur"
http://roleplayingapps.wordpress.com

Offline jasonbrisbane

  • Senior Adept
  • **
  • Posts: 660
  • OIC Points +0/-0
  • Darkeen's Battlefield - still going strong.
    • Darkeen's Battlefield
Re: Online Harp Character Generator
« Reply #35 on: January 12, 2010, 08:01:38 AM »
Fixed:
- Help screen is now fully populated.
- Equipment can now be entered AND displayed (silly me forgot to display the stuff!)
- Languages and resistance skills are now fixed good and proper  ;D (on page one). That is to say that the fields will only show up as blank and if you want to see them, either scroll down to page two or print it out and manually add it yourself. Fixing this requires modifying the database and almost half the files in this program.
« Last Edit: January 12, 2010, 08:18:16 AM by jasonbrisbane »
--------
Regards,
Jason Brisbane
HARP GM & Freelancer
Author of "The Ruins of Kausur"
http://roleplayingapps.wordpress.com

Offline jasonbrisbane

  • Senior Adept
  • **
  • Posts: 660
  • OIC Points +0/-0
  • Darkeen's Battlefield - still going strong.
    • Darkeen's Battlefield
Re: Online Harp Character Generator
« Reply #36 on: January 12, 2010, 08:23:44 AM »

Left TODO:
- Apply weaponry to be editted and displayed on page 1 (the DB allows it I just havent gotten around to doing it yet).
- Allow for pagination (I need to learn a bit more of PHP for this and will probably release the program as ver 0.5 beta before adding this in - but I will do it before my "final" version.
- Test functionality including escape characters in fields, etc...

The final step:
- pass program to those who have shown interest to see how I can rewrite different parts of it.... (more programmer-ish and php friendly, etc)

I may release it before all the changes have been made to the final(last) step, depending on the nature of the changes.... ???
--------
Regards,
Jason Brisbane
HARP GM & Freelancer
Author of "The Ruins of Kausur"
http://roleplayingapps.wordpress.com

Offline jasonbrisbane

  • Senior Adept
  • **
  • Posts: 660
  • OIC Points +0/-0
  • Darkeen's Battlefield - still going strong.
    • Darkeen's Battlefield
Re: Online Harp Character Generator
« Reply #37 on: January 12, 2010, 05:49:20 PM »
Weaponry can now be editted and is displayed on page one. (up to five different "weapons").

The program will now be tested for full functionality (and to make sure it doesnt break easily....)

Once this has been confirmed pagination will be investigated.
--------
Regards,
Jason Brisbane
HARP GM & Freelancer
Author of "The Ruins of Kausur"
http://roleplayingapps.wordpress.com

Offline jasonbrisbane

  • Senior Adept
  • **
  • Posts: 660
  • OIC Points +0/-0
  • Darkeen's Battlefield - still going strong.
    • Darkeen's Battlefield
Re: Online Harp Character Generator
« Reply #38 on: January 17, 2010, 05:27:35 PM »
Hello All,

The HARP character sheet now is updated again and does NOT autoupdate the fields in the character sheet page one.

The skills still do as they are a bit more problematic.

Also I am working on changing the display of the "Weapons1-5" section on the bottom Left hand corner of page 1.
So Yes, it looks bad now..but it will get better..

PS: the url of the test environment is:
http://darkeen.honmelinux.com/yahcs

PS: I may add in a Notes/News page for details and to make the homepage as clean as possible.

Pagination now works (as much as I have tested it).
I have cleaned up some details on the pages (now that I have a real character in the system) so that they look a lot better.

PLEASE try it out and let me know what you think and what could be done to make it better....
--------
Regards,
Jason Brisbane
HARP GM & Freelancer
Author of "The Ruins of Kausur"
http://roleplayingapps.wordpress.com

Offline jasonbrisbane

  • Senior Adept
  • **
  • Posts: 660
  • OIC Points +0/-0
  • Darkeen's Battlefield - still going strong.
    • Darkeen's Battlefield
Re: Online Harp Character Generator
« Reply #39 on: January 18, 2010, 07:32:22 AM »
YAHCS - Yet Another Harp Character Sheet


... has moved into beta.

Yes, its finished.

Now Id like people to create characters and tell me what you think of it...

What could be improved?
What dont you like about it?
What could I add?

Thanks.
--------
Regards,
Jason Brisbane
HARP GM & Freelancer
Author of "The Ruins of Kausur"
http://roleplayingapps.wordpress.com