Toribash
attempt to index global 'get_player' (a nil value)
(first problem fixed, stupid whtie text xD) How can I send chat messages?
Last edited by FinCam; May 27, 2013 at 12:46 AM.
Wait, are there rays in Toribash? If so we could totally make a nice Uke bot AI! (I think)
"they're like enormous pillows of disgusting girly meat" ~Orih 2016
My Replays
Originally Posted by FinCam View Post
(first problem fixed, stupid whtie text xD) How can I send chat messages?

You can't. At least not to other players. If you just want to print text to the chat (singleplayer only), use echo("your text here").

Originally Posted by SparChar View Post
Wait, are there rays in Toribash? If so we could totally make a nice Uke bot AI! (I think)

What do you mean with rays?
Signature temporarily out of order.
Rays. Thingies that detect stuff. Not really good with them. Gonna look it up on google...
"they're like enormous pillows of disgusting girly meat" ~Orih 2016
My Replays
Can script 'push' a key or 'get ready' (like when you hit spacebar)?
Last edited by dainiusb; Jul 8, 2013 at 01:42 PM. Reason: <24 hour edit/bump
Originally Posted by Blam View Post
Nope.

Thanks. I'm not sure if it's against the rules or not, but I'm testing some stuff with Genetic Algorithm script that someone made a while ago. I want to see what progress it makes when fighting with real players. But in multiplayer it skips the first turn, then does a move on second turn and then doesn't do any moves at all until the round end. So if it's not against the rules then can you see what needs to be changed so it does moves on every turn, not just one.
Last edited by dainiusb; Jul 8, 2013 at 04:35 PM.
Use a counter to count the turns or something. This is a basic concept, not a feature of Lua.
[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
I have no idea how to do this :/
Okay sort of done. The main problem is that IT DOESN'T RESET AFTER FIGHT!
Okay. Counter is done. What now?

SUCCESS!!! I got it to work. No need counters or any other crap. Thank You Blam for tutorials.


What is the difference between new_game and match_begin?
Last edited by dainiusb; Jul 10, 2013 at 08:10 AM.