View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002023SphereServerexecutable - windows buildpublic30-08-11 20:0501-09-11 00:28
Reporterdaskaras 
Assigned ToShiryuX 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSwindows7OS Version
Product Version20-09-2009, 0.56b Prerelease 
Target VersionFixed in Version0.56c Nightly 
Summary0002023: using "new" items with LOCAL.CREATEOBJECT1 in Spell for Field Spells doesn´t work
DescriptionI created two new items with a script

[ITEMDEF i_fx_field_fire_black_1]
ID=i_fx_field_fire
NAME=Schattenbrand
CATEGORY=Animations
SUBSECTION=Fire Field Shadow 1
DESCRIPTION=@

ON=@CREATE
COLOR=0455

[ITEMDEF i_fx_field_fire_black_2]
ID=i_fx_field_fire_ns
NAME=Schattenbrand
CATEGORY=Animations
SUBSECTION=Fire Field Shadow 2
DESCRIPTION=@

ON=@CREATE
COLOR=0455

and want to use them in my spell script like

ON=@SUCCESS
LOCAL.CREATEOBJECT1 = <eval i_fx_field_fire_black_1>
LOCAL.CREATEOBJECT2 = <eval i_fx_field_fire_black_2>

I only cast gold coins there. When I use the normal fire field, it works.
sphere gives me this error message

ERROR:CreateBase invalid item 0462a

newest nightly build
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsNone
Option FlagsNone
Internal Build Number
Attached Files

- Relationships

-  Notes
(0001224)
ShiryuX (developer)
30-08-11 21:09

Looks weird, since the ID of those are 0398c/03996 not 0462a. Try changing the 'ID=' values to the ones I used, and also try removing the EVAL. I'll try to reproduce it tonight.
(0001226)
daskaras (reporter)
31-08-11 21:20

tried it with the id and without using the eval.
same error
(0001227)
darksun84 (reporter)
31-08-11 23:07

Doesn't work for me too , instead it works with "new" summoned npcs !
(0001228)
ShiryuX (developer)
01-09-11 00:28

You were right, custom items didn't work, so I tweaked the code a little.
It should be fixed in the next automatic build.

- Issue History
Date Modified Username Field Change
30-08-11 20:05 daskaras New Issue
30-08-11 21:09 ShiryuX Note Added: 0001224
31-08-11 21:20 daskaras Note Added: 0001226
31-08-11 23:07 darksun84 Note Added: 0001227
01-09-11 00:28 ShiryuX Note Added: 0001228
01-09-11 00:28 ShiryuX Status new => resolved
01-09-11 00:28 ShiryuX Fixed in Version => 0.56c Nightly
01-09-11 00:28 ShiryuX Resolution open => fixed
01-09-11 00:28 ShiryuX Assigned To => ShiryuX


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker