View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002244SphereServernew feature requestpublic22-11-13 05:5718-01-14 00:35
ReporterCoruja 
Assigned ToBen 
PrioritynormalSeverityminorReproducibilityN/A
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version0.56c Nightly 
Summary0002244: Custom functions on SERV.ACCOUNT UNUSED
DescriptionActually the "SERV.ACCOUNT UNUSED xxx DELETE" only accept DELETE as command.
It would be great if it accept any function, with this thing ppl will be allowed to create a more customized engine to control inactive accounts

EG: on my server I want some inactive VIP accounts just got flagged with a TAG.Inactive without being blocked/removed, and block some others accounts with valuable items, and delete the remaining inactive useless accounts. But I can't do this since the SERV.ACCOUNT UNUSED only accept DELETE as command
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsNone
Option FlagsNone
Internal Build Number
Attached Files

- Relationships

-  Notes
(0001781)
Ben (manager)
23-11-13 19:39

Did you even try to set a tag this way or are you just guessing based on the fact that the wiki doesn't specify it can?
(0001910)
Coruja (developer)
16-01-14 07:05

I already tried here, maybe I wrote the wrong info when I reported this problem :P

SERV.ACCOUNT UNUSED works with other commands, not just DELETE. The problem is that this thing works only using 'internal' functions but not using custom functions on script


Example:
SERV.ACCOUNT UNUSED 666 SERV.LOG LOL //<- this line works and will return many logs on console
SERV.ACCOUNT UNUSED 666 roflmao //<- this line doesnt work and doesnt return any log on console

[FUNCTION roflmao]
SERV.LOG LOL
(0001913)
darksun84 (reporter)
17-01-14 15:40
edited on: 17-01-14 15:41

Correct way is

serv.account unused 666 serv.roflmao

Matched 1 of 3 accounts unused for 3 days
15:41:(test.scp,6)test

(0001914)
Coruja (developer)
17-01-14 17:33

nice, using this sintax it works :D
but now there's another problem, the function works but there's no way to get any reference to the account. I dont know if I'm missing something or if really doesnt works

SERV.ACCOUNT UNUSED 666 SERV.roflmao //(already tried SRC, ACT, etc)

[FUNCTION roflmao]
SERV.LOG lol <UID> / <SRC> / <ACT> / <ARGO> / <LINK> / <TARG> / <REF1> //this will return 0 or error on all these references
(0001915)
Ben (manager)
18-01-14 00:35

Ok, this is now fixed.
This probably also allows custom functions to be used in places that were previously not able too, but I have not found any yet :)

- Issue History
Date Modified Username Field Change
22-11-13 05:57 Coruja New Issue
23-11-13 19:39 Ben Note Added: 0001781
23-11-13 19:49 Ben Status new => closed
23-11-13 19:49 Ben Assigned To => Ben
23-11-13 19:49 Ben Resolution open => no change required
16-01-14 07:05 Coruja Note Added: 0001910
16-01-14 07:05 Coruja Status closed => feedback
16-01-14 07:05 Coruja Resolution no change required => reopened
17-01-14 15:40 darksun84 Note Added: 0001913
17-01-14 15:41 darksun84 Note Edited: 0001913 View Revisions
17-01-14 17:33 Coruja Note Added: 0001914
17-01-14 17:33 Coruja Status feedback => assigned
18-01-14 00:35 Ben Note Added: 0001915
18-01-14 00:35 Ben Status assigned => resolved
18-01-14 00:35 Ben Fixed in Version => 0.56c Nightly
18-01-14 00:35 Ben Resolution reopened => fixed


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker