se7enet purgatorio

Page 2 of 2 <12
Topic Options
Rate This Topic
#16294 - 12/14/07 03:51 PM Re: Some bugs & problems [Re: AnmanIndustries]
Whiz
Cheerios


Registered: 10/28/07
Posts: 129

Offline
I found the issue, and it is an issue with the stock code, or more specifically the install.sql file. The fname values of the blessedstrike and stoneskin spells is bonusattack and bonusdefense, respectively.

The values should be blessedstrike and stoneskin. Therefore, the spell is looking for a function names bonusdefense or bonusattack in the spells.php file. None exists, so no spell is cast.

Here is the fix. Of course, the table prefix needs to be changed if you have anything but sx_.

## Run these SQL Queries ##

update sx_spells set fname = 'stoneskin' where fname = 'bonusdefense';
update sx_spells set fname = 'blessedstrike' where fname = 'bonusattack';
_________________________
View my mod "index" at

http://timedg.freehostia.com/forum/download.php

Visit my writing workshop site at http://slushpile.freehostia.com

Top
#16297 - 12/14/07 04:59 PM Re: Some bugs & problems [Re: Whiz]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
Oh I get it... You see, I never used the stock spells so I never had the problem. The other fix, if you already have it installed,

is to rename the spell types from stoneskin to bonusdefense and likewise.

You jerk.
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
Page 2 of 2 <12


Hop to:

se7enet

Barack Obama Logo