has voicechat been added to darplaces/nexuiz?

Anything to do with Zymotic here

Moderator: Moderators

has voicechat been added to darplaces/nexuiz?

Postby 8-bit-prodigy » Tue Jan 27, 2009 3:29 am

ioquake 3 has mumble integration, so it shouldn't be too hard. its something that would be nice to have.
we need an open source narbacular portal
8-bit-prodigy
Member
 
Posts: 15
Joined: Sun Jan 25, 2009 7:15 am
Location: teh urfs

Postby divVerent » Tue Jan 27, 2009 8:04 am

We have no coder to do it.

Stop demanding, and learn coding and do it.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

has voicechat been added to darplaces/nexuiz?

Postby 8-bit-prodigy » Tue Jan 27, 2009 2:56 pm

well, i know c++, but not c, it shouldn't be too hard tho, and i also have plans to get a team together to transcode darkplaces into c++ to make it easier in the future, and add some features, like a gui (like Source), and other stuff. but mumble is written in c++, so i don't know how to put two languages together.
we need an open source narbacular portal
8-bit-prodigy
Member
 
Posts: 15
Joined: Sun Jan 25, 2009 7:15 am
Location: teh urfs

Postby divVerent » Wed Jan 28, 2009 9:38 am

There is no use or need in rewriting it all in C++, as that will only make the code even more complex and hard to understand than it already is.

Plus, C and C++ can interface very well. There is no problem with adding a C++ source file to the otherwise-C darkplaces engine.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Re: has voicechat been added to darplaces/nexuiz?

Postby esteel » Wed Jan 28, 2009 11:24 am

8-bit-prodigy wrote:well, i know c++, but not c, it shouldn't be too hard tho, and i also have plans to get a team together to transcode darkplaces into c++ to make it easier in the future, and add some features, like a gui (like Source), and other stuff. but mumble is written in c++, so i don't know how to put two languages together.

How can you know C++ but NOT C? Besides what makes you think that turning something into C++ makes it easier to understand or easier to modify instead of harder and slower? And DP can already have a GUI.. just look at the nice Nexuiz menu. Or if you think gui is impossible with C.. gnome is largly written in C :)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

has voicechat been added to darplaces/nexuiz?

Postby 8-bit-prodigy » Wed Jan 28, 2009 4:37 pm

How can you know C++ but NOT C? Besides what makes you think that turning something into C++ makes it easier to understand or easier to modify instead of harder and slower? And DP can already have a GUI.. just look at the nice Nexuiz menu. Or if you think gui is impossible with C.. gnome is largly written in C Smile


well, first of all, i learned C++ in school, not C, second, i find making something object-oriented makes modification a lot easier, and i believe this would be true for anything(although the only thing i actually made OO was pong in java), like idtech 4 is entirely C++, third, by gui, i meant a gui built into the engine, like Source =], but thats only a thought, not something planned. On another note, i found a program written in Python, that translates C into C++, but i cant get it to work ='[.
we need an open source narbacular portal
8-bit-prodigy
Member
 
Posts: 15
Joined: Sun Jan 25, 2009 7:15 am
Location: teh urfs

Re: has voicechat been added to darplaces/nexuiz?

Postby GreEn`mArine » Wed Jan 28, 2009 6:00 pm

8-bit-prodigy wrote:On another note, i found a program written in Python, that translates C into C++, but i cant get it to work ='[.

You made my day. Thank you!

sorry, but I can't resist, I just have to comment that:
Your chances of porting a very complex engine written in C to C++ (and at the same time telling us that you learned C++ at school and you don't know C) is about as realistic as if I said:
"Hey, I've had an astrology and programming class last semester, I want to go to NASA now and change the computer control elements of the Hubble telescope to be realized in another programming language"
Why don't I actually say it? Because I am too inexperienced in it (aka being a "noob") and even if I wanted to do that, it would take years to accomplish, if at all.

Sorry to say that, but if you really wanted to do that, you'd need a lot of experience in the C field (C/C++) first of all, and once you had that experience, you'd realize that porting it would not necessarily make sense anyway, as already stated above.

I am not gonna stop you or tell you what to do, and I am also (trying :P) to not be an ass about this, but you will save yourself a lot of trouble when not trying to get ridiculous tools to port an sophisticated engine from C to C++, not to mention trying it yourself...

And this is somewhat directed to all people who say "well, you can do everything you want if you really want it". It maybe true, after years of learning, but it's not suitable for the ones who don't want to dedicate a LOT of time to it. To see a good example of failure, have a look at the Split Screen thread, where DeVsh and his team (even when having quite a bit of dedication to the subject) failed to do it, and I do very much doubt that he's ever gonna finish it.

If he does ... well, kudos to him.
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

Postby divVerent » Wed Jan 28, 2009 6:51 pm

That "translator" is useless, it won't translate procedural code into OO code, just make the C source compile with a C++ compiler.

Guess what? DarkPlaces already can be compiled as C++. Just rename the source files from .c to .cpp.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Alien » Wed Jan 28, 2009 9:08 pm

All threads by d are jokes, imo. Starting programming without learning the language first always leads to failure. Look at his sig.

Now, the question about porting. I suppose you want to move it to OO code, but do you understand what piece of each code really does in order to split those into separate reusable portions?
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

has voicechat been added to darplaces/nexuiz?

Postby 8-bit-prodigy » Thu Jan 29, 2009 3:29 am

well, i guess i would have to look over the code A LOT, and the translating part would be hard, but, after that it might be easier, im not saying it is tho. and about the learning c/c++, i learned qbasic, then straight up C++

oh, and to green'marine, i knew it would take a long time, and that i lack experience, but i was thinking about getting a team together to work on this, but i doubt anyone would join, by the looks of things. anyway, i like the darkplaces engine, but i think the OverDose (http://www.teamblurgames.com/overdose) and XReal engines will become more mainstream (tho havent heard much from xreal)
we need an open source narbacular portal
8-bit-prodigy
Member
 
Posts: 15
Joined: Sun Jan 25, 2009 7:15 am
Location: teh urfs

Next

Return to Zymotic - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest