HTOTM: FUSION
Originally Posted by box View Post
There's a /lockdown command that prohibits anyone from entering or leaving, in case you were unaware.

Additionally, I don't know if you just edited it or not, but nothing in that script loops, like you say. The only two hooks that are continuously called are draw2d and draw3d.

Oh I forgot about this command. Also it should loop on new_game I don't know why it doesn't, because for me it's fine. And what are you talking about? Where in my code it says about draw2d or draw3d hooks?
Last edited by dainiusb; Mar 19, 2014 at 10:02 PM.
Originally Posted by dainiusb View Post
Oh I forgot about this command. Also it should loop on new_game I don't know why it doesn't, because for me it's fine. And what are you talking about? Where in my code it says about draw2d or draw3d hooks?

The new_game hook is only called at the beginning of a new match.

I was talking about hooks in general, not in your code. The only hooks in Toribash that run continuously are draw2d and draw3d (and I guess enter_frame, if you press P).
[23:23:53] <AndChat|700625> Blue eyes ultimate dragon best card
[23:24:29] <AndChat|700625> You know the one with 3 heads
[23:24:39] <~Lightningkid> just like my dick



[11:35:40] <box> Hampa suck
[11:36:21] <hampa> not the first to tell me that today
Originally Posted by box View Post
The new_game hook is only called at the beginning of a new match.

I was talking about hooks in general, not in your code. The only hooks in Toribash that run continuously are draw2d and draw3d (and I guess enter_frame, if you press P).

Why would I want other hooks? I thought he wanted to do the betting before the match begins. I thought my code moves everyone to spec, lets them bet and then force enters them to the game? Is it missing a feature?
Sorry if I'm stupid ;)
Last edited by dainiusb; Mar 19, 2014 at 10:11 PM.
Originally Posted by dainiusb View Post
Why would I want other hooks? I thought he wanted to do the betting before the match begins. I thought my code moves everyone to spec, lets them bet and then force enters them to the game? Is it missing a feature?
Sorry if I'm stupid ;)

I'm not telling you to add these hooks. You said that the script is "looping at max speed", but that should not be true unless you add the draw2d or draw3d hooks, which are the only hooks that are called continuously. Even then, it shouldn't really be a problem unless you're doing very complicated processing in that hook function.

I also noticed that your script force-spectates everyone in the server to commence betting. You can't bet if there are no players in the match.
[23:23:53] <AndChat|700625> Blue eyes ultimate dragon best card
[23:24:29] <AndChat|700625> You know the one with 3 heads
[23:24:39] <~Lightningkid> just like my dick



[11:35:40] <box> Hampa suck
[11:36:21] <hampa> not the first to tell me that today
Originally Posted by box View Post
I'm not telling you to add these hooks. You said that the script is "looping at max speed", but that should not be true unless you add the draw2d or draw3d hooks, which are the only hooks that are called continuously. Even then, it shouldn't really be a problem unless you're doing very complicated processing in that hook function.

I also noticed that your script force-spectates everyone in the server to commence betting. You can't bet if there are no players in the match.

Oh thanks for noticing that. Also not the script is looping at max speed but the while in the idontcare function, my bad. That's the only way I could count seconds.

I'm lost. There's propably no way at the moment.
Last edited by dainiusb; Mar 19, 2014 at 10:52 PM.