New Content - Implemented Bees Hate You

Veracity

Developer
Staff member
Would it be possible to extend this to the relay browser clover protection screen? I already had to smack myself after accidentally clicking the "disassemble" icon on the wrong adventure out of habit. Last clover in the Hermit for that day at that. :p
Revision 9337 does this.
 

Veracity

Developer
Staff member
Although it won't remove 'b' items from any Item Manager list, a change in UseItemRequest.maximumUses() would prevent server hits by adding something like this:
PHP:
String itemName = ItemDatabase.getItemName( itemId );

if ( KoLCharacter.inBeecore() && itemName.toLowerCase().indexOf( "b" ) != -1 )
{
	UseItemRequest.limiter = "bees";
	return 0;
}
Except that some "important" items ARE usable.
 

slyz

Developer
Ah right. I guess I should try to draw up a list then. Or are all "quest" items useable, and is that property enough to discern exceptions? I guess not, given the recent request about the Chest of the Bonerdagon.
 

slyz

Developer
According to the KoL Wiki, the following 'b' items are useable in Beecore:
  • Cobb's Knob map
  • Enchanted bean
  • Ball polish
  • Black market map
  • Orcish Frat House blueprints
  • IOTM foldables

Would making an IntegerArray containing the item IDs of those items and using contains() to check for exceptions be OK ?
 
Last edited:

Veracity

Developer
Staff member
Well, that was a little bit simpler. This patch removes food/booze/spleen items with a 'b' in them from the "Usable" food/booze/spleen section in the Item Manager panel. At least people who use the GUI to enqueue and make/consume won't be tempted to add 'b' items to the queue.
Revision 9338 does something like this.

And then I looked at yours, and I'm not sure if I like yours or mine better.

Yours does "b" filtering on all items first.
Mine does "b" filtering after other kinds of filtering happen.

So, yours will filter out "beer" items from the Food panel because of the "b". Mine will let existing code filter them out because they are not food and will thus never see them. If they are going to be filtered anyway, your technique might be faster. Or not. I dunno.

:)
 

Veracity

Developer
Staff member
Would making an IntegerArray containing the item IDs of those items and using contains() to check for exceptions be OK ?
I'm not sure it's worth the trouble. Just let the user try to use the items and report failures. That way, if they add new "important" items later, we don't have to change.
 

Darzil

Developer
Clearly it's not a high priority, but the sorceress's entryway quest completer doesn't work at present, as the new gate isn't recognised.
 

Bale

Minion
I think it is safe to say that Veracity is planning to fix that just as soon as she reaches the Lair. She ascended a few days after the Valhalla revamp so she could pickpocket 300 times first. In other words: soon.
 

Veracity

Developer
Staff member
I finished day 4 of my HC Beecore run yesterday with the Staff of Ed in my possession, the Oasis open, all lower level tasks complete - and the Volcanic Island open. I have not run my turns yet today. Will I reach the Lair today? My guess is no - but I will come close, and will certainly get there tomorrow.

I will have plenty of opportunity to tweak Bee support after that; I am missing 10 Softcore tattoos and my longstanding plan was to get them after I finished perming all the HC skills, but now, why not perm 7.5 HC skills in 10 SC Beecore runs? I am not looking forward to "pulls", but you know, I CAN just be a "casual" SC ascender and pull things to make quests go faster, rather than trying to set speed records...
 

slyz

