SphereServer BugTracker - SphereServer |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0001650 | SphereServer | executable - generic | public | 04-09-09 13:18 | 12-09-09 15:26 |
|
Reporter | dzhony | |
Assigned To | | |
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | no change required | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Nightly Version | 09-09-2008 |
Experimental Flags | None |
Option Flags | None |
Internal Build Number | |
|
Summary | 0001650: Communication Crystal Light |
Description | Model 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? |
Steps To Reproduce | |
Additional Information | Screenshot added |
Tags | No tags attached. |
Relationships | |
Attached Files | comm-crystal.PNG (41,928) 04-09-09 13:18 http://tracker.sphere.torfo.org/bugs/file_download.php?file_id=25&type=bug
comm-crystal-test.PNG (1,965) 11-09-09 00:14 http://tracker.sphere.torfo.org/bugs/file_download.php?file_id=26&type=bug |
|
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 |
Notes |
|
|
Change the type to t_light_lit and you'll be able to use MOREZ to set the light style. |
|
|
(0000270)
|
dzhony
|
05-09-09 17:21
|
|
I've already tried that - it doesn't work. |
|
|
|
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
|
11-09-09 00:15
|
|
all MOREZ values are the same, screenshot included |
|
|
(0000277)
|
dzhony
|
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
|
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
|
11-09-09 18:08
|
|
It works, thank you :) Sorry for the report. |
|