User Profile

Collapse

Profile Sidebar

Collapse
fishirboy
fishirboy
Last Activity: Jun 4 '13, 04:30 PM
Joined: Mar 27 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • fishirboy
    started a topic Game Lobby Program
    in C

    Game Lobby Program

    I am having a debug error i can't find saying:

    Error 2 error LNK2019: unresolved external symbol "public: __thiscall Lobby::Lobby(vo id)" (??0Lobby@@QAE@ XZ) referenced in function _main

    and

    Error 1 error LNK2019: unresolved external symbol "public: __thiscall Lobby::~Lobby(v oid)" (??1Lobby@@QAE@ XZ) referenced in function _main

    and

    Error 3 error LNK1120:...
    See more | Go to post

  • fishirboy
    replied to Text based RPG
    in C
    I just scraped the last combat system and made a different one its working great! I will be close to finishing the game.
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    not really, no. I will just look around the web and figure out how to use this more affectingly.
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    some what I am not the most experienced with it but I do use it.
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    I do use it but its just that it works but it gives the negatives.
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    I have a day to get this combat system up and running please some one help!

    https://compilr.com/fishirboy/rpg/RPG.cpp

    I use Microsoft Visual C++ 2010 Express, its free and you need some C++ skills to even understand this. my combat system located at line 3831-3932 (may be a little miss placed because of me working). I am begging i am so stumped.

    (the combat was working but I added some stuff and it went wank...
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    were did that come from! :)

    It must have pop'ed out at you! Thanks
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    I have just about rap'ed up the intro to create a character. I am now on monsters I have a post about how to do it and will try it out: http://www.therpgsite.com/showthread...472#post651472 but I have a few questions.

    1. How should I set up the monsters? Vector, array, what?

    2. when calling on the to battle how would I do that?

    3. Right now I am trying some vector calling and Mob1 (bat) will say that...
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    O silly me, I got messed up because I was using the numbers and got messed up thank you.
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    I understand that at the point you have marked its not in a vector but once I have created the stats I then put all stats in the vector:

    Code:
        struct1 stats0;
        stats0.name = "(STR)Strength";
        stats0.dis = "A measure of how physically strong a character is. Strength often controls the maximum weight the character can carry, melee attack and/or damage, and sometimes hit points. Armor and weapons might also
    ...
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    I am having a problem, I want to change a number in stats.num but it will not change do I have to remove all the stats from inventory and restate them to get my new answer?

    Code:
    // RPG.cpp//
    #include "stdafx.h"
    #include <iostream>
    #include <vector>
    #include <string>
    #include <fstream>
    #include <ctime>
    #include <cmath>
    #include <cstdio>
    ...
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    Well I don't want the void to return anything and still want to use one is there a way to make the iter2 to be transferred over? I have gotten all of the int's into the void but the const_iterator' s and vector's are not having an easy time.

    Like this:

    Code:
    #include "stdafx.h"
    #include <iostream>
    #include <string>
    #include <vector>
    
    using namespace std;
    
    void
    ...
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    Code:
    //VOID STATS!!!!!//
    		cout << "Stats!\n\n";
    
    		num = 1;
    		for (iter2 = stats.begin(); iter2 != stats.end(); ++iter2)
    		{
    			cout << (*iter2).name;
    			switch(num)
    			{
    			case 1:
    				cout << " = " << STR;
    				break;
    			case 2:
    				cout << " = " << CON;
    				break;
    			case 3:
    				cout <<
    ...
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    Then how could I have a function stated only once and be repeated when ever I want to call it up. So is I have my stats, and I want to call it up and it would take less code.

    I wanted to use void because I did not need a any thing changed when it was called, just to be called.
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    Now I am trying to void all of my vectors so that I can call on them when ever, for example, if I want to call on my list of races:

    Code:
     struct1 Race0;
        Race0.name = "Elves";
        Race0.dis = "Elves are slightly shorter than humans, and have a much lighter build. They lackthe strength and stamina of the larger races, but are far more agile, both in   body and mind. Elves tend to make their homes deep within secluded
    ...
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    I am now having a small issue how would I be able to make my text that displays on screen, if in a vector how would i indent it. IE:

    Code:
    //Vector Race//
    	vector<struct1>Race;
    
    	//struct1 Race*;
    	//Race*.name = "";
    	//Race*.dis = "";
    
    	struct1 Race0;
    	Race0.name = "Elves";
    	Race0.dis = "Elves are slightly shorter than humans, and have a much lighter
    ...
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    I have been having some fun and doubled my code to around 600 lines, I have now 7 questions and will be starting on the "free choice".

    Code:
    // RPG.cpp//
    #include "stdafx.h"
    #include <iostream>
    #include <vector>
    #include <string>
    #include <fstream>
    #include <ctime>
    #include <cmath>
    #include <cstdio>
     
    using namespace std;
    ...
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    I as able to up data my RPG to be a little smaller and have added question 3 (There is not problems with this code):

    Code:
    // RPG.cpp//
    #include "stdafx.h"
    #include <iostream>
    #include <vector>
    #include <string>
    #include <fstream>
    #include <ctime>
    #include <cmath>
    #include <cstdio>
     
    using namespace std;
    
    
    struct
    ...
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    I have found my silly mistake with jobs, I messed up on the for loop and did ++iter, not ++iter2. That messed up the loop and made it brake. Took me an hour to fine ha.
    See more | Go to post

    Leave a comment:


  • fishirboy
    replied to Text based RPG
    in C
    So should I not have a const_iterator?
    Code:
    	vector<string>::const_iterator iter; // colors
    	vector<string>::iterator myIterator;
    	vector<struct1>::const_iterator iter2; // jobs
    	vector<struct1>::iterator myIterator2;
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...