Register for your free account! | Forgot your password?

You last visited: Today at 14:17

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

Advertisement



Mana Trouble

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

Reply
 
Old 11/10/2008, 22:28   #16
 
elite*gold: 0
Join Date: Aug 2006
Posts: 93
Received Thanks: 9
Thanks for that I did not know there 2 id codes for them, I did catch the 0 instead of 2 tho but thanks =)

Update
Pots now work wo0o0t
Gourd now works wo0ot

Not working
Spells ><
Valkmax is offline  
Old 11/10/2008, 22:30   #17
 
elite*gold: 0
Join Date: Oct 2008
Posts: 430
Received Thanks: 176
Np... One more thing though...

Code:
 SkillAttributes[1002] = new ushort[4][];
            SkillAttributes[1002][0] = new ushort[6] { 2, 0, 32, 505, 0, 0 };
            SkillAttributes[1002][1] = new ushort[6] { 2, 0, 36, 666, 0, 0 };
            SkillAttributes[1002][2] = new ushort[6] { 2, 0, 50, 882, 0, 0 };
            SkillAttributes[1002][3] = new ushort[6] { 2, 0, 62, 1166, 0, 0 };
            SkillsDone.Add(1002, 3);

If I recall, you're setting mana in the wrong portion of that, I believe it's the 5th number, not the third. However, if you do it now, without the mana working, it will use stamina. If I'm wrong about that though, let me know, lol. That's just how I have my notes written.
Incariuz is offline  
Old 11/10/2008, 22:42   #18
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
It doesn't matter WHAT number you set it to, you need to actually read the number in Character.UseSkill and remove the mana.(from the specified amount in the array.)
tao4229 is offline  
Old 11/10/2008, 22:52   #19
 
elite*gold: 0
Join Date: Aug 2006
Posts: 93
Received Thanks: 9
It is stamina tell changed (which I am trying to change)
//SkillType, Range Sector, Damage/Heal, CostMana/Stamina, ActivationChance

@tao Mind explaining that just a little more ?
Valkmax is offline  
Old 11/10/2008, 22:52   #20
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Its like this:

Quote:
SkillType
Range
Sector
Damage/Heal
CostMana/Stamina
ActivationChance
_Emme_ is offline  
Old 11/10/2008, 22:54   #21
 
elite*gold: 0
Join Date: Oct 2008
Posts: 430
Received Thanks: 176
That's how mine is set up. That's why I assumed it to be that way.
Incariuz is offline  
Old 11/10/2008, 22:55   #22
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Quote:
Originally Posted by Valkmax View Post
It is stamina tell changed (which I am trying to change)
Then just do this at useskill

if (SkillID == 1002) // Tornado
{
if (CurMP >= AmountOfMPBeingSpended)
{
CurMP -= AmountOfMPBeingSpended;
SendPacket
}
else
{
SendMsgToClient(MyChar, "You do not have enough mana to cast this spell!", 2005);


Note : SendMsgToClient wouldnt work.
}
_Emme_ is offline  
Old 11/10/2008, 23:05   #23
 
elite*gold: 0
Join Date: Oct 2008
Posts: 430
Received Thanks: 176
So we'd change the part in the database.cs to be something similar to that? Please tell me that's not what's been holding me back on getting this working, lol.

Edit: I apologize if I sound like an idiot, lol. This whole thing has just confused me beyond belief.
Incariuz is offline  
Old 11/10/2008, 23:14   #24
 
elite*gold: 0
Join Date: Aug 2006
Posts: 93
Received Thanks: 9
You don't change the database you have to put it, somewhere (still looking were).
Valkmax is offline  
Old 11/10/2008, 23:23   #25
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
You would have to put it in the UseSkill section. Search for like, example:

if (SkillID == "

search for that and you should get to it,but remember them all has different attributes,be carefull about that


bed time- Emme
_Emme_ is offline  
Old 11/10/2008, 23:25   #26
 
elite*gold: 0
Join Date: Aug 2006
Posts: 93
Received Thanks: 9
I want to thank you all, with this info I will get it sooner or later.
Valkmax is offline  
Old 11/10/2008, 23:46   #27
 
elite*gold: 0
Join Date: Oct 2008
Posts: 430
Received Thanks: 176
See... I'm lost on that whole topic guys. You're suggesting it should be added to...

#region SkillAttributes7

And I've read tons of things about how that's where we should add skills. But the only skills I have listed there are xp skills, and I can't find the coding for skills such as fb or ss anywhere, even though they're currently funtional on my source. it leaves me completely lost. I'm not giving up though, if this takes 2 weeks, a month, I don't care, lol.
Incariuz is offline  
Old 11/10/2008, 23:49   #28
 
elite*gold: 0
Join Date: Aug 2006
Posts: 93
Received Thanks: 9
I am watching don't mess with the zohan, when I am done I will start missing with stuff tell I get it hopefully (like 60% done)
Valkmax is offline  
Old 11/11/2008, 00:57   #29
 
nTL3fTy's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
Quote:
Originally Posted by Incariuz View Post
See... I'm lost on that whole topic guys. You're suggesting it should be added to...

#region SkillAttributes7

And I've read tons of things about how that's where we should add skills. But the only skills I have listed there are xp skills, and I can't find the coding for skills such as fb or ss anywhere, even though they're currently funtional on my source. it leaves me completely lost. I'm not giving up though, if this takes 2 weeks, a month, I don't care, lol.
That's because in LOTF, SkillAttribute 7 is a buff or whatever. Look at the other #region's of code for further skills.
nTL3fTy is offline  
Old 11/11/2008, 01:52   #30
 
elite*gold: 0
Join Date: Oct 2008
Posts: 430
Received Thanks: 176
Ok, well I'm back at it now, so I'll look through and see what I can find.

Edit: I have noticed one thing though. A large variety of area's in the character.cs dealing with stamina involve SkillAttributes[4]. Would I perhaps need to make a #region SkillAttribute dealing with mana or something?
Incariuz is offline  
Reply


Similar Threads Similar Threads
Pets mana recovering from Mana tunnel
02/23/2010 - Mabinogi - 28 Replies
So, Anybody have any idea how to start with this? It'd be one awesome thing to have pets recover Mana by mana tunnels. You could sit there gathering herbs all day from your gnu or whatever pet:handsdown: Golem unlimited range mod might be nice too. Both very possible... IDAPRO+OllyDBG .dll edits maybe?
TROUBLE!!
01/27/2010 - Dekaron Private Server - 10 Replies
im having trouble with df start times, i made times all right and used search but it still didnt help...the problem is when i start the df in the db at 15:00 and then wait until 14:59 to 15:00 the event dosen't start and when i talk to the NPC it says something like "It is not time for the application period", any1 know why its doing that? EDIT; df works ok when i use the gm command for it but not for the times...
trouble
06/20/2008 - Eudemons Online - 2 Replies
when i start my client for the private server its all black like the world biggest lag ever, but when i start the orginal eudemons there is no problem at all, can any1 help me out?????



All times are GMT +1. The time now is 14:17.


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.