you can grow them in any furrow (farmland) throughout Sosaria!where can i grow these...?
Yes, for my server I have the map edits finished for SA... These scripts aren't specifically for SA but since I have the edits I chose to add compatibility for them. If you want the edits you need to go to Orbsydia.ca and look up SA and read Peoharens threads. They will tell you everything you need to know.did you happen to do those edits? for the SA?
Soulshifter;848915 said:I am trying to get the K9 drug dogs to work but they just walk around like a normal dog. I have been standing in a pack of them for hours with no results. Does anyone have these working? I am working on a quest for the drug system and I need to use them.
Soulshifter;848948 said:I have 3 separate accounts standing in a pack of 5 drug dogs, each toon has 1 or 2 Marijuana Leaves in his pack. The dogs never came over to check any of the packs, that I noticed anyway. I am running the RUNUO 2.0 Callandor ML package.
Edit: Through some testing I have found that it is flagging me criminal but they never attack me.
Thagoras;848955 said:Right, as per the purpose of the drug dogs. Perhaps you might look for the Killable Guards. These are basically guards that can protect a town, but will attack players marked criminal. The nice thing about them is that you can run away (or fight them). No insta kill.
public override void OnThink()
{
if (this.mark != null)
{
double markPick = GetDistanceToSqrt(mark);
if ((markPick < 2) && (!HasChecked))
{
if (mark.Backpack != null)
{
Container pouch = mark.Backpack;
ArrayList finalitems = new ArrayList( pouch.Items );
foreach (Item items in finalitems)
{
if ((items != null) && (!(items.Deleted)))
{
HasChecked = true;
if (IsDrug(items))
{
if (mark is PlayerMobile)
{
PlayerMobile pm = (PlayerMobile) mark;
pm.Criminal = true;
}
else if (mark is BaseCreature)
{
BaseCreature bc = (BaseCreature) mark;
bc.Criminal = true;
Combatant = mark;
if ((bc.Controlled) && (bc.ControlMaster is PlayerMobile))
{
PlayerMobile pm = (PlayerMobile) bc.ControlMaster;
pm.Criminal = true;
}
}
DoReveal(); //Attempt to reveal player if has drugs. <-- added
}
}
}
}
}
else if ((markPick > 10) && (HasChecked))
{
HasChecked = false;
mark = null;
}
}
}
public void DoReveal()
{
ArrayList list = new ArrayList();
foreach (Mobile m in this.GetMobilesInRange(3))
{
int h = m.Skills[SkillName.Hiding].Fixed;
if (m == this || !CanBeHarmful(m) || !m.Alive || !InLOS(m) || h < 100)
continue;
else
list.Add(m);
}
foreach (Mobile m in list)
{
m.RevealingAction();
}
}
chico-hybrid;851077 said:Hello, first of all.. i want to send you my regards.. you made a great job!
So.. i'm working on your script to work on SNV 527 + ML and SA. SO.. i had removed the "using server.scripts" lines from the scripts, i'm receiving the following error:
RunUO - [www.runuo.com] Version 2.1, Build 3909.40844
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 64-bit processors
Scripts: Compiling C# scripts...failed (2 errors, 0 warnings)
Errors:
+ Harvestable Drugs/Da Drug Dealer/DrugSystem_Dealer.cs:
CS1715: Line 18: 'Server.Mobiles.DrugSystem_Dealer.SBInfos': type must be 'S
ystem.Collections.Generic.List<Server.Mobiles.SBInfo>' to match overridden membe
r 'Server.Mobiles.BaseVendor.SBInfos'
CS0534: Line 15: 'Server.Mobiles.DrugSystem_Dealer' does not implement inher
ited abstract member 'Server.Mobiles.BaseVendor.SBInfos.get'
+ Harvestable Drugs/Da Drug Dealer/DrugSystem_SBInfo.cs:
CS1715: Line 22: 'Server.Mobiles.SBDrugSystem.BuyInfo': type must be 'System
.Collections.Generic.List<Server.Mobiles.GenericBuyInfo>' to match overridden me
mber 'Server.Mobiles.SBInfo.BuyInfo'
CS0534: Line 12: 'Server.Mobiles.SBDrugSystem' does not implement inherited
abstract member 'Server.Mobiles.SBInfo.BuyInfo.get'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again..
Can some of you help me on this?
Thanks in advance!
Sythen;851772 said:@LdNS88
the bong uses a lot of resources for some reason. I lag up on my server as well when I've used it. I have no idea why this issue persists, but it happens no matter how i configure the effects. A rewrite of the effects is being outlined because what I'd like to do is have the engine read off another script page that just contains the effects for easy editing. Also I'm going to eventually include 3 new quests and a processing option on the npc that allows you to drop a drug harvest on it to get a refined drug in your pack along with some gold. Anyway... if you find a fix for this please let me know. Thanks.
@chico-hybrid
I have no idea where to begin with your errors because I haven't played with the system in months. I'm thinking your issues lie with the vendor aspect of the NPC Drug Dealer in which case, I think perhaps there have been some updates to vendors in the last six months. I will have to start my server up again and take a look to fix the issue and unfortunately that wont happen until I know what RunUO, Callandor2k, and the people that are working on SA are doing in regards to this upcoming UO expansion. Its counter-productive to compile a new [.svn] console until I can figure out how to incorporate the new art slots.
@LdNS88
the bong uses a lot of resources for some reason. I lag up on my server as well when I've used it. I have no idea why this issue persists, but it happens no matter how i configure the effects. A rewrite of the effects is being outlined because what I'd like to do is have the engine read off another script page that just contains the effects for easy editing. Also I'm going to eventually include 3 new quests and a processing option on the npc that allows you to drop a drug harvest on it to get a refined drug in your pack along with some gold. Anyway... if you find a fix for this please let me know. Thanks.
Thread.Sleep(3000);