View Single Post
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-12-2022 , 12:50   Re: [INC] Output Actions
Reply With Quote #2

Working nice!


I made test plugin.
*update 16.04.2022

This should only use on test server, not public serve where are players.

1. From this post zip file, take only test.sp plugin file and compile it on your test server.
- install plugin /disabled folder, so it not run automatically.

2. Run server and use server command: sm_dump_datamaps Prop_Data.txt
3. Reboot server, it not like that previous dump command.

4. Use server command: sm plugins load disabled/test
- After 5 seconds, it start read each line from Prop_Data.txt
- This can take over 15 minutes, because file could have over 12 000 lines.
And this part not use simple loop, or else SM stop code automatically.

Plugin now read 1000 lines per game frame, would be now much faster
- You can see messages printed on console.
- Don't hurry, be patient.

5. When finished, you have now file called listclassnameoutputs.kv
- Keep this file, where it is, because plugin will use it on next command.

6. Change map where you like look entity outputs.
7. Use command: sm_lookoutputs
- Plugin create file mapname_outputs.kv
- File have list of map entities with outputs, if there are outputs set.





de_dust2_outputs.kv



listclassnameoutputs.kv



*edit
Hmm... I forgot add feature to collect entity targetnames :/
Maybe added in another day.

*edit edit
small mistake now... gonna fix later


*updated
Attached Files
File Type: zip testplugin_collect_outputs.zip (294.3 KB, 85 views)
__________________
Do not Private Message @me

Last edited by Bacardi; 04-16-2022 at 09:42.
Bacardi is offline