Every monster hits 1's

01/08/2014 03:54 .Light#1
As the title says, every monster is hitting 1's. Any clue on how to fix this?

also is there a way to instead of using for example: @item BuriedBlade Super 12 7 255 13 13

that you can code in @itemid 711252 and it just gives you the item without having to do super///bla bla

Thanks in advanced.
01/08/2014 03:58 Aceking#2
Without seeing any code, I would suggest to look in your damage calculations.

Breakpoint it, follow the damage variable and check it at each step, find out where it is being assigned 1.
01/08/2014 06:00 marcbacor6666#3
Quote:
As the title says, every monster is hitting 1's. Any clue on how to fix this?
calculate.cs
01/08/2014 11:56 abdoumatrix#4
1. calculate.cs , Monsterinfo.sql

2. search for @item2 it may be already added
01/10/2014 02:40 Spirited#5
Since the member absolutely insisted that I was in the wrong and that this thread needed to be cleaned, it has been done. I have removed all posts that the member felt was inappropriate, including mine with the official conquer online attack calculations that was completely ignored for not being helpful to the member. Reopened.
01/10/2014 03:00 marcbacor6666#6
Quote:
.Light

are you using any public source that u cant find in elitepvpers? if you do

find this

Code:
if (sub > 41)
                    {
                        Damage = 1;
                    }
remove that

if ur not using any public sources and u made ur own base source , i cant pinpoint u where to change but only in attack calculation.
01/10/2014 03:09 Aceking#7
Quote:
Originally Posted by marcbacor6666 View Post
are you using any public source that u cant find in elitepvpers? if you do

find this

Code:
if (sub > 41)
                    {
                        Damage = 1;
                    }
remove that

if ur not using any public sources and u made ur own base source , i cant pinpoint u where to change but only in attack calculation.
Thats not necessarily the case, and the variable name could also be something completely different, such as dmg.

Could be a calculation where its being multiplied or divided by 0 which obviously results in 0, and majority of sources have a check to make the damage = 1 whenever damage is less than 1.

As I stated previously, you need to find your interaction packet(1022) and follow that until you reach the damage calculations.

Or as others suggest, you could search for 'attack' or 'damage' or dmg'. Keywords like that.

Also, if the source is organized in any way, it should be rather obvious to find. I have seen some sources have it simply under Attack.cs, some have a combat or attack manager, some even have them under the Entity or Player class.