Hamsandwich funcs crash my server on Linux

Started by VaLoS
10/01/2009 22:10
Page 1 of 1
VaLoS10/01/2009 22:10

I am using the plugin teamchanger and when the func:
"ExecuteHamB( Ham_CS_RoundRespawn, plr );"
executes my server crashes :(
same for wep utillities...
Any 1 can help me ? Thanks in advance !
Verry Sorry for my bad english
Cheers

SchlumPF11/01/2009 03:51

same 4 me

doktor20/01/2009 06:59

Try Ham_Spawn instead.

kielorz18/02/2009 09:46

It worx!

NumB18/02/2009 17:48(edited 18/02/2009 17:48)

suggesting to use fakemeta dllfunc(DLLFunc_Spawn, plr) so other plugins can detect spawn via Ham_Spawn

SchlumPF18/02/2009 18:50

/**
* Executes the virtual function on the entity, this will trigger all hooks on that function.
* Be very careful about recursion!
* Look at the Ham enum for parameter lists.
*
* @param function The function to call.
* @param id The id of the entity to execute it on.
*/
native ExecuteHamB(Ham:function, this, any:...);

NumB19/02/2009 03:33

Originally posted by SchlumPF
/**
* Executes the virtual function on the entity, this will trigger all hooks on that function.
* Be very careful about recursion!
* Look at the Ham enum for parameter lists.
*
* @param function The function to call.
* @param id The id of the entity to execute it on.
*/
native ExecuteHamB(Ham:function, this, any:...);


If you excute virtual function in engine - fm and ham detect it.
If you excute on fm - ham detects it.
If you excute on ham - ... nothing can detect it.

It depends on how are listed modules.ini if I'm right. =)

SchlumPF19/02/2009 07:32

afaik not really....
rather test it but im sure that this command was even explained in some alliedmodder thread in which someones says that this command will trigger each hook.

doktor03/03/2009 20:13

With ExecuteHamB, ham detects it, that's why it's specified (tested and used lot of times):

* Be very careful about recursion!

Page 1 of 1

Please log in to post replies.