Register for your free account! | Forgot your password?

You last visited: Today at 06:10

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

Advertisement



Exp Bar wont gain Exp

Discussion on Exp Bar wont gain Exp within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 05/31/2014, 16:17   #46
 
elite*gold: 0
Join Date: Mar 2014
Posts: 46
Received Thanks: 0
PHP Code:
public void Update(byte typebyte valuebool screen)
        {
            if (!
SendUpdates)
                return;
            if (
this.Owner == null)
                return;
            
update = new Update(true);
            
update.UID UID;
            
update.Append(typevalue, (byte)UpdateOffset1, (byte)UpdateOffset2, (byte)UpdateOffset3, (byte)UpdateOffset4, (byte)UpdateOffset5, (byte)UpdateOffset6, (byte)UpdateOffset7);
            if (!
screen)
                
update.Send(Owner);
            else
                
Owner.SendScreen(updatetrue);
        }
        public 
void Update(byte typeushort valuebool screen)
        {
            if (!
SendUpdates)
                return;
            
update = new Update(true);
            
update.UID UID;
            
update.Append(typevalue);
            if (!
screen)
                
update.Send(Owner as Client.GameState);
            else
                (
Owner as Client.GameState).SendScreen(updatetrue);
        }
        public 
void Update(byte typeuint valuebool screen)
        {
            if (!
SendUpdates)
                return;
            
update = new Update(true);
            
update.UID UID;
            
update.Append(typevalue);
            if (!
screen)
                
update.Send(Owner as Client.GameState);
            else
                (
Owner as Client.GameState).SendScreen(updatetrue);
        }
        public 
void Update(byte typeulong valuebool screen)
        {
            if (!
SendUpdates)
                return;
            
update = new Update(true);
            
update.UID UID;
            
update.Append(typevalue);
            if (
EntityFlag == EntityFlag.Player)
            {
                if (!
screen)
                    
update.Send(Owner as Client.GameState);
                else
                    (
Owner as Client.GameState).SendScreen(updatetrue);
            }
            else
            {
                
MonsterInfo.SendScreen(update);
            }
        } 

Is this Wrong i find it there so many Public void update
fairytaleco is offline  
Old 05/31/2014, 22:46   #47
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
Quote:
Originally Posted by fairytaleco View Post
PHP Code:
public void Update(byte typebyte valuebool screen)
        {
            if (!
SendUpdates)
                return;
            if (
this.Owner == null)
                return;
            
update = new Update(true);
            
update.UID UID;
            
update.Append(typevalue, (byte)UpdateOffset1, (byte)UpdateOffset2, (byte)UpdateOffset3, (byte)UpdateOffset4, (byte)UpdateOffset5, (byte)UpdateOffset6, (byte)UpdateOffset7);
            if (!
screen)
                
update.Send(Owner);
            else
                
Owner.SendScreen(updatetrue);
        }
        public 
void Update(byte typeushort valuebool screen)
        {
            if (!
SendUpdates)
                return;
            
update = new Update(true);
            
update.UID UID;
            
update.Append(typevalue);
            if (!
screen)
                
update.Send(Owner as Client.GameState);
            else
                (
Owner as Client.GameState).SendScreen(updatetrue);
        }
        public 
void Update(byte typeuint valuebool screen)
        {
            if (!
SendUpdates)
                return;
            
update = new Update(true);
            
update.UID UID;
            
update.Append(typevalue);
            if (!
screen)
                
update.Send(Owner as Client.GameState);
            else
                (
Owner as Client.GameState).SendScreen(updatetrue);
        }
        public 
void Update(byte typeulong valuebool screen)
        {
            if (!
SendUpdates)
                return;
            
update = new Update(true);
            
update.UID UID;
            
update.Append(typevalue);
            if (
EntityFlag == EntityFlag.Player)
            {
                if (!
screen)
                    
update.Send(Owner as Client.GameState);
                else
                    (
Owner as Client.GameState).SendScreen(updatetrue);
            }
            else
            {
                
MonsterInfo.SendScreen(update);
            }
        } 

