SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Discussion

Reply
 
Thread Tools Display Modes
Old 06/12/2017, 06:21 PM   #11
Kaperstone
Banned
 
Join Date: May 2011
Location: Russia
Posts: 3,023
Reputation: 824
Default Re: Scripting as a team

Quote:
Originally Posted by ****** View Post
"started by", not "made by".
I guess you meant the opposite.
Quote:
Originally Posted by ****** View Post
If you try do everything yourself, then after a year of development you will still be worrying about how to parse files and stream objects, not doing anything useful at all.
Worrying is a way to improve something, imo.
Its better than not to care.

I'd say its a two side story, there are people who worry and stuck at the same thing to perfectionize it, and some would come up with something simple and move on, maybe return to the same spot if he comes up with something better.


Personally, I do try to do everything by myself, I do believe team work yields the best results, but dislike working in a team with other people.
Kaperstone is offline   Reply With Quote
Old 06/12/2017, 06:32 PM   #12
admantis
High-roller
 
Join Date: Sep 2009
Posts: 2,530
Reputation: 449
Default Re: Scripting as a team

Use a repository system like git or Subversion (I prefer Subversion as it's more conventional, much easier to use, and flexible).
admantis is offline   Reply With Quote
Old 06/12/2017, 06:57 PM   #13
Kaperstone
Banned
 
Join Date: May 2011
Location: Russia
Posts: 3,023
Reputation: 824
Default Re: Scripting as a team

Quote:
Originally Posted by ****** View Post
Quote:
Originally Posted by Kaperstone View Post
I guess you meant the opposite.
No
Oh, I thought you meant to fix me.

Anyway, my point was about achieving as a single developer, but I understand what you mean.
Kaperstone is offline   Reply With Quote
Old 07/12/2017, 11:06 AM   #14
NealPeteros
Gangsta
 
NealPeteros's Avatar
 
Join Date: Dec 2015
Location: GetPlayerCountry(playerid);
Posts: 628
Reputation: 51
Default Re: Scripting as a team

Is there like a live version of multi-user scripting? Like ****** Docs when being shared. If you haven't tried ****** docs, it's like live editing of a single file by multiple users granted access by the original creator of the file. If there was, that would be so awesome.
__________________
Quote:
SA-MP is like a drug or alcohol or smoking.. you really get used to it and can not leave it.
NealPeteros is offline   Reply With Quote
Old 07/12/2017, 11:21 AM   #15
Infinity
High-roller
 
Infinity's Avatar
 
Join Date: Jul 2009
Posts: 1,226
Reputation: 975
Default Re: Scripting as a team

Quote:
Originally Posted by NealPeteros View Post
Is there like a live version of multi-user scripting? Like ****** Docs when being shared. If you haven't tried ****** docs, it's like live editing of a single file by multiple users granted access by the original creator of the file. If there was, that would be so awesome.
I would never recommend this for coding. Think about it. Say, you and I are working together working on a script. You want to test what you've just written (a good programmer tests often!), but wait, the code does not compile because I was in the middle of a line. Or, nothing works because you're including my code which wasn't done yet.

For coding, you really want solutions such as git. Once you know your feature is done and tested, you push it to the other developers.
__________________

I apologize for the stupidity of my fellow members

Quote:
Originally Posted by !damo!spiderman View Post
Stand for something that's going to help the world rather than fill it with more hate. Give someone a hug, tell someone you care... Do something, do anything but do it with love not hate.
Infinity is offline   Reply With Quote
Old 10/12/2017, 01:34 PM   #16
svorpyx
Big Clucker
 
Join Date: Sep 2009
Posts: 77
Reputation: 0
Default Re: Scripting as a team

Quote:
Originally Posted by CrystalMethod View Post
I'd say either GitHub or DropBox. Only worry is if two people start working on the script at the same time out of dropbox, and when they both save, one person's work is lost. If you guys make separate copies of the script to work on sections, then paste it all together at the end, perhaps that'd work? I'm not totally sure, but that's my best guest. I've only ever scripted solo, never on a team.
NEVER use regular filesharing for sharing code, it's just a death wish. Always use VCS like Git. Git really is today's standard with almost every new project that uses VCS choosing for git. You can get free public repo's on GitHub, or you can get free private repo's on BitBucket or GitLab. There are many git clients available to ease up the process.
svorpyx is offline   Reply With Quote
Old 10/12/2017, 02:57 PM   #17
TakeiT
Gangsta
 
Join Date: May 2014
Location: Toronto, Canada
Posts: 741
Reputation: 157
Default Re: Scripting as a team

I've created a folder for a developer and shared that folder in Dropbox, then allowed them to create a filterscript where they can put all their code into. Wouldn't recommend it sharing one script, though I've done it with a modular gamemode. You just have to make sure you aren't editing the same file at the same time.

Then installed dropbox on linux server and created a command in game to reload each dev's filterscript, mainly for testing without restarting the entire server/having to upload anything.
TakeiT is offline   Reply With Quote
Old 14/12/2017, 01:01 PM   #18
adri1
High-roller
 
Join Date: Oct 2010
Posts: 1,780
Reputation: 955
Default Re: Scripting as a team

Quote:
Originally Posted by Dignity View Post
Use Bitbucket and SourceTree. Essentially the same as Github but free. I also like to keep my dev files on ****** Drive so it's shared with my other developer.
If you are student you can get for free Student Developer Pack that includes Github developer plan (unlimited private repositories)
https://education.github.com/pack
adri1 is offline   Reply With Quote
Old 01/06/2018, 12:34 PM   #19
Sasino97
Banned
 
Join Date: Dec 2010
Location: Soon Banned...
Posts: 1,394
Reputation: 127
Cool Re: Scripting as a team

If you have problems with Git, I suggest you to try Mercurial (hg). It is very similar to Git but a bit less complicated. I'm always using Mercurial, and TortoiseHg as a GUI.
The best repository website is https://bitbucket.org/
It is completely free for small teams, even private/hidden projects.
Sasino97 is offline   Reply With Quote
Old 11/08/2018, 09:35 PM   #20
Jeroen52
Gangsta
 
Jeroen52's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 880
Reputation: 74
Default Re: Scripting as a team

Quote:
Originally Posted by Sasino97 View Post
If you have problems with Git, I suggest you to try Mercurial (hg). It is very similar to Git but a bit less complicated. I'm always using Mercurial, and TortoiseHg as a GUI.
The best repository website is https://bitbucket.org/
It is completely free for small teams, even private/hidden projects.
I personally use the following:

Version control: Git for Windows
GUI: GitExtensions
Merging/diff: KDiff3
SSH: PuTTY
Code hosting: Self-hosted GitLab (warning: RAM hogger)
Continuous integration: Self-hosted GitLab-runner (automatically deploys and updates the server)
__________________
Jeroen52 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Getting Started on TDM Scripting for newbie (Setting up team, Setting up team color, Anti teamkill[EXPLAINED] qazwsx Tutorials 7 14/10/2013 07:13 AM
Looking for a scripting team RainMultiGaming Scripting Help 0 15/12/2011 04:14 PM
scripting team [asg]davo Help Archive 19 18/05/2010 07:51 AM
Need A Scripting Team Saurik Help Archive 0 16/05/2010 11:46 PM
Scripting Team armyoftwo Help Archive 1 15/12/2009 04:02 PM


All times are GMT. The time now is 05:49 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.