View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002481SphereServerexecutable - windows buildpublic21-02-15 18:4905-03-15 16:36
Reporteralexpetro 
Assigned ToXuN 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version0.56c Nightly 
Summary0002481: Adding a tooltip to some Typedef make crash server
DescriptionAdding a tooltip to some Typedef make crash server

Steps To ReproduceI have many items which I have added a tooltip, this for to show info to the players about our customized game systems. Anyway here a simple example:

On a Type T_fruit

[ITEMDEF 0c5c]
//Watermelon
DEFName=i_fruit_watermelon
Name=Anguria
TYPE=T_FRUIT
TDATA1=i_semi_anguria
Tdata2=10
VALUE={5 10}
WEIGHT=1
DUPELIST=0c5d

ON=@ClientToolTip
IF (<amount> > 1)
Name=Angurie
Else
Name=Anguria
endif

this mke crash the server
Additional Informationthe build 0002011 Does not present the problem.

The problem is tested also with original sphere files
TagsNo tags attached.
Nightly VersionNot Available
Experimental FlagsDiagonalWalkCheck, New_Triggers, Intrinsic_Locals, NewPositionChecks, WalkCheck, Script_Profiler, DamageTools, NPCAct_Triggers
Option FlagsOSIMultiSight, NoItemNaming, NoHouseMuteSpeech, Flood_Protection, Buffs, NoPrefix, DyeType
Internal Build Number 2188
Attached Files

- Relationships

-  Notes
(0002688)
MirroR (reporter)
22-02-15 01:19
edited on: 22-02-15 01:20

Not name !

ON=@ClientToolTip
IF (<amount> > 1)
src.addcliloc <def.empty.cliloc>,<amount>
Else
src.addcliloc <def.empty.cliloc>,anguria
Endif

(0002689)
Ben (manager)
22-02-15 02:00

I found the reason for this... It started in r2146 when Coruja added "Tooltips now will auto update when item/char properties got changed."
so changing certain properties in @ClientToolTip will cause an infinite loop.

Not sure it can be fixed without removing that feature...
(0002703)
alexpetro (reporter)
24-02-15 18:55

Mirror I want change the name, because in Italian we can't add %S to differentiate sigolar to plurar.
Anyway I use routines in Clienttooltip for many scopes, i have hundreds items that give information to the player and they change their state with enviroment: "a barrell will fill with water meanwhile is raining, Tooltip tell me how many litres of water it contein..." and so on..

Please spend just a little time for this, is very usefull for shards customization, and vital for mine. Thank you.
(0002708)
alexpetro (reporter)
26-02-15 17:39

with MirroR solution i can solve the Name Problem adding a Return 1.

Remain the request to have the possibility to full script the Trigger, for the above motivations.

Thank you.
(0002722)
XuN (developer)
05-03-15 16:36

Should be fixed tomorrow.

- Issue History
Date Modified Username Field Change
21-02-15 18:49 alexpetro New Issue
22-02-15 01:19 MirroR Note Added: 0002688
22-02-15 01:20 MirroR Note Edited: 0002688 View Revisions
22-02-15 02:00 Ben Note Added: 0002689
24-02-15 18:55 alexpetro Note Added: 0002703
26-02-15 17:39 alexpetro Note Added: 0002708
05-03-15 16:36 XuN Note Added: 0002722
05-03-15 16:36 XuN Status new => resolved
05-03-15 16:36 XuN Fixed in Version => 0.56c Nightly
05-03-15 16:36 XuN Resolution open => fixed
05-03-15 16:36 XuN Assigned To => XuN


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker