|
You last visited: Today at 07:37
Advertisement
[5165] Arrow reload
Discussion on [5165] Arrow reload within the CO2 Private Server forum part of the Conquer Online 2 category.
10/04/2010, 15:21
|
#1
|
elite*gold: 0
Join Date: Apr 2010
Posts: 291
Received Thanks: 61
|
[5165] Arrow reload
Ughh.. again the noob juiced xD
This time I need help with Arrow reload ... I was searching for it , Nothing found so it would be nice if you can help.
Thanks.
|
|
|
10/04/2010, 16:05
|
#2
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Help with what....or do you just want to leach a complete system?
|
|
|
10/04/2010, 16:26
|
#3
|
elite*gold: 0
Join Date: Apr 2010
Posts: 291
Received Thanks: 61
|
Quote:
Originally Posted by Korvacs
Help with what....or do you just want to leach a complete system?
|
What u mean??
|
|
|
10/04/2010, 16:26
|
#4
|
elite*gold: 0
Join Date: Oct 2010
Posts: 148
Received Thanks: 57
|
Find in Character.cs:
inside it put:
Code:
if (Equips.RightHand.ID >= 500003 && Equips.RightHand.ID < 500999 && arrowsloaded == false)
{
if (InventoryContains(1050000, 1) && Equips.LeftHand.ID != 1050000 && Equips.LeftHand.ID != 1050001 && Equips.LeftHand.ID != 1050002)
{
arrowsloaded = true;
Item I = Equips.Get(5);
I.ID = 1050000;
I.UID = (uint)Rnd.Next(10000000);
I.MaxDur = I.DBInfo.Durability;
I.CurDur = I.MaxDur;
if (I.UID == 0)
{
I.UID = (uint)Rnd.Next(10000000);
}
MyClient.AddSend(Packets.AddItem(I, 5));
RemoveItem(this.NextItem(1050000));
}
if (InventoryContains(1050001, 1) && Equips.LeftHand.ID != 1050001 && Equips.LeftHand.ID != 1050000 && Equips.LeftHand.ID != 1050002)
{
arrowsloaded = true;
Item I = Equips.Get(5);
I.ID = 1050001;
I.UID = (uint)Rnd.Next(10000000);
I.MaxDur = I.DBInfo.Durability;
I.CurDur = I.MaxDur;
if (I.UID == 0)
{
I.UID = (uint)Rnd.Next(10000000);
}
MyClient.AddSend(Packets.AddItem(I, 5));
RemoveItem(this.NextItem(1050001));
}
if (InventoryContains(1050002, 1) && Equips.LeftHand.ID != 1050002 && Equips.LeftHand.ID != 1050001 && Equips.LeftHand.ID != 1050000)
{
arrowsloaded = true;
Item I = Equips.Get(5);
I.ID = 1050002;
I.UID = (uint)Rnd.Next(10000000);
I.MaxDur = I.DBInfo.Durability;
I.CurDur = I.MaxDur;
if (I.UID == 0)
{
I.UID = (uint)Rnd.Next(10000000);
}
MyClient.AddSend(Packets.AddItem(I, 5));
RemoveItem(this.NextItem(1050002));
}
}
/*
Add more arrows down here, this is a really simple way, could be done much better
*/
define in character.cs
Code:
public bool arrowsloaded = false;
now find:
Code:
public uint PrepareAttack(byte AtkType, bool ArrowCost)
replace it with:
Code:
public uint PrepareAttack(byte AtkType, bool ArrowCost)
{
AtkMem.LastAttack = DateTime.Now;
AttackType A = (AttackType)AtkType;
bool EnoughArrows = true;
if (A == AttackType.Ranged && ArrowCost)
{
if (Loc.Map != 1039)
{
if (Equips.LeftHand.ID != 0 && Item.IsArrow(Equips.LeftHand.ID))
{
Equips.LeftHand.CurDur -= 1;
if (Equips.LeftHand.CurDur == 0)
{
arrowsloaded = false;
MyClient.AddSend(Packets.ItemPacket(Equips.LeftHand.UID, 5, 6));
MyClient.AddSend(Packets.ItemPacket(Equips.LeftHand.UID, 0, 3));
Equips.LeftHand = new Item();
}
else
MyClient.AddSend(Packets.AddItem(Equips.LeftHand, 5));
}
else
{
AtkMem.Attacking = false;
EnoughArrows = false;
}
}
}
|
|
|
10/04/2010, 16:28
|
#5
|
elite*gold: 0
Join Date: Apr 2010
Posts: 291
Received Thanks: 61
|
Sorry but i should add this to the bottom or at the top of the step?
|
|
|
10/04/2010, 16:29
|
#6
|
elite*gold: 0
Join Date: Oct 2010
Posts: 148
Received Thanks: 57
|
I made it under:
Code:
if (BlessingLasts > 0 && DateTime.Now > BlessingStarted.AddDays(BlessingLasts))
{
BlessingLasts = 0;
StatEff.Remove(StatusEffectEn.Blessing);
MyClient.LocalMessage(2000, "Your heaven blessing has expired.");
}
but dosnt really matter as long is inside step: and is inside public void Step()
|
|
|
10/04/2010, 16:34
|
#7
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Looks like you were looking to leach a full system, give it a try yourself first next time.
|
|
|
10/04/2010, 16:36
|
#8
|
elite*gold: 0
Join Date: Apr 2010
Posts: 291
Received Thanks: 61
|
oO , Doesnt work kinda. Just Removes the arrow from inventory
|
|
|
10/04/2010, 16:46
|
#9
|
elite*gold: 0
Join Date: Oct 2010
Posts: 148
Received Thanks: 57
|
Try it now
|
|
|
10/04/2010, 18:58
|
#10
|
elite*gold: 0
Join Date: Apr 2010
Posts: 291
Received Thanks: 61
|
It reloads every arrow i buy .. all the time .. no matter of my job...
|
|
|
10/04/2010, 19:07
|
#11
|
elite*gold: 0
Join Date: Oct 2010
Posts: 148
Received Thanks: 57
|
Quote:
Originally Posted by JuiceDCodeR
It reloads every arrow i buy .. all the time .. no matter of my job...
|
What about now?
|
|
|
10/04/2010, 19:20
|
#12
|
elite*gold: 0
Join Date: Apr 2010
Posts: 291
Received Thanks: 61
|
hahahaha Fully Fully working.
#request close
|
|
|
 |
Similar Threads
|
Arrow Mod
06/11/2010 - Mabinogi - 9 Replies
Hey i seen this vid on tube. If anyone can please, you don't have to respond here, you can inbox me on how to get the ice trail when the sage fires his arrows. Awsomeness :O
YouTube - Mari Server : Falcon Sage vs Champion
|
[Need Help] Arrow Depletion
10/21/2009 - CO2 Private Server - 17 Replies
Hey guys, i just wondering how to code or to start with arrow Depletion,
any idea? I beg you to post here..
Conquer Online: Paze version 3 (Co: Paze v3)
Mana Depletion = Done
Nobility Icon (top-left) = Done
Arrow Depletion = Not yet started
|
Arrow bug. Need help!!!
12/12/2008 - Silkroad Online - 9 Replies
hi guys i have a big problem, i see my arrow skills strange... any ideea plsss :(
have anyone this problem? Can it be fixed? :((
|
Shoots arrow & reload macro.
02/13/2007 - CO2 Bots & Macros - 2 Replies
Simple macro made with AutoIt v3. You just enter your arrow pack size, how many arrows go per scatter, pause you want between clicks, and how many arrows you have left in the pack (if you need to adjust values).
Turn it on/off with shift + alt + o.
Reset the amount of arrows left to the pack size with shift + alt + r.
Add the amount of arrows that get used per scatter to the amount left with alt + z. (Useful for lag.)
If you want continuous firing (if you have an arrow reloader that...
|
All times are GMT +1. The time now is 07:38.
|
|