.:: 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
Open-Source , how to handle?
Old
  (#1)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Open-Source , how to handle? - 15-04-2004

Read the news, and tell me your ideas...

currently i have in mind:
- i release the source code some day
- i have a thread on this forum what things need to be worked on , this list of 'todo's' will be updated due testing/information/requests by users.
- people download the source and can choose:
-- work on it alone, make an own version (create own website, distribute it, credit me for using it, aka like the POD bot off-spring)
-- help developing RealBot itself (which i encourage!), work on the 'todo list' as mentioned above.

Code changes:
- can either be published on the forum. I will create a seperated forum section for this. As an example a form thread title could be like:

FIX: Bot's shooting hostages

Then in the forum thread you will have it like:

On line y of file z, change the following code
Code:
some code
into:

Code:
some other code
Etc.

I imagine a team should be assigned in order to keep the 'real source' updated to get releases done. People could either change their version by adapting the changes/fixes/adds by applying them from the forum. Or they wait and an (weekly?) update will be used.

Look people, i am serious about this. I want RealBot to be 'free' , i also want it to develop it further. I will not stop developing RealBot, but i will also not release the source when there is nothing organized so i don't just release it for the sake of it. I want to release the source with a solid purpose.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#2)
Ava3ar
Guest
 
Status:
Posts: n/a
Default Re: Open-Source , how to handle? - 15-04-2004

sounds like a good idea, i wouldnt mind being on the official team, thus expanding my knowledge and giving the off-spring's something to aspire to
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#3)
[+Duracell-]
Member
 
Status: Offline
Posts: 65
Join Date: Jan 2004
Default Re: Open-Source , how to handle? - 15-04-2004

This would be cool...although I don't know too much C++ I've only taken a basic course in Java, and I have a C++ book, so I'm willing to learn!

I just need something to push me in the right direction...botman's readme, maybe? *looks*
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#4)
davek
Member
 
davek's Avatar
 
Status: Offline
Posts: 58
Join Date: Dec 2003
Location: san diego, ca
Default Re: Open-Source , how to handle? - 15-04-2004

sounds like an excellent idea, stefan. unfortunately, i don't think i know enough programming to be able to help much.

it would also be nice to get updates when u are working on other things

i stopped playing CS online years ago, the only reason i play now is to test out the bots you made. i find it really interesting what you have done so far. keep up the good work.
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#5)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Open-Source , how to handle? - 15-04-2004

thanks davek, good to hear. You know, i actually play still cs because i am working on RealBot. I got lucky when i found a good on-line server for myself later. If i never worked on RB, i probably did not even play CS anymore.

The coding experience you need to write stuff for the bot is actually not that much imo. The very basics are:

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

Actually i think the following code is understandable to most people aging from 15 years old.

Code:
a = a + 2;
except for the ;, it looks like a normal math formula. When A is 3, then the sum becomes:

A = 3 + 2
A = 5

And this was actual code, very simple code of course.

When i want to code sollution, like handling buttons. I think in small steps. What do you do as a human to open the door? Lets pretend you are stupid, dumb and you really think doors _only_ open by touching it. What will you do when it does NOT open by touching it? You will probably think WHY, and yo uwill find the SWITCH. Now, thats what RB does too:

- when door is not opening when touching
- find a switch
- go to it
- use/touch it
- go back to door and resume path

when you have come this far, you did 40% of the work. Now you need to know what variables and functions are available (read-> instruments/tools) to make this work.

Anyway, i always comment my code a lot, so i think eventually you will understand and even able to apply patches.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#6)
Nova
Council Member
 
Nova's Avatar
 
Status: Offline
Posts: 761
Join Date: Nov 2003
Location: Kiel, Germany
Default Re: Open-Source , how to handle? - 15-04-2004

stefan, for the kind of thing that U have in mind i think CVS would be a good thing. You could put the source on the CVS in read-only, so that any users that has a BU email adress can look at it, and then u can specify specific people that can write ... if something changes, the next time u do an update on your local computer it will tell you that stuff has changed. If you dont like the change ... fair enuf .. just go back to an earlier revision and delete the other one

CVS is really nifty !


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
  (#7)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Open-Source , how to handle? - 15-04-2004

I will look into this CVS thing. But it also stops a lot of people to try on bots when they have to download multiple programs just to get a source. Anyway, i could set up a tutorial for that too. I think we need an own CVS server for that Nova? Is that possible?


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#8)
T!m
Member
 
T!m's Avatar
 
Status: Offline
Posts: 127
Join Date: Jan 2004
Location: Netherlands, Arnhem
Default Re: Open-Source , how to handle? - 15-04-2004

Quote:
Originally Posted by stefanhendriks
[/code] .....You will probably think WHY, and yo uwill find the SWITCH. Now, thats what RB does too:

- when door is not opening when touching
- find a switch
- go to it
- use/touch it
- go back to door and resume path


about the switch thing, does it only (as you discribe) work for doors or wil the bot also use camera's, elevators(button activated), ect. ?
I mean can you split them into different catogoties or will rb see it as one!?

I guess it can be split other wise i can imagine the bot get pretty confiused by ex. camera's.
or am i totally off cource now!?! :o


in/out
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#9)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Open-Source , how to handle? - 15-04-2004

T!m, i know you want to know, but this is not really the thread to handle it.

To answer your question:
- it only knows for doors. Only when obstructed. It does not know what an elevator/camera is.

A camera will not obstruct a bot, thus it will not find a button for it either.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Open-Source , how to handle?
Old
  (#10)
TruB
One Eyed Freak
 
TruB's Avatar
 
Status: Offline
Posts: 1,164
Join Date: Dec 2003
Location: local mall
Default Re: Open-Source , how to handle? - 16-04-2004

sounds to me PMB will have something more to do..
  
Reply With Quote
Reply


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

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 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com