Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Dieng Bots?

 
Post new topic   Reply to topic Printable version
 View previous topic  p->flash Post :: Post Warping tiles....  View next topic  
Author Message
Guest



Offline

PostPosted: Thu Aug 26, 2004 11:21 pm    Post subject: Dieng Bots? Reply to topic Reply with quote

Anyway to make a bot die?
Any plugins.. cuz I was thinking of making the bot become the main target for everyone. Can anyone help me with this?
Back to top
Deadly
Seasoned Helper


Age:34
Gender:Gender:Male
Joined: Oct 15 2003
Posts: 148
Location: Ontario Canada
Offline

PostPosted: Fri Aug 27, 2004 12:16 am    Post subject: Reply to topic Reply with quote

no clue, i guess there must be if Gundam Wing's AI-ish bot can die..
_________________
Known as DeadlySoldier!! in-game..

http://deadly.sscentral.com -- My Bots
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address MSN Messenger
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Fri Aug 27, 2004 12:44 am    Post subject: Reply to topic Reply with quote

Making a bot die isn't hard, its making it take damage thats the hard part. About a year ago, when I was playing with my own bot core, I made a bot that actually took damage and died. It also aim and shot at people. But one problem: it required at least moderator powers, and to be attached to someone.

It did *watchdamage on the driver, and took whatever damage the driver took. It had proper recharge, and a somewhat idea of when to shoot based on its energy and when not to. It did pretty good. Played around with this in ASWZ in one of their 2v2 dueling events before. The big problem is that if the driver dies, the bot just sits there in middle of space wasting time until the driver respawns. And another problem it had was that I'm a piss-poor driver doing suicide things all the time, thus it died pretty often because I'd absorb a bunch of damage I knew I could take, but as the bot didn't know two bombs where incoming right then, it would take a shot and get too low and die.

Good times, good times. I should have ran 3 of those bots at once and gone into Pro League and make my own squad. Sadly, I'd have to skip Amateur league because I was once kicked out from there. For some reason, they didn't like my Mine Plowers 'lets see how fast we can die' squad. We lost 1-12 in our only game ever. Hehe, I caused the other team to teamkill themselves for that one point in our favor. GO SUICIDAL ROCKETING TERRIER POWER!!
Back to top
View users profile Send private message Add User to Ignore List Send email
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Fri Aug 27, 2004 3:42 am    Post subject: Reply to topic Reply with quote

//From dllcore.h
BotEvent makeDeath(Player *p);

Making the client die is a matter of sending a single packet. SSbot2 includes all of the code necessary to do exact task that the gundam bot completes. Making a bot take damage is complex because there are numerous things that can happen (reps, wormholes, prox, ect). That turret idea sounds like a great way of doing it if you dont want to impliment the damage physics.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Deadly
Seasoned Helper


Age:34
Gender:Gender:Male
Joined: Oct 15 2003
Posts: 148
Location: Ontario Canada
Offline

PostPosted: Fri Aug 27, 2004 11:28 am    Post subject: Reply to topic Reply with quote

so u mean it cant be done in merv?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address MSN Messenger
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Fri Aug 27, 2004 11:50 am    Post subject: Reply to topic Reply with quote

it can, ssbot2 just has it done already. One thing I'm working on is making a semi-intelligent twcore bot using the stuff from Robocode. Java decompiles pretty well biggrin.gif
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Fri Aug 27, 2004 3:35 pm    Post subject: Reply to topic Reply with quote

yah, java isnt exactly compiled. But good luck distort <3
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Deadly
Seasoned Helper


Age:34
Gender:Gender:Male
Joined: Oct 15 2003
Posts: 148
Location: Ontario Canada
Offline

PostPosted: Fri Aug 27, 2004 3:36 pm    Post subject: Reply to topic Reply with quote

well if there was like

EVENT_TakeHit with.. stuff like weapon = gun or bomb... then it wouldnt be too hard icon_smile.gif

