[FIXED] Casting Agressive Spells in Town

Found a bug in UOX3? Or experienced a server crash? Perhaps you've noticed a broken feature? Post the details here!
Post Reply
LeoX9
UOX3 Novice
Posts: 55
Joined: Fri Nov 18, 2011 9:19 am
Location: Arizona, USA
Has thanked: 0
Been thanked: 0

Casting Agressive Spells in Town

Post by LeoX9 »

Whenever I cast an aggressive spell within the protection of town guards, the spell does no damage, does not trigger me as a criminal.... Does anyone know how to fix this?
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

Post by dragon slayer »

yeah its set that way in the scripts i can't remember where tho i think region.dfn and spell.dfn
LeoX9
UOX3 Novice
Posts: 55
Joined: Fri Nov 18, 2011 9:19 am
Location: Arizona, USA
Has thanked: 0
Been thanked: 0

Post by LeoX9 »

In regions.dfn I see a couple tags....

Code: Select all

MAGICDAMAGE=1
and 
MAGICDAMAGE=0
However, I don't know which means what.... If I set MAGICDAMGE = 1, does that mean aggressive spells are allowed?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Yep, that's the theory.
-= Ho Eyo He Hum =-
LeoX9
UOX3 Novice
Posts: 55
Joined: Fri Nov 18, 2011 9:19 am
Location: Arizona, USA
Has thanked: 0
Been thanked: 0

Post by LeoX9 »

Haha... When you say theory, does that mean the tag works? :P
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

There are no bug-reports about it not working :D
-= Ho Eyo He Hum =-
LeoX9
UOX3 Novice
Posts: 55
Joined: Fri Nov 18, 2011 9:19 am
Location: Arizona, USA
Has thanked: 0
Been thanked: 0

Post by LeoX9 »

Okay.... I changed every single MAGICDAMAGE tag in the regions.dfn file to == 1..... And my damaging spells still don't seem to work inside town.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Is your character by any chance invulnerable? There are issues when trying to do combat with an invulnerable character. Try 'INVUL FALSE on yourself and see if your spells still do no damage.
-= Ho Eyo He Hum =-
LeoX9
UOX3 Novice
Posts: 55
Joined: Fri Nov 18, 2011 9:19 am
Location: Arizona, USA
Has thanked: 0
Been thanked: 0

Post by LeoX9 »

Okay... I tried it and the problem still remains... I left town and it allowed me to hit myself, but not within town still... I even tried 'save and than reloading the whole server.... is there a tag in spells.dfn that needs changed as well?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Shouldn't have to change anything in spells.dfn, no.

Next attempt:
Shut down the server, then delete the regions.wsc file from the /SHARED/ folder (backup first, I guess). UOX3 should generate a new one on the next server startup.
-= Ho Eyo He Hum =-
LeoX9
UOX3 Novice
Posts: 55
Joined: Fri Nov 18, 2011 9:19 am
Location: Arizona, USA
Has thanked: 0
Been thanked: 0

Post by LeoX9 »

Boo ya... That worked great.

Thank you :)
Post Reply