Register for your free account! | Forgot your password?

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

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

Advertisement



Skills handling... Coding.

Discussion on Skills handling... Coding. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2010
Posts: 272
Received Thanks: 24
Skills handling... Coding.

Like on Golem or nightdevil and other transform skills. How do u stop skills from activating? Let say ur on Golem, how do u stop rage from proc and fb/ss aswell. Where do u find this code or add the code? Don't have skillshandler.cs. Only got Skills, skilladder and packethandling.
killermale123 is offline  
Old 12/05/2014, 00:55   #2
 
x[t]c's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 33
Received Thanks: 6
Quote:
Originally Posted by killermale123 View Post
Like on Golem or nightdevil and other transform skills. How do u stop skills from activating? Let say ur on Golem, how do u stop rage from proc and fb/ss aswell. Where do u find this code or add the code? Don't have skillshandler.cs. Only got Skills, skilladder and packethandling.
Are you wanting to stop them from using skills period, or wanting to stop them in mid action? Confused sorry. Also what source are you using?
x[t]c is offline  
Old 12/05/2014, 01:06   #3
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by x[t]c View Post
Are you wanting to stop them from using skills period, or wanting to stop them in mid action? Confused sorry. Also what source are you using?
When in a disguise you should not be able to cast skills.

Just block casting of skills when in a transformation.. pretty simple stuff.
pro4never is offline  
Old 12/05/2014, 01:13   #4
 
x[t]c's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 33
Received Thanks: 6
Quote:
Originally Posted by pro4never View Post
When in a disguise you should not be able to cast skills.

Just block casting of skills when in a transformation.. pretty simple stuff.
Ahhhh I see now, thanks xP

Where ever your server is handling attacks (v5017 its packet ID 1022, idk about yours), just put something to check if your player has a transformation buff o.o. Idk how your source is setup, but it should look something like:

Code:
if (Player.Buffs.Contains(Enums.StatusEffectType.Transform))
     return;
x[t]c is offline  
Old 12/05/2014, 02:28   #5
 
elite*gold: 0
Join Date: Jun 2010
Posts: 272
Received Thanks: 24
Yea.. the source and coding its fine.. it happens to be in the oldoob folder. Where I store my player infos is having problem. Because I used a test server to test it, everything is fine, but the host has this problem... so it has to be the user folder.
killermale123 is offline  
Old 12/05/2014, 02:36   #6
 
x[t]c's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 33
Received Thanks: 6
Quote:
Originally Posted by killermale123 View Post
Yea.. the source and coding its fine.. it happens to be in the oldoob folder. Where I store my player infos is having problem. Because I used a test server to test it, everything is fine, but the host has this problem... so it has to be the user folder.
my solution would fix the problem, and is the proper way of doing it. Idk why on earth anything in the database would do it unless it was something in the skill details, but even then my solution would still fix it.
x[t]c is offline  
Old 12/05/2014, 02:37   #7
 
elite*gold: 0
Join Date: Jun 2010
Posts: 272
Received Thanks: 24
Ok.. it happens to be the right hand weapon slot causing it. If I wear a single weap it wont affect it.'

if (GC.MyChar.Transformed)
{
if (SkillId == 1046 && SkillId == 1047 && SkillId == 1045 && SkillId == 1049)
{
GC.LocalMessage(2005, "You Can't use that skill while transformed!");
return;

AND

if (WepSkill && Transformed == false)

So how do I add it as 2 1 hander as false also? As of now this code only works for 1 hander. If I wear 2 1 hander, it will allow me to fb/ss
killermale123 is offline  
Old 12/05/2014, 09:09   #8
 
donn's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 485
Received Thanks: 272
This code might be called from the right weapon attack method. You need to copy it where the left weapon attack is handled too.
donn is offline  
Reply


Similar Threads Similar Threads
[Release] Pirate Correct Motion for skills and weapon handling
08/22/2012 - CO2 PServer Guides & Releases - 7 Replies
first of all u have to delete all the Pistol id's for ur source any pistol that begin with 612xxx all needed codes are in a txt file cause the forum didn't allow a thread with more than 100k characters Modified DBC files http://herosh.com/download/10878709/PirateModefied DBCSByEslam.rar.html pics:
Reversers with coding skills wanted
01/20/2011 - S4 League - 11 Replies
Hi, I'm someone you may know as Nyamochka. Been a while, right? I wonder if there are any new l33t h4xx0r stars around. Our previous project fell apart because of people rapidly losing interest. Neva4Get has completely vanished from the net; h4c0r-bg is working on commercial stuff; Sm!th is keeping his slow pace updating the IM. Things has changed recently. Nice encryption, both for resources and traffic. A couple of new anti-cheat measures. More time to waste on counteracting stuff. ...



All times are GMT +1. The time now is 05:39.


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.