Server Help

Bot Questions - WeaponInfo

The Cubbies - Wed Oct 11, 2006 2:30 am
Post subject: WeaponInfo
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.
Witchie NL - Wed Oct 11, 2006 4:47 am
Post subject:
strange. I remember me having that problem aswell. But somehow it did work in other plugins.
Bak - Wed Oct 11, 2006 7:04 am
Post subject:
You need to turn busy spectator on in the ini file (I think).
Witchie NL - Wed Oct 11, 2006 7:41 am
Post subject:
hmm could be an option tongue.gif
Cerium - Wed Oct 11, 2006 7:45 am
Post subject:
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.
The Cubbies - Wed Oct 11, 2006 11:08 am
Post subject:
Thanks a lot, noisy spectator worked.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group