Raised This Month: $7 Target: $400
 1% 

Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: PM
Forum: Off-Topic 03-30-2017, 13:45
Replies: 6
Views: 1,395
Posted By PM
Re: Statistics for AMX Mod X / SourceMod usage?

Interesting, thanks for the link to gametracker! :-)

May I access more of your gametracker wisdom - What would be a good variable to get all HL1 servers / all Source servers? If such a thing even...
Forum: Off-Topic 03-30-2017, 13:22
Replies: 6
Views: 1,395
Posted By PM
Statistics for AMX Mod X / SourceMod usage?

Hi all!

Does anyone have statistics about how many servers are online in total and how many of them use AMX Mod X / SourceMod? (for both HL1 and HL2 based servers).

IIRC Back in the day BAIL...
Forum: Coding MM:S Plugins & SM Extensions 06-27-2011, 13:39
Replies: 4
Views: 2,747
Posted By PM
Re: Using sh_vector.h / CVector in a SourceMod extension

What is your #include order? Try including sh_vector.h later (in C++, NULL is not a language keyword, some header #defines NULL (0) or something like that).
Forum: Coding MM:S Plugins & SM Extensions 06-24-2011, 17:34
Replies: 4
Views: 2,747
Posted By PM
Re: Using sh_vector.h / CVector in a SourceMod extension

Hmm,

(1) Are there any other errors?
(2) What is the line right before the line you posted?
(3) CVector is in namespace SourceHook. Try


SourceHook::CVector<unsigned int> m_Votes;
Forum: News 04-12-2011, 17:12
Replies: 38
Views: 33,619
Posted By PM
Re: Move Completed!

Hello BAIL your blog does NOT work.
Forum: Coding MM:S Plugins & SM Extensions 03-22-2011, 07:45
Replies: 10
Views: 3,478
Posted By PM
Re: hook virtual destructor

I have done some disassembly, and according to
http://www.openrce.org/articles/full_view/23,
MSVC places a "scalar deleting destructor function" into the vtable instead of the destructor.
It has...
Forum: Coding MM:S Plugins & SM Extensions 03-21-2011, 10:58
Replies: 10
Views: 3,478
Posted By PM
Re: hook virtual destructor

Does it crash on hook installation or when the destructor is being called?

Edit: GCC / MSVC?
Forum: Coding MM:S Plugins & SM Extensions 03-05-2011, 08:06
Replies: 5
Views: 2,284
Posted By PM
Re: Accessing Private Data

Basically, the code will break when the position of the m_LangId field relative to the beginning of the CPlayer object in memory changes.

This could happen if someone changes the class or if it is...
Forum: Coding MM:S Plugins & SM Extensions 03-05-2011, 04:12
Replies: 5
Views: 2,284
Posted By PM
Re: Accessing Private Data

Uhhh, this is not a good situation :)

This is how it's supposed to work in C++ :
the interface IGamePlayer would provide a public function SetLanguageId( id ).
You would do


IGamePlayer...
Forum: General 03-02-2011, 13:22
Replies: 19
Views: 4,519
Posted By PM
Re: Blocking a LAN cafe from seeing server

Isn't it possible to use iptables to create rules which reject packets from the specified IP range going to your specific server's port?
Forum: Coding MM:S Plugins & SM Extensions 02-25-2011, 09:08
Replies: 1
Views: 1,649
Posted By PM
Re: va_list function passing argument

What do you need this for and what is the exact use case? Do you know the number of arguments 'p3' should contain and their types at compile time?

If not, you'll probably have to push the...
Forum: Trash 02-12-2011, 16:05
Replies: 58
Views: 11,228
Posted By PM
Re: The way things are done here???

I've spent my life on the internet.


I'm just telling you that the internet is not a nice place, especially in but not limited to places where the age distribution is similar to the one of...
Forum: Trash 02-12-2011, 15:25
Replies: 58
Views: 11,228
Posted By PM
Re: The way things are done here???

See, although these forums are a pretty open place, there's no human right to be able to post here under a specified username.

If you go to an open discussion with a specified topic in real life...
Forum: News 01-25-2011, 05:40
Replies: 198
Views: 163,594
Posted By PM
Re: Downtime Over

