.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   The RealBot 'Source' (http://forums.bots-united.com/forumdisplay.php?f=52)
-   -   Open-Source , how to handle? (http://forums.bots-united.com/showthread.php?t=1382)

davek 16-04-2004 09:37

Re: Open-Source , how to handle?
 
Quote:

Originally Posted by stefanhendriks
- understanding of 3d a bit (you can think a bit in 3d)
- you should understand how a program works (line by line), you have to think like a program.
- know the basics of C (C++ not nescesary!)
- get yourself a (free) compiler.

u make it sounds so easy :)

i could probably do some stuff. i have all those things u mentioned, cept for the compiler, which i cant imagine is hard to obtain.

i suppose if your comments are good and u have other documentation, i could probably work on it. it would be a good way to get some practice in coding too, since i havent done it in a while. hm. might give me something to do at work too :D

Serj 16-04-2004 09:51

Re: Open-Source , how to handle?
 
Hello, Stefan!
First, thank you for your work, once more! =)

Second, I aprove your decision to make your project as open source! This is a GOOD idea! And I think the sourceforge.net is a good place for it. 8)

From the official sourceforge docs:

"CVS, Concurrent Versions System, is a tool used by many software development teams to store their source code in a centralized location. CVS allows everyone to obtain a copy of this source code (i.e. everyone is provided read-only access) and allows developers of the software to also make changes to the source code stored in that central location.
...

SourceForge.net provides a number of services to projects hosted on SourceForge.net which are related to CVS.
First, SourceForge.net provides each project with their own CVS repository. All developers on a project are automatically, as a function of the SourceForge team management system, granted the permissions to commit changes to that repository. Only registered development team members (i.e. the members of the project team on SourceForge.net) may write to a project CVS repository. Developers will need to have both a CVS client package and a compatible SSH client."

MusicMan 16-04-2004 16:03

Re: Open-Source , how to handle?
 
Where do you find all the variables and functions you can use Stefan, that is actually one of the biggest problems I have when I try to code bots:)

Thanks in advance

MusicMan

edit: Sorry about this offtopic post, but it's just because you mentioned something about it in this thread;)

Onno Kreuzinger 16-04-2004 18:52

Re: Open-Source , how to handle?
 
i would say that, if you do not want cvs, you must atleast use patch and diff, in order to have some change of importing code easy and understandable.
a diff looks like this:
Code:

diff -uHr vdr-1.2.0.patched/svdrp.c vdr-1.2.0/svdrp.c
 --- vdr-1.2.0.patched/svdrp.c  2003-04-27 16:21:07.000000000 +0200
 +++ vdr-1.2.0/svdrp.c  2003-06-06 21:34:03.000000000 +0200
 @@ -726,7 +726,10 @@
    else if (recordings) {
          cRecording *recording = Recordings.First();
          while (recording) {
 -                  Reply(recording == Recordings.Last() ? 250 : -250, "%d %s", recording->Index() + 1, recording->Title(' ', true));
 +                                                                            cIndexFile *oIndex = new cIndexFile(recording->FileName(), false);
 +                                                                            const char *sTime = IndexToHMSF(oIndex->Last());
 +                                                                            Reply(recording == Recordings.Last() ? 250 : -250, "%d %s\t<%s>", recording->Index() + 1, recording->Title(' ', true), sTime);
 +                                                                            delete oIndex;
                        recording = Recordings.Next(recording);
                        }
          }

the first line shows the comand used to generate the diff, its very easy to make and all tools needed are 2 executables available for all operating systems (most compilers do come along with "diff" and "patch" allready)

i know of good and big/complex software which is developed by using a mailinglist and diffs/patches and no cvs. since the software is widely used the mailinglist has quite some traffic (20-50 mails per day).
but this assumes everybody uses a mailer and has some basic knowlege how to handle larger amounts of emails per day :)

zyrain 16-04-2004 21:12

Re: Open-Source , how to handle?
 
IF you want an alternative to CVS check out: Codeville

[WPSC]Silver Ghost 16-04-2004 21:23

Re: Open-Source , how to handle?
 
A very interesting thread. I would like to go back to programming again, but I'm a bit rusty...I used to do assembler, fortran,algol and cobol...that was a long time ago. Seems this project is a good idea, I will have to pick up the threads.. what about classes and data structures, variables...where do we get those from...so many questions....it's a challenge :)

FrostyCoolSlug 17-04-2004 02:54

Re: Open-Source , how to handle?
 
Sounds like a great idea. I would love to be involved with this, i have some C++ experiance, and bot compiling experiance as well. I use CVS in other projects i work on, and i also know that Sourceforge is a pain in the ass to use. (no offence intended, i have 3 projects on there, i've been forced to avoid the SF CVS for various reasons)

for (int a = 0; a < 256; a++) { print "If you understand this, you \"own\"\n"; }

:D

minorgod 17-04-2004 05:58

Re: Open-Source , how to handle?
 
I'd love to help too. I've got some C++ and tons of PHP, JavaScript (hate it) and ActionScript (Flash...hate it..sort of). I'm game...I've always wished I could look at some well-documented bot source code so I could learn how to write bots myself. I've been following the RealBOt development thread since it was just a text file. I think programming is fundementally the same in most common languages in the Post-C era...it's mostly a matter of different syntax doing the same types of things. If your code is well commented I'm pretty sure I can figure it out.

As far as a CVS system, I've never used one and have no opinion. If I can find good directions, I'm sure I can set one up. It does seem like almost a necessity for this type of project. I also second the motion for Sourceforge as the place to do it if you decide to go with a CVS. They are established, time-tested and have lots of developers mulling about.
__________________
Nowhere does science promise emancipation.

Nova 17-04-2004 06:55

Re: Open-Source , how to handle?
 
Quote:

Originally Posted by FrostyCoolSlug
for (int a = 0; a < 256; a++) { print "If you understand this, you \"own\"\n"; }
:D

translated into english:

Why would you want to print that sentence to the screen 256 times ? :)

V or 'Tex 17-04-2004 09:01

Re: Open-Source , how to handle?
 
Moreover, don't you have to actually call the CS function in order to get that to display?


All times are GMT +2. The time now is 04:37.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.