Help.. Any one know How to Fixe Scatter Problime.

09/20/2013 06:15 Kan3_22#1
Any one knows where to look to fixe scatter problime my archer class wont scatter Hooligen source i already fixe the debug no more error just want to fixe the scatter but dont know where to look for it.
09/20/2013 06:20 pro4never#2
#reported

No questions are allowed in this section. If you have a question about 'hooligen' source then you should be posting in the release thread for that source (or at least in a section that allows questions).

This is for releases ONLY. A mod will move this soon.
09/20/2013 06:23 Kan3_22#3
Sorry Sir dont know about it..
09/20/2013 06:34 Spirited#4
Moved. Also, you had to check this to post into that section:

[Only registered and activated users can see links. Click Here To Register...]

Please be more aware of how you post to the sections in the future.
09/20/2013 11:00 shadowman123#5
Scatter Problem is that it check the number of Arrows u got and if skill Require Arrows more than u have .. the skill wont work ... and as TQ changed their Arrow System like now the Arrows has no counts as long as its in Your Equipments u can attack ... those are Scatter Explaination Error

Solution :-
Remove that Arrows Number Check inside this void CanUseSpell in Handle.cs
09/20/2013 11:04 Super Aids#6
Maybe use a source that works, which means anything but the Trinity.
09/21/2013 12:11 Kan3_22#7
public static bool isArcherSkill(uint ID)
{
if (ID >= 8000 && ID <= 9875)
return true;
return false;
}
public static bool CanUseSpell(Database.SpellInformation spell, Client.GameState client)
{
if (client.WatchingGroup != null)
return false;
if (spell == null)
return false;
if (client.Entity.Mana < spell.UseMana)
return false;
if (client.Entity.Stamina < spell.UseStamina)
return false;
if (!client.AlternateEquipment)
{
if (spell.UseArrows > 0 && isArcherSkill(spell.ID))
{
if (!client.Equipment.Free((byte)ConquerItem.LeftWeap on))
{
Interfaces.IConquerItem arrow = client.Equipment.TryGetItem(ConquerItem.LeftWeapon );
if (arrow.Durability <= spell.UseArrows)
{
return false;
}
return arrow.Durability >= spell.UseArrows;
}
return false;
}
}
else
{
if (spell.UseArrows > 0 && isArcherSkill(spell.ID))
{
if (!client.Equipment.Free((byte)ConquerItem.AltLeftH and))
{
Interfaces.IConquerItem arrow = client.Equipment.TryGetItem(ConquerItem.AltLeftHan d);
if (arrow.Durability <= spell.UseArrows)
{
return false;
}
return arrow.Durability >= spell.UseArrows;
}
return false;
}
}
if (spell.NeedXP == 1 && !client.Entity.ContainsFlag(Update.Flags.XPList) && !ServerBase.Constants.AllowSkillsonXp.Contains(spe ll.ID))
return false;
return true;
}
public static void PrepareSpell(Database.SpellInformation spell, Client.GameState client)
{
if (spell.NeedXP == 1)
client.Entity.RemoveFlag(Update.Flags.XPList);
if (client.Map.ID == 1844)
{

if (spell == null)
{
return;
}
if (!Conquer_Online_Server.ServerBase.Constants.fbss. Contains(spell.ID))
{
return;
}

}
if (client.Map.ID != 1039)
{
if (spell.UseMana > 0)
if (client.Entity.Mana >= spell.UseMana)
client.Entity.Mana -= spell.UseMana;
if (spell.UseStamina > 0)
if (client.Entity.Stamina >= spell.UseStamina)
client.Entity.Stamina -= spell.UseStamina;
if (spell.UseArrows > 0 && isArcherSkill(spell.ID))
{
if (!client.AlternateEquipment)
{
if (!client.Equipment.Free((byte)ConquerItem.LeftWeap on))
{
Interfaces.IConquerItem arrow = client.Equipment.TryGetItem(ConquerItem.LeftWeapon );
arrow.Durability -= spell.UseArrows;
ItemUsage usage = new ItemUsage(true) { UID = arrow.UID, dwParam = arrow.Durability, ID = ItemUsage.UpdateDurability };
usage.Send(client);
if (arrow.Durability <= spell.UseArrows || arrow.Durability > 5000)
{
Network.PacketHandler.ReloadArrows(client.Equipmen t.TryGetItem(ConquerItem.LeftWeapon), client);
}
}
}
else
{
if (!client.Equipment.Free((byte)ConquerItem.AltLeftH and))
{
Interfaces.IConquerItem arrow = client.Equipment.TryGetItem(ConquerItem.AltLeftHan d);
arrow.Durability -= spell.UseArrows;
ItemUsage usage = new ItemUsage(true) { UID = arrow.UID, dwParam = arrow.Durability, ID = ItemUsage.UpdateDurability };
usage.Send(client);
if (arrow.Durability <= spell.UseArrows || arrow.Durability > 5000)
{
Network.PacketHandler.ReloadArrows(client.Equipmen t.TryGetItem(ConquerItem.AltLeftHand), client);
}
}
}
}
}
}

Still not working i already change it i think the problime is the Speed Arrow no amount of iti wanna make it 500 can till me where to change it
09/21/2013 16:00 pro4never#8
We've alraedy told you... You need to remove arrow count entirely from your source. The client no longer supports arrows having amounts. They are completely unlimited in new patches.
09/21/2013 17:59 shadowman123#9
idk what to say but since u dont understand our posts i wont Post on this Thread Any more try to understand what we posted instead of acting like a Retard .. End of Story
09/26/2013 07:23 Kan3_22#10
im just asking for it coz dont know how to change or remove it. you guys only get cue so how should i know where to change it.
09/26/2013 07:35 Spirited#11
Quote:
Originally Posted by Kan3_22 View Post
im just asking for it coz dont know how to change or remove it. you guys only get cue so how should i know where to change it.
You clearly know where to remove it if you read the code you posted to this thread. It says very clearly that it's removing the durability of the arrow item for each shot taken, therefore, to remove arrow count, you need to remove the durability change, and you need to remove the check on durability.

Please do your own research before you post again, because we've given you a lot of answers on how to do this. Nobody is going to give you all of the answers in life - you need to try to do this on your own. We're not a request forum where everyone has the time to rewrite your entire source for you - people come here for guidance. Please adapt or support another private server. Good luck.
09/26/2013 08:39 shadowman123#12
Quote:
Originally Posted by shadowman123 View Post
Scatter Problem is that it check the number of Arrows u got and if skill Require Arrows more than u have .. the skill wont work ... and as TQ changed their Arrow System like now the Arrows has no counts as long as its in Your Equipments u can attack ... those are Scatter Explaination Error

Solution :-
Remove that Arrows Number Check inside this void CanUseSpell in Handle.cs
Quote:
Originally Posted by Kan3_22 View Post
im just asking for it coz dont know how to change or remove it. you guys only get cue so how should i know where to change it.
i guess u got the Answer now .. Simple request to you .. please read carefully what others post ..if u didnt understand tell us that u didnt understand that and ill explain to you but dont ever act like we havent mention the solution .. Okay .. Good luck dude if u couldnt solve this Pm me and ill help u right away