people playing: 90, servers online: 29, games played: 133,399,984 Top Player: Snook

  Toribash Community » Toribash » Mods » Lua scripts
Register FAQ General Rules Community
Reply
 
Thread Tools Display Modes
Old Jul 12, 2008   #1
gokey
NON-EXISTING!
 
2nd Dan Black Belt
Join Date: May 2008
Posts: 4



[REL] Replaybot
Here's my first lua script.
I got tired of fighting ukebot, so i decided to fight myself...

After each match replaybot gives you the chance to save all the moves for red or blue in one of 9 slots. Then at the begining of the next match, you can choose any of the saved games for uke to replay. He replays each turn, not just the opener.

It still needs a little work, and I'd like to add the ability to save the best ones to disk, but it is definitely fun to practice against.

-gokey
Attached Files
File Type: lua replaybotv3r.lua (5.3 KB, 252 views)
gokey is offline   Reply With Quote
Old Jul 12, 2008   #2
splatter
ub3r
 
Black Belt
Join Date: Sep 2007
Posts: 2,578



IMO this good for finding weakspots on your openers, but im too lazy to use it, GJ IMO
splatter is offline   Reply With Quote
Old Jul 14, 2008   #3
KoEDeath
Senior Member
 
9th Dan Black Belt
Join Date: Mar 2008
Posts: 1,377



Nice one may i suggest making a Bot that Goes threw Previos replays and does random Replays moves?
Robert A. Heinlein: "Secrecy is the beginning of tyranny."
KoEDeath is offline   Reply With Quote
Old Jul 14, 2008   #4
Blam
Now I know my abc's!
This user title is the property of SkulFuk.
 
4th Dan Black Belt
Join Date: Apr 2007
Posts: 5,506
Clan: bncy



You should make it able to record pre-made replays. And also be able to make it record only certain frames. Say a record, play, pause and stop button? Stop leads you to the save menu, pause makes it stop recording 'till record is pressed again, and play brings up the load menu so you can load a move mid match, to make say a string of moves
:D
Blam is offline   Reply With Quote
Old Jul 14, 2008   #5
SrgtCorn
Senior Member
 
3rd Dan Black Belt
Join Date: Apr 2008
Posts: 1,072



Originally Posted by Blam View Post
You should make it able to record pre-made replays. And also be able to make it record only certain frames. Say a record, play, pause and stop button? Stop leads you to the save menu, pause makes it stop recording 'till record is pressed again, and play brings up the load menu so you can load a move mid match, to make say a string of moves

Blam-always trying to make things more complicated.

On Topic: Tis nice. I can now develope a counter to my move easier and faster.
[CBK]
SrgtCorn is offline   Reply With Quote
Old Jul 14, 2008   #6
Blam
Now I know my abc's!
This user title is the property of SkulFuk.
 
4th Dan Black Belt
Join Date: Apr 2007
Posts: 5,506
Clan: bncy



Originally Posted by SrgtCorn View Post
Blam-always trying to make things more complicated.

On Topic: Tis nice. I can now develope a counter to my move easier and faster.

I live to suggest great improvements
:D
Blam is offline   Reply With Quote
Old Jul 18, 2008   #7
Carlton
Forumite
 
6th Dan Black Belt
Join Date: May 2008
Posts: 1,694



dud thanks i've been waiting for this mod ever since i started
! this is LEET!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
◕ ◡ ◕ [VIP]
Carlton is offline   Reply With Quote
Old Jul 19, 2008   #8
gokey
NON-EXISTING!
 
2nd Dan Black Belt
Join Date: May 2008
Posts: 4



dud thanks i've been waiting for this mod ever since i started

You're welcome. I needed to make a better opponent, since I can't get online at work...

You should make it able to record ...

umm - this is the first lua script I ever wrote. And I'm still figuring out the API..
I have no idea how to do most of those things.
The thing I'd rather add is recording your opponents moves in multiplayer. I'm about halfway there.
gokey is offline   Reply With Quote
Old Jul 3, 2012   #9
Lushsmoke999
Member
 
White Belt
Join Date: Jun 2012



dude idk how 2 save the replay into the thing
help
Lushsmoke999 is offline   Reply With Quote
Old May 28, 2016   #10
HEADHUNTR2
Junior Member
 
Brown Belt
Join Date: May 2016
Posts: 7



TEH SCRIPT IS AMAZING!
HEADHUNTR2 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:46 AM.




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
ragdoll fighting game physics fighting game ragdoll fighting physics funmotion joints martial arts karate pc mac free game turn based game