SphereServer BugTracker - SphereServer |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0002000 | SphereServer | executable - generic | public | 17-07-11 05:34 | 23-07-14 19:14 |
|
| Reporter | Coruja | |
| Assigned To | XuN | |
| Priority | normal | Severity | minor | Reproducibility | random |
| Status | resolved | Resolution | fixed | |
| Platform | | OS | | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | 0.56c Nightly | |
| Nightly Version | Not Available |
| Experimental Flags | None |
| Option Flags | None |
| Internal Build Number | |
|
| Summary | 0002000: Polymorph spell and function POLY doesnt work sometimes |
| Description | After some uses, polymorph spell will doesnt work anymore (it will always stop the action and return "magery skill aborted" message). The same occour with the POLY internal function.
This problem occour randomly, I dont know why
---------------------------------------------
Btw, talking about POLY code, it will be a good idea create more functionality to this thing, like more args:
POLY id_to_polymorph,check_skill,check_mana
-id_to_polymorph: obviously this is the chardef to polymorph into
-check_skill: this will check char skill (0: doesnt check / 1: check)
-check_mana: the same as check_skill, but for mana (skip mana check will not consume mana)
With new args we can script a real working polymorph functions like the barracoon special hability to transform ppl into ratman no matter the target skill/mana, just using POLY c_ratman,0,0
http://uo.stratics.com/database/view.php?db_content=hunters&id=107 [^] |
| Steps To Reproduce | |
| Additional Information | Using 11/07/11 nightly release |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 17-07-11 05:34 | Coruja | New Issue | |
| 14-08-11 06:52 | ShiryuX | Note Added: 0001217 | |
| 17-08-11 07:02 | Coruja | Note Added: 0001219 | |
| 18-08-11 21:27 | ShiryuX | Note Added: 0001220 | |
| 15-09-11 02:42 | MrSugarCube | Note Added: 0001266 | |
| 15-09-11 02:43 | MrSugarCube | Severity | major => minor |
| 15-09-11 02:43 | MrSugarCube | Reproducibility | sometimes => random |
| 23-07-14 19:14 | XuN | Note Added: 0002360 | |
| 23-07-14 19:14 | XuN | Status | new => resolved |
| 23-07-14 19:14 | XuN | Fixed in Version | => 0.56c Nightly |
| 23-07-14 19:14 | XuN | Resolution | open => fixed |
| 23-07-14 19:14 | XuN | Assigned To | => XuN |
|
Notes |
|
|
|
What about SPELLFLAG_POLY and LOCAL.CREATEOBJECT1 to do it? That would solve the problem?
I can't edit '.poly', it just calls the spell, is like doing '.cast s_polymorph' |
|
|
|
(0001219)
|
|
Coruja
|
|
17-08-11 07:02
|
|
what SPELLFLAG_POLY does? it will override skill and mana check? the LOCAL.CREATEOBJECT1 already exists since you can use 'POLY c_pig', but it would be nice to use it directly on ON=@Effect or something like this without calling 'POLY c_pig' + 'return 1'
but the main problem is the spell failure, you can use polymorth once, can use it again, and randomly it will stop working (only for this char) and if you try to use it again you always will get a "skill aborted" message |
|
|
|
|
|
You will be able to create polymorph spells and overwrite the ID with the LOCAL. |
|
|
|
|
Does your polymorph problem happen when casting from a scroll/spellbook or just when using the POLY function?
The POLY function can fail if TARG (polymorph target) or TARGPRV (spell source (scroll/wand)) are invalid. Otherwise, we'll need more information to help us reproduce the issue. |
|
|
|
(0002360)
|
|
XuN
|
|
23-07-14 19:14
|
|
For your request... it would be a pain right now to edit a lot of code just for this while it can be done easily with script:
ON=@Select
if (<tag0.forced_poly>)
tag.forced_poly
return 6
endif
[function ForcePoly]
tag.forced_poly=1
poly <args>
Reopen if the spell is still failing or can reproduce it. |
|