Official ICE Forums

Systems & Settings => HARP => HARP Software => Topic started by: jasonbrisbane on December 15, 2009, 02:04:43 AM

Title: Online Harp Character Generator
Post by: jasonbrisbane on December 15, 2009, 02:04:43 AM
Hello,

I am playing with the idea of creating an online character creation program which would (eventually, if it was accepted by ICE) hosted on an ice subdomain.

I am looking at the following:

Objective:
Create a character creation program online that allows you to create a character and save it online, level it up online and allow you to print it out (possibly to a PDF which you can save and/or print at your own convenience).


It would be written with Apache, Mysql, Php in mind as that is what I have to work with and this has produced some wonderful prpograms that I am happy with so I would use those same mechanisms to create this.


I have a few questions that I would like peoples opinions on:

What would you like to see as "Stage One"?
- A blank character sheet that you could save and "undo" that as only fields that you can edit yourself?
Benefits: allows you to create Racial & Profession Templates and Training Packages without administrator modifications;
Drawbacks: have to manually enter details and keep track of expenditure such as ranks spent, DP's remaining, etc with possibility of creating errors.

The following would also apply (to make it easier for me to write, basically - others could rewrite the code later if you want):
RESTRICTIONS: Only one character Save per level. Going back to level one would give you a warnign that all other levels will be erased and no other Levels would remain (creating a Level ten character and then realising you made a mistake and need to modify level 1 will auto erase levels 2-10).

- A complete character generator as per HARP Core allowing to auto calculate  benefits and penalties for race, professions, talents and training packages without the option to add your own:
Benefits: Easy to use the basic HARP and good for new players
Drawbacks: fails to make use of other books and rules. Hard to make adjustments if you want to include house rules for adolescence skills, etc...

- a complete character gerator including all existing harp and cyradon books
Benefits: looks better and more efficient
Drawbacks: locks in a preset rule system. Cant be made GPL etc due to ICE IP, hard to modify as it requires someone to agree to the ICE IP to access to the source to make changes. Any errors have to be corrected by the programmers...


Currently I am going with option 1.

It will be:
* easier to program
* easy for others to make changes
* code can be GPL'ed as ICE data would be in the SQL data tables, not in the code!
* I will allow an checkbox for Favored Categories for calculating DP's.
* Would try to allow manual Skills additions for Spells, other Skills, house skills, etc. (Only way I can see it working really!)

For the Printing option., I would try to use a PDF option. I have seen other programs do this and they dont have special code so I might try to scavenge their code to see how they did it...

Opinions people?
Can you see ways to improve this?


Title: Re: Online Harp Character Generator
Post by: Rasyr-Mjolnir on December 15, 2009, 05:10:23 AM
Character Saving -- I would suggest that incrementing the level of a character requires that the previous level be saved, and that a "new character" is created.

For example, you want to create Rarrg the 5th level Fighter. You start at level one, do the development. He is saved as Rarrg 1 and you increment him to level 2. Once that he done, he is saved as Raarg 2 and you increment him again.

Somebody else coming along is allowed to view all created characters, and so he does a search for a Fighter, and sees Rarrg 1, Rarrg 2, Raarg 3, Raarg 4, and Raarg 5 on the list of those available for him to look at.

Note: Only the person who created the character should be allowed to ever update him. This would require a login system, and a permissions system of sorts.


Side Note: CharGen utilities have ALWAYS been allowed.  ;D
Title: Re: Online Harp Character Generator
Post by: Mando on December 16, 2009, 12:25:26 AM
You could perhaps start with a very "simple" tool many might need: a skill bonus calculator utility. Let user change or add skill names. You also have to handle stats changes through levels. Special bonuses entered by hand, to make it house rule-neutral and talent modification neutral too. Available DPs handled basically: you enter available DPs for skills at each level by hand. If you add in adolescent ranks, spells and training packages, this already makes a fairly nice piece of work.

IMHO, the whole issue with online tools is that they somehow have to improve the user experience when compared to spreadsheets tools. That's why the main issue beyond coding and data management is, IMHO again, user interface. I thought really seriously going on with Flex and its amazing set of built in controls and components allowing you to build a perfect and modern UI with little coding effort. Its perfect XML data integration, allowing for easy handling of delegating data entry to others and even easy handling of specific rule sets by user modification of XML files is also a big plus. And it's now open source, as you can download a free sdk. Scripting is mostly Javascript style, not so hard to learn if you don't already know it. And you can even compile your code as a desktop Air application, making it usable offline on many OS'es, or soon on handheld devices.

