[ANY] tEntDev v0.1.1 (2010-12-04)
3 Attachment(s)
About
This plugin helps developers fiddle with those netprops of entities. It is not meant for usage beyond developing... The plugin allows you to watch how the netprops of an entity changed. It requires an extension that is provided with this plugin. Commands
Cvars
Natives (these are pretty much the same as the commands)
How To Manual: 1. Select an entity by aiming at it and saying /ted_selectAuto 1. Select an entity by aiming at it and saying /ted_select Example Output of sm_watch (just finished building a teleporter) m_flPercentageConstructed changed from 0.8550 to 0.9000 Extension Binaries
Source Changelog can be found here. tEntDev_02.zip is the old version, which didnt require an extension but those ugly keyvalues cfg files containing a list of all entities. if someone for some reason still wants to use that... its still here. Note: If you want to compile this yourself you will need the colors, sdkhooks and netprops includes. |
Re: [ANY] tEntDev v0.0.1 (2010-11-14)
This is very useful! Thank you!
By the way, did you write something to generate that config file? |
Re: [ANY] tEntDev v0.0.1 (2010-11-14)
yepp, a perl script. i'm going to polish it a bit, then release it here.
|
Re: [ANY] tEntDev v0.0.1 (2010-11-14)
Might be what I need so I can find the pesky ent prop that controls whether a weapon has a laser sight or not in L4D2.
SetFailState("Need that perl script or = cfg generator to continue(l4d2)"); |
Re: [ANY] tEntDev v0.0.1 (2010-11-14)
1 Attachment(s)
Very cool.
EDIT: You asked for l4d2 netprop dumps in another thread, here you go: |
Re: [ANY] tEntDev v0.0.1 (2010-11-14)
3 Attachment(s)
Here are the ones for CS:S and L4D2 generated with that little php script in nprops.zip
|
Re: [ANY] tEntDev v0.0.1 (2010-11-14)
Can somebody use this to see what netprops change for a spy pulling out the dead ringer (not cloaking, just pulling it out/readying it), and post it here? I am unable to try until this weekend :C
|
Re: [ANY] tEntDev v0.0.1 (2010-11-14)
I'd love to have a native i could use in my other plugins so i can turn debugging on/off on a specific entity i'm not able to point at. E.g. myself, or my secondary weapon etc.
|
Re: [ANY] tEntDev v0.0.1 (2010-11-14)
Quote:
|
Re: [ANY] tEntDev v0.0.1 (2010-11-14)
Great. You could use the hudhint entity to show the differences in realtime.
PHP Code:
|
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
Updated to v0.0.2:
|
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
gj, really usefull
|
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
this is the best plugin ever made, hands down
|
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
You might want to check your game detection
This happened on launching a l4d2 server PHP Code:
|
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
ack.
i'm going to rewrite this anyway and get rid of the need for those cfg files (by exposing the functions used by sm_dump_netprops to pawn). should make a lot of things a lot easier. also allows for a nicer handling of array-props. expect an update in the next few days. |
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
Well, good idea, or you could check if there is a recent dump, if not, generate a dump and parse it.
|
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
Quote:
i've started working on that extension i promised. code and linux builds for l4d2 and tf2 can be found in the git repository. it allows you to iterate over all netprops in pawn the same way like sm_dump_netprops does. basically like this: PHP Code:
rewrite tEntDev meaning basically: throw away keyvalues crap and be nicer to the tries. also: find someone to provide windows builds. |
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
By the way, add a menu so we can select what props we want to hook :)
|
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
1 Attachment(s)
so, i've rewritten the core plugin to get its data from the extension.
i didnt update the OP yet, because this has to be tested more to make sure it works as intended. so, here we go:
latest source for the extension based version can always be found in the corresponding branch. the package includes linux extension binaries for l4d2 and orangeboxvalve (tf2 etc). |
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
I tried to fix you up with a Visual C project file and a windows compile, but there seems something wrong with a function in the source
PHP Code:
|
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
1 Attachment(s)
oups, thats from a function thats not really needed and not used atm.
i've removed it from the extension, so that problem should be gone. thanks a lot! |
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
2 Attachment(s)
Here, ive attached a compile-worthy Source Package and the compiled windows ext for L4D2 and L4D1 (doesnt load by plugins ... i had to add an autoloader).
There's project templates for L4D, L4D2 and OB for correctly setup SDK folders (See 'Compiling Sourcemod' in wiki). I dont have the OB SDK installed, else i would have compiled that for win aswell. |
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
alright, that got me going.
Here are the most recent builds
mostly untested. |
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
"File extension 'cmds.smx' is not allowed."
Tried two different methods of uploading this file to my server. Nether is working. I renamed the file to tEntDevcmds.smx and uploaded. "Unknown command: sm_ted_selectself" The plugin is not working for me... |
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
whut? both things you've tried should have worked.
this is not a problem with this plugin, but with your server i guess. who is reporting that "file-extension not allowed" message? i'll bet your serverhoster, so this is not a plugin related problem, it's just that your serverhosters webupload (?) checks file-extensions after the first (not the last) dot. just rename all plugins and strip them of that additional dot. or use a real ftp client. i'm also guessing that you've only uploaded the cmds plugin and none of the others (cause you've only had issues with that one), which ofc doesnt work either. your post doesnt provide any information tbh. have your tried the extension or the stand-alone version? what plugins did you upload, just the cmds one? etc etc. elaborate more pls. giving a list of your loaded plugin (via sm plugins list) should help too. |
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
Using WinSCP, I downloaded the .zip file from page 1 and uploaded all the contents to the correct folders. The cmds file was the only one that gave me problems, all the others were uploaded fine. After I got the errors, I removed the extra dot from that file and uploaded it. I tried changing it back, but got another error. I left it alone, uploaded as tEntDevcmds.smx.
I restarted my server as I always do after installing new plugins. When I open the console after joining my server and type in any of the plugin commands, they are unrecognized. |
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
please post the output of sm plugins list
|
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
Trying on my home version of srcds that I run on my laptop. SM plugins produces
"tEntDev - Aim" (0.0.2) by Thrawn "tEntDev - Commands" (0.0.2) by Thrawn as the only relevant plugins. Whether I bind the commands to a key or type them in the client console, I get an unrecognized command response. However, on my server console, I see that the plugin is producing the following message: [SM] Native "TED_SelectEntity" reported: Plugin owning this native is currently paused. Edit: this only happens when I connect to my server directly and not through a lobby. If I use a lobby, I don't get server messages, only the unrecognized command response. |
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
Installed SDKHooks to make sure that wasn't part of the problem. The error logs for my server produces:
L 11/28/2010 - 12:13:58: SourceMod error session started L 11/28/2010 - 12:13:58: Info (map "c8m1_apartment") (file "errors_20101128.log") L 11/28/2010 - 12:13:58: [SM] Plugin encountered error 25: Call was aborted L 11/28/2010 - 12:13:58: [SM] Native "SetFailState" reported: Cant find netprops data at addons\sourcemod\configs\tEntDev\netprops.l4d .cfg L 11/28/2010 - 12:13:58: [SM] Displaying call stack trace for plugin "tEntDev.smx": L 11/28/2010 - 12:13:58: [SM] [0] Line 41, tEntDev.sp::OnPluginStart() |
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
sm plugins list shows an error for tEntDev.smx, the other three are loading properly
|
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
I just tried this version instead: https://github.com/thraaawn/tEntDev/tree/useExtension
Downloaded the .zip file from your site, deleted and reinstalled the latest snapshots of sourcemod. Tried with both 1.3.6 and 1.4. Got the following error: [SM] Unable to load plugin "tEntDev.smx": Native "GetSendTableByNetclass" was not found Should I also mention that I'm using this on an L4D2 server? |
Re: [ANY] tEntDev v0.0.2 (2010-11-20)
I seem to have gotten around the problem by using the original version on page one and duplicating the l4d2 config file and renaming it for l4d. Everything is working as it apparently should...
|
Re: [ANY] tEntDev v0.1.0 (2010-11-28)
seems like something is wrong... i get this message:
PHP Code:
|
Re: [ANY] tEntDev v0.1.0 (2010-11-28)
currently tEntDev doesnt dynamically load the extension. sorry for that, i've already fixed this in git. you've got two options, a) update the tEntDev.smx from the repository here or b) create a empty file in you extensions directory and name it netprops.autoload.
sorry for that, as soon as is have some more changes in i will update the package. |
Re: [ANY] tEntDev v0.1.0 (2010-11-28)
sm_ted_listselect truncated the 126th index, which displays: " 126 CFuncSimpleLadder func_simplela"
Also it would be nice to have a blank line between each update of sm_ted_watch. For example I do sm_ted_selectself and move around, but so many variables are changed, I cannot easily see what block was changed from the previous and from second. Excellent tool and very helpful, thanks. |
Re: [ANY] tEntDev v0.1.0 (2010-11-28)
sm_ted_listselect does not work properly for alien swarm, it spews a whole log of unreadable rubbish in the console... and when i used sm_ted_select, the marine that you are currently controlling is always selected instead of the entity my mouse is aiming at...
|
Re: [ANY] tEntDev v0.1.0 (2010-11-28)
Quote:
Code:
238 CBaseEntity asw_spawnerQuote:
AlienSwarm is different in many aspects... |
Re: [ANY] tEntDev v0.1.1 (2010-12-04)
Updated to v0.1.1
Changelog:
|
Re: [ANY] tEntDev v0.1.0 (2010-11-28)
Quote:
|
Re: [ANY] tEntDev v0.1.0 (2010-11-28)
Quote:
PHP Code:
|
| All times are GMT -4. The time now is 22:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.