i was think about how to do AI bots but i have absoloutely no clue, i think the Gundam Wing bot is mervbot but im not sure..

like how would u make a bot chase a player, look at him, shoot, and dodge bombs and stuff icon_sad.gif
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address MSN Messenger
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Fri Aug 27, 2004 6:09 pm    Post subject: Reply to topic Reply with quote

Deadly wrote:
EVENT_TakeHit with.. stuff like weapon = gun or bomb... then it wouldnt be too hard

It would be hard for Catid. icon_sad.gif
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Fri Aug 27, 2004 7:24 pm    Post subject: Reply to topic Reply with quote

The nice thing is, Robocode already has done all of that stuff, I just need to look at it and I should have a pretty good idea of what to do
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
ShortyMatt
Seasoned Inquisitor


Age:35
Gender:Gender:Male
Joined: Aug 05 2003
Posts: 383
Location: Manassas, VA, USA
Offline

PostPosted: Wed Sep 01, 2004 11:30 pm    Post subject: Reply to topic Reply with quote

there was a bot in TW once..

the object was last person alive after 10 deaths. wins. so the bot went around killing people, and you could kill it also. I don't know who owned it, because it was awhile ago.

but I am pretty sure it is possible..probably hard though.
_________________
User Status = Offline! ..
^^ thats garbage
Back to top
View users profile Send private message Add User to Ignore List AIM Address MSN Messenger
2dragons
Novice


Joined: Feb 17 2004
Posts: 95
Offline

PostPosted: Thu Sep 02, 2004 3:30 am    Post subject: Reply to topic Reply with quote

the basic idea of making a bot die isn't terribly hard

especially when you ignore any outside influences such as a repel/wormhole

Take the weapon packets you see, predict their movement, and if the weapons location at X time is within 16 pixels of the center of the bot - BOOM!

Of course this can get more involved as you take into mind the map layout.
Back to top
View users profile Send private message Add User to Ignore List
Deadly
Seasoned Helper


Age:34
Gender:Gender:Male
Joined: Oct 15 2003
Posts: 148
Location: Ontario Canada
Offline

PostPosted: Fri Sep 03, 2004 12:53 am    Post subject: Reply to topic Reply with quote

yea but i dont think theres like.. tell(makeDie(0)) or anything like that..

Theres 3 cores (i think) being made.. one of them will prolly have event_takehit type of thing and makeDie

(lets hope)
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address MSN Messenger
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Fri Sep 03, 2004 2:41 am    Post subject: Reply to topic Reply with quote

deadly, remember that you dont program.

1. The function is tell(makeDeath(Player*)); so you have to pass it a pointer to the player that you want the bot to die to
2. Inorder for a bot to take damage (legitimatly) a physics engine would need to be built into the bot. That is a little outside the bounds of what a core should be doing.
3. There are many cores; the top 3 are TwCore, MervBot, and Powerbot. But many people have contributed to core designing, including Plody and Kewlair.

Now lets assume that you actually knew the name of that function and did tell(makeDeath(0));//aka passing the function a NULL pointer

Lets take a look at the core's code
Code: Show/Hide
   case EVENT_Die:
      {
         Player *p = (Player*)event.p[0];

         if (h->Me)
            h->postRR(generateDeath(p->ident, h->Me->bounty));
      }

yes, you have successfully crashed the bot, the core doesnt hold your hand so by passing a NULL pointer, when p->ident is done the core will either crash or throw a nasty exception.

When will there be enough evidence for you to believe that you should not program, or even attempt to help people with thier coding problems? Your "learning how to program is a waste of my time" excuse is unreasonable compared to how much time you waste trying to help people on this forum. Deadly, I can sum your entire existance into one word. Idiot.