Whatever your choice of coding tool, going XML would really be nice, building a standard foundation for HARP tools in the future. If you need XML data sets, I have some available, as might be the case for the online role playing tools teams. And if you stick with your PHP coding idea, version 5 handles XML very correctly now, and OOP makes building a tool step by step an easier task. Keep database for user management.
Title: Re: Online Harp Character Generator
Post by: markc on December 16, 2009, 12:44:51 AM
 IMO it should be pure HARP with no additional rules or allow you to add rules by picking which books you use in your game.

 Very basic would be the ability to track ranks per level as well as training packages [or a TP generator that you could save TP's, or submit TP's to be saved] and any other basic rules. IMO you can map the data cells to the official character sheet and you are done.

MDC 
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on December 17, 2009, 12:32:10 AM
Character Saving -- I would suggest that incrementing the level of a character requires that the previous level be saved, and that a "new character" is created.

For example, you want to create Rarrg the 5th level Fighter. You start at level one, do the development. He is saved as Rarrg 1 and you increment him to level 2. Once that he done, he is saved as Raarg 2 and you increment him again.

Somebody else coming along is allowed to view all created characters, and so he does a search for a Fighter, and sees Rarrg 1, Rarrg 2, Raarg 3, Raarg 4, and Raarg 5 on the list of those available for him to look at.

Note: Only the person who created the character should be allowed to ever update him. This would require a login system, and a permissions system of sorts.


Side Note: CharGen utilities have ALWAYS been allowed.  ;D

You've read my mind!  ;D

I'm creating a design document, including screenshots.
I'll use the HTML HarpChar sheet as it means I dont have to worry about re-creating the wheel!

Once I get the basic design doc ready with some basics that I need I'll publish it.
That way if something happens to me (heaven forbid) then others can take over.

PS: would it be worthwhile creating as sourceforge project for this? Does anyone else want to offer assistance?
or should I ask that AFTER I've posted the design doc so people can see the "very basic" plan?


Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on December 18, 2009, 09:04:35 AM
Design specification is now available for preview at:

http://darkeen.homelinux.com/videos/design.odt (http://darkeen.homelinux.com/videos/design.odt)

Can the programming gurus please have a look and advise what I should include?
Remember that this is a fairly simple web app (enter data, save it, display it, print option, create users, etc)

Thanks.
Title: Re: Online Harp Character Generator
Post by: enoch on December 19, 2009, 11:30:52 PM
It looks pretty good for a start, but I have two questions/concerns for now:

1) What about spells? Will the be handled as skills under the Mystical Arts category, or will they be left out for now?

2) Why not auto calculate stat bonuses? (NB #2)

That's all for now.
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on December 20, 2009, 06:56:08 AM
Thanks Enoch,

Spells will be treated as Mystical Arts.
I have debated whether to create a seperate Category called "Spells" and then simply print any skill part of the "Spells" category on a seperate sheet, effectively making the character sheet three pages.
For spells to work in any rate, there must be the ability for either:
- user chooses a "Category" to add and the category UNiversal, cleric, warrior mage and those spheres are then  added to the charcter and the spells are added to the Skill list.
- user can add individual skills/spells to the mystical arts list. This is somehting I would want anyway as some skills need to be added multiple times (i.e. Linguistics, ANimal Handling, Foraging/Survival as these all require specialities).



Yes, I realised near the end of the document that calculating the stat bonus from the stat inside the program  would still be inside ICE's IP as it would effectively be the only thing that is taken from the book and would still require the book to understand what the skills are, what the spells are (ranges, durations, targets, etc), what Talents are and where they fit in, etc.

I have changed it to be:
Character_stats   Statistics of the character.(1)
Character_stat_bonus_other    Statistic Bonus from misc areas.(1)
Character_stat_bonus_racal    Racial Statistic Bonus of character.(1)


The total stat bonus is calculated from the Stat itself (using Table 4.1 from HARP Core) + Racial stat bonus + other stat bonus.

Skills are also changed slightly:
   Skill_ranks   number of ranks in the skill
   Skill_bonus   bonus to the skill granted from talents,    professional bonuses, racial bonuses, etc
   Skill_stats   Display of the statistics that affect the    skill


Skill bonuses will be autocalculated from the rank bonus (as per table 6.2 of HARP CORE RULES) + stats bonus  + racial/talent/bonus.

I have modified the document and reposted it.
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on December 22, 2009, 08:52:48 AM
OK, here is a start...

Dont expect too much. most links dont work, but you can see the characters that are public (i.e. not marked as private), and can sort them.

It is a pre-pre-pre-pre-pre -etc ad nauseum Alpha version.

This comes with all the standard warnings about not guaranteeing anything, it may not work, it may casue world war 3 if you play with it, blah, blah, blah....

http://darkeen.homelinux.com/yahcs/index.php


PS: this is my FIRST working (a relative term?) attempt at Php and I am trying to put checks in for everything so it will take time.
The display will eventually be a template so you could, in theory, upload a new template to the server and set your account to use a different template  i.e. like these forums!

Yes, the name is a work in progress,but it seemed to fit! :)
Title: Re: Online Harp Character Generator
Post by: markc on December 22, 2009, 03:32:16 PM
 One thing you might want to add is a created by category so people know that the PC is theres or not.
