.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > RealBot > The RealBot 'Source'
The RealBot 'Source' Discuss things about the source code. You can here point out bugs, share ideas and code. Assign to become an 'official team member' and so on!

Reply
 
Thread Tools
Re: Open-Source , how to handle?
Old
  (#11)
davek
Member
 
davek's Avatar
 
Status: Offline
Posts: 58
Join Date: Dec 2003
Location: san diego, ca
Default Re: Open-Source , how to handle? - 16-04-2004

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
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#12)
Serj
Guest
 
Status:
Posts: n/a
Default Re: Open-Source , how to handle? - 16-04-2004

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.

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."

Last edited by Serj; 16-04-2004 at 10:27..
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#13)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: Open-Source , how to handle? - 16-04-2004

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

Last edited by MusicMan; 16-04-2004 at 16:06..
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#14)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: Open-Source , how to handle? - 16-04-2004

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


sunny morning view from my balcony:

see our WIKI!
see our filebase!
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#15)
zyrain
Guest
 
Status:
Posts: n/a
Default Re: Open-Source , how to handle? - 16-04-2004

IF you want an alternative to CVS check out: Codeville
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#16)
[WPSC]Silver Ghost
Guest
 
Status:
Posts: n/a
Default Re: Open-Source , how to handle? - 16-04-2004

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
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#17)
FrostyCoolSlug
Member
 
FrostyCoolSlug's Avatar
 
Status: Offline
Posts: 318
Join Date: Mar 2004
Default Re: Open-Source , how to handle? - 17-04-2004

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"; }



=====
Craig "FrostyCoolSlug" McLure
Network Administrator of the ChatSpike IRC Network
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#18)
minorgod
Member
 
minorgod's Avatar
 
Status: Offline
Posts: 43
Join Date: Jan 2004
Default Re: Open-Source , how to handle? - 17-04-2004

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.

Last edited by minorgod; 17-04-2004 at 06:01..
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#19)
Nova
Council Member
 
Nova's Avatar
 
Status: Offline
Posts: 761
Join Date: Nov 2003
Location: Kiel, Germany
Default Re: Open-Source , how to handle? - 17-04-2004

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

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


nova

- Quote: <kodex> I swear. Beta testing increases your e-wang ! :p

- Remember, today is the tomorrow you worried about yesterday.


  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#20)
V or 'Tex
Member
 
Status: Offline
Posts: 121
Join Date: Feb 2004
Default Re: Open-Source , how to handle? - 17-04-2004

Moreover, don't you have to actually call the CS function in order to get that to display?
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com