Raised This Month: $ Target: $400
 0% 

[SOLVED]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Excalibur.007
Veteran Member
Join Date: Sep 2009
Location: Singapore
Old 06-22-2011 , 03:51   Re: 2 problems
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
If you made the change I suggested (adding the []) then I don't see anything wrong. You have RANKS indexed correctly for what it is being used for.
Oh yeah. Your correct. It's the problem with the EXP.

PHP Code:
new const EXP[][]=
{
    
0// 0
    
0// 1
    
50// 2
    
100// 3
    
200// 4
    
400// 5
    
800// 6
    
1600// 7
    
3200// 8
    
6400// 9
    
12800// 10
    
25600// 11
    
51200// 12
    
102400// 13
    
204800// 14
    
409600// 15
    
819200// 16
    
1638400// 17
    
3276800// 18
    
6553600 // 19

I don't think we need 2 [] right, because it doesn't have quotes and it compiles fine with one []

PHP Code:
if(iXP[iKiller] >= EXP[iRank[iKiller]] && iRank[iKiller] < 19
Excalibur.007 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode