diff --git a/about.html b/about.html index f6947e1..a21262a 100644 --- a/about.html +++ b/about.html @@ -32,33 +32,6 @@ I like the Rust programming language, have shitty takes, and know the world I was given is broken and immoral(hopefully we could change it one day)

-
-

Hobbies

-

- Programming, gaming, 3D printing, and cooking(not necessarily in that order) -

- Programming: Usually in Rust(as stated above), but I might also do embedded C stuff (oNcE i GeT tO iT), - My current projects(as of 12/9/22) are: lazy_knight(a 2d game), command_injector(the html helper used for this website), - shape_maker(2d level editor built around drawing random shapes, made it for lazy_knight originally) and - gitea_executor(simple build server for gitea based on make) -
- and yes, they are all in rust... -
- Also, I plan on getting more and more into embedded programming, currently I want to make a standalone "VR Controllers", - to play VR-like games but without actual VR(kinda like wii games but on PC and open source and no need to get a wii remote) -

- Gaming: Mostly shooters(almost entirely shooters to be fair), but I also enjoy platformers(and a good combination of them is top notch). -
- pretty much the reason I want to develop games is to create the games *I* want to play, and open sourcing them is really neat because - now I dont need to care about marketing and everything, because I just dont care(not like imma make money out of it anyway...) -

- 3D Printing: I got myself a Creatily Ender 3 v2 3D printer, and boi is it fun(and noisy), but I really enjoy dealing with it and printing stuff. - My designing skills are not as good as I would like, but I manage the basics that I currently need(while printing cool models from thingiverse) -

- Cooking: By cooking I also mean baking, but in general, the process of creating something tasty is just fun. Cooking specifically is kinda a must - skill imho, since it is such a helpful skill, which also spices your meals :). And baking is also really fun, you do some (usually) simple steps, - and BAM you now have cookies! -

I thought I will have more to write here(as of 14/5/22)... diff --git a/bscripts/index.html b/bscripts/index.html index dc597fa..8974ef2 100644 --- a/bscripts/index.html +++ b/bscripts/index.html @@ -1,7 +1,7 @@ cat $HOME/template/header.html | sed "s/__PAGE TITLE__/Build Scripts/"

Build Scripts

-
+

Folder keeping build script helpers(for running using my injector).
@@ -9,8 +9,11 @@ (yes i know i hate python but its v quick for simple stuff) to transform input from ls into a list of <a> tags(with space between)

-
- python $HOME/bscripts/ls_table.py $CURRENT +

+ here is the list of files here: +
+ cd $CURRENT && ls *.* | python3 $HOME/bscripts/ls_to_a.py +

