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
Tm_mer again (buy.ini)

 
Post new topic   Reply to topic Printable version
 View previous topic  problem with mer bot =( Post :: Post Errors in compiling  View next topic  
Author Message
blue monday
Novice


Joined: Nov 04 2005
Posts: 75
Offline

PostPosted: Mon Jan 16, 2006 7:06 pm    Post subject: Tm_mer again (buy.ini) Reply to topic Reply with quote

Yeah I am making a item to convert points into creds. I can get it to take the points away fomr the player but it wont add creds to the player.Can i bot tell itself commands?


[Item13]
Name=Point exchange
Value=0
Description=Exchanges points for credits.
PrivAction0=
PubAction0=!cgive %name%:500
SpecialPoints=-4000
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address Yahoo Messenger MSN Messenger
Muskrat
Server Help Squatter


Age:38
Joined: Aug 24 2004
Posts: 829
Location: Swamp
Offline

PostPosted: Tue Jan 17, 2006 9:39 am    Post subject: Reply to topic Reply with quote

Not unless it is an Operator of itself.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
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: Tue Jan 17, 2006 3:41 pm    Post subject: Reply to topic Reply with quote

Can't you make the value negative?
_________________
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
blue monday
Novice


Joined: Nov 04 2005
Posts: 75
Offline

PostPosted: Tue Jan 17, 2006 5:46 pm    Post subject: Reply to topic Reply with quote

Cyan~Fire wrote:
Can't you make the value negative?


Can't I? It takes points away but ill try making the bot a Op of itself
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address Yahoo Messenger MSN Messenger
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Tue Jan 17, 2006 6:05 pm    Post subject: Reply to topic Reply with quote

Yeah, you should make the bot OP of itself since it needs to do !cgive.

Also, since it's PubAction, make sure the bot reads public commands by making DisablePubCommands=0 in MERVBot.ini, under [Misc].
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Tue Jan 17, 2006 7:34 pm    Post subject: Reply to topic Reply with quote

I don't think the bot can send itself commands... but I'm not 100% sure.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Muskrat
Server Help Squatter


Age:38
Joined: Aug 24 2004
Posts: 829
Location: Swamp
Offline

PostPosted: Tue Jan 17, 2006 7:58 pm    Post subject: Reply to topic Reply with quote

I believe it can, put me->access = OP_Owner; in the EnterArena Event and then use sendPrivate(me,...);. Of course, there is almost always a better way to do it than sending itself a command.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
blue monday
Novice


Joined: Nov 04 2005
Posts: 75
Offline

PostPosted: Tue Jan 17, 2006 8:28 pm    Post subject: Reply to topic Reply with quote

Dont work
Back to top
View users profile Send private message Add User to Ignore List Send email 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: Wed Jan 18, 2006 1:11 pm    Post subject: Reply to topic Reply with quote

I meant, can't you make the credit value negative, so it gives you credits?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Guest



Offline

PostPosted: Sat Jan 21, 2006 2:11 pm    Post subject: Reply to topic Reply with quote

Dont understand
Back to top
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: 224 page(s) served in previous 5 minutes.

phpBB Created this page in 0.566743 seconds : 34 queries executed (83.3%): GZIP compression disabled