Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 35
Search took 0.01 seconds.
Search: Posts Made By: Drunken F00l
Forum: General 06-11-2011, 14:37
Replies: 6
Views: 2,375
Posted By Drunken F00l
Re: New politics from Valve Corporation? Pfff.

You probably have daf_block_alla2cprint enabled and the master servers are trying to send you a message. It's not hurting anything -- you just won't see the message.
Forum: Metamod:Source Plugins 11-09-2010, 17:59
Replies: 172
Views: 142,833
Posted By Drunken F00l
Re: Entity Grabber / 'Gravity Gun' (15 Sep 2007) [Important News: July 2008]

The SourceOP beta plugin contains a similar feature as well as other entity editing commands. +grabphys is the SourceOP command you're looking for.

Looks like this:...
Forum: Unapproved Plugins 05-02-2010, 04:21
Replies: 1,199
Views: 737,345
Posted By Drunken F00l
Re: [TF2] PropHunt 1.66

Did you solve the client crashing? I think it might have something to do with spectating the last prop possibly due to giving him a weapon. The few times I've noticed it was always everybody but one...
Forum: Unapproved Plugins 04-30-2010, 17:42
Replies: 1,199
Views: 737,345
Posted By Drunken F00l
Re: [TF2] PropHunt 1.66

Is that all it takes to repro? 100% of the time? Is this spectating when dead or when on spectator team?

When I was playing with it a bit last night, I didn't crash.

Edit:
Yes, seeing...
Forum: Unapproved Plugins 04-30-2010, 17:04
Replies: 1,199
Views: 737,345
Posted By Drunken F00l
Re: [TF2] PropHunt 1.66

Robin is going to add two new inputs that should address two of the issues:
SetCustomModelVisibleToSelf
SetCustomModelRotates
Forum: Unapproved Plugins 04-30-2010, 14:49
Replies: 1,199
Views: 737,345
Posted By Drunken F00l
Re: [TF2] PropHunt 1.66

Your demo looks fine to me, but I don't notice it in that youtube video either so maybe I'm not being observant enough.
Forum: Unapproved Plugins 04-30-2010, 14:30
Replies: 1,199
Views: 737,345
Posted By Drunken F00l
Re: [TF2] PropHunt 1.66

You have a link to ph_northural_a2.bsp? I don't have it and it doesn't look like it is in the resource pack (unless it was added recently).

Nevermind, found it here:...
Forum: Unapproved Plugins 04-30-2010, 13:40
Replies: 1,199
Views: 737,345
Posted By Drunken F00l
Re: [TF2] PropHunt 1.66

I haven't noticed any jerkyness in my implementation. In fact, it's quite smooth. Maybe there is a client setting or something that causes it that you have and I don't?

Have Shinx send the...
Forum: Unapproved Plugins 04-30-2010, 12:54
Replies: 1,199
Views: 737,345
Posted By Drunken F00l
Re: [TF2] PropHunt 1.66

Jerky movement? Client crashes?

No rotation is a problem and something I will bother Robin about. It would be nice to be able to pick between rotating and existing behavior.
Forum: Unapproved Plugins 04-30-2010, 02:55
Replies: 1,199
Views: 737,345
Posted By Drunken F00l
Re: [TF2] PropHunt 1.66

I don't write any sourcemod plugins, but in my world, it's:

variant_t value;
value.SetString(MAKE_STRING(pszModelName));
pEnt->AcceptInput("SetCustomModel", pEnt, pEnt, value, 0);


So...
Forum: Unapproved Plugins 04-30-2010, 01:21
Replies: 1,199
Views: 737,345
Posted By Drunken F00l
Re: [TF2] PropHunt 1.66

There's a new way to do what you want. I asked Valve since we can't parent stuff to players any more could they add something that allows us to change the player model. Robin agreed to add it.

He...
Forum: Coding MM:S Plugins & SM Extensions 02-21-2009, 20:54
Replies: 11
Views: 3,471
Posted By Drunken F00l
Re: Sourcehook problem on linux

My problem was different. I tracked it down to a problem with SourceHook.

https://bugs.alliedmods.net/show_bug.cgi?id=3642
Forum: Coding MM:S Plugins & SM Extensions 02-16-2009, 05:09
Replies: 11
Views: 3,471
Posted By Drunken F00l
Re: Sourcehook problem on linux

