Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000941Zandronum[All Projects] Suggestionpublic2012-07-30 20:462014-05-12 15:20
ReporterWatermelon 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000941: Access player points (from CTF) with ACS
DescriptionAs seen in this thread:
'http://zandronum.com/forum/showthread.php?tid=716 [^]'

It would be nice to be able to grab the player points instead of other methods that are a bit more intensive than a simple command.

If there was a function to grab a player point that would be awesome -- or better yet, maybe use something like:

'http://zdoom.org/wiki/GetActorProperty [^]'
APROP_Score - A simple counter. Score items automatically increase it by their amount


Theres a function called PlayerFrags()
Could there be PlayerPoints() ?
Attached Files

- Relationships
related to 0000927closedDusk ZDaemon ACSF Functions 

-  Notes
User avatar (0004151)
Dusk (developer)
2012-07-30 21:26

I think this is something for GetPlayerInfo more than anything. I think it as well could be expanded with a few things like ping, time and possibly ignore status.
User avatar (0004152)
Watermelon (developer)
2012-07-30 22:09

That'd be so awesome to be able to get player ping, time...etc

This may be far-fetched, but can we get access to IP:Port? Or is that too far?
User avatar (0004156)
Torr Samaho (administrator)
2012-07-31 05:28
edited on: 2012-07-31 19:09

Putting this stuff in GetPlayerInfo is surely possible, but breaks with the current design. So far GetPlayerInfo only returns stuff in stored in userinfo.

Quote from Watermelon
That'd be so awesome to be able to get player ping, time...etc

Once we decide how to access the score info, it won't be any problem to extend this to the other information. I'm not sure though if it would be a good idea to allow a mod to access IP:Port. Privacy issues aside, reliably identifying a player with it is not possible, so what would you need this for?

User avatar (0004159)
Watermelon (developer)
2012-07-31 14:48
edited on: 2012-07-31 14:51

Unless Zandronum features a login system where you can grab account names with ACS, there are programs out there that connect to the RCON utility and read/send data to the server. This could be used to store data based on IP, or record IP's that do suspicious activity into the logs. Port wouldn't really be essential though.

It could also be used possibly to get the server's host IP in game which can be used for lots of stuff.

EDIT: Does this coincide with:'http://zandronum.com/tracker/view.php?id=927 [^]' ?

User avatar (0004172)
Torr Samaho (administrator)
2012-07-31 20:39

Your suggestions what to do with the IPs are still too vague to judge whether mods should get access to the IPs or not. Can you give a specific example?

Quote
EDIT: Does this coincide with:'http://zandronum.com/tracker/view.php?id=927 [^]' ?

It's related, but needs to be done by a different function. Given a team number, 0000927 provides access to properties of to the specified team, but here we need to access properties of given player, no matter if he is on a team or not.
User avatar (0004219)
Dusk (developer)
2012-08-03 00:50
edited on: 2012-08-03 00:50

Quote
Putting this stuff in GetPlayerInfo is surely possible, but breaks with the current design. So far GetPlayerInfo only returns stuff in stored in userinfo.

GetClientInfo then? But that might not be the proper place for the score value...

User avatar (0004226)
Torr Samaho (administrator)
2012-08-03 05:36

I think the name GetPlayerProperty would be consistent with the just added GetTeamProperty and ZDoom's GetActorProperty, though we risk that ZDoom may use this name in the future.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2012-07-30 20:46 Watermelon New Issue
2012-07-30 21:26 Dusk Note Added: 0004151
2012-07-30 22:09 Watermelon Note Added: 0004152
2012-07-31 05:28 Torr Samaho Note Added: 0004156
2012-07-31 14:48 Watermelon Note Added: 0004159
2012-07-31 14:51 Watermelon Note Edited: 0004159 View Revisions
2012-07-31 19:09 Torr Samaho Note Edited: 0004156 View Revisions
2012-07-31 20:39 Torr Samaho Note Added: 0004172
2012-08-03 00:48 Dusk Relationship added related to 0000927
2012-08-03 00:50 Dusk Note Added: 0004219
2012-08-03 00:50 Dusk Note Edited: 0004219 View Revisions
2012-08-03 05:36 Torr Samaho Note Added: 0004226
2014-05-12 00:17 Watermelon Status new => resolved
2014-05-12 00:17 Watermelon Resolution open => fixed
2014-05-12 00:17 Watermelon Assigned To => Watermelon
2014-05-12 15:20 Dusk Assigned To Watermelon =>
2014-05-12 15:20 Dusk Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker