Register for your free account! | Forgot your password?

Go Back   elitepvpers › MMORPGs › Conquer Online 2 › CO2 Private Server
You last visited: Today at 18:03

  • 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   #46
 
elite*gold: 0
Join Date: Mar 2014
Posts: 46
Received Thanks: 0
PHP Code:
public void Update(byte type, byte value, bool screen)
        {
            if (!
SendUpdates)
                return;
            if (
this.Owner == null)
                return;
            
update = new Update(true);
            
update.UID = UID;
            
update.Append(type, value, (byte)UpdateOffset1, (byte)UpdateOffset2, (byte)UpdateOffset3, (byte)UpdateOffset4, (byte)UpdateOffset5, (byte)UpdateOffset6, (byte)UpdateOffset7);
            if (!
screen)
                
update.Send(Owner);
            else
                
Owner.SendScreen(update, true);
        }
        public 
void Update(byte type, ushort value, bool screen)
        {
            if (!
SendUpdates)
                return;
            
update = new Update(true);
            
update.UID = UID;
            
update.Append(type, value);
            if (!
screen)
                
update.Send(Owner as Client.GameState);
            else
                (
Owner as Client.GameState).SendScreen(update, true);
        }
        public 
void Update(byte type, uint value, bool screen)
        {
            if (!
SendUpdates)
                return;
            
update = new Update(true);
            
update.UID = UID;
            
update.Append(type, value);
            if (!
screen)
                
update.Send(Owner as Client.GameState);
            else
                (
Owner as Client.GameState).SendScreen(update, true);
        }
        public 
void Update(byte type, ulong value, bool screen)
        {
            if (!
SendUpdates)
                return;
            
update = new Update(true);
            
update.UID = UID;
            
update.Append(type, value);
            if (
EntityFlag == EntityFlag.Player)
            {
                if (!
screen)
                    
update.Send(Owner as Client.GameState);
                else
                    (
Owner as Client.GameState).SendScreen(update, true);
            }
            else
            {
                
MonsterInfo.SendScreen(update);
            }
        } 

Is this Wrong i find it there so many Public void update
fairytaleco is offline  
Old   #47
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 875
Received Thanks: 240
Quote:
Originally Posted by fairytaleco View Post
PHP Code:
public void Update(byte type, byte value, bool screen)
        {
            if (!
SendUpdates)
                return;
            if (
this.Owner == null)
                return;
            
update = new Update(true);
            
update.UID = UID;
            
update.Append(type, value, (byte)UpdateOffset1, (byte)UpdateOffset2, (byte)UpdateOffset3, (byte)UpdateOffset4, (byte)UpdateOffset5, (byte)UpdateOffset6, (byte)UpdateOffset7);
            if (!
screen)
                
update.Send(Owner);
            else
                
Owner.SendScreen(update, true);
        }
        public 
void Update(byte type, ushort value, bool screen)
        {
            if (!
SendUpdates)
                return;
            
update = new Update(true);
            
update.UID = UID;
            
update.Append(type, value);
            if (!
screen)
                
update.Send(Owner as Client.GameState);
            else
                (
Owner as Client.GameState).SendScreen(update, true);
        }
        public 
void Update(byte type, uint value, bool screen)
        {
            if (!
SendUpdates)
                return;
            
update = new Update(true);
            
update.UID = UID;
            
update.Append(type, value);
            if (!
screen)
                
update.Send(Owner as Client.GameState);
            else
                (
Owner as Client.GameState).SendScreen(update, true);
        }
        public 
void Update(byte type, ulong value, bool screen)
        {
            if (!
SendUpdates)
                return;
            
update = new Update(true);
            
update.UID = UID;
            
update.Append(type, value);
            if (
EntityFlag == EntityFlag.Player)
            {
                if (!
screen)
                    
update.Send(Owner as Client.GameState);
                else
                    (
Owner as Client.GameState).SendScreen(update, true);
            }
            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   #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   #49
 
elite*gold: 0
Join Date: Mar 2014
Posts: 46
Received Thanks: 0
PHP Code:
public void Append(byte type, ulong value) 
        { 
            
UpdateCount = UpdateCount + 1; 
            
ushort offset = (ushort)(16 + ((UpdateCount - 1) * 20)); 
            
WriteUInt32(type, offset, Buffer); 
            
WriteUInt64(value, offset + 4, Buffer); 
        } 

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

What CS is this to look for.
Dr.unreal is offline  
Old   #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   #52
 
elite*gold: 0
Join Date: Mar 2014
Posts: 46
Received Thanks: 0
PHP Code:
public void Append(byte type, ulong value, ulong value2)
        {
            
UpdateCount = UpdateCount + 1;
            
ushort offset = (ushort)(12 + (UpdateCount - 1) * 20);
            
WriteUInt32(type, offset, Buffer);
            
WriteUInt64(value, offset + 4, Buffer);
            
WriteUInt64(value2, offset + 12, Buffer);
        } 
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   #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   #54
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,317
Received Thanks: 4,209
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 +1. The time now is 18:05.


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.