View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001650SphereServerexecutable - genericpublic04-09-09 13:1812-09-09 15:26
Reporterdzhony 
Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001650: Communication Crystal Light
DescriptionModel situation: 2 items, i_crystal_green and i_lantern_lit. Green crystal shows light radius no.0 in the green color. This type of light radius can not be changed, I've tried the same tiledata setting for both items, same MOREZ and TYPE ingame setting. Green crystal shows always no.0 light radius on every MOREZ setting.

But, changing DISPID on i_lantern_lit to i_crystal_green makes the item changeable - I mean, you can change MOREZ and the item changes light radiuses.

In my opinion, green color of light is client-dependent, but the possibility to change light radius is server-dependent. Am I wrong?
Additional InformationScreenshot added
TagsNo tags attached.
Nightly Version09-09-2008
Experimental FlagsNone
Option FlagsNone
Internal Build Number
Attached Filespng file icon comm-crystal.PNG (Attachment missing)
png file icon comm-crystal-test.PNG (Attachment missing)

- Relationships

-  Notes
(0000268)
MrSugarCube (administrator)
05-09-09 15:31

Change the type to t_light_lit and you'll be able to use MOREZ to set the light style.
(0000270)
dzhony (reporter)
05-09-09 17:21

I've already tried that - it doesn't work.
(0000274)
MrSugarCube (administrator)
10-09-09 21:54

Test with the following script (.testcrystal):

[FUNCTION testcrystal]
SERV.NEWITEM i_crystal_green
NEW.TYPE = t_light_lit
NEW.MOREZ = 0
NEW.P <EVAL <P.X> + 2>, <P.Y>, <P.Z>, <P.M>
NEW.SAY Light #<NEW.MOREZ>
NEW.TIMERF 2, testcrystal_
RETURN

[FUNCTION testcrystal_]
MOREZ += 1
UPDATE
SAY Light #<MOREZ>
TIMERF 2, testcrystal_
RETURN
(0000276)
dzhony (reporter)
11-09-09 00:15

all MOREZ values are the same, screenshot included
(0000277)
dzhony (reporter)
11-09-09 00:28

tested i_crystal_green script definition (only minor changes contrary to the default):

[itemdef 01ecd]
//blinking green communications crystal casting light
defname=i_crystal_green
resources=10 i_gem_emerald
name="communication crystal"
type=t_comm_crystal
category=Alchymie a magie
subsection=Magicke krystaly
description=communication crystal (green)
dupelist=01ece,01ecf
Can=CAN_I_BLOCK

[itemdef 01ece]
//green (off?)communications crystal casting light
dupeitem=01ecd

[itemdef 01ecf]
//bright green (on) communications crystal casting light
dupeitem=01ecd
(0000278)
MrSugarCube (administrator)
11-09-09 08:47
edited on: 11-09-09 08:49

I believe your CAN line on the itemdef has cleared the lighting capabilities. Try changing it to:

CAN=CAN_I_BLOCK|CAN_I_LIGHT

(after resyncing/restarting check that the can flags have the 0800 flag with '.xshow can' on the crystal)

(0000279)
dzhony (reporter)
11-09-09 18:08

It works, thank you :) Sorry for the report.

- Issue History
Date Modified Username Field Change
04-09-09 13:18 dzhony New Issue
04-09-09 13:18 dzhony File Added: comm-crystal.PNG
04-09-09 13:18 dzhony Nightly Version => 09-09-2008
04-09-09 13:18 dzhony Experimental Flags => None
04-09-09 13:18 dzhony Option Flags => None
05-09-09 15:31 MrSugarCube Note Added: 0000268
05-09-09 15:31 MrSugarCube Status new => closed
05-09-09 15:31 MrSugarCube Resolution open => no change required
05-09-09 17:21 dzhony Status closed => feedback
05-09-09 17:21 dzhony Resolution no change required => reopened
05-09-09 17:21 dzhony Note Added: 0000270
10-09-09 21:54 MrSugarCube Note Added: 0000274
11-09-09 00:14 dzhony File Added: comm-crystal-test.PNG
11-09-09 00:15 dzhony Note Added: 0000276
11-09-09 00:28 dzhony Note Added: 0000277
11-09-09 08:47 MrSugarCube Note Added: 0000278
11-09-09 08:49 MrSugarCube Note Edited: 0000278
11-09-09 18:08 dzhony Note Added: 0000279
12-09-09 15:26 MrSugarCube Status feedback => closed
12-09-09 15:26 MrSugarCube Resolution reopened => no change required


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker