This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Topics - ruler501
76
« on: March 20, 2011, 07:01:34 pm »
This is probably my greatest unfinished project ever. I have tried to work on this on and off for a year or more now. It is a full conversion mod of Firaxis Sid Meiers Civilization IV to a Star Wars theme. Me and the team that was working on it have managed to go pretty far already. what we have run up against now though is that we need graphics(3d models 2d buttons) and we have no one who is able to make them currently. We currently have remade the civilizations, redone most units, and have a brand new Tech Tree. I am currently working on religions and units. We just do not have enough people to possibly be able to work on everything that needs to get done The forum for it on civfanatics is here: http://forums.civfanatics.com/forumdisplay.php?f=218Most of the threads there are highly outdated though If anyone is willing to I could use some help with the C++ programming, graphics, and all around work. It would really help if You had Civ IV. My username on civfanatics is "civ editor11" any help would be apreciated. I will post screenshots later
77
« on: March 11, 2011, 10:18:27 pm »
this is a solo I wrote for Tenor Saxophone(the instrument i play). I will have a version of it with me actually playing it later. this is the first solo I have written completely on my own. I use portable MuseScore for writing Music. PM me if you want the sheet music. I believe i can transpose it to any instrument i have the XML file for(most instruments). Well comments suggestions please I hope I did all right with this. I was not sure how to end it though EDIT: Link to audio of it soon. What are good audio upload sites EDIT2: Here is a link to it on zShare. solo in B Flat.wav - 6.90MB
78
« on: March 07, 2011, 11:10:01 pm »
My clas has begged me to write an executable converter which they will place in the homework drive of my schools computers. My school will not allow us to install the compatibility pack and we are currently using Microsoft Office 2003. Could someone please help me in how to do this. I will do it in any compiled language i could possibly quickly learn enough of.(C++ preffered because of prior knowledge) Thank you to anyone who might help
79
« on: March 07, 2011, 08:34:15 am »
I am using Microsoft Visual C++ 2010 and when I compile thic code. It then says running for about a minute then goes away. I never see anything from my program run. what am I doing wrong this has never happened to me before while I was using this software.
This is my code for a MAP style test in math
/* rand example: guess the number */ #include <iostream> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <time.h> using namespace std;
int randomgen(int range, int bottom); int addition(); int subtraction(); int multiplication(); int division();
int score=0;
int main() { srand(time(NULL)); int randint, wrongs=0; for(int i; i<20; i++) { if(score<3) { randint=randomgen(6,0); if(randint==5) { wrongs+=addition(); } else if(randint==4) { wrongs+=subtraction(); } else if(randint==3) { wrongs+=multiplication(); } else if(randint==2) { wrongs+=division(); } /* else if(randint==1) { wrongs+=simplelinear(); } else { randint=randomgen(3,0); if(randint==0) { wrongs+=determinant(); } else if(randint==1) { wrongs+=scalarmultiplication(); } else { wrongs+=cts(); } }*/ } } system("PAUSE"); } //Function Definitions int randomgen(int range, int bottom) { int iSecret; iSecret = rand()%range+bottom; return iSecret; }
int addition() { int numone, numtwo, answer; numone=randomgen(900, 100); numtwo=randomgen(600, 50); cout << "What is %d + %d equal ", numone, numtwo; cin >> answer; cout << "\n"; if(answer==numone+numtwo) { score++; return 0; } else { return 1; } }
int subtraction() { int numone, numtwo, answer; numone=randomgen(200, 799); numtwo=randomgen(800, 1); cout << "What is %d - %d equal ", numone, numtwo; cin >> answer; cout << "\n"; if(answer==numone-numtwo) { score++; return 0; } else { return 1; } }
int multiplication() { int numone, numtwo, answer; numone=randomgen(900, 100); numtwo=randomgen(750, 50); cout << "What is %d * %d equal ", numone, numtwo; cin >> answer; cout << "\n"; if(answer==numone+numtwo) { score+=2; return 0; } else { return 1; } }
int division() { int numone, numtwo, answer; numtwo=randomgen(350, 50); numone=numtwo*randomgen(900, 100); cout << "What is %d / %d equal ", numone, numtwo; cin >> answer; cout << "\n"; if(answer==numone/numtwo) { score+=2; return 0; } else { return 1; } } It also shows these errors when the code is running
'MAP.exe': Loaded 'E:\MAP\MAP\Debug\MAP.exe', Symbols loaded. 'MAP.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Cannot find or open the PDB file The program '[8712] MAP.exe: Native' has exited with code -1073741790 (0xc0000022).
80
« on: March 03, 2011, 11:31:19 pm »
I want to create an equation that works kindof like the sin/cos function but has irregular zeros. It needs to have maximums of 1 and minimums of -1. How would I do this? Thank you for any help.
81
« on: February 25, 2011, 11:11:53 pm »
A would like a 30x42 sprite I could use in my shooter game I am making it should go with my other sprite which I will attach here. I want to use the sprite as the enemy 1. I intend to have 3 kinds of enemy. One thing that is a must about the sprite is that it has to be easily animated to go with my game. thank you for any help you might give
EDIT: If you animate it I need all the frames as jpg. Pygame does not support gifs and I have to just code in animations.
82
« on: February 25, 2011, 08:41:36 pm »
If you do not know about this there is a website here: http://www.geneticprogramming.us/I am trying to learn genetic programming/create a new library for it in python. I thought this would be a good place to create a discussion on it and possible implementations and uses. Please post any thoughts you have on the subject
83
« on: February 22, 2011, 10:42:22 pm »
I have been attempting to write a math book in Microsoft word. I have 2010 and the Mathematics add-on. When I try to print it off it prints just every math equation i added in is left out but there is space for them does anyone know why this is happening. I would like to be able to go over this/write more at school but I would like to be able to see what I've done so far to do that. thank you for any help you might give
84
« on: February 22, 2011, 09:21:39 pm »
I am writing a book on learning math. I taught myself from an advanced 6th grader to a seventh grader who can (kindof) do Calculus and I want to help others do this. I want this book to be simple enough to understand, but include proofs for most things it does. I also partially wrote this book because I'm tired of everyone around me complaining because math is so hard so I am going to show them how easy it is. I plan on posting excerpts from it here for review so I can see how I'm doing I'm sure you guys can understand why I don't post the whole book so far. I have only been working on this for about a week and even then this is on/off work for me so currently I am 7 pages in. thank you for any feedback and I will be sure to mention everyone who gives me help in the acknowledgments. At this time I do not plan to ever have this published It will just be something I distribute to friends or use to help me teach others math. The first excerpt is here it is the first page from my book please comment or tell me what I can do better(i will also gladly take any praise you have to give ) I have a title on top of that in a nice graphical header. It is chapter one of my book. Functions and Variables is the chapter name. the book has a currently undecided name EDIT: I have posted a preview of chapter one as a Word 2003 document the password to access it is saftey. I will be happy to hear any feedback you have. (I'm sorry if this is in the wrong forum)
85
« on: February 21, 2011, 11:01:06 pm »
I have been trying to make a math quiz to assist me in finding out my own skill compared to others and possibly to help me in my math tutorial style book. Here is my code to try and generate 5 random numbers from 1-5. It is displaying strange errors
/* rand example: guess the number */ #include <iostream> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <time.h> using namespace std;
int randomgen(int range, int bottom);
int main() { for(int i=0; i<5;i++) { int num; num = randomgen(5, 1); cout << num << endl; } system("PAUSE"); }
int randomgen(int range, int bottom) { int iSecret; srand(time(NULL)); iSecret = rand()%range+bottom; return iSecret; }
Errors
'Chapter1.exe': Loaded 'E:\Book\Software\Chapter1\Release\Chapter1.exe', Symbols loaded. 'Chapter1.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Cannot find or open the PDB file 'Chapter1.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Cannot find or open the PDB file 'Chapter1.exe': Loaded 'C:\Program Files\Alwil Software\Avast5\snxhk.dll', Cannot find or open the PDB file 'Chapter1.exe': Loaded 'C:\WINDOWS\system32\msvcp100.dll', Symbols loaded. 'Chapter1.exe': Loaded 'C:\WINDOWS\system32\msvcr100.dll', Symbols loaded. 'Chapter1.exe': Loaded 'C:\WINDOWS\system32\shimeng.dll', Cannot find or open the PDB file 'Chapter1.exe': Unloaded 'C:\WINDOWS\system32\shimeng.dll' The program '[2980] Chapter1.exe: Native' has exited with code 0 (0x0). I don't know what is going on please help
86
« on: February 06, 2011, 11:01:57 pm »
what is the best graphics module for python 2.6? I am interested in making 3d games and pygame does not support that so I just wanted to know what was considered the best
87
« on: February 01, 2011, 02:10:23 pm »
I am currently making a physics game using some of the techniques in this thread http://ourl.ca/4279 I am writing it in python because it is the only language I know well enough to do something like this in. I have a few questions about some things so any help would be appreciated. right now I just finished my skeleton code and am starting on the game engine. I am currently using pygame for graphics, I also have python 2.6.2 My first Question is how could I code Cellular Automata in python for a large/full screen?
88
« on: January 22, 2011, 12:07:53 pm »
I am working on my first real C++ Project a base to base converter that will work with all real numbers 36 and other. This is the beginning of my code. currently it should only supports numbers from 1 to 10
#include <cstdlib> #include <iostream> #include <math.h> using namespace std;
int main() { int product, power; float num, rem; double answer, base, conv=1, ten, place; power = 0; ten = 10.0; answer = 0; cout << "Enter number to be converted "; cin >> num; cout << "\n"; cout << "What base do you want to put it in "; cin >> base; cout << "\n"; rem = num; while(base>10) { cout << "please put in a smaller base "; cin >> base; cout << "\n"; } while(conv<=num) { power++; conv=conv*base; } while(rem!=0) { power--; conv=pow(base, power); place = pow(ten, power); product = floor(rem/conv); while(product >= base) { product-=1; } answer += product*place; rem -= product*conv; if(power<=-20) { break; } } cout << "Your answer is " << answer <<"\n"; cout << "\n"; system("PAUSE"); }
I'm using codeblocks with the gnu gcc compiler it returns this error when I try to compile please help
"B2B - Release" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping... Nothing to be done. EDIT: I am now using Microsoft Visual C++ Express 2010 and have a succesful beta build which I have attached here. Updated my code above EDIT2:Here is the code for my Quadratic Solver
#include <cstdlib> #include <iostream> #include <math.h> using namespace std;
int main() { float bs, cs, s, ra, rb, a, b, c, h, k; cout << "What is a? "; cin >> a; cout << "What is b? "; cin >> b; cout << "\n"; cout << "What is c? "; cin >> c; cout << "\n"; bs = b/a; cs = -1*c/a+pow(bs, 2)/4; s = sqrt(cs); ra = bs/2+s; rb = bs/2-s; h=bs/2; k=a*pow(bs, 2)/4+c; cout << "The First Root is" << ra << "\n"; cout << "the Second Root is" << rb << "\n"; cout << "Vertex is (" << h << "," << k << ")" << "\n"; system("Pause"); } I attached the .exe for this also
89
« on: January 18, 2011, 11:14:39 pm »
I downloaded TiLP and got it to run while I had my Ti-Nspire with 84 keypad in. my computer recognized it as an 84+SE and loaded driver for it. when I ran TiLP II and tried to save a 84 program to my calc I got this error There is a file type incompatible with the target hand-held in the selection. What is going wrong please help
90
« on: January 17, 2011, 09:53:21 pm »
Post here for topic Ideas for this forum: http://ourl.ca/8809I will put them in the poll and the most popular option in 2 days will become the project for the competition. For each idea I will take out one of those Temporarily Blank's and replace it with the idea if we need more space I'll add more options People will have two days to make it NO GAMES
|