Thread: Searching For C++ Devs To Join A Project

  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    6

    Thumbs up Searching For C++ Devs To Join A Project

    Hello I would like to invite some of you to a project we have been working one for some time now. Each of you can check it out on our SVN.


    Code:
    https://getintoxi.svn.sourceforge.net/svnroot/getintoxi/
    We have a connection issue where we are only allowing 10 players to login and join. On one server. Our goal has always been to allow 500 or more, but we just arnt able to solve this problem.

    Our project is a open source software project. And were searching for C++ Devs to join the project full time or part time for fun.

    If any one would like to join the project and would like to code with use please email me at [email protected].

    Get In To XI. Mancent
    A Final Fanatasy XI Public Server.

  2. #2
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    We're not opposed to these sorts of postings, but they should be posted in Projects and Job Recruitment.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  3. #3
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Indeed, and thus this thread has been moved.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  4. #4
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    It would also be nice if you provided some actual details of the project. Is it a game, a social networking application, a distributed computing project to solve the age old mystery of seat up or seat down? While I'm sure lack of details may not cause all parties to be disinterested, it really doesn't let people know what to expect when they download and compile your project.

    But just a guess, you are probably using thread per connection instead of connection pooling.

  5. #5
    Registered User
    Join Date
    Nov 2009
    Posts
    6
    Im sorry I didnt really explain what the project was did I I was more interested in searching for c++ devs to join the project I never even took the time to explain the project.

    GetInToXI is and open source code for a MMORPG game Where you can join chat and explore the world along side other fellow players.

    If you ever played Final Fanatasy Its Alot like that.
    More can be leared at Wow-Bro • Index page

  6. #6
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Do you realize teh resources required to develop and run an MMO? I know they are the hot cool thing this year, but honestly, they require more than just volunteer help. You need a significant amount of hardware and bandwidth to run the server. What hardware do you have available? How many computers, what speed dedicated connection,?

    Not trying to discourage you, but there are tons of people that have 'this awesome idea for an MMO just like this other MMO', and they never go anywhere because the guy loses interest when they realize its actual work.

    And you shoudl avoid the use of buzz phrases like 'holistic product management' which make most people think 'vaporware' or 'idiot project manager'. Do you have any commercial experience managing a project of this magnitude? an MMO is definitely NOT something you should attempt to pop your cherry on as far as project management.

    Do you have a design document and a requirements document or will this be one of those projects where you (the project manager) keep throwing out 'cool new ideas' that the programmers then have to rewrite a thousand lines of code to implement?
    Last edited by abachler; 11-23-2009 at 09:49 PM.

  7. #7
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    A Windows MMORPG built on MinGW? Care to comment on this unfortunate choice?

    We are committed to providing you with qualified and professional assistance, no matter where you are in the world. When you are having difficulties with Math, Physics, and Programming, projects, we are here to offer you expert assistance. Our knowledgeable experts are able to provide necessary assistance to our users with assignments of any different complexity.
    This includes advising people to write their full scale 3D game projects with MinGW?

    And when people will once and for all understand that a wiki is the crappiest poor man's lazy solution to FAQ & knowledge management? That it doesn't work. That wikis are by definition and design impossible to index once their size becomes large enough. And consequently, the more information they contain the less likely is this information to be found without the help of a search box which more often than not they can't use because they have no way of knowing what to search for.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  8. #8
    Registered User
    Join Date
    Nov 2009
    Posts
    6
    This is the origal connection
    Code:
     
    void CDb::loadWeaponskillRanks(void)
    MYSQL_RES * res;
    	MYSQL_ROW row;
        MYSQL* mysqlConn;
    	char query[1024];
    	memset(query, 0, 1024);
    	int count;
    
    	sprintf(query, "SELECT max(id) FROM skill_ranks");
    	count = (int) strlen(query);
    
    	mysqlConn=CDb::getConn(); //get conn
        mysql_real_query(mysqlConn, query, count);
    
    	res = mysql_store_result(mysqlConn);
    	CDb::pushConn(mysqlConn); //release conn
    
    	if (!res) 
    	{
    		sLog.outError("Query to determine the number of weaponskills failed!");
    		return;
    	}
    
    	row = mysql_fetch_row(res);
    	unsigned char numWeaponSkills = atoi(row[0]);
    	mysql_free_result(res);
    
    	if (numWeaponSkills == 0)
    	{
    		sLog.outError("Failed to load weapon skill ranks from db! No weapon skills in table skill_ranks");
    		return;
    	}
    
    	maxWeaponSkillId = numWeaponSkills;
    
    	m_pSkillRanks = new char*[NUMJOBS]; 
    	for (int job = 0; job < NUMJOBS; job++)
    	{
    		m_pSkillRanks[job] = new char[numWeaponSkills];
    		for (int wsId = 0; wsId < numWeaponSkills; wsId++)
    			m_pSkillRanks[job][wsId] = 0;
    	}
    
    	sprintf(query, "SELECT id,WAR,MNK,WHM,BLM,RDM,THF,PLD,DRK,BST,BRD,RNG,SAM,NIN,DRG,SMN,BLU,COR,PUP,DNC,SCH FROM skill_ranks ORDER BY skill_ranks.id ASC");
    	count = (int) strlen(query);
    
    	mysqlConn=CDb::getConn(); //get conn
    	mysql_real_query(mysqlConn, query, count);
    
    	res = mysql_store_result(mysqlConn);
    	CDb::pushConn(mysqlConn); //release conn
    
    	if (!res) 
    	{
    		sLog.outError("Failed to query all weaponskills ranks!");
    		return;
    	}
    
    	int weaponSkillId;
    
    	while ((row = mysql_fetch_row(res))!=NULL)
    	{
    		weaponSkillId = atoi(row[0]);
    		for (int job = 1; job<=NUMJOBS; job++)
    			m_pSkillRanks[job-1][weaponSkillId-1] = atoi(row[job]);
    	}
    
    	sLog.outDebug("Successfully loaded weaponskill ranks!");
    	mysql_free_result(res);
    }

    BUT I HAVE BEEN TRYING TO CONVET IT TO A NEW DATABASE TYPE SYSTEM LIKE THIS.
    Code:
    void CDb::loadWeaponskillRanks(void)
    {
    	/*
    	//We will need to clear this if we make a relaod command::::  m_WeaponSkillRanksclearMap.clear();
    	 QueryResult *result = CharacterDatabase.Query("SELECT max(id) FROM skill_ranks");
    	 if( !result )
        {
            barGoLink bar( 1 );
    
            bar.step();
    
            sLog.outString();
    		sLog.RedConsoleMsg(">> Loaded `skill_ranks`, table is empty.");
            return;
        }
    	 barGoLink bar( result->GetRowCount() );
    	 do
        {
            Field *fields = result->Fetch();
            bar.step();
    
            uint32 entry = fields[0].GetUInt32();
    		unsigned char numWeaponSkills = result->NextRow();//atoi(row[0]);  << HERE IS WRONG TOO
    		if (numWeaponSkills == 0)
    	{
    		sLog.RedConsoleMsg("Failed to load weapon skill ranks from db! No weapon skills in table skill_ranks");
    		return;
    	}
    
    	maxWeaponSkillId = numWeaponSkills;
    
    	m_pSkillRanks = new char*[NUMJOBS]; 
    	for (int job = 0; job < NUMJOBS; job++)
    	{
    		m_pSkillRanks[job] = new char[numWeaponSkills];
    		for (int wsId = 0; wsId < numWeaponSkills; wsId++)
    			m_pSkillRanks[job][wsId] = 0;
    	}
    
    
    
      } while (result->NextRow());
    
        delete result;
    
        sLog.outString();
    
    	QueryResult *result1 = CharacterDatabase.Query("SELECT id,WAR,MNK,WHM,BLM,RDM,THF,PLD,DRK,BST,BRD,RNG,SAM,NIN,DRG,SMN,BLU,COR,PUP,DNC,SCH FROM skill_ranks ORDER BY skill_ranks.id ASC");
    	 if( !result1 )
        {
            barGoLink bar( 1 );
    
            bar.step();
    
            sLog.outString();
    		sLog.RedConsoleMsg(">> Loaded `skill_ranks`, table is empty.");
            return;
        }
    	 barGoLink bar1( result1->GetRowCount() );
    	 do
        {  
    		
    		int weaponSkillId;
            Field *fields = result1->Fetch();
            bar1.step();
    
            uint32 entry = fields[0].GetUInt32();
    		weaponSkillId = fields[0].GetUInt32();
    
    		for (int job = 1; job<=NUMJOBS; job++)
    			m_pSkillRanks[job-1][weaponSkillId-1] = result1->NextRow();//atoi(result1->Fetch()[job]); <<-- HERE IS WRONG I KNOW
    	}
    		while (result1->NextRow());
    
        delete result1;
    
        sLog.outString();
    	*/
    }
    Im trying to change this old code to this new code. but I dont know how to do it right becasue is has 2 connections scrings in one fuction block. I have been adding your database and tread and socket code with ace wrappers to our project at projectxi.org

    But our new core test Idea is at wow-bro.com
    You can check out the SVN here and tell me if you can help fix all the database connections I have ben trying to add the 3 database connections types. and were doing really well. every thing is there and working it just changing it it now to make it work for the database. I know that makes no sence.
    Code:
    https://getintoxi.svn.sourceforge.net/svnroot/getintoxi/
    please help me.

  9. #9
    Registered User
    Join Date
    Nov 2009
    Posts
    6
    We have about 20 database tables in the database that need to be converted to a better system that pulls the data and sumbits and updates the data.

    It needs to fast and clean, I added a new database thread system and socket system. In hopes that it would solve alot f our problems with only letting 10 players connect to the server at one time before we all lagg out of the server.

    like I posted on the starter topic We can only hold 10 players and were trying to rewrite the old code to a better code system.

    We have a working sandbox server and were trying our best to create a working full feature server. If any one is willing to help please let me know.

    Do you realize teh resources required to develop and run an MMO? I know they are the hot cool thing this year, but honestly, they require more than just volunteer help. You need a significant amount of hardware and bandwidth to run the server. What hardware do you have available? How many computers, what speed dedicated connection,?

    Not trying to discourage you, but there are tons of people that have 'this awesome idea for an MMO just like this other MMO', and they never go anywhere because the guy loses interest when they realize its actual work.

    And you shoudl avoid the use of buzz phrases like 'holistic product management' which make most people think 'vaporware' or 'idiot project manager'. Do you have any commercial experience managing a project of this magnitude? an MMO is definitely NOT something you should attempt to pop your cherry on as far as project management.

    Do you have a design document and a requirements document or will this be one of those projects where you (the project manager) keep throwing out 'cool new ideas' that the programmers then have to rewrite a thousand lines of code to implement?
    Do you realize teh resources required to develop and run an MMO? I do. there will be a subscription fee to hold a type account in the game. different titles maybe extra gear options for subscribers.

    But the game will be free also just with the option.
    Hardwear Will come over time. The idea is juust to get the sandbox core running smoth with 100 players on a dedicated server rented. or more players like 500.

    As for right now im just looking for one more person to reapir all the database connections.

    Aucti9 is one of the devs here hes the one who is adding the new systems.

    Me Mancent I'm searching reading finding correct information to make some things work correctly. Like You guys I search for you.
    So you can make thign s work correctly LOL.

    Im not a c++ guro. I can only do little things with c++ Im ok at debuging solving pointer problems, and turning some thing on or off.
    Well theres alot more I can do.

    The Post i posted above was a post On my website I just copy pasted it here. To see if you guys might have a idea.

  10. #10
    Registered User
    Join Date
    Nov 2009
    Posts
    6
    It would also be nice if you provided some actual details of the project. Is it a game, a social networking application, a distributed computing project to solve the age old mystery of seat up or seat down? While I'm sure lack of details may not cause all parties to be disinterested, it really doesn't let people know what to expect when they download and compile your project.

    But just a guess, you are probably using thread per connection instead of connection pooling.
    This is why I ask Aucti9 at mangos to add a new database thread pool system for us.

  11. #11
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    You need to check this out:

    Quixotic

    Pay special attention to points 3 & 5; ignore #2.
    Last edited by MK27; 11-25-2009 at 02:19 PM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  12. #12
    Registered User
    Join Date
    Nov 2009
    Posts
    6
    So thats all the help this forum can give me. Nice Thank your for letting me learn a new word and definition.

    I thought it was a c++ code project for thead pooling or some thing lol.

    MK27 <------AKA<------- Jack Ass.

    You need to check this out:

    Quixotic

    Pay special attention to points 3 & 5; ignore #2.

  13. #13
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by Mancent View Post
    This is why I ask Aucti9 at mangos to add a new database thread pool system for us.
    database thread pool? I think you are mixing your terminology here. Threads have nothing to do with databases, unless its a threaded database, but threads don't go into databases. MK27 was correct in pointing out that your posts are indeed quixotic. Perhaps before calling other posters on this board jackasses, you should first learn the difference between a database and a thread, since it is obvious you have no clue how to implement either and when it is appropriate to do so or how they are related to application development.

    Database (layman) - a comprehensive collection of related data organized for convenient access, generally in a computer.
    Database (Application Programming) - A Relational Database, e.g. SQL, designed to hold related data organized for convenient access through structured search queries.

    Very often a layman, and thats you, will confuse the differences between a database and a simple array or list. They are not the same thing, nor can you call one the other anymore than you can call a car a bolt or a bolt a car. When discussing technical subjects, it is not acceptable to use imprecise terminology (e.g. buzzwords). Doing so will at best lead to confusion of ideas among your colleagues, and at worst lead them to disregard any future statements you make.
    Last edited by abachler; 11-27-2009 at 07:34 AM.

  14. #14
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    I think he simply means creating a thread pooling mechanism for database access. I don't see how him naming it any different justifies the verbal assault. A little cranky, are we?

    Moving on...

    Im trying to change this old code to this new code. but I dont know how to do it right becasue is has 2 connections scrings in one fuction block. I have been adding your database and tread and socket code with ace wrappers to our project at projectxi.org
    You coder seems to be looking for Asynchronous database access. The fact he doesn't know how to do it or even look where he should learn about it spells disaster. The fact it is you (who admits not knowing much about C++) the one doing all the searching is no good either. I've never seen any project being managed like that. And while I'm no expert, I've been on the business of software development for a little over 25 years. I may know something about it, you agree?

    Anyways, the link above introduces the subject of thread pooling for database access and querying. Necessarily, this opens an whole can of worms that goes by the name of multi-threading programming. I honestly don't think you guys are on that level yet. But it's true you did request for coders. So it's good news you realize that.

    My advise is:

    If you want any hope of drawing new coders for your project that can actually do something about it instead of constantly hitting brick walls with their heads, do the project for 10 players only. Make it happen. Make something that works and is fun for a reduced number of players. So don't worry about threaded database access of any kind.

    Otherwise, instead of drawing capable coders you will be scaring them away. No one will take you seriously. Those who do, aren't really very serious about it either. It's like "Tell me who you code for, I'll tell you who you are".

    This advise is free.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Logical errors with seach function
    By Taka in forum C Programming
    Replies: 4
    Last Post: 09-18-2006, 05:20 AM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  3. Visual C++ 2005 linking and file sizes
    By Rune Hunter in forum C++ Programming
    Replies: 2
    Last Post: 11-12-2005, 10:41 PM
  4. DJGPP project problems
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 06-08-2002, 07:16 PM