FAF development school

Post here if you want to help developing something for FAF.

Re: FAF development school

Postby Softly » 03 Dec 2015, 22:24

For everyone interested I'll be writing up lesson 2 this weekend, and I'll be around lots in the dev school channel all weekend to help people and to answer questions.
Softly
Supreme Commander
 
Posts: 1009
Joined: 26 Feb 2012, 15:23
Location: United Kingdom
Has liked: 150 times
Been liked: 251 times
FAF User Name: Softles

Re: FAF development school

Postby Phelom » 18 Dec 2015, 17:22

Hi

I want to join the dev community, so i followed the lesson 1 until i got this Error at the "vagrant up" step

Code: Select all
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. Tous droits réservés.

C:\Users\AM\Documents\GitHub> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'base' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'base' (v0) for provider: virtualbox
    default: Downloading: base
    default:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Couldn't open file /Users/AM/Documents/GitHub/base
C:\Users\AM\Documents\GitHub>




Any idea ?
Attachments
vagrant_up.JPG
vagrant_up.JPG (55.02 KiB) Viewed 3323 times
User avatar
Phelom
Avatar-of-War
 
Posts: 195
Joined: 08 Apr 2015, 15:04
Location: Tizi Ouzou
Has liked: 104 times
Been liked: 25 times
FAF User Name: Phelom/Gurzil

Re: FAF development school

Postby Softly » 19 Dec 2015, 17:55

Together me and Phelom managed to solve the problem :)

If you have this issue, make sure to run the 'vagrant up' command from the client directory (usually Documents\GitHub\client)
Softly
Supreme Commander
 
Posts: 1009
Joined: 26 Feb 2012, 15:23
Location: United Kingdom
Has liked: 150 times
Been liked: 251 times
FAF User Name: Softles

Re: FAF development school

Postby Softly » 20 Dec 2015, 21:59

Lesson 2 is on the wiki, all you need to know about using GitHub.
Softly
Supreme Commander
 
Posts: 1009
Joined: 26 Feb 2012, 15:23
Location: United Kingdom
Has liked: 150 times
Been liked: 251 times
FAF User Name: Softles

Re: FAF development school

Postby Phelom » 21 Dec 2015, 11:23

Thanks a lot !! was waiting for it !!
User avatar
Phelom
Avatar-of-War
 
Posts: 195
Joined: 08 Apr 2015, 15:04
Location: Tizi Ouzou
Has liked: 104 times
Been liked: 25 times
FAF User Name: Phelom/Gurzil

Re: FAF development school

Postby Resin_Smoker » 22 Dec 2015, 01:12

Feel free to PM me if there are any LUA questions.

I've modded most everything except call-backs at one point or another. Now while I'm not actively modding I could fill-in the blanks as needed.

Cheers

Resin
Resin_Smoker
Evaluator
 
Posts: 858
Joined: 14 Mar 2012, 17:58
Has liked: 54 times
Been liked: 106 times

Re: FAF development school

Postby Masamune » 02 Jan 2016, 22:40

Hi,

just reporting an issue I encountered when I tried to use the github faf client, the tcp connection was failing and couldn't connect to faf at all, so I checked the logs and it was saying that I needed to update(and it downloaded one), so just go to config/version.py, and replace at line 100 the version by "0.11.3" (so it becomes return "0.11.3") or whatever the last version is. (thx yorick for the tips)


-----
EDIT : So I tried to have the exe to try on another computer, because when you do python src you start directly the faf client. So I've searched for answers, discovered that I have to use appveyor, so there was a appveyor folder, so ofc I've launched the 2 files, but then I don't know, after a while I discovered this link:
https://ci.appveyor.com/project/Sheeo/client

and then I try to do the python setup.py bdist_msi but I don't have bdist_msi and I don't know how to continue... Anyone knows?

EDIT2: Ahah I've understood how it works, so in fact the link I've seen was a website where you can build your application, so in order to build your project :
>Upload your stuff on github
>connect to appveyor website, make an account, add your github account on it, then choose the good repository, and then build thanks to the website. But a problem is still here, the build is done but how do I get it back... oh god.
Of course when the build is over, it seems like it's trying to mmict on my git but it says:
creating "error grabbing git version : list index out of range 0.11.3 +7" release for repository blabla commit blablabla . and in red : error creating github release : error reading repository 401 unauthorized... What a nightmare just to build, wtf.
Masamune
Crusader
 
Posts: 10
Joined: 22 Feb 2015, 01:42
Has liked: 0 time
Been liked: 0 time
FAF User Name: Masamune

Previous

Return to Contributors

Who is online

Users browsing this forum: No registered users and 1 guest