.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Metamod and metamod plugins (http://forums.bots-united.com/forumdisplay.php?f=15)
-   -   pmtools, a new version (http://forums.bots-united.com/showthread.php?t=2940)

Pierre-Marie Baty 08-11-2004 16:33

pmtools, a new version
 
1 Attachment(s)
Hi

In my rare spare time these days I managed to improve pmtools a bit and add a couple interesting features : a fly/noclip mode, an invincibility mode (these 2 are useful for testing triggers and getting your position) and a console command to retrieve the POINT_CONTENTS at your location. It has also a teleport feature now.

Unfortunately I have no time to upload it and compile it for Linux (each time I log into the BU server it takes me aaaages to do anything - 56k sucks - and I really don't have time to waste) so if anyone wants to make a clean new release of it, here's the .cpp file.

Note to all new HLSDK hackers/coders/bot makers who don't know this plugin: try it, cause once you know it you can't live without ;)

BAStumm 08-11-2004 21:03

Re: pmtools, a new version
 
1 Attachment(s)
compiles under linux with no changes. .so is attached. I notice that use_bsp_code is removed ??? Also, nice to see that you fixed this so it compiles for linux, ie the "can only be used from listenserver" or whatever error when attempting to use those commands.

Pierre-Marie Baty 08-11-2004 21:31

Re: pmtools, a new version
 
Thanks a bunch man :) Yeah, the BSP stuff was removed... but I removed it quite some time ago already, because at that time I had a few bugs in the BSP code (like some faces being dropped from the mesh because they happened to be on the wrong "side", ie the vertices were enumerated in the reverse order); I fixed it since, so maybe I could readd that in pmtools. You want it again ? It's a matter of one hour or two.

BAStumm 08-11-2004 21:45

Re: pmtools, a new version
 
tbh I didn't use the bsp code, was that listenserver only stuff? Cuz i only use pmtools from command line on linux server ;)

tbh I only really use the listend and printent stuff, but the extract deal may get used now ;)

BAStumm 08-11-2004 22:51

Re: pmtools, a new version
 
Got a crash, although I've seen this in the old version too... Also teh ent I was printing is a monster_plugin ent (icky) so I think that might be related. Perhaps monsters dont have a v.euser4 ? Cuz it prints v.euser3 then crashes...

Code:

[bs@Dragon maps]$ hlcmd -g tfc printent 300       
 
 8<----SNIP----
 
 Last 5 lines in hlds_l.log are:
 ----------------------------------------------------------------------
 pEntity->v.euser1 = NULL
 pEntity->v.euser2 = NULL
 pEntity->v.euser3 = NULL
 L 11/08/2004 - 12:56:29: FATAL ERROR (shutting down): Bad entity in IndexOfEdict()
 FATAL ERROR (shutting down): Bad entity in IndexOfEdict()
 ----------------------------------------------------------------------


Pierre-Marie Baty 08-11-2004 22:57

Re: pmtools, a new version
 
Ohoho

Nope, I mean yes, they have. But that must be worldspawn itself. Worldspawn is the only entity that's not bindable through INDEXENT() and its contrary.

Gotta check that, thanks once more :)

Pierre-Marie Baty 09-11-2004 04:25

Re: pmtools, a new version
 
OK, new version released & packaged. Try this one. It's available from the filebase.

BAStumm 09-11-2004 04:46

Re: pmtools, a new version
 
does it include a .so for linux? If not I can compile one for you...

Pierre-Marie Baty 09-11-2004 05:11

Re: pmtools, a new version
 
Yep. While I was at hacking around the HPB_bot again I thought I'd take the time to do things right.

/me stares at his modem with blood in the eyes

BAStumm 09-11-2004 05:27

Re: pmtools, a new version
 
you know, in the future you can feel free to hit me up for compiling linux stuff for ya's... I can't compile for windows and I've always been able to find someone nice enough to help me out so I like to return the favor... speaking of which I may have some new stuff for monster in coming days and may just need a hand in that ;)


All times are GMT +2. The time now is 08:42.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.