Page 1 of 1

Handles...

Posted: 2004-09-17 18:04:08
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

Posted: 2004-09-17 18:28:13
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

Posted: 2004-09-18 04:56:36
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?

Posted: 2004-09-18 17:58:40
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 */
}

Posted: 2004-09-19 05:06:12
by Satistaction
it still crashing... btw
thank you ;)