Author |
Message |
Hakaku Server Help Squatter
Joined: Apr 07 2006 Posts: 299 Location: Canada Offline
|
Posted: Mon Feb 08, 2010 3:44 pm Post subject: <c> Setting banners (example) |
|
|
|
|
Some of you may recall how Smong's Pirates! zone would automatically set a player's banner. I just thought I would post an example of how something like this can be achieved.
You'll notice that I follow the same format as how ASSS sends banners to the TCP biller and vice versa, i.e. in hex value. You can obtain the appropriate value for the banner you want to use by using a tcp biller that stores banners such as UBill. I'm not saying this is the only way nor the best way, but it works.
This module will set a player's banner to a heart when they enter an arena.
valentines.c - 2.1 KB
File downloaded or viewed 100 time(s)
|
|
Back to top |
|
|
JoWie Server Help Squatter
Gender: Joined: Feb 25 2004 Posts: 215 Offline
|
Posted: Sun Feb 21, 2010 4:13 pm Post subject: |
|
|
|
|
Does the example send the players banner to the biller?
I think i have been setting it wrong the whole time
|
|
Back to top |
|
|
Hakaku Server Help Squatter
Joined: Apr 07 2006 Posts: 299 Location: Canada Offline
|
Posted: Sun Feb 21, 2010 6:20 pm Post subject: |
|
|
|
|
Nope, it doesn't send them to the biller. The banners.h file is admitedly confusing and badly worded, and I originally made the mistake of having them send to the biller, but I've since proposed changes on the bitbucket repository to have the wording and usage clarified to avoid such an easily avoidable mistake.
|
|
Back to top |
|
|
|