MDC
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on December 23, 2009, 04:03:19 AM
I could do that,...

My original thought was that When you Log into the account, you see ONLY your characters.
So seeing other peoples characters would require you to log out... It restricts thje number of records you see and have to go through, But thats a good thought...

PS: updated the output page.
Removed about 50K worth of blank lines for the file and now and adding in the php to print the character fields... :)
Title: Re: Online Harp Character Generator
Post by: markc on December 23, 2009, 01:15:25 PM
OK I did not see that entry but in the main menu it might be good to see who created which PC. Even if they only give a game name or screen name as you might find a person who creates PC just like you do.
MDC
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on December 23, 2009, 11:32:56 PM
My only issue is security. I wasnt going to show the usernames as that means ppl could attempt to hack into the other persons accounts.

I am going to log all failed login attempts to a log file (in the DB), so that should make me happy in regards to security...

Yeah, Ok, you've convinced me....

PS: does anyone know how to create a fuction that returns a stat lookup? i.e. the bonus or DP?

I stated with...

function statbns ($stat, $isbonus)
{
$bonus = 0;
if ((int)$stat < 6) { $bonus = -18; }
....
 (lots of more if statements)
echo (string)$bonus;
return settype($bonus, 'string');
}

No matter what I use (string or settype) the only value echoed is '1'.

What am I doing wrong?
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on December 24, 2009, 12:29:24 AM
Never Mind... I got it...


