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
WeaponInfo

 
Post new topic   Reply to topic Printable version
 View previous topic  TWCORE Bots Post :: Post quick win plugin  View next topic  
Author Message
The Cubbies
Newbie


Joined: Sep 08 2006
Posts: 9
Offline

PostPosted: Wed Oct 11, 2006 2:30 am    Post subject: WeaponInfo Reply to topic Reply with quote

I've been having trouble with WeaponInfo. Whenever I use a p->repel, etc. it gives me 0, no matter how many items I have. I even made a very simple test code to check it.

if(c->check("thor"))
sendPrivate(p,(String)p->thor);

I don't understand why if I have a thor that would pm me with 0. Another question I had is how those items can be only 4 bits long when I know you can have more than 16 of each. At least the Struct seemed to say that it was 4 bits.

This is for Merv.
Back to top
View users profile Send private message Add User to Ignore List
Witchie NL
Seasoned Helper


Age:35
Gender:Gender:Male
Joined: Jul 24 2005
Posts: 112
Location: Veere, Zeeland, Netherlands
Offline

PostPosted: Wed Oct 11, 2006 4:47 am    Post subject: Reply to topic Reply with quote

strange. I remember me having that problem aswell. But somehow it did work in other plugins.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website MSN Messenger
Bak
?ls -s
0 in


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

PostPosted: Wed Oct 11, 2006 7:04 am    Post subject: Reply to topic Reply with quote

You need to turn busy spectator on in the ini file (I think).
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Witchie NL
Seasoned Helper


Age:35
Gender:Gender:Male
Joined: Jul 24 2005
Posts: 112
Location: Veere, Zeeland, Netherlands
Offline

PostPosted: Wed Oct 11, 2006 7:41 am    Post subject: Reply to topic Reply with quote

hmm could be an option tongue.gif
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website MSN Messenger
Cerium
Server Help Squatter


Age:42
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Wed Oct 11, 2006 7:45 am    Post subject: Reply to topic Reply with quote

Also, the bot needs moderator+ or the arena setting to allow spectators to view specials info needs to be enabled.

The Cubbies:
You can have more than 15 items, but the weapon info will always max out at 15. To simplify: >=15 = 15.
_________________
There are 7 user(s) ignoring me right now.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
The Cubbies
Newbie


Joined: Sep 08 2006
Posts: 9
Offline

PostPosted: Wed Oct 11, 2006 11:08 am    Post subject: Reply to topic Reply with quote

Thanks a lot, noisy spectator worked.
Back to top
View users profile Send private message Add User to Ignore List
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: 601 page(s) served in previous 5 minutes.

phpBB Created this page in 0.554074 seconds : 31 queries executed (95.1%): GZIP compression disabled