View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002000SphereServerexecutable - genericpublic17-07-11 05:3423-07-14 19:14
ReporterCoruja 
Assigned ToXuN 
PrioritynormalSeverityminorReproducibilityrandom
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version0.56c Nightly 
Summary0002000: Polymorph spell and function POLY doesnt work sometimes
DescriptionAfter 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 [^]
Additional InformationUsing 11/07/11 nightly release
TagsNo tags attached.
Nightly VersionNot Available
Experimental FlagsNone
Option FlagsNone
Internal Build Number
Attached Files

- Relationships

-  Notes
(0001217)
ShiryuX (developer)
14-08-11 06:52

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 (developer)
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
(0001220)
ShiryuX (developer)
18-08-11 21:27

You will be able to create polymorph spells and overwrite the ID with the LOCAL.
(0001266)
MrSugarCube (administrator)
15-09-11 02:42

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 (developer)
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.

- 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


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker