RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

2.0 Evil Attacks

ABTOP

Sorceror
I starting it as Owner.
And i nothing not change. Just add spawner select Legion(always different) and set Active =true. Kill all mobs and when chest appears i cant loot anything.
 
ok - i have a fix for the chests
at least it works with svn 147 - but i believe will work with all of 2.0

the problem is that 2.0 if the chest is not movable, then contents is not also

so here is the fix - 1change/add & 1 add in the EvilAttackReward.cs file:

change this:

public EvilAttackRewardChest() : base( 0xE43 )
{
Movable = false;

Name = "a strange black chest";
Hue = 0x497;

to:

Code:
		public EvilAttackRewardChest() : base( 0xE43 ) 
		{
			//Movable = false;
			Weight = 5000;
			Name = "a strange black chest"; /or what ever name you want
			Hue = 0x497;

and farther down in the file just above:
Code:
		public override bool OnDragDropInto( Mobile from, Item item, Point3D p )

add in this:

Code:
		public override bool OnDragLift( Mobile from )
		{
			from.SendMessage ("You are unable to lift the chest, and the evil power shocks you");
			from.Hits -= 25;
			return false;
		}

this allows the stuff to be taken out, but the chest not to be moved, and anyone that tries to move it gets shocked - even GM's :eek:
 
Lord_Greywolf;651387 said:
ok - i have a fix for the chests
at least it works with svn 147 - but i believe will work with all of 2.0

the problem is that 2.0 if the chest is not movable, then contents is not also

so here is the fix - 1change/add & 1 add in the EvilAttackReward.cs file:

change this:

public EvilAttackRewardChest() : base( 0xE43 )
{
Movable = false;

Name = "a strange black chest";
Hue = 0x497;

to:

Code:
		public EvilAttackRewardChest() : base( 0xE43 ) 
		{
			//Movable = false;
			Weight = 5000;
			Name = "a strange black chest"; /or what ever name you want
			Hue = 0x497;

and farther down in the file just above:
Code:
		public override bool OnDragDropInto( Mobile from, Item item, Point3D p )

add in this:

Code:
		public override bool OnDragLift( Mobile from )
		{
			from.SendMessage ("You are unable to lift the chest, and the evil power shocks you");
			from.Hits -= 25;
			return false;
		}

this allows the stuff to be taken out, but the chest not to be moved, and anyone that tries to move it gets shocked - even GM's :eek:

Thanks for fix file will be updated with your fix and credit given
 

Liacs

Sorceror
nice work... anyways I have a problem. Apparently if you put the spawn to near to the water the monsters are also spawned in the water. So you can see the names, but not the monsters.
Hmmmm... I also tried it on land and the same: I just see the names, and when I dclick on the names (as GM) I can even see the backpacks, but I can't see the guys :(
Somebody has a solution for this?

Thanks

Lia

EDIT: nvm: there is something wrong with my bodyvalues I think :(
 

dkacz22

Sorceror
:confused:

I am still having problems with waypoints...

[add waypoint ... adds a rune ... it says I have to target other waypoints, so I place 4 in a square and target each one in a circle. I then [add evilspawner and place it in the middle. When I set it to true a gate opens and everything is standing on the gate.

Can someone reply here with Settings for Dummies!

That seems to be the only problem I am having now. Just not getting the waypoints set up correctly.
 
did props the evilattack and choose a waypoint?

i just added in 1 waypoint rune, then added the evil attack and props it and pointed to the rune for the waypoint and they moved to it
 

Erucid

Sorceror
Errors:
+ !Custom/!OtherDownloaded/evilattack/EvilAttackSpawn.cs:
CS0592: Line 218: Attribute 'CommandPropety' is not valid on this declaration
type. It is valid on 'property, indexer' declarations only.

Sounds like a great script, wish I could get it to work. =(
 
what version of runuo are you using?
this is ment for 2.0 - and i know it works with svn 147

(also as a side note - remove the !'s from your directories - it will cause problems later on for invalid characters in path names - might even be causing the problem now)
 

Malaperth

Wanderer
Well, if that error is correctly pasted from the console, you have a spelling mistake somehow in your EvilAttackSpawn.cs file since "CommandPropety" is missing an 'r' and so the class would not be found.
 

Erucid

Sorceror
I'm Using 2.0

I'll change the ! but I got no errors from it before. It is just my method to keep those folders at the top of the list.

Yes, 'Propety' is a typo on my part. The Errors: report does say 'CommandProperty' so it is spelled correctly.
 

ABTOP

Sorceror
Lord_Greywolf;651387 said:
ok - i have a fix for the chests
at least it works with svn 147 - but i believe will work with all of 2.0

the problem is that 2.0 if the chest is not movable, then contents is not also

so here is the fix - 1change/add & 1 add in the EvilAttackReward.cs file:

change this:

public EvilAttackRewardChest() : base( 0xE43 )
{
Movable = false;

Name = "a strange black chest";
Hue = 0x497;

to:

Code:
		public EvilAttackRewardChest() : base( 0xE43 ) 
		{
			//Movable = false;
			Weight = 5000;
			Name = "a strange black chest"; /or what ever name you want
			Hue = 0x497;

and farther down in the file just above:
Code:
		public override bool OnDragDropInto( Mobile from, Item item, Point3D p )

add in this:

Code:
		public override bool OnDragLift( Mobile from )
		{
			from.SendMessage ("You are unable to lift the chest, and the evil power shocks you");
			from.Hits -= 25;
			return false;
		}

this allows the stuff to be taken out, but the chest not to be moved, and anyone that tries to move it gets shocked - even GM's :eek:

You scarry me:p
Thx for fix. I check now.
 
you seam to be the only one having it - so i have no idea

i know it works with svn 147 - and others here are on various different svn's and just rc1 of 2.0

so unless you did something to remove those call functions from your server (bad core compile, or modified core, or a different script that changes things) i have no idea how to help you on it
 
i do not think the xml spawner system would effect it, but i can not say for sure - i do not use it - i use megaspawner, so can not say for sure
 
Top