Good job on the rescue! :) Amazing that not everything went wrong at once this time!
Forum: Coding MM:S Plugins & SM Extensions 01-15-2011, 04:37
Replies: 23
Views: 9,494
Posted By PM
Re: undefined symbol from my own plugin

No, what sn4k3 has basically written is


#define LIB_SIGSCAN_CLASS CSigScanLib

// (.h file)
class LIB_SIGSCAN_CLASS
{
bool Load(KeyValues *kvSigscan);
// ...
Forum: Coding MM:S Plugins & SM Extensions 01-14-2011, 18:29
Replies: 10
Views: 3,786
Posted By PM
Re: Registering SM handle type

Hm this is weird.
Does this happen with all of your 3 handle types or only one (if yes, which one) of them?

Maybe try something like

printf("%d: %x %s\n", i, SPVTypeNames[i], SPVTypeNames[i]);...
Forum: Coding MM:S Plugins & SM Extensions 01-14-2011, 14:29
Replies: 23
Views: 9,494
Posted By PM
Re: undefined symbol from my own plugin

So ::Load is fixed? I assume yes.

We don't have info about the CSSPlayer_SwitchTeam function, so a general note:

If it is your own function, try the following:

1) Verify that the function is...
Forum: Coding MM:S Plugins & SM Extensions 01-14-2011, 13:58
Replies: 23
Views: 9,494
Posted By PM
Re: undefined symbol from my own plugin

Maybe the first

#ifdef WIN32

in (lib_)sigscan.cpp is preventing the bool CSigScanlib::Load(KeyValues*) function definition from being seen by the compiler on linux.
Forum: Coding MM:S Plugins & SM Extensions 11-28-2010, 10:22
Replies: 2
Views: 2,092
Posted By PM
Re: Debugging: SDK throws a bunch of errors

Hmmm first thing coming to mind would be making sure that you use all include directories which you normally use :)

Do you normally compile using VC++ or GCC/MinGW?
Forum: Coding MM:S Plugins & SM Extensions 10-20-2010, 13:39
Replies: 6
Views: 3,632
Posted By PM
Re: Multiple ISP, hook networking

In the worst case you can hook the system networking libraries used by HL2, which would be very platform specific.
Forum: Coding MM:S Plugins & SM Extensions 10-13-2010, 10:36
Replies: 7
Views: 9,439
Posted By PM
Re: Compiling for Linux... SSE and MMX?

The compiler is in "no sse" mode (which makes sense because enabling sse reduces the number of computers your code will run on - though nowadays eveyone has it and valve requires it AFAIK)

Looks...
Forum: Coding MM:S Plugins & SM Extensions 10-03-2010, 17:57
Replies: 3
Views: 1,850
Posted By PM
Re: Problem porting to OB

Actually, the situation is likely to be more complicated than that.

My current understanding from reading the code is:

Somewhen, the feature of declaring "extern manual hooks" was added (ie....
Forum: Coding MM:S Plugins & SM Extensions 10-03-2010, 16:48
Replies: 3
Views: 1,850
Posted By PM
Re: Problem porting to OB

Hello,

Hrm. On the first glance, this looks like a bug in SourceHook. It looks like reference returns are not supported with manual hooks at the moment.

The reason is that a special class has...
Forum: Coding MM:S Plugins & SM Extensions 09-18-2010, 11:06
Replies: 16
Views: 4,180
Posted By PM
Re: Upgrading to OB and MMS 1.8.3 causing Linux only crash on FireEvent

Helloes,

1) All hooks are always called (pre and post). This is a design decision inherited from the original metamod for HL1. The idea is that all plugins should be somehow equal and a plugin...
Forum: Coding MM:S Plugins & SM Extensions 09-17-2010, 17:48
Replies: 16
Views: 4,180
Posted By PM
Re: Upgrading to OB and MMS 1.8.3 causing Linux only crash on FireEvent

Glad that you figured it out.

Are you sure about the FireEvent problem being caused by that? I am not really convinced yet.

In the last callstack you posted, there seemed to be this series of...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 02:26.


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