Kami Client

Forum for alternative clients, mods & discussions on the same.

Re: Kami Client

Postby woo00154 » Thu Apr 18, 2024 9:49 pm

Hey Derkami,

It seems like the "fish" action is not acting properly in the client due to wrongly mapped button.

My current guess is that the categorizing logic for actions/menus under "Adventure" section is slightly messed up.
In fact, "fish" action is being categorized as a menu, and is expecting to open more submenu when you click it.
You can tell this is the case, since the menus and actions are each supposed to be sorted based on alphabet (menu first, actions next), but fishing is placed as a first item.

However, what doesn't make sense is that there is a workaround to this issue.
You can open up a different client (like Ard), add the "fish" action to the shortcut from there, and if you try the shortcut from Kami client, it works (though icon is invisible).
What I assume is happening is that only actions can be put on these shortcuts, and when "fish" action is put there from another client, that info is logged in server side.
Kami client attempts to search the menus list for its icon, but is unable to find it, making it look invisible.
However, when pressed, it sends the action request to the server, and it works normally.

I am suspicious of the MenuGrid.java file's line 400 logic, as it does recursion and checks whether if action has a parent or not.
But I can't tell from a quick look if there is a fault in the logic, and I also don't see why only fishing is handled differently. (possible memory corruption from somewhere?)
I might spend some time later to actually build and debug with some changes, but it's probably much faster for you since you have knowledge on this code already.

TL;DR
to Derkami: Please review MenuGrid.java line 400 or any sort/categorizing mechanism for the bottom right menu buttons. (Maybe GameUI.java, but not sure)
to Others: workaround "fish" bug by using another client (even default one works) and adding "fish" action to the shortcut.
woo00154
 
Posts: 9
Joined: Wed Sep 10, 2014 12:16 am

Re: Kami Client

Postby maze » Thu Apr 18, 2024 11:55 pm

He's gone for awhile on vacation :cry:
WARNING! MY ENGISH SUCKS.
game ideas
User avatar
maze
 
Posts: 2525
Joined: Sat Mar 27, 2010 3:15 am
Location: Canada

Re: Kami Client

Postby matheuswm » Sat Apr 27, 2024 3:14 pm

woo00154 wrote:Hey Derkami,

It seems like the "fish" action is not acting properly in the client due to wrongly mapped button.
-snib-

yep, can confirm it works and the workaround also works ,even though the hotkey button has no img i can still fish.

also, i'm getting really nasty gpu-sided hangups every couple seconds when inside buildings, especially with cheese/cupboards around. any ideas? it doesn't go up to 100% usage, nor does it throttle on ram or cpu (set 4gb for java), but it just hangs up on video regularly. Really weird.
Attachments
gpu hangup.png
gpu hangup.png (3.75 KiB) Viewed 85 times
matheuswm
 
Posts: 14
Joined: Sat Jun 30, 2018 1:37 am

Re: Kami Client

Postby gravesmerch » Sun Apr 28, 2024 2:58 pm

I'd check for spikes on default client, just to be sure
gravesmerch
 
Posts: 195
Joined: Thu Sep 08, 2022 6:13 pm

Re: Kami Client

Postby Rewhite » Wed May 01, 2024 7:30 pm

Game client is perfect, crashes with some toggle options is only thing that overshadow using it. I hope Kami will return from hiatus soon.
Rewhite
 
Posts: 3
Joined: Sun Jan 23, 2011 10:28 am

Previous

Return to The Wizards' Tower

Who is online

Users browsing this forum: haxtodamax and 4 guests