Register for your free account! | Forgot your password?

You last visited: Today at 19:42

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[c++] Exp list

Discussion on [c++] Exp list within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old 01/20/2011, 09:31   #16
 
elite*gold: 0
Join Date: Nov 2007
Posts: 134
Received Thanks: 53
okk guys i stored in array now

Code:
const int LevelM[136] = {0, 33, ***, ***, .... , 6251550417504 };
One Tap is offline  
Old 01/24/2011, 03:33   #17
 
ImFlamedCOD's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 378
Received Thanks: 141
Quote:
Originally Posted by Syst3m_W1z4rd View Post
Ya it does matter, I expected some c++ code, then it was just variables, but in the end it dosn't matter.
So you claim leach? You obviously don't know c++ so you expect it to be handed to you. This is the number one reason why i left elitepvpers.
ImFlamedCOD is offline  
Old 01/24/2011, 05:41   #18
 
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
Quote:
Originally Posted by marijn1 View Post
okk guys i stored in array now

Code:
const int LevelM[136] = {0, 33, ***, ***, .... , 6251550417504 };
whatever language you're using shouldn't matter. why don't you simply do a read in from file?

Code:
#define MAX_LEVEL 139
...
...
int levelM[MAX_LEVEL], i=0;
char temp[100];
while (!feof(fileptr)){
    if(i>=MAX_LEVEL)
        break;
    fgets(temp, 100, fileptr);
    levelM[i++] = getExp(fgets);
}
fclose(fileptr);
i know very elementary c/c++, but i suppose that's what you should have done instead of hard coding it in. the codes up there are incomplete and kinda pseudo, dont laugh at me if i got something wrong. It's only meant to convey the idea.

The reason for doing this is that you never know if one day TQ decided to change the exp values; though unlikely, but it's always good to be prepared.
shitboi is offline  
Thanks
1 User
Old 01/25/2011, 12:38   #19
 
messi100's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 261
Received Thanks: 1,167
Nice
messi100 is offline  
Reply


Similar Threads Similar Threads
[Release]List of RuneScape Private Servers - Add your p-serv to the list ASAP!
05/17/2010 - Runescape Private Server - 2 Replies
BTW IM HOPING THIS GETS STICKY, BECAUSE ITS REALLY USEFUL! Hello, I'v noticed that there is no proper way of advertising a RuneScape Private Server on ElitePvPers. Im hoping this will fix the problem... If you have a runescape Private Server write a bit about your p-server under.
[List] Easy2game VIP accounts sharing list
04/14/2009 - SRO PServer Guides & Releases - 30 Replies
Hi, I am looking for an VIP easy2game account to share, cause i don't wanna pay a whole account for me alone. So I am looking for 2 other people who would share an account. Maybe its a good idea that everybody who wants an account should post it here and so each 3 people can find partners to share a account. So pleas post your name here if u wanna share a VIP e2g account. I hope some people are interested, so that we can make a list here. This user wanna share a e2g VIP account:



All times are GMT +1. The time now is 19:43.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.