I strongly suggest that everyone ignore his posts on the mervbot forum unless he is asking for help. Maybe im taking all this too seriously, but i consider programming a serious matter, especially when people are being directed to do a poor job of it. Learn to program or GTFO.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Fri Sep 03, 2004 8:58 am    Post subject: Reply to topic Reply with quote

Deadly, why don't you include the source for your plugins on your website?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Assassin2684
Server Help Squatter


Age:34
Gender:Not sure
Joined: Jul 27 2004
Posts: 990
Location: Florida
Offline

PostPosted: Fri Sep 03, 2004 9:05 am    Post subject: Reply to topic Reply with quote

Where is his website, i never got it and i was looking for it. Do you have a link?
Back to top
View users profile Send private message Add User to Ignore List AIM Address
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Fri Sep 03, 2004 9:06 am    Post subject: Reply to topic Reply with quote

in his sig
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Assassin2684
Server Help Squatter


Age:34
Gender:Not sure
Joined: Jul 27 2004
Posts: 990
Location: Florida
Offline

PostPosted: Fri Sep 03, 2004 9:08 am    Post subject: Reply to topic Reply with quote

..... Sorry im stupid.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Deadly
Seasoned Helper


Age:34
Gender:Gender:Male
Joined: Oct 15 2003
Posts: 148
Location: Ontario Canada
Offline

PostPosted: Fri Sep 03, 2004 1:40 pm    Post subject: Reply to topic Reply with quote

50% Packetloss wrote:
deadly, remember that you dont program.

1. The function is tell(makeDeath(Player*)); so you have to pass it a pointer to the player that you want the bot to die to
2. Inorder for a bot to take damage (legitimatly) a physics engine would need to be built into the bot. That is a little outside the bounds of what a core should be doing.
3. There are many cores; the top 3 are TwCore, MervBot, and Powerbot. But many people have contributed to core designing, including Plody and Kewlair.

Now lets assume that you actually knew the name of that function and did tell(makeDeath(0));//aka passing the function a NULL pointer

Lets take a look at the core's code
Code: Show/Hide
   case EVENT_Die:
      {
         Player *p = (Player*)event.p[0];

         if (h->Me)
            h->postRR(generateDeath(p->ident, h->Me->bounty));
      }

yes, you have successfully crashed the bot, the core doesnt hold your hand so by passing a NULL pointer, when p->ident is done the core will either crash or throw a nasty exception.

When will there be enough evidence for you to believe that you should not program, or even attempt to help people with thier coding problems? Your "learning how to program is a waste of my time" excuse is unreasonable compared to how much time you waste trying to help people on this forum. Deadly, I can sum your entire existance into one word. Idiot.

I strongly suggest that everyone ignore his posts on the mervbot forum unless he is asking for help. Maybe im taking all this too seriously, but i consider programming a serious matter, especially when people are being directed to do a poor job of it. Learn to program or GTFO.


YO 50 i have a GREAT idea..

Shut the fuck up, k thanks.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address MSN Messenger
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Fri Sep 03, 2004 2:19 pm    Post subject: Reply to topic Reply with quote

Deadly, if you want to save the last shreds of a not-negative reputation around here, please STFU yourself and stop telling people with a good reputation to do so.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
2dragons
Novice


Joined: Feb 17 2004
Posts: 95
Offline

PostPosted: Fri Sep 03, 2004 4:12 pm    Post subject: Reply to topic Reply with quote

A better idea for Deadly would be to hire some kid to pretend he's the bot. icon_wink.gif
Back to top
View users profile Send private message Add User to Ignore List
Deadly
Seasoned Helper


Age:34
Gender:Gender:Male
Joined: Oct 15 2003
Posts: 148
Location: Ontario Canada
Offline

PostPosted: Fri Sep 03, 2004 8:25 pm    Post subject: Reply to topic Reply with quote

i dont get it.. lol
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 39 page(s) served in previous 5 minutes.

phpBB Created this page in 0.468498 seconds : 47 queries executed (92.6%): GZIP compression disabled