Thread

Need Bot Script (Bots)

Need Bot Script // Bots

1  |  

kurloth

Mar 7, 2003, 10:28pm
I am looking to make a Dueling bot for the Card Game Yugioh in AW.... though
I am no good at writing scripts so I was wondering if I coudl get someone to
write one for me


what the bot would need to be capable of doing is the following


1.Define words on command... preferably able to accept partial names and
give the closest names def

ie. card looking for is Giant Soldier of Stone

say somethign like !card Giant
and bot would list the first Giant on the list


2.perform Calculator,DIce ROlling,COin FLipping !calc 2500+1600+1800 ETC.

3.Track Score.. ..some thing like the first person says !duel and the bot
would announce that he is awaiting a duel, then the second would say !duel
and it would put the two into a duel... and set lifepoitns at say 8000
then they could tell the bot to reduce there life... untill one gets to 0
and the bot declares a winner( a tracking system to keep track of users
win/loss ration would be great)

ok that part I am pretty sure is all the easy part... now for the part that
I am sure is the harder part of it


4.it would need to monitor the playing area.. and be able to create objects
on command with descriptions that aare pre programmed into the bot..
IE.

P1 says . !play Giant Soldier of STone

the bot would scan the pre determined areas to make sure he has an open spot
to play a monster and then create an object in the next avil spot with the
cards description in the descrip of the object for hover over stats.

also able to scan for magic/trap cards sharing there own 5 card area... with
same rules


also would like it able to remove the creatures when they die.. and so
on.... anyone up for this let me know... incase email not in the group info

email me at matt at incenter.org

strike rapier

Mar 9, 2003, 7:14pm
I tried this, tried making Seinto Kieva's system with the rotating deck and
monsters, sadly im all out of monster models and a world with CT to screw
about with its query and update features... so its now half a bot lying at
the bottom of my bots stockpile (which is something like 600mbs, I really
should clear our some old junk).... regardless even if you do make 1 that
breaks feck knows how many intelectual property right laws the system is
still *very very very* hard to make... polymorporism on its own would take
thousands of lines for each card combination, then just imagine the Black
Eyes Ultimate Dragon Rider card that they use at the end of part 2... or the
shadow realm abilities... gah too much code for now *runs away*

- Mark

[View Quote]

grimble grimble2000@btinternet:com

Mar 9, 2003, 10:32pm
"Thoudands of lines of code" can be replaced by the creative application of
simple maths, binary operators and specific valued enums (a basic example
being the message box constants for buttons, default button and icon).

Grims

[View Quote]

kurloth

Mar 10, 2003, 2:15am
all that aside.. how about just the math part of it. Score Tracking via the
dueling parties and bot owner only if possible,dice rolling,coin fliping,
and defintion by partial words ...I can enter the card information as I have
into a XelaGot already... but if it can do just the parts I listed above I
would be endlessly thankfull.


Anyone willing to do it?

strike rapier

Mar 14, 2003, 4:08pm
When using Arrays and classes correctly it could be done much easier... but
I was bored... couldent be bothered to make it fully active with inbuilt
attack scripting...

- Mark

[View Quote]

grimble grimble2000@btinternet:com

Mar 31, 2003, 10:53am
Classes and arrays still need handling. If you're looking at cumulative
values (like those you described), careful selection of binary enum values
removes a lot of the work in identifying state. Its a basic programming
technique that, when used effectively, provides powerful shortcuts within an
applicaton.

[View Quote]

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn