Handles...

General Injection issues

Moderators: Murderator+, Murderator

Post Reply
Satistaction
Posts: 14
Joined: 2004-09-10 23:10:52

Handles...

Post by Satistaction »

is there a handle that is loaded only one time after ENTER WORLD?

im trying to use that on Injection::Init but it crashes when i try to selec a character, its a kind of socket listen...

I try to put it on handle_enter_world, then, you can´t enter the game =/

well, im sure my code is right, cuz im using it for Half-Life too..

Thank ya in adavanced... and sorry for bad english
Necr0Potenc3
Expert!
Posts: 74
Joined: 2004-05-30 00:31:54

Post by Necr0Potenc3 »

didnt quite understand what you are trying to do.. but if you want to check if the player is in the world or not, there's is a variable for that
Satistaction
Posts: 14
Joined: 2004-09-10 23:10:52

Post by Satistaction »

Necr0Potenc3 wrote:didnt quite understand what you are trying to do.. but if you want to check if the player is in the world or not, there's is a variable for that


humm... which variable?
Necr0Potenc3
Expert!
Posts: 74
Joined: 2004-05-30 00:31:54

Post by Necr0Potenc3 »

I dont have any inj src code here but I think it was the m_world class

if(m_world != 0)
{
/* the char is in the world, has a serial and yadda yadda */
}
Satistaction
Posts: 14
Joined: 2004-09-10 23:10:52

Post by Satistaction »

it still crashing... btw
thank you ;)
Post Reply