Monday, June 19, 2023

Tool : DTR & First tool

The information is stored in a text format DTR (Database format text Reader)


It work with an internal mini Database within the software without resorting to very heavy database software. Information is Link  by keys. The prog will fetch all "skills" that have the same character id. The skill keeps track of what character this skill corresponds to.


Characters_index_keys : 

  • Character_id, 
  • Character_name, 
  • Biografy_id, 
  • Skill_id, 
  • Spells_id, 
  • Items_id, 
  • Weapons_id, 
  • Status_id;

skills_index_keys = character_id, skill_name, ability, tags, targets;

Normally this is how Databases work what I did was convert that method to .txt files. The character.txt file is related to the skills.txt file. Will avoid too much processing time will + direct no information.

"Will be available in the next version: The Box 1.x"

Think this will be the first tool

Because it will have the structure for the other things. For example the hole project structure will lay on top of this mechanics. Since C is a compiladed language and not a script language we can't make changes on the fly. So for that is much better to get the values from files and create a dinamic mecanism to work width it.

Bit wierd why develop PHP when you can do it in C width a dinamic information coming from files. It will do the same you manipulate values on the fly. The diference is that you can see the machanisms that do this things.

It will remove the need to use extra languages like Javascript\Css\Html\etc... You have every thing incide just one language and the data files.

The planning is probably much bigger then PHP while in PHP you pump the functions and just need to update you can see in here the planning is going for a couple of years now. But the end result will be much better.

Dinamic Text structures

For what i see to make this work we need to make dinamic text structure. Which will represent other things lather.

  • New connections
  • Represent data
  • Represent functions
  • Make calls
  • create new structures 
  • ...

work in progress

No comments:

Post a Comment

hi

Rules

Rules, Steps & methods This is the current way to implement and be implemented but there could be more things to add : Root or loader  (...