Register for your free account! | Forgot your password?

You last visited: Today at 16:29

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

Advertisement



GoldCups

Discussion on GoldCups within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2009
Posts: 289
Received Thanks: 425
GoldCups

kk i have goldcups into my server
one question
how do i make them work lol
i have this for them in Character.cs under gourd code
Code:
                if (ItemId == 2100085)
                    ExtraHP = 3000;
                ExtraMana = 3000;
hmm but the users max hp raises 3k bu tthey cant use pots to make it go that much higher...
like say their hp was 5k
then they wear goldcup
now its 8k

max hp is 8k but wont heal past 5k
get it?
anyone know whats wrong
TehPwnzor is offline  
Thanks
3 Users
Old 08/02/2009, 06:04   #2
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 441
thats wrong ID =x the one for gold cup is 2100095 and I got this instead:
Code:
AddHP += 1500;
AddDef += 1000;
AddMinAtk += 1000;
AddMaxAtk += 1000;
AddMAtk += 1000;
I might have them switched tho :/
raidenx123 is offline  
Old 08/02/2009, 06:06   #3
 
elite*gold: 0
Join Date: Jul 2009
Posts: 289
Received Thanks: 425
i put the goldcup in my lotf source as 2100085
TehPwnzor is offline  
Thanks
1 User
Old 08/02/2009, 17:57   #4
 
danielachraf's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
you don't need to add any code in char.cs ... you need to put the info in the itemtype.dat and database (mysql) only
danielachraf is offline  
Old 08/02/2009, 18:00   #5
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 441
Lol nothing in the database shows as ExtraHP,MP,etc It IS in the source NOT the database
raidenx123 is offline  
Old 08/02/2009, 18:33   #6
 
danielachraf's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
Quote:
Originally Posted by raidenx123 View Post
Lol nothing in the database shows as ExtraHP,MP,etc It IS in the source NOT the database
so why it is working with me without code in the source ? it can work with both
danielachraf is offline  
Old 08/02/2009, 20:28   #7
 
elite*gold: 0
Join Date: Jul 2009
Posts: 289
Received Thanks: 425
it needs to be in the source cuz lotf doesnt have extra hp and all the **** in the database
TehPwnzor is offline  
Thanks
1 User
Old 08/02/2009, 21:10   #8
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 441
Yeah im not sure if you noticed but this is lotf not bins or coemu -_-
raidenx123 is offline  
Old 08/03/2009, 02:38   #9
 
elite*gold: 0
Join Date: Jan 2009
Posts: 145
Received Thanks: 4
dude, i have the same problem with miraculousgourd, goldcup, goldprize, etc.

the ...only way i've been able to surpass it, is dying and reviving. i dunno why,
but i've been messing around with that bug too, and YES, it IS in the source.
TasteofChaos is offline  
Old 08/03/2009, 02:43   #10
 
elite*gold: 0
Join Date: Apr 2009
Posts: 354
Received Thanks: 105
Its your packet probably... look somewhere where it loads items when you place em on ... like equiping items ( i didnt do this yet i will when i get to it ) but when you do that make it so there is ExtraHP/ExtraMP and make it add by reading it off your database
CoAttack is offline  
Old 08/03/2009, 02:48   #11
 
elite*gold: 0
Join Date: Jan 2009
Posts: 145
Received Thanks: 4
ushort ExtraHP = 0;
uint ExtraAtk = 0;
uint ExtraDef = 0;
uint ExtraMP = 0;
if (ItemId == 2100095)
{
ExtraHP = 1500;
ExtraMP = 1500;
ExtraAtk = 1000;
ExtraDef = 1000;
}
if (ItemId == 137310)
{
ExtraHP = 30000;
ExtraAtk = 1000;
}
if (ItemId == 2100025)
{
ExtraHP = 800;
}
if (ItemId == 150000)
{
ExtraHP = 800;
}


..i tried editing it to where, (as like a vanilla/pot), when you equipped, it would heal you also, such as:


if (ItemId == 2100025)
{
ExtraHP = 800;
CurHP += 800;
}

but, that wouldn't work either, so ah ****, i don't know.
TasteofChaos is offline  
Old 08/03/2009, 02:50   #12
 
elite*gold: 0
Join Date: Apr 2009
Posts: 354
Received Thanks: 105
well one.. you forgot to send the packets.
CoAttack is offline  
Old 08/03/2009, 02:52   #13
 
elite*gold: 0
Join Date: Jan 2009
Posts: 145
Received Thanks: 4
lol, na, this is just a short part of the whole thing.
TasteofChaos is offline  
Old 08/03/2009, 03:00   #14
 
elite*gold: 0
Join Date: Apr 2009
Posts: 354
Received Thanks: 105
okay dont listen to me.
CoAttack is offline  
Old 08/03/2009, 03:04   #15
 
elite*gold: 0
Join Date: Jan 2009
Posts: 145
Received Thanks: 4
what am i missing then?
TasteofChaos is offline  
Reply


Similar Threads Similar Threads
[LOTF]GoldCups ..etc....
05/25/2009 - CO2 Private Server - 1 Replies
IS there GoldCups SilverCups ..etc.. In Lotf ? if so can be please posted here thanks. ------------------------------------------------- ----------------------------- Join DexteritY



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


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