(mind you if I hadent asked for help I never would have figured it out! Murphy's Law!)
Title: Re: Online Harp Character Generator
Post by: markc on December 24, 2009, 12:52:44 AM
Never Mind... I got it...


(mind you if I hadent asked for help I never would have figured it out! Murphy's Law!)
That happens quite a lot. Also try going somewhere else and writing it down or even just go to the bathroom as that may jog your brain. Change of environment is a huge catalyst for ideas IMO.

MDC
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on December 24, 2009, 08:51:54 AM
Page One is now completed. YAY! (View Only - you cant add characters yet..)

The Skills page will look the same "format wise, but the skills will be "slightly" different...



Merry Christmas ICE Fans Everywhere!

:angel1: :wave: :angel1:
Title: Re: Online Harp Character Generator
Post by: enoch on December 25, 2009, 09:06:58 PM
Looking good, Jason. Let me know if you'd like any help.

And Merry (Belated) Christmas!
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on December 26, 2009, 08:21:14 AM
Got a login and logout working.

Logging in shows only your characters - public and private.

Sorry, but you cant register yet!

Cant add/delete characters, thats the next part...Editting? Thats a whole new ball game......
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on December 27, 2009, 08:45:52 PM
Update: Version 1.0 will (IMHO) be very messy (no classes, etc).
Version 2.0 will make use of templates to make the code a lot easier.


Perhaps version 3.0 could make full use of templates so other people could effectively upload a template wrapper (like the way that mediawiki allows you to upload a template and select it so you can change the entire layout of the website...
That way people could not only chnage the format of the site, they could upload their own html version character sheet, instead of using the default one!
Im looking at a class library here that looks very good...
http://www.ricocheting.com/scripts/php_mysql_wrapper.php (http://www.ricocheting.com/scripts/php_mysql_wrapper.php)


Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on December 28, 2009, 09:36:13 PM
Hi,

Done:
- Ability to create an account (register).
- Login.
- View created characters (only available via direct db access as I havent created a "create Character" button!)
- sort by race, level, name, profession and cutlure.
- Show Only certain professions, races or cultures.

Question:

Should I show All characters on nthe main screen, or limit it to the first 10 characters and have top, prev, next and bottom buttons to allow you to skip to those characters?

TODO (soon)
- webpage Footer

Title: Re: Online Harp Character Generator
Post by: markc 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
Title: Re: Online Harp Character Generator
Post by: Rasyr-Mjolnir on December 28, 2009, 10:54:58 PM
Yes, pagination is always good...
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane 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 (http://darkeen.homelinux.com/videos/untitled.jpg)
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane 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?
Title: Re: Online Harp Character Generator
Post by: Rasyr-Mjolnir 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.
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane 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
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane 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......
Title: Re: Online Harp Character Generator
Post by: markc 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
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane 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...

Title: Re: Online Harp Character Generator
Post by: jasonbrisbane 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!.
Title: Re: Online Harp Character Generator
Post by: markc on January 07, 2010, 01:16:10 PM
Yes during testing try and break it not just to see if it world correctly.
MDC
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane 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...
Title: Re: Online Harp Character Generator
Post by: enoch 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!
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane 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
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane 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.

Title: Re: Online Harp Character Generator
Post by: jasonbrisbane 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.
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane 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.... ???
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane 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.
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane 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....
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane 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.
Title: Re: Online Harp Character Generator
Post by: markc on January 18, 2010, 10:40:51 AM
I just tried the link and it appears to be broken.
MDC
Title: Re: Online Harp Character Generator
Post by: Fidoric on January 18, 2010, 02:59:45 PM
Same for me, only a blank page
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on January 19, 2010, 02:15:49 AM
oops. Sorry,


I fail  at speellnig.....  ???


http://darkeen.homelinux.com/yahcs (http://darkeen.homelinux.com/yahcs)
Title: Re: Online Harp Character Generator
Post by: Rasyr-Mjolnir on January 19, 2010, 07:12:23 AM
Suggestion

When a person logs in, have 2 links.

1) My Characters
2) All Characters

Thus, allowing somebody who is logged in to find other characters. Perhaps have the different sorting links use those two suggested links as the base for the sorting.

Also, you have Darkeen from level 1 to level 20. Perhaps a way to allow somebody else to take Darkeen (at any level), and save him under a new name (this would also have to save copies of of every lesser level of the character as well).

For example, I was to create a 6th level Harper, so I take 5th level Darkeen, and do a "Save As", renaming him to Charlie. The app then copies Darkeen levels 1-5 to Charlie 1-5 and creates Charlie level 6 which I can then populate accordingly.


Title: Re: Online Harp Character Generator
Post by: TwilightKing on January 28, 2010, 10:52:07 AM
So far, i really like this. Will take some time testing it, hopefully will be able to provide some feedback. :)
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on January 28, 2010, 08:00:30 PM
Im going to change the front screen...

What will now happen (after I do it) is this:

The front screen will show you the character list with the Level being the highest level that character has reached.(a character, since they are all seperate, will be where the name, race, and culture are all the same (the profession is usually represented by name(level) i.e. Fighter(1), Fighter(2), Fighter(2)/Thief(1) so I cant use this field.)

Once you click on the character name then you will be shown a list of all the levels for that character.

It introduces another step but will stop you seeing nothing but continuous levels for the same character which is a problem when there are 400 characters, each with 20 levels... you dont want to have to scroll through 8000 lines trying to find one character on screen page  121......

This will reduce it to a search through only the 400 characters, which can then be reduced further by profession, race, or culture....

Stay tuned...


Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on January 29, 2010, 03:35:25 AM
Change Complete.
This now takes YAHCS to version 0.1.1beta.
Title: Re: Online Harp Character Generator
Post by: TerryTee on February 03, 2010, 05:32:08 PM
I don’t know HARP…
… but I think you should add a unique identifier per character so that you avoid collisions and your program intrepid two different characters that happens to have the same name, profession and culture as the same character. I can imagine two different people trying to make some game mechanics for Aragorn the Human Rural Ranger…
-Terry
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on February 03, 2010, 10:41:25 PM
Hi,

I do but the field is hidden.

There has to be some limits in order to allow people to create characters of different levels and store the same levels. The same perosn can create the same ranger from a perspective of a urban warrior and an urban soldier - different training packages and skills learnt but the race, name, profession and culture are the same....

See the issue??? :)
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on February 04, 2010, 08:09:57 PM
yahcs is down ATM, Im at work so I cant check it... Will look into it in 10 hours (2PM GMT 5/2/2010)...
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on February 06, 2010, 07:23:50 AM
Just to advise that it is back up and has been archived.

Version 1.0 as it was yesterday has been archived and will be the final version that will be displayed on the website:

http://yahcs.ironcrown.com

Title: Re: Online Harp Character Generator
Post by: Fidoric on February 06, 2010, 11:11:10 AM
The link seems corrupted to me. Unable to follow it.
Title: Re: Online Harp Character Generator
Post by: Rasyr-Mjolnir on February 06, 2010, 12:00:36 PM
The link seems corrupted to me. Unable to follow it.


Cause it isn't actually live yet.  ;D  Also, we are still discussing what to actually name the sub-domain.

Title: Re: Online Harp Character Generator
Post by: Rasyr-Mjolnir on February 06, 2010, 09:27:14 PM
The actual link will be http://harpcs.ironcrown.com/
Title: Re: Online Harp Character Generator
Post by: Rasyr-Mjolnir on February 08, 2010, 07:08:01 AM
The actual link will be http://harpcs.ironcrown.com/

It's Alive!!!
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on February 08, 2010, 04:14:49 PM
Can those with accounts on the darkeen.homelinux.com/yahcs site now test their accounts on the live site please?

There may be an issue....

Actually, Ive just realised that there Will be an issue...

Those with accounts may need to have their password reset to "password" and then they will have to change the password when they log in next on the accounts page...

(The password was saved in the DB using the hashed "password" functon. Since its on a new server the hash is different and so the password wil never match, since the database was copied directly - the password was now rehashed).

Rasyr, I'll IM you ANOTHER request ... :-[
Title: Re: Online Harp Character Generator
Post by: markc on February 08, 2010, 04:15:49 PM
Congrats on your work and going live.
MDC
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on June 06, 2010, 09:17:48 PM
Hello,

Sorry but the character sheet is broken.

Tests reveal that the bonus to skills (last column), is NOT being added to skills.
Skill total bonus only includes skill rank bonus, and stats.

Sory.

I will look into it when I can....
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on June 07, 2010, 06:17:54 AM
Thanks All.

Now fixed.

Updated to version 1.0.1.

And fixed the Contact Us link to this forum post!
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on June 15, 2010, 08:21:36 AM
Hi All,

The HArp Online Character Sheet has now been updated to version 1.1.0.

The skills and skill category sheet is now fully AJAX compliant!

So this means that the page does NOT update when you press tab and all database changes are saved back without a page update.
Also each field will have the save status displayed i the status bar. Watch for Errors, here is where they will be displayed!
The Help page has been updated too.

I will look for other issues (I am aware of other minor details).
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on June 16, 2010, 09:41:42 PM
ToDo for version 1.7:

- change the password hashing to use AES. This will allow the password to be decrypted for...
- the ability to email the users current password to the account registered email address.

This will of course mean that all users  will have to 1) enter an email address into their account 2) reset the password for their account, which will be rehashed into the database.