Hey, could you please post your makefile problem and solution? I think I have a similar issue in my plugin.

The hooks work in Windows but are never called in Linux.
Forum: Coding MM:S Plugins & SM Extensions 05-09-2008, 12:44
Replies: 18
Views: 5,944
Posted By Drunken F00l
Re: Hooking every entity

Ya, you could hook Create on every entity factory and then hook each enitity that gets created. I've never done that, but it could work. Hook it like you would as if it were any other interface. Make...
Forum: Coding MM:S Plugins & SM Extensions 05-08-2008, 13:23
Replies: 18
Views: 5,944
Posted By Drunken F00l
Re: Hooking every entity

Yes, I did get this working eventually but then decided I didn't need to use the system anyways.

Basically, I ran through every entity in the entity dictionary. I made one of each (except for a...
Forum: Coding MM:S Plugins & SM Extensions 02-04-2008, 18:38
Replies: 4
Views: 6,417
Posted By Drunken F00l
Re: Linux detours?

I know that it is expecting cdecl. I have to declare the detour function as such in my plugin for the detour to work in Windows. To get this to compile in Linux, I used:


#define __cdecl...
Forum: Coding MM:S Plugins & SM Extensions 02-04-2008, 11:50
Replies: 4
Views: 6,417
Posted By Drunken F00l
Re: Linux detours?

I'm not hooking a class function, so the whole this thing is not the problem. Still, I'm pretty sure gcc handles the stack and function calling and the like differently than MSVC.

I'll take a...
Forum: Coding MM:S Plugins & SM Extensions 02-03-2008, 23:40
Replies: 4
Views: 6,417
Posted By Drunken F00l
Linux detours?

In Windows, I've been using CDetour for hooking arbitrary functions. It's worked nicely, but I've seen nothing like this for Linux? I got CDetour to compile for Linux, but Linux doesn't like the...
Forum: Coding MM:S Plugins & SM Extensions 02-03-2008, 21:06
Replies: 5
Views: 1,911
Posted By Drunken F00l
Re: SH_MCALL crashing in Linux

Good point, thanks.
Forum: Coding MM:S Plugins & SM Extensions 02-03-2008, 20:38
Replies: 5
Views: 1,911
Posted By Drunken F00l
Re: SH_MCALL crashing in Linux

Right, but if I wanted to do something before and after the SH_MCALL (in this case, I don't, but if I did...) how would it be done? Shouldn't SH_MCALL work?
Forum: Coding MM:S Plugins & SM Extensions 02-03-2008, 19:38
Replies: 5
Views: 1,911
Posted By Drunken F00l
Re: SH_MCALL crashing in Linux

Well, I was able to get it working by making the hook a post function and then just using META_RESULT_ORIG_RET to get the return value of the original and override as necessary. The only reason I...
Forum: Coding MM:S Plugins & SM Extensions 02-03-2008, 18:52
Replies: 5
Views: 1,911
Posted By Drunken F00l
SH_MCALL crashing in Linux

I have a hook on CBaseServer::GetFreeClient (it's a function in the engine), and one line is crashing in Linux but works great in Windows.


void *HookGetFreeClient(netadr_t& net)
{
DWORD...
Forum: Coding MM:S Plugins & SM Extensions 02-03-2008, 12:37
Replies: 4
Views: 1,783
Posted By Drunken F00l
Re: SH_ADD_MANUALDVPHOOK in Linux

Well, if you run it through c++filt, it says that the symbol is the vtable:

[tony@localhost bin]$ echo _ZTV11CBaseClient | c++filt
vtable for CBaseClient


I don't have a class instance to...
Forum: Coding MM:S Plugins & SM Extensions 02-03-2008, 03:35
Replies: 4
Views: 1,783
Posted By Drunken F00l
SH_ADD_MANUALDVPHOOK in Linux

I'm using dlsym to get the address of a virtual function table and then trying to hook some functions using SH_ADD_MANUALDVPHOOK, but not having much success. Maybe somebody can tell me what I am...
Forum: Coding MM:S Plugins & SM Extensions 11-10-2007, 00:49
Replies: 2
Views: 1,405
Posted By Drunken F00l
Re: SH_DECL_MANUALHOOK#_vafmt ??

It works great, thanks!
Showing results 1 to 25 of 35

 
Forum Jump

All times are GMT -4. The time now is 23:10.


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