Developer
Will I reach the Lair today? My guess is no
Not being able to do the Arena and Gremlin sidequests (and having to do the dooks the long way) makes for a long level 12 War :(

I am not looking forward to "pulls", but you know, I CAN just be a "casual" SC ascender and pull things to make quests go faster, rather than trying to set speed records...
Pulling things to make quests go faster (or clovers/blank-out when you run out of options) is what speed ascenders do, apparently!
 

lostcalpolydude

Developer
Staff member
Blank-out isn't so useful in beecore. You can collect pork elf goodies sacks even in softcore now. Pull some gear, pull consumables, pull anything that comes to mind to speed up a quest, and it can all make the run a lot easier.
 

Bale

Minion
I am missing 10 Softcore tattoos and my longstanding plan was to get them after I finished perming all the HC skills, but now, why not perm 7.5 HC skills in 10 SC Beecore runs? I am not looking forward to "pulls", but you know, I CAN just be a "casual" SC ascender and pull things to make quests go faster, rather than trying to set speed records...

This.

I also am suddenly more interested in softcore tattoos and softcore ascension now that I can get HC perms doing it soft. It takes a lot out of HC4Lyfe.

That's probably a good thing.
 

slyz

Developer
Here is a patch that adds a "b items" checkbox - only for people in Beecore - after the "no-trade" checkbox in the General/Recent/Closet/Storage/Free Pulls panels of the item Manager. When unchecked, all items that contain a 'b' are removed from the list.

With the "!=b" filtering, I don't know if this is still useful. It was more of an exercise for me.
 

Attachments

  • BeeFilter.patch
    2.2 KB · Views: 18

Winterbay

Active member
Does the box say "b items"? If so, I think it would be better if it said something like "no b items" instead for clarity. (I have not tested the patch and cannot since I'm at work without compiling options)
 

slyz

Developer
I started out with a "no b" checkbox, but changed it to "b items" for consistency with the "food", "booze", "equip", "others" and "no-trade" checkboxes: it is checked by default, like all the other, and 'b' items are removed when you uncheck it, like the others.

I'm really bad at making up names for this kind of things in english (or any other language, for that matter), so anyone with a good name is welcome to speak up.
 

lostcalpolydude

Developer
Staff member
How does it work when you enter/leave bee restrictions? My guess is that you have to restart mafia to make the checkbox (dis)appear.
 

Winterbay

Active member
I started out with a "no b" checkbox, but changed it to "b items" for consistency with the "food", "booze", "equip", "others" and "no-trade" checkboxes: it is checked by default, like all the other, and 'b' items are removed when you uncheck it, like the others.

I'm really bad at making up names for this kind of things in english (or any other language, for that matter), so anyone with a good name is welcome to speak up.

Ahh right. I forgot that those boxes were ticked by default. I was under the delusion that I needed to check those to make things go away, not that I unchecked it for that to happen. Carry on then :)
 

slyz

Developer
How does it work when you enter/leave bee restrictions? My guess is that you have to restart mafia to make the checkbox (dis)appear.
Apparently, you do, yes. Or, at least, you have to close and re-open the Item Manager.

I don't have any idea of how to remove the checkbox. Even using the "priphea" CLI command, that seems to recreate the Mafia GUI, doesn't remove the checkbox when I change the preference that controls the return value of KoLCharacter.inBeecore() in my copy.

There is probably a way, by adding some sort of listener, but that is not something I know how to do.
 
Last edited:

slyz

Developer
Another patch!

I'm still not in my Beecore run, but I have been having fun with the Mafia GUI.

This one is for the left pane of the GUI. When you are in Beecore, a "Bees: X" is added to the list of modifiers shown (ML/Enc/Init/...). X is the "Bee-osity" (the number of 'b's contained in the names of your currently equipped items, excluding the stickers).

When you enter/leave beecore, the "Bees:" is correctly added/removed, since the whole side pane is refreshed often enough.

The patch adds a getBeeosity() function in KoLCharacter.java, which could eventually be made available to ASH.
 

Attachments

  • BeeSidePane.patch
    4.4 KB · Views: 18

fronobulax

Developer
Staff member
This one is for the left pane of the GUI. When you are in Beecore, a "Bees: X" is added to the list of modifiers shown (ML/Enc/Init/...). X is the "Bee-osity" (the number of 'b's contained in the names of your currently equipped items, excluding the stickers).

Beeosity. I like it.
 
Top