Pixel Genesis Online

An indie game in progress!
 
HomePortalFAQRegisterLog inThe Gaming Vortex
Search
 
 

Display results as :
 
Rechercher Advanced Search
Keywords
Latest topics
» Needing Farmables
Mon Jul 18, 2016 3:48 am by MagicDragon

» game release for android or pc
Mon Jul 18, 2016 3:32 am by MagicDragon

» Friend/Foe System!
Thu Jun 09, 2016 4:03 pm by Player3D3

» NEW POLL! (For Forums)
Tue Mar 22, 2016 8:39 pm by DeathSkull

» Moved Forums!
Thu Sep 03, 2015 6:22 am by TimeyTurtle

» New Forums
Sun Aug 30, 2015 3:57 pm by H3uy

» Hello my name is pomtapom (^_^)/
Sun Aug 30, 2015 2:46 pm by Edwardson

» Video Content.
Sun Aug 30, 2015 11:52 am by MagicDragon

» If you had your own "Mod" item what would it be?
Sun Aug 30, 2015 8:46 am by pomtapom

Most active topics
If you had your own "Mod" item what would it be?
Design a logo contest!
Find that hint! (PGO release game)
Moderators.
Upcoming events[Reminders and thanks]
Public Relations
Snapshots & Screenshots
Some Item Packs for the PGO market place.
Mysterious Wings
In game command suggestions
Top posting users this week

Share | 
 

 Code for console.

View previous topic View next topic Go down 
AuthorMessage
DeathSkull
Administrator
Administrator
avatar

Posts : 794
Join date : 2014-02-18
Age : 18
Location : USA

PostSubject: Code for console.   Fri Mar 07, 2014 9:28 am

#include <cstdio>
#include <string>
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int nNumberofArgs, char* pszArgs[])
{
int nAfterNumber = rand() %1001; // random number end for name

string playerName; // variable for playerName


cout << "Welcome! What do you want your name to be? Do not include spaces, or anything after the space will be deleted";
cin >> playerName; // input for the name.

cout << "\nYour name is: " << playerName << "."; //gives name
cout << " You will now get an ID number.";
system("PAUSE");
cout << "\nYour random ID number is, " << nAfterNumber << "."; //gives ID number
cout << "\nYour full name is, " << playerName <<"_"<< nAfterNumber << "."; //shows full name
system("PAUSE");
cout << "Welcome back, << PlayerName <<!";
count << "WARNING: DO NOT Host any scams or drop games!";
}
return 0;


So far, this is this code for the system login and console.

__________________________________________________________________
-If you have any questions or complaints about the Game, please email me at PixelGenesisOnline@gmail.com.

-If you have any problems or found bugs about the Game, please email our Help Desk at PGOHelpDesk@gmail.com.
Back to top Go down
View user profile http://pixelgenesis.forumotion.com
Vemrrall
Developer
Developer
avatar

Posts : 356
Join date : 2014-02-18
Location : USA

PostSubject: Re: Code for console.   Fri Mar 07, 2014 1:44 pm

I wouldn't publicly post codes, someone may steal them and plagiarize them.

__________________________________________________________________
Vemrrall
Pixel Genesis Online Development Team - Lead Forum Developer
Back to top Go down
View user profile
Reject
Learning
Learning
avatar

Posts : 31
Join date : 2014-02-27
Age : 17
Location : Louisville

PostSubject: Re: Code for console.   Fri Mar 07, 2014 2:05 pm

May but a little revising and it will be good as new.
Plus it looks pretty good. Even though I'm not really good at coding. I've still jacked up my computer plenty of times Smile
Back to top Go down
View user profile
DeathSkull
Administrator
Administrator
avatar

Posts : 794
Join date : 2014-02-18
Age : 18
Location : USA

PostSubject: Re: Code for console.   Fri Mar 07, 2014 6:42 pm

Vemrrall wrote:
I wouldn't publicly post codes, someone may steal them and plagiarize them.

Don't worry, if they do its copyright. Once i run the system, it says copyright by Alex Hall so we are good.

__________________________________________________________________
-If you have any questions or complaints about the Game, please email me at PixelGenesisOnline@gmail.com.

-If you have any problems or found bugs about the Game, please email our Help Desk at PGOHelpDesk@gmail.com.
Back to top Go down
View user profile http://pixelgenesis.forumotion.com
H3uy
Moderator
Moderator
avatar

Posts : 627
Join date : 2014-02-19

PostSubject: Re: Code for console.   Fri Mar 07, 2014 6:43 pm

Nice catch vemrall.
Also nice puting copyright on there, wouldn't want to get into a sueing battle.

__________________________________________________________________
Welcome to Pixel Genesis Online!
If you have a question me or anyone else on the moderation team will gladly assist you!
Moderators are here to help you. We only punish when a player does something wrong!
If you dont want to get punished than before you do anything think twice.
PGO loves you Smile
Back to top Go down
View user profile http://H3uybroadcast.wordpress.com
megaman01
Itanks Moderator
Itanks Moderator
avatar

Posts : 460
Join date : 2014-02-18
Age : 23
Location : Toronto, Canada

PostSubject: Re: Code for console.   Fri Mar 07, 2014 7:08 pm

I'm studying in law, I can get you an authentic copyright. I'd like to mention that if we went to court for the code copyright, we would LOSE. Why? It's just written in text, it's not a copyright.
Back to top Go down
View user profile
Vemrrall
Developer
Developer
avatar

Posts : 356
Join date : 2014-02-18
Location : USA

PostSubject: Re: Code for console.   Fri Mar 07, 2014 7:48 pm

megaman01 wrote:
I'm studying in law, I can get you an authentic copyright. I'd like to mention that if we went to court for the code copyright, we would LOSE. Why? It's just written in text, it's not a copyright.
Once the game is launched, that might be a good idea. PGO is not ours until we own it.

Also, death, remember what I told you about talking about drop games?

__________________________________________________________________
Vemrrall
Pixel Genesis Online Development Team - Lead Forum Developer
Back to top Go down
View user profile
DeathSkull
Administrator
Administrator
avatar

Posts : 794
Join date : 2014-02-18
Age : 18
Location : USA

PostSubject: Re: Code for console.   Fri Mar 07, 2014 8:37 pm

its just a warning. if they start we will simply curse them....

__________________________________________________________________
-If you have any questions or complaints about the Game, please email me at PixelGenesisOnline@gmail.com.

-If you have any problems or found bugs about the Game, please email our Help Desk at PGOHelpDesk@gmail.com.
Back to top Go down
View user profile http://pixelgenesis.forumotion.com
Vemrrall
Developer
Developer
avatar

Posts : 356
Join date : 2014-02-18
Location : USA

PostSubject: Re: Code for console.   Fri Mar 07, 2014 10:07 pm

DeathSkull+ wrote:
its just a warning. if they start we will simply curse them....

Don't give them ideas though! They dot know what they are!

__________________________________________________________________
Vemrrall
Pixel Genesis Online Development Team - Lead Forum Developer
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Code for console.   

Back to top Go down
 
Code for console.
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Pixel Genesis Online :: Development Log-
Jump to: