Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 41
Search took 0.00 seconds.
Search: Posts Made By: mooman2
Forum: Coding MM:S Plugins & SM Extensions 12-19-2007, 21:35
Replies: 10
Views: 3,551
Posted By mooman2
Re: Spawning bots

practically, no
Forum: Scripting 09-27-2007, 23:14
Replies: 11
Views: 4,682
Posted By mooman2
Re: Using Offset or Signature of a function?

Shouldn't vfuncs break more easily? I'm not sure how the vtable is arranged, but I think if valve decides to insert another virtual function before the one you want, the offset you used would be...
Forum: Coding MM:S Plugins & SM Extensions 09-27-2007, 23:04
Replies: 13
Views: 4,876
Posted By mooman2
Re: HL2DM and Hooking Player/Weapon functions

There's probably an advanced and non-trivial way to hook it properly which might be used somewhere in the CSDM source code, but you could switch to sourcemm 1.5 and use the VP hooks. Of course, it's...
Forum: Scripting 08-26-2007, 12:36
Replies: 5
Views: 2,585
Posted By mooman2
Re: 2 Entities Touch and Think

http://forums.alliedmods.net/showthread.php?t=56323

but do you really need to hook the think? What are you trying to do?
Forum: Coding MM:S Plugins & SM Extensions 08-25-2007, 21:03
Replies: 6
Views: 3,930
Posted By mooman2
Re: Creating Spawn Points

Take a look at stripper:source... you can essentially do the same thing with it. In LevelInit, you can either pass new entities off in the szMapEntities string or hard link the appropriate functions...
Forum: Coding MM:S Plugins & SM Extensions 08-01-2007, 21:36
Replies: 4
Views: 1,805
Posted By mooman2
Re: UserMensages

void CHud::MsgFunc_SendAudio( bf_read &msg )
{
char szString[2048];
msg.ReadString( szString, sizeof(szString) );

CLocalPlayerFilter filter;
C_BaseEntity::EmitSound(...
Forum: Coding MM:S Plugins & SM Extensions 07-31-2007, 20:33
Replies: 12
Views: 3,492
Posted By mooman2
Re: Thread!

sigh'd
Forum: Coding MM:S Plugins & SM Extensions 07-22-2007, 15:26
Replies: 14
Views: 4,884
Posted By mooman2
Re: GetDllMemInfo() Failed

nope, ya gotta do it yourself

are you sure you have the right signature?
Forum: Coding MM:S Plugins & SM Extensions 07-22-2007, 12:07
Replies: 7
Views: 2,156
Posted By mooman2
Re: help on search and edit [simple i think]

include string.h and use strtok()

http://www.cplusplus.com/reference/clibrary/cstring/strtok.html
Forum: Unapproved Plugins 07-09-2007, 09:39
Replies: 76
Views: 33,442
Posted By mooman2
Re: RollTheDice

awesome
Forum: Unapproved Plugins 06-24-2007, 15:31
Replies: 196
Views: 137,113
Posted By mooman2
Forum: General 06-11-2007, 11:12
Replies: 13
Views: 2,674
Posted By mooman2
Re: faster?

It's not just because SM is pre-compiled and ES is interpreted...
Forum: General 06-09-2007, 16:58
Replies: 10
Views: 3,836
Posted By mooman2
Re: Your ES vs SMM benchmark

Beauty is in the eye of the beholder.

es_setinfo twx 0
es_setinfo twy 0
es_setinfo twz 0


es_getplayerlocation twx twy twz event_var(userid)
if (event_var(headshot) equalto 1) then...
Forum: Snippets and Tutorials 06-05-2007, 23:29
Replies: 36
Views: 13,507
Posted By mooman2
Re: [USEFUL SIGNATURES]

I think you should use UTIL_SetSize instead of SetMinMaxSize (which is static)

The linux symbol for that is _Z12UTIL_SetSizeP11CBaseEntityRK6VectorS3_
Forum: Coding MM:S Plugins & SM Extensions 06-03-2007, 12:49
Replies: 9
Views: 3,014
Posted By mooman2
Re: getIndexFromUserID crash server

Imo, I think you're better off keeping track of who is connected in a global array- that way you won't have to mess with buggy interfaces.
Forum: Coding MM:S Plugins & SM Extensions 06-01-2007, 18:33
Replies: 15
Views: 4,105
Posted By mooman2
Re: Strange undefined symbol

To use libstdc++ I link with it as a .so file
Forum: Coding MM:S Plugins & SM Extensions 05-31-2007, 10:27
Replies: 15
Views: 9,377
Posted By mooman2
Re: Planned SourceHook changes

I am currently running BAT, one other plugin compiled for 1.4, and this plugin.

This is the only plugin that hooks this stuff.

Yeah, my plugin uses SH_GET_CALLCLASS, but that doesn't make it...
Forum: Coding MM:S Plugins & SM Extensions 05-30-2007, 18:08
Replies: 15
Views: 9,377
Posted By mooman2
Re: Planned SourceHook changes

Ok, I just tried again with passing the index in manually and it still didn't work.

On the mod Zombie Master, I tried this originally and it crashed whenever I shot a zombie:

...
Forum: Coding MM:S Plugins & SM Extensions 05-30-2007, 17:33
Replies: 15
Views: 9,377
Posted By mooman2
Re: Planned SourceHook changes

Ok, I'll try passing in the vfunc index at compile time rather then at load. :)

And here's the VS8.0 vcproj including testvphooks.cpp
Forum: Coding MM:S Plugins & SM Extensions 05-30-2007, 01:24
Replies: 15
Views: 9,377
Posted By mooman2
Re: Planned SourceHook changes

PM: How do you configure which vfunc index you want to hook when using SH_ADD_MANUALDVPHOOK? I tried using MANUALHOOK_RECONFIGURE but that gave me random crashes. I passed into that stuff a pointer...
Forum: Snippets and Tutorials 05-29-2007, 19:28
Replies: 36
Views: 13,507
Posted By mooman2
Re: [USEFUL SIGNATURES]

You should sig scan DispatchEffect, then you have at least 10 more effects available to you including bloodspray (provided you can search for some effects in the SDK)
Forum: Coding MM:S Plugins & SM Extensions 05-29-2007, 19:09
Replies: 14
Views: 5,276
Posted By mooman2
Re: creating your own entity

Good call. I'll try that.

Have you tried creating something derived from CAI_BaseNPC?
Forum: Coding MM:S Plugins & SM Extensions 05-28-2007, 19:40
Replies: 14
Views: 5,276
Posted By mooman2
Re: creating your own entity

When you CreateEntityByName("npc_headcrab") or whatever, how do you get past the "Attempting to create unknown entity blah" error?
Forum: Coding MM:S Plugins & SM Extensions 05-28-2007, 12:31
Replies: 14
Views: 5,276
Posted By mooman2
Re: creating your own entity

What did you put for the classname? I don't think I'll have a problem with creating an instance of the NPC.
Forum: Coding MM:S Plugins & SM Extensions 05-27-2007, 00:22
Replies: 14
Views: 5,276
Posted By mooman2
Re: creating your own entity

Is this Japanese server still online? I might be able to learn something from it.
Showing results 1 to 25 of 41

 
Forum Jump

All times are GMT -4. The time now is 08:03.


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