Author |
Message |
The Cubbies Newbie
Joined: Sep 08 2006 Posts: 9 Offline
|
Posted: 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. |
|
Back to top |
|
 |
Witchie NL Seasoned Helper
Age:35 Gender: Joined: Jul 24 2005 Posts: 112 Location: Veere, Zeeland, Netherlands Offline
|
Posted: 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. |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
 |
Witchie NL Seasoned Helper
Age:35 Gender: Joined: Jul 24 2005 Posts: 112 Location: Veere, Zeeland, Netherlands Offline
|
Posted: Wed Oct 11, 2006 7:41 am Post subject: |
 |
|
|
|
hmm could be an option  |
|
Back to top |
|
 |
Cerium Server Help Squatter

Age:42 Gender: Joined: Mar 05 2005 Posts: 807 Location: I will stab you. Offline
|
Posted: 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. _________________ There are 7 user(s) ignoring me right now. |
|
Back to top |
|
 |
The Cubbies Newbie
Joined: Sep 08 2006 Posts: 9 Offline
|
Posted: Wed Oct 11, 2006 11:08 am Post subject: |
 |
|
|
|
Thanks a lot, noisy spectator worked. |
|
Back to top |
|
 |
|