Anonymous | Login | Signup for a new account | 03-12-24 06:23 CET |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
ID | Project | Category | View Status | Date Submitted | Last Update | |
0002294 | SphereServer | executable - windows build | public | 25-03-14 05:17 | 19-04-14 20:52 | |
Reporter | Coruja | |||||
Assigned To | XuN | |||||
Priority | normal | Severity | minor | Reproducibility | always | |
Status | resolved | Resolution | fixed | |||
Platform | OS | OS Version | ||||
Product Version | ||||||
Target Version | Fixed in Version | 0.56c Nightly | ||||
Summary | 0002294: DYE property not working properly | |||||
Description | [ITEMDEF 9860] DEFNAME=i_death_shroud DYE=1 [ITEMDEF i_robe_lol] DISPID=i_death_shroud DYE=0 After these items got created ingame, both return 1 if I try to read the DYE property (.xshow DYE, or <DYE> on scripts) I think it occours because sphere tries to read the DYE property on the item DISPID instead BASEID So 'i_death_shroud' will search the DYE property on 'i_death_shroud' and will return DYE=1 (no problem here), but on 'i_robe_lol' it will search the property on 'i_death_shroud' instead 'i_robe_lol' and will return 1 too, even if i_robe_lol has DYE=0 set | |||||
Additional Information | Using 24 march nightly | |||||
Tags | No tags attached. | |||||
Nightly Version | Automated (specify build number) | |||||
Experimental Flags | None | |||||
Option Flags | None | |||||
Internal Build Number | ||||||
Attached Files | ||||||
Notes | |
(0002042) Avatar (reporter) 14-04-14 03:19 edited on: 14-04-14 03:33 |
I do not get what you are trying to but why dont you use "COLOR" insted or if you want to do other things you can assign TAG.* to itemdef like TAG.DYE 0 or 1 [ITEMDEF 9860] DEFNAME=i_death_shroud TAG.DYE 1 ( if this is what you are looking for. ) then you can check it on triggers like under on=@dclick trigger on=@dclick if <TAG.DYE> // for 1 else // for 0 endif I'll look at what is wrong with this. I just checked and you are right, DYE states 01 for any items but if you want to see what colors items have then you can use .xshow color and state under on=@create like on=@create color 1 / color 0 / color xx |
(0002061) XuN (developer) 19-04-14 20:52 |
Solved. |
Issue History | |||
Date Modified | Username | Field | Change |
25-03-14 05:17 | Coruja | New Issue | |
13-04-14 09:12 | XuN | Assigned To | => XuN |
13-04-14 09:12 | XuN | Status | new => assigned |
14-04-14 03:19 | Avatar | Note Added: 0002042 | |
14-04-14 03:21 | Avatar | Note Edited: 0002042 | View Revisions |
14-04-14 03:24 | Avatar | Note Edited: 0002042 | View Revisions |
14-04-14 03:24 | Avatar | Note Edited: 0002042 | View Revisions |
14-04-14 03:24 | Avatar | Note Edited: 0002042 | View Revisions |
14-04-14 03:28 | Avatar | Note Edited: 0002042 | View Revisions |
14-04-14 03:33 | Avatar | Note Edited: 0002042 | View Revisions |
19-04-14 20:52 | XuN | Note Added: 0002061 | |
19-04-14 20:52 | XuN | Status | assigned => resolved |
19-04-14 20:52 | XuN | Fixed in Version | => 0.56c Nightly |
19-04-14 20:52 | XuN | Resolution | open => fixed |
Copyright © 2000 - 2010 MantisBT Group |