Page 1 of 1

GitHub Scrape

PostPosted: Thu Nov 03, 2016 06:20
by everamzah
Here's a link to my Minetest stuff (mods/subgames) on GitHub: https://archive.org/details/everamzah-mt_git

Here's a copy of my last issue on github.com/minetest/minetest:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
I imagine this is in duplicate, and I apologize for being vague, but I feel it's worth posting.

The player's position isn't saving in the player's file when using minetestserver, leaving the server running, and joining and disconnecting and re-joining. Examining the worlddir/players/playername file shows missing or incorrect values.

Image
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Shows in worlddir/players/playername as:

breath = 11
hp = 20
name = everamzah
pitch = 8.19
position = (-3456.02,140.6,2793.44)
version = 1
yaw = -44.88
PlayerArgsEnd


Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Other times showing just:

name = everamzah
version = 1
PlayerArgsEnd
The result is that the player is positioned at 0,0,0 on join.


Thank you for Minetest!

Re: GitHub Scrape

PostPosted: Sat Nov 05, 2016 12:15
by red-001

Re: GitHub Scrape

PostPosted: Sat Nov 05, 2016 13:46
by TheReaperKing
Just wondering but why did you remove your mods from github?

Re: GitHub Scrape

PostPosted: Sat Nov 05, 2016 14:30
by Fixerol
Issue above should be fixed. Why you leave github?

Re: GitHub Scrape

PostPosted: Sat Nov 05, 2016 17:12
by stu
everamzah wrote:Thank you for Minetest!

I do hope this is not another 'rage-quit' you are a valued member of this community and I, for one, would be sad to see you go.

Re: GitHub Scrape

PostPosted: Tue Nov 08, 2016 16:42
by taikedz
Oh dear... I hope this is not what it looks like...!

Fingers crossed to be seeing you back soon.... and if not, best wishes and best of luck for whatever new climes you are headed towards!

Re: GitHub Scrape

PostPosted: Tue Nov 08, 2016 23:41
by Fixerol
https://archive.org/details/everamzah-mt_git

Anyone interested in cloning his stuff to github? Now links to his mods are not working, someone needs to mirror it using file above (but properly, one by one, not everything in one pile, also history of commit and stuff should be here too)

Re: GitHub Scrape

PostPosted: Tue Nov 08, 2016 23:47
by taikedz
I intend to get to it tomorrow some point properly with full git logs

Re: GitHub Scrape

PostPosted: Wed Nov 09, 2016 00:59
by TheReaperKing
What about having them moved into here? Seems like a good place:
https://github.com/minetest-mods

Re: GitHub Scrape

PostPosted: Wed Nov 09, 2016 14:33
by taikedz
The ReaperKing - that involves a process. We'd have to probably bring them back to github first.

I'm going to get a start on this shortly....

Re: GitHub Scrape

PostPosted: Wed Nov 09, 2016 15:46
by taikedz
OK I scripted the reupload, results here https://github.com/taikedz?tab=repositories

Any github.com/everamzah/repo has become github.com/taikedz/everamzah-repo

There were some that were duplicates, some that were just working forks, so I might remove a few eventually.

In case anybody needs to do something like this again, here's the bash item. Written for Ubuntu. Should work in cygwin ; may work in gitbash.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
#!/bin/bash

for evergit in *; do
   if [[ ! -d "$evergit" ]]; then continue; fi

   (
      cd "$evergit"
      everurl=$(git remote -v|grep fetch|awk '{print $2}')

      #if [[ "$(git remote -v|gre)" -gt 0 ]]; then
      if [[ -n "$DOLIST" ]]; then
         echo "$everurl"
         continue
      fi

      echo -e "\n=====\nViewing $evergit readme and licenses (use ':n' to read subsquent files)"
      sleep 2
      ls | egrep 'license|readme' -i | xargs less

      read -p 'Upload ? y/N> '
      if [[ ! "$REPLY" = y ]]; then continue; fi

      tairepo="everamzah-$(basename "$everurl"|sed -r 's/.git$//')"
      echo "Determined repo name $tairepo"

      curl -u taikedz https://api.github.com/user/repos -d '{"name":"'$tairepo'"}' || continue

      echo "Setting new remote everamzah for $everurl"
      git remote add everamzah "$everurl"

      echo "Setting origin for $tairepo"
      git remote set-url origin "ssh://git@github.com/taikedz/$tairepo"

      echo "Pushing repo"
      git push origin master
   )
done

Re: GitHub Scrape

PostPosted: Wed Nov 09, 2016 16:04
by Fixerol
Nice, thank you a lot! I've added new links in his mod topics to your repo so players can download them.

Re: GitHub Scrape

PostPosted: Wed Nov 09, 2016 17:34
by Fixerol
Any github.com/everamzah/repo has become github.com/taikedz/everamzah-repo
There were some that were duplicates, some that were just working forks, so I might remove a few eventually.

I've checked it manually with his mod topics on forum and it seems all stuff is his mods/forks, so you should keep everything. Only two things have no their forum pages that I will mention here so people can find them:
1) https://github.com/taikedz/everamzah-mese_crystals - mese_crystals used in his dcb subgame
2) https://github.com/taikedz/everamzah-spawn - spawn mod for servers

Re: GitHub Scrape

PostPosted: Wed Nov 09, 2016 21:06
by taikedz
@Fixerol - many thanks for going through these.

For `mese_crystals` it's actually a fork of RealBadAngel's mod - he just did some PNG compression on the textures, I am tempted to remove this repo, it's not really got any purpose and muddies the waters

For `spawn`, it's such a simple mod that I expect it was from his days learning about modding. There are better alternatives.