AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Extensions (https://forums.alliedmods.net/forumdisplay.php?f=134)
-   -   [EXTENSION][Any?] PointDetour (https://forums.alliedmods.net/showthread.php?t=184270)

KyleS 05-03-2012 21:00

Re: [EXTENSION][Any?] PointDetour
 
Updated OP with a proper inc and changed back to const.

Return > Plugin_Continue to block the ServerCommand.

Huge thanks again to Dr!fter for the Windows build!

Impact123 05-04-2012 06:02

Re: [EXTENSION][Any?] PointDetour
 
This will definitely be useful at some point, thank you for this :bacon!:
Yours sincerely
Impact

GoD-Tony 05-04-2012 15:40

Re: [EXTENSION][Any?] PointDetour
 
Out of curiousity, can multiple commands be executed from the same entity at the same time?

Example:
Code:

point_servercommand -> say Enjoy the map!;say Haha;quit

KyleS 05-04-2012 15:47

Re: [EXTENSION][Any?] PointDetour
 
Quote:

Originally Posted by GoD-Tony (Post 1702175)
Out of curiousity, can multiple commands be executed from the same entity at the same time?

Example:
Code:

point_servercommand -> say Enjoy the map!;say Haha;quit

I'd expect that to work, but I can't say for certain.

Dr!fter 05-04-2012 19:00

Re: [EXTENSION][Any?] PointDetour
 
Quote:

Originally Posted by GoD-Tony (Post 1702175)
Out of curiousity, can multiple commands be executed from the same entity at the same time?

Example:
Code:

point_servercommand -> say Enjoy the map!;say Haha;quit

Quote:

Originally Posted by KyleS (Post 1702177)
I'd expect that to work, but I can't say for certain.

Id think so. All it does is engine->ServerCommand. You can easily test to make sure with sourcemods ServerCommand since afaik that's the same.

GoD-Tony 05-05-2012 02:56

Re: [EXTENSION][Any?] PointDetour
 
Quote:

Originally Posted by KyleS (Post 1702177)
I'd expect that to work, but I can't say for certain.

Quote:

Originally Posted by Dr!fter (Post 1702265)
Id think so. All it does is engine->ServerCommand. You can easily test to make sure with sourcemods ServerCommand since afaik that's the same.

It works with ServerCommand so I'll assume that map authors could be doing the same.

lovely 12-15-2012 03:15

Re: [EXTENSION][Any?] PointDetour
 
Unable to load extension "PointDetour" what's wrong?

KyleS 12-15-2012 04:13

Re: [EXTENSION][Any?] PointDetour
 
Quote:

Originally Posted by lovely (Post 1854053)
Unable to load extension "PointDetour" what's wrong?

Probably a lot of things, which engine/game/OS?

GoD-Tony 01-11-2013 09:44

Re: [EXTENSION][Any?] PointDetour
 
Unfortunately this extension requires a specific Windows sig for every game. Would you be willing to take a different approach to achieve the same thing?

This method borrows gamedata from SDK Tools to hook AcceptInput for every point_*command entity that gets created: http://pastebin.com/JWUAYWmh

I'm not sure yet if it'll require separate engine builds, but you wouldn't have to do much updating (if any) after the first release.

berni 01-11-2013 11:38

Re: [EXTENSION][Any?] PointDetour
 
Quote:

Originally Posted by GoD-Tony (Post 1871518)
Unfortunately this extension requires a specific Windows sig for every game. Would you be willing to take a different approach to achieve the same thing?

This method borrows gamedata from SDK Tools to hook AcceptInput for every point_*command entity that gets created: http://pastebin.com/JWUAYWmh

I'm not sure yet if it'll require separate engine builds, but you wouldn't have to do much updating (if any) after the first release.

I think you shouldn't rely on core gamedata files, as they can change at anytime.


All times are GMT -4. The time now is 16:56.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.