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
Okay heres the bottom line...

 
Post new topic   Reply to topic Printable version
 View previous topic  1v1 Dueling (mav's) Post :: Post Buy.ini  View next topic  
Author Message
Quan Chi2
Member of "Sexy Teenagers that Code" Group
Member of


Age:34
Gender:Gender:Male
Joined: Mar 25 2005
Posts: 860
Location: NYC
Offline

PostPosted: Wed Oct 12, 2005 9:22 pm    Post subject: Okay heres the bottom line... Reply to topic Reply with quote

Heres the bottom line, guys. I was too afraid to ask a question like this. I was trying to learn this on my own. Im stumped.

How to I tell my bot to see where each flag was dropped on the map and how would I get my bot to pick it up and drop it at a certain coord?

I know that this is alot to ask(most likely) but Im desperate now.. I just want to know that for now. Mabye if someone can tell me, other ideas of mine may spawn.

----------------

Yet another newbish(mabye) question.

I see Sint32(X Y etc...)
I do not know how to use it, sadly..
I would like to make a warp bot of my own. I heard that it was basic. It was recommended to me by BaK because I was completely new to C++ and making merv plugins.
I finally want to code this plugin but I do not know how to use it and where I would put the code exactly..

I saw the tutorial on Distorts site.. I saw the same thing on MGB's page... I know that its newbish but Im stumped..

-----------------

thank you..
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Thu Oct 13, 2005 6:01 am    Post subject: Reply to topic Reply with quote

Only giving you some parts of the answer so you can find out the rest yourself (and learn from it). You won't learn when you already know the answer.


This is how you retrieve the flag list:
Code: Show/Hide

parse = flaglist->head;

while (parse) {
   Flag *f = parse->item;
   sendPublic("Flag #"+String(f->ident)+"; X: "+String(f->x)+", Y:"+String(f->y)+", Owned by team: "+String(f->team));
   parse = parse->next;
}


You can have the bot move to specific coordinates by doing me->move(x*16, y*16); , but make sure you make use of tell(makeFlying(true)) and tell(makeSendPosition(true)) and tell(makeShip(SHIP_Warbird)) - else it won't work.

For your second question, read Underlord's Tutorial (or the download friendly version)

Good luck
_________________
Nickname: Maverick (I changed my name!)
TWCore developer | Subspace statistics
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Quan Chi2
Member of "Sexy Teenagers that Code" Group
Member of


Age:34
Gender:Gender:Male
Joined: Mar 25 2005
Posts: 860
Location: NYC
Offline

PostPosted: Thu Oct 13, 2005 7:32 am    Post subject: Reply to topic Reply with quote

K excellent. Thanks man icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger 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: Thu Oct 13, 2005 10:44 am    Post subject: Reply to topic Reply with quote

Don't go spreading your Satan's ways, Mav. The Internet is all-encompassing.
_________________
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
Quan Chi2
Member of "Sexy Teenagers that Code" Group
Member of


Age:34
Gender:Gender:Male
Joined: Mar 25 2005
Posts: 860
Location: NYC
Offline

PostPosted: Thu Oct 13, 2005 4:22 pm    Post subject: Reply to topic Reply with quote

I don't get it...(even though I don't have to because its not towards me)
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Thu Oct 13, 2005 4:46 pm    Post subject: Reply to topic Reply with quote

Quan Chi2 wrote:
I don't get it...
You are not the only one icon_confused.gif
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Quan Chi2
Member of "Sexy Teenagers that Code" Group
Member of


Age:34
Gender:Gender:Male
Joined: Mar 25 2005
Posts: 860
Location: NYC
Offline

PostPosted: Thu Oct 13, 2005 5:24 pm    Post subject: Reply to topic Reply with quote

lol

Um, maverick I don't quite understand the second part of your respeonse in your first post.

Quote:
You can have the bot move to specific coordinates by doing me->move(x*16, y*16); , but make sure you make use of tell(makeFlying(true)) and tell(makeSendPosition(true)) and tell(makeShip(SHIP_Warbird)) - else it won't work.


Can you please give a more indepth hint/explaination of the structure of the code you are implying?
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
BDwinsAlt
Agurus's Posse


Age:34
Gender:Gender:Male
Joined: Jun 16 2003
Posts: 1145
Location: Alabama
Offline

PostPosted: Thu Oct 13, 2005 11:32 pm    Post subject: Reply to topic Reply with quote

All you have to do is make the bot Get in a ship (*setship 1-icon_cool.gif and *warpto it's self to the flag coord, and *warpto to the next coord, then get it to *spec it's self twice, then the flag nuets and appears in that area later.

That is probably the newbie way icon_redface.gif

It may just work!
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
D1st0rt
Miss Directed Wannabe


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

PostPosted: Fri Oct 14, 2005 1:32 am    Post subject: Reply to topic Reply with quote

Send the flag drop packet before speccing
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Quan Chi2
Member of "Sexy Teenagers that Code" Group
Member of


Age:34
Gender:Gender:Male
Joined: Mar 25 2005
Posts: 860
Location: NYC
Offline

PostPosted: Fri Oct 14, 2005 7:38 am    Post subject: Reply to topic Reply with quote

mmk
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger 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 Oct 14, 2005 9:54 am    Post subject: Reply to topic Reply with quote

@Mav: I was saying your downloadable "offline" version is evil.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
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: 153 page(s) served in previous 5 minutes.

phpBB Created this page in 0.560393 seconds : 35 queries executed (79.9%): GZIP compression disabled