View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002190SphereServernew feature requestpublic13-08-13 17:3030-04-14 11:45
ReporterXuN 
Assigned ToXuN 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version16-06-2013, 0.56b Prerelease 
Target VersionFixed in Version0.56c Nightly 
Summary0002190: Attacker. functionality
DescriptionIt would be nice if we have more control about attacker system, like making actual methods also writable instead of read only and adding a way to add/remove chars by script, if I want to remove just one player from the attacker list I just can't do it like either add them.
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsNone
Option FlagsNone
Internal Build Number1599
Attached Files

- Relationships

-  Notes
(0002045)
Avatar (reporter)
14-04-14 11:34
edited on: 14-04-14 12:48

Why dont you prevent attacking one from attacker list ?

For instance ,

for n 0 <eval <attacker> -1 > then list all attackers if you want with serv.list.attackers.add <attacker.<dlocal.n>.uid> then it becomes writable :)

So how can you prevent , put return 1 under on=@gethit to corresponding attacker.

or referance the attacker then stop his action.

(0002049)
XuN (developer)
14-04-14 17:25

Huh, old one request :P.

I took a look some time ago and was unable to do it, will have another look asap.

However, if you want to know ... the issue is not how to solve this ... I made exactly another system for attackers... but the default one should be flexible enough to do that simple things so no one needs to have 2 systems working (default and custom one).
(0002052)
Avatar (reporter)
15-04-14 08:07

You are right. If it is okay with default one, no need to function it customly. It wont be efficient. So lets assign this to you then :D
(0002134)
XuN (developer)
30-04-14 11:45

Added it:
 -Added attacker.add uid / attacker.delete uid. Self explanatory
 -Changed: attacker.elapsed/dam are now writable

- Issue History
Date Modified Username Field Change
13-08-13 17:30 XuN New Issue
14-04-14 11:34 Avatar Note Added: 0002045
14-04-14 11:35 Avatar Note Edited: 0002045 View Revisions
14-04-14 11:36 Avatar Note Edited: 0002045 View Revisions
14-04-14 12:48 Avatar Note Edited: 0002045 View Revisions
14-04-14 17:25 XuN Note Added: 0002049
15-04-14 08:07 Avatar Note Added: 0002052
15-04-14 08:08 Avatar Assigned To => XuN
15-04-14 08:08 Avatar Status new => assigned
30-04-14 11:45 XuN Note Added: 0002134
30-04-14 11:45 XuN Status assigned => resolved
30-04-14 11:45 XuN Fixed in Version => 0.56c Nightly
30-04-14 11:45 XuN Resolution open => fixed


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker