Register for your free account! | Forgot your password?

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

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

Advertisement



[HELP]HP problem in source

Discussion on [HELP]HP problem in source within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 08/07/2013, 05:21   #31
 
lostsolder05's Avatar
 
elite*gold: 20
Join Date: Jan 2006
Posts: 890
Received Thanks: 241
Quote:
Originally Posted by elhermanos View Post
Now search for
Code:
static void LoginMessages
Replace this
Code:
        static void LoginMessages(Client.GameState client)
        {
            client.Send(new Network.GamePackets.AutoShow().ToArray());
            if (client.WentToComplete)
                return;

for this
Code:
        static void LoginMessages(Client.GameState client)
        {
            client.Entity.MaxHitpoints += client.Entity.Hitpoints;
            client.Entity.MaxMana += client.Entity.Mana;
            client.Entity.Hitpoints = Math.Min(client.Entity.Hitpoints, client.Entity.MaxHitpoints);
            client.Send(new Network.GamePackets.AutoShow().ToArray());
            if (client.WentToComplete)
                return;
What? I think you should research the operators you are using sir.
lostsolder05 is offline  
Old 08/07/2013, 10:57   #32

 
Novakhan's Avatar
 
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
Quote:
Originally Posted by lostsolder05 View Post
What? I think you should research the operators you are using sir.

Lol. I had the same problem with a public source I found out and I fixed it this way.
Novakhan is offline  
Old 08/07/2013, 13:47   #33
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
You're adding current HP to the MaxHP ...
Super Aids is offline  
Old 08/07/2013, 20:32   #34
 
elite*gold: 0
Join Date: Feb 2013
Posts: 51
Received Thanks: 22
when u click the Chi study or learn the subclass u should call the chi HpAdd calculation or subclass HpAdd calculation
and if u want to be more safe (but cost Pc performance) u can create void like this
public void UpdateStats()
{
CalculateVitals();
CalculateItemStats();
CalculateChiPowers();
CalculateSubClassPowers();
}

the vitals and itemstats u already have,so u just need to create chi and subclass voids
then whenever the client request Equip/unequip Item or learn/upgrade subclass or study Chi u call that updatestats void

* of course this is for ur source , my source is a bit different structured as i calculate vitals just once when the client login
itemstats called only when Equip/unequip an item
same Chi/subclass , i dont get every variable to Zero when anything changed as ur source does, yet u can still follow the procedure provided at top of this post which will be again

*when client Equip/UnEquip an item ----- > Client.UpdateStats();
*when client request changes to stats points ----- > Client.UpdateStats();
*when client Learn/Upgrade SubClass ----- > Client.UpdateStats();
*when client Learn/Study Chi ----- > Client.UpdateStats();
EgyptianMano is offline  
Old 08/12/2013, 04:25   #35
 
marcbacor6666's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 557
Received Thanks: 76
can u post a guide same structure to any public source 57+
marcbacor6666 is offline  
Old 09/23/2013, 23:21   #36
 
elite*gold: 0
Join Date: Feb 2008
Posts: 3
Received Thanks: 0
what if i wanted to remove the chi system , will it work then?
and how is the safe way to remove it or stop it to effect any thing?
Melanooo is offline  
Old 09/23/2013, 23:43   #37
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
The Problem is the Hp shown to u = 3.2k while ur Actual Hp = 2.2k .. problem is inside the update in Update.cs ... make sure that u added the Correct Value of Hp in that Update Void in Entity.cs ...
shadowman123 is offline  
Old 09/25/2013, 02:13   #38
 
elite*gold: 0
Join Date: Oct 2011
Posts: 68
Received Thanks: 4
same
moom86 is offline  
Old 12/26/2013, 02:07   #39
 
elite*gold: 0
Join Date: Apr 2010
Posts: 2
Received Thanks: 0
Ty very much bro me work
marijuana112 is offline  
Old 12/29/2013, 08:13   #40
 
elite*gold: 0
Join Date: Mar 2011
Posts: 25
Received Thanks: 0
this problem in ConquerItemInformation.cs
uzn1 is offline  
Reply


Similar Threads Similar Threads
Problem in my source updated to version 5620+ *Impulse Source*
08/15/2012 - CO2 Private Server - 11 Replies
I updated my source to version 5620+ 1) I open my account with any password. 2) Can I log into an account without having a registered account. 3) I cannot see the monsters or other players Any help or hint is welcome.....
[Problem] Can you guys tell me about this problem with my source
12/08/2011 - CO2 Private Server - 5 Replies
Look at this: CAN YOU HELP ME?
how i fix this problem at my source 5525>>no one say change source
10/28/2011 - CO2 Private Server - 5 Replies
my source close after like 2 hours or 3 hours and may after 5 hours befor i close i see this errors o consol i taked up this pic befor it clos by 1 second http://www.m5zny.com/upfiles/j4o37683.jpg http://www.m5zny.com/upfiles/b8q37683.jpg
[Source] Problem mit der Source
05/29/2011 - Flyff Private Server - 0 Replies
Hallo Leutz, ich habe folgendes Problem ich habe meine source Compilet was vorher nie ein problem war jetz habe ich es wider gemacht und es kamen keine errors wie immer nur waren diesmal keine .exen im output ordner woran kann das liegen ich würde mich sehr über eine antwort freuen mfg
[Source Problem] Source auf LANG 6 compilien [D-Flyff Font]
04/13/2011 - Flyff Private Server - 10 Replies
Hey Leutz, ich komme da mal mit nem mehr oder weniger kleinen Problem. Aufgrund der Misserfolge nur die Neuz in LANG 6 zu compilien, hat man mir geraten die kompletten Bins auf LANG 6 zu setzen. Seitdem funktioniert die D-Flyff Schrift super, es ist nichts verrutscht, Login klappt auch etc. Problem ist jetzt nur das ich keine inGame Rechte mehr habe. Habe extra neuen acc erstellt, neuen char bin sämtliche Operatoren ( L, M, N, O, P, Z) durchgegangen nur leider habe ich immer noch...



All times are GMT +1. The time now is 09:16.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.