- the accounts screen will have extra option:
 - modify email address

The login (main) page will have a Forgot password link to enable you to enter the email address and you will receive an email with your password.

I am also contemplating an Administration page inside the program, but will just look into this and hold off implementing this until the next version...
Title: Re: Online Harp Character Generator
Post by: enoch on June 18, 2010, 02:28:41 PM
It's looking good, Jason! I'm especially stoked that you're using Ajax for the skills page. I just entered an old character (Durak Bloodbeard (http://harpcs.ironcrown.com/sheet.php?character_id=118)) and it took a lot less time than before. That said, I do have a few requests/observations.


Keep up the great work, and let me know if you ever need a hand.

Mike
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on June 22, 2010, 10:48:07 AM
Hi enoch,

1. the help file says you use the '/' to separate the fields (item/location/weight/item2/location2/weight2/etc)

2. I'll have a look at it.. Thanks

3. I'll look at this too.

4. Yes, double quotes are  not allowed. I will need to remove these out of all data to prevent issues.... I think it is mentioned in the helpfile but I cant remember exactly.

5. an ampersand is used by web pages to separate fields so yes it will cause issues..... Let me look into it...



PS: I will also be allowing people to be Admin's (i.e. me!) and allow them to view all log files for hack attempts, etc...Also they will be able to add "news" headlines which will be shown on a separate web page. The LATEST news headline will be shown on the fornt page with a link to "show more".

