EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   Junior Developer (https://www.eqemulator.org/forums/showthread.php?t=15805)

Tzwizard 09-11-2004 04:53 PM

Junior Developer
 
Is the code supposed to Be Connected to Eq Emulator or just regular c++ ?

Cisyouc 09-11-2004 04:56 PM

Related to EQEMu. If you know how to print hello world but dont know jack about the EQEMu source you arent much of a junior developer. :D

Tzwizard 09-11-2004 04:59 PM

Quote:

Originally Posted by Cisyouc
Related to EQEMu. If you know how to print hello world but dont know jack about the EQEMu source you arent much of a junior developer. :D

Okie, Ill post some soon :)

O Btw, Someone Ban Gayfag~ / bbum :P hes annoying

Tzwizard 09-11-2004 05:01 PM

Code:

#include <iostream>
using namespace std;
int main()
{

int a = 319;
int b;
int c;

cout<<"What is your password servant?";
cin>>b;
{ if(b == a)
cout<<"Find me my Onyx staff & ill reward you.";
}
{ if(b != a)
cout<<"Thank you for returning my life's work.";
}
cin>>c;
return 0;
}


animepimp 09-11-2004 05:31 PM

Yeah thats not related to the Emu at all. Its just random code that inputs and outputs. BY related to the Emu he meant bug fixes or new features added to the Emu source code so that the servers can be better.

Tzwizard 09-11-2004 06:53 PM

Ok, Thx you animepimp

monalin crusader 09-12-2004 05:50 AM

I advise you to learn how to c++ program very well before you attempt to post some fixes to eqemulatr. The major thing i suggest if you wish to be a junior dev is to spend alot of time looking through the EQEmu code. Even if your an excelent coder if you know nothing about how this program works you will always fail. Nobody who is a junior dev / dev is very new they have spent weeks and weeks working on code, also if you post too many more examples like the one about you will get a reputation of being a complete idiot and basicaly every time you post people will make fun of you so as a word of advice learn before you post, and make sure its something useful.

Second of all the code yo posted will not do anything at all whatsoever, i'll tell you why. First of all you dont need the

Code:

using namespace std;
second of all your syntax on the if statements is incorrect,

Code:

{ if(b == a)
cout<<"Find me my Onyx staff & i'll reward you.";
}

should be

Code:

if(b == a){
cout<<"find me my Onyx staff & i'll reward you.";
}

and unless you want it all on one line you need to put

Code:

<< endl;

daeken_bb 09-12-2004 06:42 AM

Actually, his code would compile... however, the {}s there do essentially nothing.

Also, he's reading into 'c' for no reason :P

Tzwizard 09-12-2004 07:00 AM

Heh , I realized they developers were quitting left & right...

just trying to help the community of Emulator! :P

monalin crusader 09-14-2004 02:06 PM

I wasnt bitching at you dude i was trying to stop all of the flaming on this post before it got started and save you the drama, if u got any questions about c++ many developers would gladly help you out i would also, best thing to do is talk to me in irc if u have problems because its too hard to communicate through the PM's.

My chat handle is Monalin so talk to me thre if u like to learn how to code better.

Tzwizard 09-15-2004 12:43 AM

Thx Monalin, Ill do that on mmmmm friday...

Ill be on late though, skool thing going on so i gtg to that...... so see ya on friday! ! ! :)


All times are GMT -4. The time now is 03:17 AM.

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