SphereServer BugTracker - SphereServer |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0002314 | SphereServer | script pack | public | 22-04-14 03:17 | 23-04-14 15:09 |
|
| Reporter | mpgram | |
| Assigned To | XuN | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | |
| Platform | VMware 4 Core, 8GB RAM | OS | Windows | OS Version | 2008 64 |
| Product Version | 16-06-2013, 0.56b Prerelease | |
| Target Version | | Fixed in Version | 16-06-2013, 0.56b Prerelease | |
| Nightly Version | Automated (specify build number) |
| Experimental Flags | None |
| Option Flags | None |
| Internal Build Number | |
|
| Summary | 0002314: New CanUse in scripts |
| Description | The new "CanUse" in scripts only takes that last value passed to it.
Example: CanUse=can_u_human|can_u_elf|can_u_gargoyle
Only Gargoyle can use it.
CanUse=can_u_elf|can_u_gargoyle|can_u_human
Only Human can use it.
Build from 4/20/2014 |
| Steps To Reproduce | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 22-04-14 03:17 | mpgram | New Issue | |
| 22-04-14 03:20 | mpgram | Note Added: 0002071 | |
| 22-04-14 09:37 | XuN | Note Added: 0002072 | |
| 22-04-14 16:32 | mpgram | Note Added: 0002074 | |
| 22-04-14 16:33 | mpgram | Note Edited: 0002074 | bug_revision_view_page.php?bugnote_id=0002074#r614 |
| 22-04-14 17:25 | Ben | Note Added: 0002075 | |
| 23-04-14 15:09 | XuN | Note Added: 0002083 | |
| 23-04-14 15:09 | XuN | Status | new => resolved |
| 23-04-14 15:09 | XuN | Fixed in Version | => 16-06-2013, 0.56b Prerelease |
| 23-04-14 15:09 | XuN | Resolution | open => fixed |
| 23-04-14 15:09 | XuN | Assigned To | => XuN |
|
Notes |
|
|
(0002071)
|
|
mpgram
|
|
22-04-14 03:20
|
|
|
Sorry, I should have mentioned: This happens on any equip-able item. |
|
|
|
(0002072)
|
|
XuN
|
|
22-04-14 09:37
|
|
It works fine for me:
[ITEMDEF 0283]
DEFNAME=i_gargish_stone_arms_female
..
canuse=can_u_gargoyle|can_u_female
Both .show serv.itemdef.i_gargish_stone_arms_female.canuse and .xshow canuse on the item retrieves 012 |
|
|
|
(0002074)
|
|
mpgram
|
22-04-14 16:32
(edited on: 22-04-14 16:33) |
|
This appears to be race related, not race/sex related.
To make sure, I deleted all the scripts and the spheresvr.exe and downloaded fresh. The world file is blank and this was a new character.
------------------------------------
[ITEMDEF 0df0]
DEFNAME=i_staff_black
...
CanUse=can_u_human|can_u_elf
As a human character, when trying to equip I get the message, Only elves may use this.
.xshow canuse on the item shows: 0c
---------------------------------------------------
[ITEMDEF 0df0]
DEFNAME=i_staff_black
...
CanUse=can_u_elf
.xshow canuse on the item shows: 08
--------------------------------------------------
[ITEMDEF 0df0]
DEFNAME=i_staff_black
...
CanUse=can_u_human
.xshow canuse on the item shows: 04
Human can also equip with no issue.
|
|
|
|
(0002075)
|
|
Ben
|
|
22-04-14 17:25
|
|
ok the error here is with t_equipitem in sphere_item_typedef_equipitem.scp.
Someone will have a look at it soon. |
|
|
|
(0002083)
|
|
XuN
|
|
23-04-14 15:09
|
|
|
Fixed CanUse in the script, you can download it tonight. |
|