Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 14:12

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

Advertisement



[Help] Why is this happening?

Discussion on [Help] Why is this happening? within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
Question [Help] Why is this happening?

Hello everybody!

I'm having a little problem with my HP Bar ... she just does not show the correct value also to what is visible on the status of the player, I think the problem is in the server sending the packet to the client, because I have debugged this and the variable contains the correct value. See the photos below for better understanding:

Photo 1:

Photo 2:

Thanks!
littlechris95 is offline  
Old 08/22/2014, 23:55   #2
 
nTL3fTy's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
The client shows the "correct" value in the status window because it's told what to display. The life orb, on the other hand, calculates the max life of the client on its own.
nTL3fTy is offline  
Old 08/23/2014, 01:12   #3
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
client always right

so modify ur calcualtion right.
abdoumatrix is offline  
Old 08/23/2014, 01:29   #4
 
turk55's Avatar
 
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 701
Quote:
Originally Posted by abdoumatrix View Post
client always right

so modify ur calcualtion right.
And that is where you think wrong. The server should be always right.
turk55 is offline  
Old 08/23/2014, 01:37   #5
 
Yupmoh's Avatar
 
elite*gold: 26
Join Date: Jul 2011
Posts: 522
Received Thanks: 284
Well if the client handles the orb on its own then it must be a problem with the calculation server side.
Yupmoh is offline  
Old 08/23/2014, 02:11   #6
 
Soulfly25's Avatar
 
elite*gold: 0
Join Date: Mar 2006
Posts: 565
Received Thanks: 59
in gameclient or gamestate. at the CalculateHPBonus
there you can see also the function of HPBar
Soulfly25 is offline  
Old 08/23/2014, 02:28   #7
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
The problem is intensification refineries.
-impulse- is offline  
Thanks
1 User
Old 08/23/2014, 13:21   #8
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
Quote:
Originally Posted by turk55 View Post
And that is where you think wrong. The server should be always right.
without modfing client it is right till u make calculation right
abdoumatrix is offline  
Old 08/23/2014, 17:57   #9
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
Quote:
Originally Posted by -impulse- View Post
The problem is intensification refineries.
Yes I also think ... because the difference in values ​​between the status and the hpbar is 3700. 2500 Intensification of refinery and 1200 of Wrangler SubClass, but they are incremented correctly ...



--

littlechris95 is offline  
Old 08/23/2014, 18:20   #10
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Alright, here's a programming lesson. The reason for modifiers and accessors (get and set methods, or properties as they're called in C#) is to verify input. You should be checking if the value inputted is invalid before it gets set.
Spirited is offline  
Old 08/23/2014, 19:37   #11
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
Quote:
Originally Posted by littlechris95 View Post
Yes I also think ... because the difference in values ​​between the status and the hpbar is 3700. 2500 Intensification of refinery and 1200 of Wrangler SubClass, but they are incremented correctly ...



--

just make it be added to ItemHp

so it then added to Maxhitpoints and it calculate the hitpoint from stats
abdoumatrix is offline  
Thanks
1 User
Old 08/23/2014, 20:01   #12
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
Quote:
Originally Posted by abdoumatrix View Post
just make it be added to ItemHp

so it then added to Maxhitpoints and it calculate the hitpoint from stats
COPSv6 based...

Check this:
littlechris95 is offline  
Old 08/23/2014, 20:46   #13
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
Quote:
Originally Posted by littlechris95 View Post
COPSv6 based...

Check this:
xD seems right
keep traceing it.
abdoumatrix is offline  
Old 08/23/2014, 21:15   #14
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
You didn't understand me. The client does not recognize the hp from intensification refineries. You have to send a special value in the refinery packet for that to work. As for the wrangler you just have to send the martial promote when you login or modify the subclass and it will work fine.
-impulse- is offline  
Thanks
1 User
Old 08/24/2014, 01:56   #15
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
Quote:
Originally Posted by -impulse- View Post
You didn't understand me. The client does not recognize the hp from intensification refineries. You have to send a special value in the refinery packet for that to work. As for the wrangler you just have to send the martial promote when you login or modify the subclass and it will work fine.
What kind of special value?

I checked here. And the HP from SubClasse Wrangler is only incremented when it is activated.
littlechris95 is offline  
Closed Thread


Similar Threads Similar Threads
What's happening :)
12/03/2011 - Off Topic - 7 Replies
When i go to the googlei it says online. But i can'T see google. Look : http://img638.imageshack.us/img638/1214/adszlk.pn g What is this :)
BOI war what happening?
11/17/2011 - Battle of the Immortals - 3 Replies
i wonder what happen to the game.. no log in no website dont have anything no clue also.. anyone knows what happen to the server? thanks in advance..
Lol what is happening?
08/30/2011 - SRO Private Server - 2 Replies
Were there going to come new media.pk2 for lillium or what? I dont get it , and at the moment Lillium is off. So whats happening?
so what is happening ?
08/03/2011 - SRO Private Server - 3 Replies
i was folowing http://www.elitepvpers.com/forum/private-sro-main- discussions-questions/1252511-fixing-japanese-silk road-leaked-files.html that thread past time and it just was locked, what happened? files is completely damaged and not working or people just dont want to release what they have?
What is happening
09/23/2007 - Conquer Online 2 - 8 Replies
why cant i log on atm?server maintaince aint sheduled now as far as i know....anyone know ?



All times are GMT +2. The time now is 14:12.


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.