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
!buy bot that uses points as currency

 
Post new topic   Reply to topic Printable version
 View previous topic  BOT that shoots. Post :: Post Elimination.....  View next topic  
Author Message
dreamweaver
Guest


Offline

PostPosted: Thu Aug 07, 2003 11:21 pm    Post subject: !buy bot that uses points as currency Reply to topic Reply with quote

I need a !buy bot that uses a players points for their currency, The reason: all the !buy bots ive seen do not pay attention to turf rewards...

So, i need..

Note: Cloak costs 50000

Player> !buy gun
Bot> /*points -50000
Bot> /*prize #1

so the bots thinking would be along the lines of:

On (!buy cloak) IF ("points">"cost") THEN {:"NAME":/*points -"cost"} ELSE {:"NAME": You cannot afford "ITEM"}

IDEALLY, the bot would also be able to tell if the player can USE that upgrade, and move accordingly.

Unfortunatly, i have 0 knowledge of how the innerworkings of a bot fit together. I could probably peice the coding together, but im clueless as to where they go and how they go.

Anyone help me out? =)
~DW~
Back to top
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: Thu Aug 07, 2003 11:33 pm    Post subject: Reply to topic Reply with quote

Umm.. how about an easier method? ?set Cost:Cloak:50000

Plus you can even have it so you have to be in a safety zone to use ?buy (Cost:PurchaseAnytime).
Back to top
View users profile Send private message Add User to Ignore List Send email
dreamweaver
Guest


Offline

PostPosted: Thu Aug 07, 2003 11:36 pm    Post subject: Reply to topic Reply with quote

yeah its like that now -- the main thing is im trying to avoid the "i didnt know i couldnt use cloak on this ship so wheres my 50,000 points!" crap
Back to top
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: Thu Aug 07, 2003 11:38 pm    Post subject: Reply to topic Reply with quote

Well, then you might want to put a .lvz image somewhere explaining it near a safety zone or something then. Because if a player knows how to use ?buy, they should know how to cloak.
Back to top
View users profile Send private message Add User to Ignore List Send email
dreamweaver
Guest


Offline

PostPosted: Thu Aug 07, 2003 11:42 pm    Post subject: Reply to topic Reply with quote

sounds good, how bout we move to the lvz forum so I can ask how to do that, among other questions i have lined up for you guys tonight ;]

~DW~
Back to top
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Fri Aug 08, 2003 12:23 am    Post subject: Reply to topic Reply with quote

yes, it's always a good idea to make a list of what ships can and cannot have in an arena where you can ?buy

can use a .hlp file addition

or a screen or map .lvz like mine suggested

or website (more work - less accessible while in-game)

just make a new thread in the appropriate forum if you need more assistance with something
Back to top
View users profile Send private message Add User to Ignore List Send email 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: 109 page(s) served in previous 5 minutes.

phpBB Created this page in 0.423351 seconds : 30 queries executed (94.4%): GZIP compression disabled