I havent looked at Ajax for page one but I might look into it...


Title: Re: Online Harp Character Generator
Post by: enoch on June 22, 2010, 12:49:05 PM
Hey Jason,

Perhaps I don't have any ranks in Perception, because I didn't even notice the Help link. I promise to read the Help before posting next time.  ;)

Mike
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on June 24, 2010, 10:23:31 AM
hi mike,

np.  8)
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on July 07, 2010, 10:53:50 AM
Hi enoch,


Yes, I goofed.
The next version will include checks to prevent and escape characters to prevent SQL injection attacks.

Yes, I didn't check BEFORE releasing version 1.

If the entire DB falls over in a screaming heap then dont worry as I have to make Db changes anyway for the next version.

Stay tuned for version 2.0...
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on July 08, 2010, 02:13:35 AM
Hello All,

It pleases me greatly to introduce you to HARPCS online version 2.0.0!

There are quite a few changes, but some you wont notice as they are administrative additions.

Off the top of my head:
- a NEWS functionality and link at the bottom of each page.
- Access mechanism - users have a default level of user, and there are editors (change,add or delete News items), and Administrators - can view all log files.
- all modifications to the character sheet are done immediately using AJAX - no pressing a button to save, no screen refreshes - its all done immediately. You can do a refresh using your browser to force the page to reload from the server, if you like.
- changed pages to use std formating.
- all db access is now through a single function call.
- all fields are now checked for SQL injection attacks and data is "dealt with".
- any characters you wish to use will now be saved and will not bring an error (i.e. you can use single or double quotes as part of names, etc.)
- account details now include an email address (which is optional)
- Passwords can be reset, if your account has an email address recorded against it.

NB: whilst clever people will notice that accounts CAN be reset, the new password is auto-generated and will be emailed directly to that email address - so its pointless to try to hack their account...

NB: The passwords in the database have been left as mysql password generation as they cant be reverse engineered - only changed via the forgot password option!

As always, please let me know if you find anything wrong or suspicious by posting a comment here!

Thank you and have fun!
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on July 08, 2010, 07:44:15 PM
And of course the link to this website is:


http://harpcs.ironcrown.com
Title: Re: Online Harp Character Generator
Post by: markc on July 22, 2010, 11:23:27 PM
Glad to see things going well.
MDC
Title: Re: Online Harp Character Generator
Post by: Maelstrom on July 23, 2010, 06:42:43 PM
Just went over there to test it out and thought I'd see how robust it is.  The skills take care of decimals but other areas that have numbers don't (like stats, stat bonuses, etc.)  You'll see what I mean when you check out the Trouble character sheet.
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on August 10, 2010, 09:23:15 AM
HI,

I have added an Administrative function to reduce any pressure on Tim to modify my database.

Also I have modified the character sheet page one to include the following fields:

Endurance
Power points
Resistances (all 3)
Languages (4 lines)
Initative Modifiers (there are some issues that I am working on but this should be sorted in the next day or so)
Encumbrance Weights

Now the entire character sheet is populated with NO "XXX" fields in it!

PS: When editing a character, auto-calculated fields show as XX, but will calculate correctly when displayed.

Any issues, you know where I am (right here!)
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on August 11, 2010, 08:56:48 AM
Wow, that was hard!

