| Anonymous | Login | Signup for a new account | 19-06-26 10:17 CEST | ![]() |
| 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 | |
| 0002245 | SphereServer | executable - windows build | public | 22-11-13 18:13 | 23-11-13 19:48 | |
| Reporter | Coruja | |||||
| Assigned To | Ben | |||||
| Priority | normal | Severity | minor | Reproducibility | always | |
| Status | closed | Resolution | no change required | |||
| Platform | OS | OS Version | ||||
| Product Version | ||||||
| Target Version | Fixed in Version | |||||
| Summary | 0002245: "Undefined keyword 'Luck'" when delete the char/account | |||||
| Description | [ITEMDEF i_weapon_luck] ID=i_katana TEVENTS=t_weapon_props TAG.Luck=100 [TYPEDEF t_weapon_props] ON=@Equip IF (<TAG0.STRBonus>) SRC.STR += <TAG0.STRBonus> ENDIF ... IF (<TAG0.Luck>) SRC.Luck += <TAG0.Luck> ENIF ON=@Unequip IF (<TAG0.STRBonus>) SRC.STR -= <TAG0.STRBonus> ENDIF ... IF (<TAG0.Luck>) SRC.Luck -= <TAG0.Luck> //<-- line 666 ENIF This item works fine, but if I delete the char/account (REMOVE 1 on char or "SERV.ACCOUNT lol DELETE" or "SERV.ACCOUNT UNUSED 666 DELETE") with this item equipped on the char being removed, it will return this console error: 02:29:ERROR:(lol.scp,666)Can't resolve <SRC.Luck> 02:29:ERROR:(lol.scp,666)Undefined keyword 'Luck' Strangely all other properties (STR, DEX, INT, MAXHITS, etc) works fine, I get this error only on luck property | |||||
| Tags | No tags attached. | |||||
| Nightly Version | Automated (specify build number) | |||||
| Experimental Flags | None | |||||
| Option Flags | None | |||||
| Internal Build Number | ||||||
| Attached Files | ||||||
Notes |
|
|
(0001782) Ben (manager) 23-11-13 19:48 |
this is caused by the fact that Luck is a player only property and when a char is not logged in, he is a char, not a player. Simple way to do this is to do a simple ISPLAYER check in your script |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 22-11-13 18:13 | Coruja | New Issue | |
| 23-11-13 19:48 | Ben | Note Added: 0001782 | |
| 23-11-13 19:48 | Ben | Status | new => closed |
| 23-11-13 19:48 | Ben | Assigned To | => Ben |
| 23-11-13 19:48 | Ben | Resolution | open => no change required |
| Copyright © 2000 - 2010 MantisBT Group |