Is this Wrong i find it there so many Public void update

public void Update(byte type, ulong value, bool screen)
public void Update(byte type, uint value, bool screen)
public void Update(byte type, ushort value, bool screen)
public void Update(byte type, byte value, bool screen)
abdoumatrix is offline  
Old 06/01/2014, 03:49   #48
 
InsomniacPro's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 397
Received Thanks: 205
Oh my lord, for the sake of all that is that holy, learn basics please! You're asking such ******* ridiculously simple questions.
InsomniacPro is offline  
Thanks
1 User
Old 06/01/2014, 15:12   #49
 
elite*gold: 0
Join Date: Mar 2014
Posts: 46
Received Thanks: 0
PHP Code:
public void Append(byte typeulong value
        { 
            
UpdateCount UpdateCount 1
            
ushort offset = (ushort)(16 + ((UpdateCount 1) * 20)); 
            
WriteUInt32(typeoffsetBuffer); 
            
WriteUInt64(valueoffset 4Buffer); 
        } 

What CS is this to look for.
fairytaleco is offline  
Old 06/01/2014, 15:53   #50
 
Dr.unreal's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 273
Received Thanks: 85
Quote:
Originally Posted by fairytaleco View Post
PHP Code:
public void Append(byte typeulong value
        { 
            
UpdateCount UpdateCount 1
            
ushort offset = (ushort)(16 + ((UpdateCount 1) * 20)); 
            
WriteUInt32(typeoffsetBuffer); 
            
WriteUInt64(valueoffset 4Buffer); 
        } 

What CS is this to look for.
Dr.unreal is offline  
Old 06/01/2014, 16:01   #51
 
elite*gold: 0
Join Date: Mar 2014
Posts: 46
Received Thanks: 0
Nvm then will ppl here look like not friendly to ask.
fairytaleco is offline  
Old 06/01/2014, 16:29   #52
 
elite*gold: 0
Join Date: Mar 2014
Posts: 46
Received Thanks: 0
PHP Code:
public void Append(byte typeulong valueulong value2)
        {
            
UpdateCount UpdateCount 1;
            
ushort offset = (ushort)(12 + (UpdateCount 1) * 20);
            
WriteUInt32(typeoffsetBuffer);
            
WriteUInt64(valueoffset 4Buffer);
            
WriteUInt64(value2offset 12Buffer);
        } 
This is the right code already fixe my exp bar.

Here the Picture
Attached Images
File Type: jpg 1.jpg (482.1 KB, 8 views)
fairytaleco is offline  
Old 06/03/2014, 04:08   #53
 
InsomniacPro's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 397
Received Thanks: 205
Quote:
Originally Posted by fairytaleco View Post
Nvm then will ppl here look like not friendly to ask.
Because you are the definition of a true idiot.
InsomniacPro is offline  
Old 06/03/2014, 04:57   #54
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
You should consider supporting a private server. Hosting and maintaining a private server takes a lot of work - work you are unable to do at this time. You don't show much interest in learning either. Check out our advertisement section and see if there are any servers you can join.
Spirited is offline  
Reply


Similar Threads Similar Threads
0 exp gain
04/09/2013 - CO2 Private Server - 9 Replies
so im usein hunters source and got everything nice and set up and wam mobs don't give exp :P how do i fixie
sro wont open site wont open
04/02/2010 - Silkroad Online - 21 Replies
Ok well i was in sro on my way to grind, and outta no where i discconected, im like w/e ill reopen it, then i open it pops up that thing that says 'silkroad online is under inspection blahblahblah" so im like ok lets see how long is left on it on the website i go to joymax.com it keeps saying Unable to connect
sp gain by gap?
04/29/2008 - Silkroad Online - 1 Replies
does any1 have the site with the sp gain by gap chart? :>



All times are GMT +2. The time now is 06:10.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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