The initiative bug issue has now been fixed..  :-\

Lets hope it stays fixed!
Title: Re: Online Harp Character Generator
Post by: Widukind on August 31, 2010, 02:10:21 AM
Quote
The HArp Online Character Sheet has now been updated to version 1.1.0.

Where is the link?
Title: Re: Online Harp Character Generator
Post by: Rasyr-Mjolnir on August 31, 2010, 05:02:20 AM
Quote
The HArp Online Character Sheet has now been updated to version 1.1.0.

Where is the link?

http://harpcs.ironcrown.com/

Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on October 10, 2010, 08:22:39 AM
Hello All,
After a few experimental changes, I have added some extra functionality to the character sheets :more specifically to the printer versions.

You should now see that several areas include extra lines on the bottom of the areas that were blank:

    * equipment
    * linguistics
    * OB



And now Character Notes will allow you to save and display notes correctly (i.e. with carriage returns, etc). Please let me know if something does not work!
Title: Re: Online Harp Character Generator
Post by: enoch on October 29, 2010, 10:54:53 PM
Hey Jason, I'm not sure if you're aware that the site is currently down. The exact message is:

"Due to technical issues, this website is temporarily offline.... Sorry for the inconvenience...."
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on November 03, 2010, 06:32:02 PM
Thanks enoch.

Yes I changed that due to security issues. Still testing and trying not to break things further.
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on December 31, 2010, 10:03:30 AM
As people are now aware of the change of Ownership of ICE, you may now realise why the website was down....

I am currently in negotiations to maintain copyright/ownership of my code....
Title: Re: Online Harp Character Generator
Post by: enoch on March 29, 2011, 09:21:34 AM
Any news about bringing back your HARP & RM online character generators? I found them very useful and hope to be able to use them again. I'm not privy to the particulars, but I stand behind you (Jason) retaining copyright of your code. Best of luck.
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on March 29, 2011, 11:17:30 PM
Thanks.

Juist waiting for db access and a ftp link to upload them.


 
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on April 28, 2011, 09:45:59 AM
Hi All,

Still waiting for FTP and SQL details so I can upload the Harp Character Generator...

I have added an Export to XML function for those who are logged in. It means you have a file to import to your Android App to have your character with you at all times :D

The app is still in progress... :)
Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on December 21, 2011, 06:32:44 PM
Hello All,

Well I have access back into ICE again. And I've gotten a copy of my chargen back (Id lost the latest changes!).

The HARPCS website is temporarily back on http://darkeen.homelinux.com/yahcs/index.php for a short while.
I'm making a few cosmetic changes and want the site to appear more "professional".
Not having an artistic bone in my body, this may take time, but I've got ideas from other websites and I'll see how I go.

In the mean time, you can add characters to the website and export them to XML for use in the HarpCS for Android program!


Title: Re: Online Harp Character Generator
Post by: jasonbrisbane on December 24, 2011, 02:33:05 AM
Welcome back to the Harp Online Character Sheet!

Create your HARP Characters!
Store them on the website for use at any game!
Print them out for a game!
Level up, and Add Skills (or Delete a skill!)
Export your character for use with HARPCS for Android!

Now available at:

http://www.ironcrown.com/jbrisbane
Title: Re: Online Harp Character Generator
Post by: Uriel on March 30, 2012, 04:27:47 AM
Nice!


-Uriel
Title: Re: Online Harp Character Generator
Post by: Turbs on March 07, 2013, 07:51:59 PM
Just wondering if this is still live?

http://www.ironcrown.com/jbrisbane -- this link isnt working  however I do understand its about 12 months old.
Title: Re: Online Harp Character Generator
Post by: Thom @ ICE on March 07, 2013, 10:01:11 PM
We'll look into reopening that part of the site. We've recently changed servers and did not reset that piece.
Title: Re: Online Harp Character Generator
Post by: Augury on May 04, 2013, 04:49:27 AM
Any news on getting this back up and running?

Would really help my about to start campaign!

Matt
Title: Re: Online Harp Character Generator
Post by: Bruce on November 07, 2013, 01:55:15 PM
What is the status of this online character generator?

Bruce
Title: Re: Online Harp Character Generator
Post by: Turbs on April 01, 2014, 01:38:54 AM
*Bump*