diff --git a/bscripts/internal_links.py b/bscripts/internal_links.py index 98b8f7d..daa3774 100644 --- a/bscripts/internal_links.py +++ b/bscripts/internal_links.py @@ -3,4 +3,4 @@ while True: a = input() except: break - print('' + a.capitalize() + ' ') + print('' + a.capitalize() + ' ') diff --git a/bscripts/ls_table.py b/bscripts/ls_table.py deleted file mode 100644 index 97a149e..0000000 --- a/bscripts/ls_table.py +++ /dev/null @@ -1,27 +0,0 @@ -import sys -import os -import time -# Make sure we got a directory -if len(sys.argv) < 2: - print("Error: Directory not given!") - quit() -# Get path, files, and creation/modification times -path = sys.argv[1] -file_filter = sys.argv[2] if len(sys.argv) > 2 else '' -files = [[x, os.path.getctime(f'{path}/{x}'), os.path.getmtime(f'{path}/{x}')] for x in os.listdir(path) if x.endswith(file_filter)] -# sort by creation time -files.sort(key= lambda x: x[1], reverse=True) -# print start of table(including headers) -print('') -print('\n') - -# print each row -for x in files: - if x[0] == 'index.html': # skip the index.html file because kinda boring - continue - x[0] = f'{x[0].replace(".html", "")}' - x[1] = time.strftime("%b %d %Y", time.strptime(time.ctime(x[1]))) - x[2] = time.strftime("%b %d %Y", time.strptime(time.ctime(x[2]))) - print(f''); -# finish printing the table -print('
CreatedModified
{x[0]}{x[1]}{x[2]}
') diff --git a/bscripts/ls_to_a.py b/bscripts/ls_to_a.py index e94744e..cc5833c 100644 --- a/bscripts/ls_to_a.py +++ b/bscripts/ls_to_a.py @@ -6,4 +6,4 @@ while True: a = input() except: break - print('' + a.replace('.html', '') + ' ') + print('' + a.replace('.html', '') + '') diff --git a/default_style.css b/default_style.css index 0c2a7ac..a34d524 100644 --- a/default_style.css +++ b/default_style.css @@ -7,14 +7,12 @@ body { h1 { color : rgb(255, 40, 60); } -h1, h2, h3 { - text-align: center; -} div { - width: 60%; + width: 90%; position: relative; margin: auto; - text-align: left; + align-self: center; + text-align: center; border-color: rgb(60, 0, 90); border-width: thick; border-style: double; @@ -22,8 +20,6 @@ div { padding: 5px; padding-bottom: 10px; margin-bottom: 10px; - padding-left: 5%; - padding-right: 5%; } a { color:rgb(150, 150, 255); @@ -33,7 +29,6 @@ hr { color: rgb(60, 0, 90); background-color: rgb(60, 0, 90); border-color: rgb(60, 0, 90); - margin-left: 5%; } diff --git a/index.html b/index.html index ca7fd53..5b8158f 100644 --- a/index.html +++ b/index.html @@ -1,10 +1,11 @@ cat $HOME/template/header.html | sed "s/__PAGE TITLE__/Rusty's website/"

- Folders
cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py -

- Files
cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py + Folders: cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py +
+ Files: cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py

-
+ +

Hello and welcome to my personal website

@@ -22,15 +23,6 @@

-
-

Where to find me on other places

-

- Mastodon - Gitea - Github -
- @rusty_striker:matrix.org on Matrix -

cat $HOME/template/footer.html diff --git a/old_index.html b/old_index.html index e480666..87638fa 100644 --- a/old_index.html +++ b/old_index.html @@ -1,8 +1,8 @@ cat $HOME/template/header.html | sed "s/__PAGE TITLE__/Rusty's website/"

- Folders
cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py -

- Files
cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py + Folders: cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py +
+ Files: cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py

diff --git a/stories/decentralized mmo.html b/stories/decentralized mmo.html deleted file mode 100644 index f291589..0000000 --- a/stories/decentralized mmo.html +++ /dev/null @@ -1,99 +0,0 @@ -cat $HOME/template/header.html | sed "s/__PAGE TITLE__/Decentralized MMO/" -

- Folders
cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py -

- Files
cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py -

- -

Decentralized/Federated MMO

- -

- grep 'h[1-3] id="' $CURRENT/$FILE | awk -F \" '{ print $2 }' | python $HOME/bscripts/internal_links.py -

- -
-

Introduction

-

- Back in my childhood I used to play quite the amount of MMORPGs (mostly because they were free, but also because they were online).
- The more time passed, the less MMORPGs I got to play, most of the good options were either shut down - or got SUCH a power creep I lost interest in them (like MapleStory when they started adding a lot of overpowered classes). -

-

- As an aspiring game developer, I hope to one day attempt making my own MMORPG, and something which is (sort of) important to me - is for the game to be decentralized/federated. -

-
-

Why make a decentralized MMO tho?

-

- Well, you see, whenever I look for alternatives to big centralized services (like Github or social medias), - it always seems to me that the best choice is to decentralize and federate it.
That way, anyone can create their own instance - and not miss out on everyone else, allowing both greater control to the individual, while also sharing the costs between those - who host their own (and those who decide to donate them).
-

-

- Besides, there are some useful advantages to federating a bunch of servers in an MMO which will hopefully become clearer later on. -

-
-

The Big Picture

-

- Mainly, there will be 2 different types of servers: -

-

-
-

A note going forward

-

