View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001638SphereServernew feature requestpublic24-07-09 10:1105-01-14 21:36
Reporterbabidi 
Assigned ToBen 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version0.56c Nightly 
Summary0001638: DEFMESSAGE section not accesible by serv.defmessage
Descriptionthe section
[DEFMESSAGE messages]
//alchemy_dunno "You have no clue how to make this potion."
//alchemy_lack "Hmmm, you lack %s for this potion."
.
.
.

is not accesible using the serv.defmessage...

the utility of making this accesible is to use defined messages for any server
Additional InformationES. sphere_backward_compatibility.scp
[FUNCTION static] //by Thomas20198701
IF !(<ARGN>)
    IF (<ISEMPTY <DEF.<ARGS>>>)
        SYSMESSAGE Not a valid command or format. <======
        RETURN 0
    endif
endif

we could use SYSMESSAGE <serv.defmessage.cmd_invalid>
somethiung like that
TagsNo tags attached.
Nightly VersionNot Available
Experimental FlagsNone
Option FlagsNone
Internal Build Number
Attached Files

- Relationships

-  Notes
(0000261)
dzhony (reporter)
24-08-09 19:15

I've noticed that there is a keyword 'defmsg' (sphere command .show defmsg.something does not throw an exception, returning an empty string) and it is not documented on the wiki. Maybe something planned for this?
(0000700)
babidi (reporter)
17-10-10 13:12

maybe can be used putting an unexisting command that will say is not existing using the def message?
like

IF !(<ARGN>)
    IF (<ISEMPTY <DEF.<ARGS>>>)
        fjhhjgfjhfg
        RETURN 0
    endif
endif
(0000701)
ShiryuX (developer)
18-10-10 00:37

Please, tell me you're not trying to read commented lines.
(0000702)
babidi (reporter)
18-10-10 07:54

lol shiryx
should be uncomented
//cmd_invalid "Not a valid command or format"
(0000714)
ShiryuX (developer)
21-10-10 03:16

So. It was your mistake or still doesn't work?

BTW, Technically: SERV.DEFMESSAGE = DEFMSG
Is sort of redundance since they are global definitions, def or defmsg would be enough :)
(0001881)
Ben (manager)
05-01-14 21:36

Implemented.
Read and write with DEFMSG.X

- Issue History
Date Modified Username Field Change
24-07-09 10:11 babidi New Issue
24-07-09 10:11 babidi Nightly Version => Not Available
24-07-09 10:11 babidi Experimental Flags => None
24-07-09 10:11 babidi Option Flags => None
02-08-09 04:06 MrSugarCube Category executable - generic => new feature request
24-08-09 19:15 dzhony Note Added: 0000261
17-10-10 13:12 babidi Note Added: 0000700
18-10-10 00:37 ShiryuX Note Added: 0000701
18-10-10 07:54 babidi Note Added: 0000702
21-10-10 03:16 ShiryuX Note Added: 0000714
05-01-14 21:36 Ben Note Added: 0001881
05-01-14 21:36 Ben Status new => resolved
05-01-14 21:36 Ben Fixed in Version => 0.56c Nightly
05-01-14 21:36 Ben Resolution open => fixed
05-01-14 21:36 Ben Assigned To => Ben


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker