Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #16  
Old 07-12-2004, 08:43 AM
Draupner
Hill Giant
 
Join Date: Jul 2004
Location: In my basement
Posts: 131
Default

Here are some of the things I have done so far. Got a few more things I'm testing atm now.

http://www.eqemulator.net/forums/viewtopic.php?t=15862
and
http://www.eqemulator.net/forums/viewtopic.php?t=15959
Reply With Quote
  #17  
Old 08-28-2004, 06:56 AM
Branks
Sarnak
 
Join Date: May 2004
Posts: 58
Default

not the greatest yet but im learning slowly and if theres anything i can learn about the project through the other forum or if theres a large list of time consuming little things that need fixed, i want in!

http://www.eqemulator.net/forums/viewtopic.php?t=16398
Reply With Quote
  #18  
Old 08-30-2004, 06:21 PM
Branks
Sarnak
 
Join Date: May 2004
Posts: 58
Default

so i guess thats a no? a response would have been nice =/
Reply With Quote
  #19  
Old 08-31-2004, 03:42 AM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

I think its more a case of there's a lot going on and it takes a while to notice.
__________________
Maybe I should try making one of these servers...
Reply With Quote
  #20  
Old 09-05-2004, 03:40 PM
Zkhava
Hill Giant
 
Join Date: Jul 2004
Posts: 206
Default

// Purpose: messages travel both up and down the layers,
// message interface per layer per direction,
// one concrete Facade per layer (implements 1 or 2 interfaces)
// Singleton access to Facade objects

#include
using namespace std;

class ChildOf3 { public: virtual void downMessage() = 0; };
class ParentOf2 { public: virtual void upMessage() = 0; };
class ChildOf2 { public: virtual void downMessage() = 0; };
class ParentOf1 { public: virtual void upMessage() = 0; };

class C : public ParentOf2 { public:
void execute();
void upMessage();
};
class B : public ParentOf1, public ChildOf3 { public:
void upMessage();
void downMessage();
};
class A : public ChildOf2 { public:
void downMessage();
void execute();
};

class SC { // Singleton Collection
public:
static C& layer3() { return cObject; }
static B& layer2() { return bObject; }
static A& layer1() { return aObject; }
private:
static C cObject; static B bObject; static A aObject;
};
C SC::cObject; B SC::bObject; A SC::aObject;

void thirdParty( ChildOf2& obj1, ChildOf3& obj2, ParentOf2& obj3 ) {
obj1.downMessage();
obj2.downMessage();
obj3.upMessage();
}

void main( void ) {
SC::layer3().execute();
SC::layer1().execute();
thirdParty( SC::layer1(), SC::layer2(), SC::layer3() );
}

// C::execute // A::execute // A::downMessage
// B::downMessage // B::upMessage // B::downMessage
// A::downMessage // C::upMessage // A::downMessage
// C::upMessage

void C::execute() { cout
Reply With Quote
  #21  
Old 09-05-2004, 03:41 PM
Zkhava
Hill Giant
 
Join Date: Jul 2004
Posts: 206
Default

Thats some code for a game im making
Reply With Quote
  #22  
Old 09-05-2004, 03:46 PM
monalin crusader
Hill Giant
 
Join Date: May 2004
Posts: 238
Default

This code wont do anything, and if it does what the hell is it doing? Besides developers are looking for contributions that you've made to EQEmu theres nothing showing us that you didnt just copy that form somewhere. I know i'm not a developer just telling you what they will tell you.
__________________
Ascending Dawn Server Op
Coder/Quester/Mysql
Reply With Quote
  #23  
Old 09-05-2004, 03:58 PM
sotonin
Demi-God
 
Join Date: May 2004
Posts: 1,177
Default

Geez zkhava. i think i prolly already told you this before.

posting code is pointless unless it fixes or adds something to eqemu. nobody cares about a game you're making. And if they did, you'd be better posting it in offtopic not adding to here like you deserve junior dev or something.

for all we know you prolly cut and paste that from some game code snippet site. It's nothing special =(
Reply With Quote
  #24  
Old 09-06-2004, 03:05 AM
Melwin
Fire Beetle
 
Join Date: Jan 2005
Posts: 15
Default

Quote:
Originally Posted by sotonin
Geez zkhava. i think i prolly already told you this before.

posting code is pointless unless it fixes or adds something to eqemu. nobody cares about a game you're making. And if they did, you'd be better posting it in offtopic not adding to here like you deserve junior dev or something.

for all we know you prolly cut and paste that from some game code snippet site. It's nothing special =(
Let's leave it at that, or I'll start editting posts. There's a thread about this gentlemen, and it's been locked for a reason!
__________________
Shards of Dalaya Staff Administrator
I have stairs in my house.
Reply With Quote
  #25  
Old 09-30-2004, 08:10 AM
sotonin
Demi-God
 
Join Date: May 2004
Posts: 1,177
Default

bah NM. somebody must have updated something. --- ignore
Reply With Quote
  #26  
Old 11-07-2004, 11:22 AM
-Kumadar-
Fire Beetle
 
Join Date: Nov 2004
Posts: 6
Default Junior Developer

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

int a = 243;
int b;
int c;

cout<<"what is the password?";
cin>>b;
{ if(b == a)
cout<<"how did you find the password out?!";
}
{ if(b != a)
cout<<"u should know the password ";
}
cin>>c;
return 0;
}
__________________
-Kumadar-
Reply With Quote
  #27  
Old 11-07-2004, 11:42 AM
sotonin
Demi-God
 
Join Date: May 2004
Posts: 1,177
Default

/bow down to the c++ genius :lol:
Reply With Quote
  #28  
Old 11-07-2004, 11:53 AM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

Ok pop quiz, Kumadar.

Somebody has found out the password is 243. So now I don't want the password to be hard coded into the program anymore. I wish for it to read from a file in the same folder as the program named pwd.txt.

Please post the modified program that will do this :P
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
  #29  
Old 11-07-2004, 01:38 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Can the text file be in a typical INI type style?
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #30  
Old 11-07-2004, 02:12 PM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

No, the contents of the pwd.txt file are just the password. Nothing else.

And I wanna see a submission from Kumadar, not you :P
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
Reply


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

   

All times are GMT -4. The time now is 10:14 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3