- My idea of decentralized/federated MMO involves quite the amount of trust, - trust between federating servers (federation will be opt in to allow greater control over gameplay), - and trusting clients to not lie when they go into a dungeon. -

-

- Another thing is, while I do wish I could implement this idea into an actual MMORPG, this is merely an idea right now, - if you want to implement this idea into your game, feel free to do so (and maybe link here as well). -

-
-

Hubs

-

- Hubs (or Home servers) are the main servers of the network, they are the main authority over your account. -

-

- Hubs have an overworld with stuff to do (or maybe not), and where you meet other players and can make parties, - communicate with others, trade and all the usual stuff people do in MMOs (like a dance party). -

-

- Federation between hubs is a 2 way opt in federation, which means both servers need to accept the federation for the federation to exist - (probably accept the federation by creating a portal somewhere in the overworld). - Federated servers also needs to sync any plugins/mods/addons which create new items - (or anything you can transfer between servers, so a hat needs to by synced but a new boss doesnt need to). -

-

- Federated servers needs to have trust between them, because federating with 2 servers means said servers are now also federating - (creating a federation cluster) -

-
-

Dungeons

-

- Dungeons (or Nodes/Edges) are sub-servers, they are simply a dungeon/map for a party to explore/play in, - and should be where most of the game content occur, - they are hosted by whoever wants to and are technically simply a level (plus some game data in addition, though they are part of the level) - with an end condition (or fail condition) and a reward. -

-

- Dungeons dont federate with each other (and technically dont federate at all), but hubs can link/federate (one way) to them and allow their - players to go into a dungeon and get the rewards from it (or optionally, modify the rewards to better fit the server). -

-

- Dungeons occur in private instances available only to the exploring party. - this means that the hub server trusts the players to not lie about the results of the dungeon - (although for end rewards, the server can roll the dice for them, to allow random loot in dungeons). -

-

-

Quick note on dungeons

- Although dungeons usually get linked to from hub servers, it is also possible to allow dungeons to be played even if they are not linked, - thus allowing players to play all dungeons, but it means non-linked dungeons will give no actual reward (or anything at all). -

-
- -cat $HOME/template/footer.html \ No newline at end of file diff --git a/stories/index.html b/stories/index.html index 0e4abbc..d75cdd2 100644 --- a/stories/index.html +++ b/stories/index.html @@ -1,14 +1,17 @@ cat $HOME/template/header.html | sed "s/__PAGE TITLE__/Stories/"

Stories

-
+

- Random stories, blogs, ideas and more. + Random stories, either about things I make(programs, games, physical stuff),
- Things I made/built/thought of or just wanted to share + or about stuff that happens to me +

+

+ Stories: +
+ cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py

-
- python $HOME/bscripts/ls_table.py $CURRENT .html
diff --git a/stories/injector.html b/stories/injector.html index a372248..0b14e85 100644 --- a/stories/injector.html +++ b/stories/injector.html @@ -1,8 +1,8 @@ cat $HOME/template/header.html | sed "s/__PAGE TITLE__/Injector/"

- Folders
cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py -

- Files
cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py + Folders: cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py +
+ Files: cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py

Injector

diff --git a/template/header.html b/template/header.html index 1e67bc4..562a099 100644 --- a/template/header.html +++ b/template/header.html @@ -36,7 +36,7 @@
-
+

Rusty's Website

diff --git a/template/index.html b/template/index.html index cc01742..e82ad13 100644 --- a/template/index.html +++ b/template/index.html @@ -7,8 +7,11 @@ like the header and footer of the pages(also contains the start and end of the pages!, tho I might change that)

-
- python $HOME/bscripts/ls_table.py $CURRENT +

+ here is the list of templates in here: +
+ cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py +

diff --git a/useful/index.html b/useful/index.html index c059868..e4cef02 100644 --- a/useful/index.html +++ b/useful/index.html @@ -1,12 +1,13 @@ cat $HOME/template/header.html | sed "s/__PAGE TITLE__/Useful/"

Useful

-
+

Useful stuff to know/resources

-
- python $HOME/bscripts/ls_table.py $CURRENT +

+ cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py +