Code Monkey home page Code Monkey logo

kanan-new's People

Contributors

aahzmandius avatar averagespearman avatar blade3575 avatar codecumkey avatar cursey avatar discoded avatar iuke121 avatar kleric avatar kohupallintrax avatar ktthai avatar lask3802 avatar lishid avatar lonedev6 avatar mbbooing avatar milktao avatar praydog avatar rietty avatar riistar avatar riskdoe avatar rivaldealer avatar rydian avatar satanachia avatar seeker1437 avatar stuvven avatar tachiorz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kanan-new's Issues

Request: Disable Pet Icon Rendering

When pets are hotkeyed, the hotkey shows the generic icon for that pet species instead, which is about as fast as any skill icon. However the pet window shows renders of the pets instead, which is quite slow. There used to be a mod to make the pet window use the generic icons as well, but I don't remember what it was in and didn't learn how it worked.

[SUGGESTION] Buffs and buff timers

Seeing as how there's the Status UI Window, I think it'd be nice to be able to see buff durations in that window. Soul Link especially.

Perhaps cooldowns as well? Or possibly a numeric value on the skill icon?

Non-functional Patches as of R272

[Enable Free Indoor Camera] Failed to find pattern 57 8B 7D 08 0F 84 22 02 00 00
[Clean Up Title Menu] Failed to find pattern 85 C0 0F 88 ? ? ? ? 83 F8 01 7E ? 83 F8 02 0F 85 ? ? ? ? 8B 0D
[Clean Up Title Menu] Failed to find pattern 85 C0 0F 88 ? ? ? ? 83 F8 01 7E ? 83 F8 02 0F 85 ? ? ? ? 8B 0D
[Clean Up Title Menu] Failed to find pattern 85 C0 0F 88 ? ? ? ? 83 F8 01 7E ? 83 F8 02 0F 85 ? ? ? ? 8B 0D

These are currently non-functional. I made sure that no other patchers were active when testing.

Request: Logging Channel/World Messages

Especially now, would be great to have the boss spawn messages logged to the console. I remember mods for turning bugle messages into console messages, but I can't remember if that was also true for the raid or field boss messages. If I'm not looking at the screen when one of the Avalon bosses spawns, I miss out on it completely unless someone speaks up.

Request: Spirit Weapon Information

The following code signature...
88 46 05 8D 5E 0C 8D 4D 0C E8
Leads to this line...
mov [esi+05],al
At the time that is executed, esi contains the base address of the spirit weapon info, with the structure as follows.

+5: Current hunger level
+6: Social level
+7: Strength
+8: Int
+9: Dex
+A: Will
+B: Luck

All values are unsigned bytes and are self-explanatory, except for the current hunger level...

Each hunger level has 5 values/stages in it, and there's multiple hunger levels that have the same name in-game (so the wiki and players refer to them like Unhappy 1, Unhappy 2, and so forth). In my CE table I make use of a CE feature to give labels to the various values, but there's a lot of them...

https://i.imgur.com/vFwnR0E.png

If you're willing to implement the display list, the values are here (value:description).
https://pastebin.com/raw/mM5TgSvt

However in-game, values like Happy 1.0 versus Happy 1.8 are considered the same for stat gain, they just differ in how much you need to feed to sate them to the next level... so it'd be less work to just note the important milestones in text (if that's the difference between implementing it or not).

0:Happy 1.0
5:Fine 1.0
10:Fine 2.0
15:Fine 3.0
20:Unhappy 1.0
25:Unhappy 2.0
30:Unhappy 3.0
35:Unhappy 4.0
40:Unhappy 5.0
45:Unhappy 6.0
50:Mad
100: How long did you AFK?!

Request: Draw Distance Mod

This code signature...
D9 56 40 D9 C0
Find this instruction...
fst dword ptr [esi+40]
Which is the instruction that writes the max draw distance for the camera.

After that instruction, inserting something like...
mov [esi+40],X
Where X is a float value will override the draw distance.

A value of 1,000,000f is enough to render pretty much everything that loads, but sometimes people would like to lower draw distance instead (for example reducing it AFKing while running shop to reduce load) so making it a slider would be preferable (as exact values aren't needed anyways). A range of 100 to 1mil would probably be best.

Most recent commit unresponsive randomy

I saw you added a few issues and one was persistent. Client devcat when active prevents harvesting on my human without using harvest song (endless animation) fixed by disabling devcat temporarily. The other seems to be the menu just at times is completely unresponsive and/or cannot be clicked displayed or not. It will instead interact with anything behind the menu

inputs still being sent to mabi while kanan is open

as the title says. Inputs are still being sent to mabi, when clicking around in the kanan.

Launching via steam

log:

Welcome to Kanan for Mabinogi.
Creating Kanan object.
[Mods] Entering cosntructor.
[Mods] Leaving constructor.
Entering Kanan constructor.
Hooking D3D9...
Entering D3D9Hook::hook().
Got Direct3DCreate9 5E189140
Got IDirect3D9 1FB472A0
Got IDirect3DDevice9 1FDB0C40
Got IDirect3DDevice9::Present 5E22B3B0
Got IDirect3DDevice9::Reset 5E22B7B0
D3D9Hook hooked successfully.
Creating the Game object...
Entering Game constructor.
Got CRendererPtr 0379CC40
Got CEntityListPtr 03A2E118
Got CWorldPtr 03A2E5C0
Got CAccountPtr 037AB6D8
Leaving Game constructor.
Loading mods...
[Mods] Loading mods...
[Show Combat Power] Found address 01274334 for pattern 0F 85 ? ? ? ? 8B 97 ? ? ? ? 8B 87
[Use Bitmap Font] Found address 01141E87 for pattern 74 0D 8B 45 08 50 8B CB E8 ? ? ? ? EB 0B
[Use Bitmap Font] Found address 01296166 for pattern 75 3D 83 BE ? ? ? ? ?
[Use Bitmap Font] Found address 011FF5E1 for pattern 74 25 80 7B 73 00
[Use Bitmap Font] Found address 01179903 for pattern 0F 84 ? ? ? ? 8B 0D ? ? ? ? E8 ? ? ? ? 57
[Elf Lag Fix] Found address 00B6BCD0 for pattern 55 8B EC 56 8B F1 8B 06 8B 50 0C 57 FF D2 8B C8
[Windows Appear Faster] Found address 0122ACED for pattern 74 ? E8 ? ? ? ? 85 C0 74 ? F6 46 14 ? 75 ? 8B 10 8B C8 8B 82 74 01 00 00 FF D0 84 C0 75 ? 83 BE A8 00 00 00 ? C6 86 A4 00 00 00 ? 75 ? B9 ? ? ? ? E8 ? ? ? ? 89 86 A8 00 00 00 8B 4D 08
[Windows Appear Faster] Found address 013200B9 for pattern 8B 4D 18 6A ? 51 8B 8E A8 00 00 00
[One Click Revive] Found address 013FCBA4 for pattern 0F 86 ? ? ? ? 8B 4D E8 8B 11
[Disable Mount Timeout] Found address 012F1ED9 for pattern 89 90 5C 02 00 00
[Unlimited Zoom] Found address 01010D71 for pattern 7A 05 D9 5D 08 EB 02 DD D8 D9 45 08 D9 45 F8
[Unlimited Zoom] Found address 01010D71 for pattern 7A 05 D9 5D 08 EB 02 DD D8 D9 45 08 D9 45 F8
[Logout In Conversation] Found address 018F00BF for pattern 84 C0 74 19 B8 ? ? ? ? 8B 4D F4 64 89 0D ? ? ? ? 59 5F 5E 5B 8B E5 5D C2 04 00
[Allow Moving To Same Channel] Found address 0151FD66 for pattern 0F 84 ? ? ? ? 68 ? ? ? ? 8D 4D DC E8 ? ? ? ? C6 45 FC ? 8D 55 DC 52 8D 45 B4
[Disable Censorship] Found address 0082A321 for pattern 0F 84 ? ? ? ? 80 7D F3 00 0F 84 ? ? ? ? 85 D2
[Disable Channel Move Denial] Found address 012EBA97 for pattern 0F 84 ? ? ? ? 89 5D F0 89 5D FC 8B CF E8 ? ? ? ? 8B 10
[Disable Channel Move Description] Found address 01520C80 for pattern 51 8B 0D ? ? ? ? 53 6A ? 53 53 6A ? 53 6A ? 56 8D 55 DC
[Disable Logout Penalty Msg] Found address 012E6D4A for pattern 0F 84 ? ? ? ? 88 5D F2 88 5D F3
[Disable Skill Rankup Window] Found address 017720E9 for pattern 8B F0 33 DB 3B F3 75 16 32 C0
[Disable Skill Rankup Window] Found address 013836DA for pattern E8 ? ? ? ? 85 C0 0F 84 ? ? ? ? 8B 10 8B 35
[Infinite Party Ad Time] Found address 017ADB30 for pattern 55 8B EC 56 8B F1 8B 46 64 83 78 08 00 74 32
[Remove Dungeon Fog] Found address 00C52500 for pattern 0F B6 41 05 C1 E8 02 83 E0 01 C3
[Disable Screen Shake] Found address 00F67024 for pattern D9 01 8B 46 64
[Disable Screen Shake] Found address 00F67024 for pattern D9 01 8B 46 64
[Disable Screen Shake] Found address 00F67024 for pattern D9 01 8B 46 64
[Disable Screen Shake] Found address 00F67024 for pattern D9 01 8B 46 64
[Always Trans Collect Mode] Found address 018461B8 for pattern 38 5F 78 0F 84 CF 02 00 00 8B CE
[Allow Canceling Lance Counter] Found address 02166860 for pattern 55 8B EC 6A FF 68 ? ? ? ? 64 A1 ? ? ? ? 50 83 EC 0C 53 56 57 A1 ? ? ? ? 33 C5 50 8D 45 F4 64 A3 ? ? ? ? E8 ? ? ? ? 84 C0 0F 84 ? ? ? ? E8
[Allow Same Chat Messages] Found address 01485708 for pattern 0F 85 ? ? ? ? 33 FF C6 45 F3 01
[Allow Same Chat Messages] Found address 014858A5 for pattern 0F 85 ? ? ? ? 33 FF 80 7D 10 00
[Allow Rapid Chat Messages] Found address 014854BF for pattern 76 B0 68 ? ? ? ? 8D 4D DC
[Enable Chat To Mini-gamers] Found address 024A2A04 for pattern 75 13 8D 4D 08 56
[Force Client Side DevCAT] Found address 00B2F88C for pattern 74 21 8B 16 8B 82 94 00 00 00 8B CE
[Disable Screen Flash] Found address 012A4D5F for pattern 55 1C 53 ? ? ? ? ? ? ? ? 56
[Allow Dungeon Map Resize] Found address 0149E392 for pattern C2 8D ? ? ? ? ? ? B8 B4 00 00 00
[Allow Dungeon Map Resize] Found address 0149F6D3 for pattern BF B4 00 00 00 6A
[Allow FSAA (Setting)] Found address 015F723C for pattern 53 FF D2 8B 0D ? ? ? ? 6A 0C E8 ? ? ? ? 68 ? ? ? ? 89 45 D0
Beginning intialization...
Getting window from D3D9 device...
Initializing ImGui...
Hooking DInput...
Entering DInputHook::hook().
Got DirectInput8Create 5BBEB400
Got IDirectInput 1FEB89F8
Got IDirectInputDevice 1FEB22E0
Got IDirectInputDevice::GetDeviceData 77A656F0
DInputHook hooked successfully.
Hooking the windows message procedure...
Loading time critical mods...
[Mods] Loading time critical mods...
[UseDataFolder] Entering constructor...
[UseDataFolder] Got address of CFileSystem 037CC0E8
[UseDataFolder] Got address of SetLookUpOrder 004BFC30
[UseDataFolder] Leaving constructor.
[UseDataFolder] Toggling on
[Mods] Finished loading time critical mods.
[Allow Interface While Dead] Found address 0131D3EE for pattern FF 87 ? ? ? ? EB 11
[Allow Minimap Zoom] Found address 017D2138 for pattern 89 4E 74 80 78 40 00 74 16
[Increase Alt Text Distance] Found address 0224ECF4 for pattern 0F 85 ? ? ? ? D9 ? D9 ? ? D8 ? DF E0 F6 C4 ?
[Disable Fighter Forced Interface] Found address 0120AA09 for pattern 83 79 44 01 75 09 6A 00 6A 00 E8
[Disable Fighter Forced Interface] Found address 0120AA09 for pattern 83 79 44 01 75 09 6A 00 6A 00 E8
[Enable Free Indoor Camera] Found address 0184BCAA for pattern 57 8B 7D 08 0F 84 ? ? ? ? 8B 8E C8 01 00 00
[Hide Main Titles] Found address 00BCCDCE for pattern 08 00 66 8B 41 10 C3
[Hide Second Titles] Found address 0224FD46 for pattern C1 E9 14 F6 C1 01 75 ? 8B
[Hide NPC Curtains] Found address 012A46D0 for pattern 55 8B EC 8A 45 08 56 8B F1 38 06
[Hide Objects] Found address 00FB48D5 for pattern 39 78 0C 0F 94 C0 84 C0 0F 84 92 00 00 00 8B 45
[Allow Hotkey For Any Item] Found address 012F3C64 for pattern 84 C0 74 06 B0 01 5D C2 04 00 32 C0 5D C2 04 00 CC
[Ignore Maintain Frame Number] Found address 0151E263 for pattern 89 4E 50 8B 57 54 89 56 54 0F B6 47 58 88 46 58 0F B6 4F 59
[Disable Translucency Changes] Found address 0104DA59 for pattern 39 70 04 75 39 3B FE
[Clean Up Title Menu] Failed to find pattern 85 C0 0F 88 ? ? ? ? 83 F8 01 7E ? 83 F8 02 0F 85 ? ? ? ? 8B 0D
[Clean Up Title Menu] Failed to find pattern 85 C0 0F 88 ? ? ? ? 83 F8 01 7E ? 83 F8 02 0F 85 ? ? ? ? 8B 0D
[Clean Up Title Menu] Failed to find pattern 85 C0 0F 88 ? ? ? ? 83 F8 01 7E ? 83 F8 02 0F 85 ? ? ? ? 8B 0D
[Show Clock Minutes] Found address 02407A34 for pattern 89 45 C8 39 9F 58 01 00 00
[Show Clock Minutes] Found address 02407925 for pattern 89 4D C8 39 9F 58 01 00 00
[Show Mission Timer Seconds] Found address 0143EBD5 for pattern B8 ? ? ? ? F7 E6 C1 EA 03 42
[Show Mission Timer Seconds] Found address 0143E738 for pattern 83 F8 0F 0F 97 C0
[Show Mission Timer Seconds] Found address 0143E906 for pattern 6A 0F 83 DE 00
[Show Mission Timer Seconds] Found address 0143E917 for pattern C1 E6 04 68 ? ? ? ? 8D 4D EC
[Show Mission Timer Seconds] Found address 0143E917 for pattern C1 E6 04 68 ? ? ? ? 8D 4D EC
[Mute Commerce Imp] Found address 018BF237 for pattern 8B ? ? 03 ? ? 3B ? 08 0F 83
[Speed Up NPC Text] Found address 01336BE6 for pattern 8B 08 33 FF 3B CF 76 2A
[Skip Personal Shop Creation Message] Found address 018ED8D6 for pattern 52 53 6A ? 53 53 6A ? 53 6A ? 53 53 8D 45 E4 50 E8 ? ? ? ? C6 45 FC ? 8B 4D EC 3B CB 74 ? E8 ? ? ? ? 89 5D EC C6 45 FC ? 8B 4D E4 3B CB 74 ? E8 ? ? ? ? 89 5D E4 C6 45 FC ?
[Disable Sky Rendering] Failed to find pattern 74 42 8B 4E 04 8B 11 8B 82 E4 00 00 00 6A 04 FF D0 8B C8 E8
[Disable Sky Rendering] Found address 01147BD4 for pattern 8B 4E 30 85 C9 0F 84 91 00 00 00 E8
[Enable Right-Clicking Self] Failed to find pattern 0F 85 ? ? ? ? 3B D7 0F 85 ? ? ? ? 8B 8E 90 00 00 00
[Show Negative HP When Deadly] Found address 012CDFC7 for pattern 75 18 68 ? ? ? ? 8D 8D
[Show Negative HP When Deadly] Found address 026C8358 for pattern 75 07 68 ? ? ? ? EB 1F 6A 0A 68 ? ? ? ? 8D 8D ? ? ? ? 51 53
[Show Negative HP When Deadly] Found address 013B8A7E for pattern 75 07 68 ? ? ? ? EB 1F 6A 0A 68 ? ? ? ? 8D 8D ? ? ? ? 51 50
[Show Negative HP When Deadly] Found address 012CDFBF for pattern 33 DB 85 F6 75 1C
[Show Negative HP When Deadly] Found address 026C8350 for pattern 33 DB 85 FF 75 0B
[Show Negative HP When Deadly] Found address 013B8A68 for pattern C7 85 ? ? ? ? ? ? ? ? 8B 85 ? ? ? ? 85 F6
[Show Item Class] Found address 016E8EEE for pattern 66 3B C1 0F 85 ? 02 00 00 68 ? ? ? ? B9
[Show Item Trade Price] Found address 013521EA for pattern 0F 85 ? ? ? ? 68 ? ? ? ? 8D 4D F0 E8 ? ? ? ? 68 ? ? ? ? 8D 4D D0
[Skip Graphics Card Message] Found address 00473860 for pattern 83 C4 08 84 C0 75 7F 8D
[Enable Talking to Unequipped Ego] Found address 01783AE3 for pattern 0F 85 90 00 00 00 68 ? ? ? ? 8D 4D DC E8
[Enable NPC Equipment View] Found address 01C59AEA for pattern 84 C0 0F 85 A7 ? ? ? 8B CF
[Enable NPC Equipment View] Found address 01C59AEA for pattern 84 C0 0F 85 A7 ? ? ? 8B CF
[Disable Reward Window] Found address 01C562F1 for pattern 3B D6 0F 85 ? ? ? ? 33 DB
[Zero Fog Distance] Found address 0113E414 for pattern D9 45 14 5D C2 10
[Zero Fog Distance] Found address 0113E464 for pattern D9 45 14 5D C2 10
[Center Giant Camera] Found address 01743F7C for pattern 74 2C 68 ? ? ? ? 8B CF E8
[Disable Fullscreen Change] Found address 010BFADB for pattern 88 48 3C 8B 56 0C 83 C2 30 52
[Faster Networking] Found address 02770192 for pattern 74 ? FF 15 ? ? ? ? 8B 93 80 00 00 00
[Faster Networking] Found address 0276ECD6 for pattern 74 ? FF 15 ? ? ? ? 8B 8E 80 00 00 00 2B 44 8E 08
[Faster Networking] Found address 0276ECA6 for pattern 74 ? FF 15 ? ? ? ? 8B 8E 80 00 00 00 89 44 8E 08
[Disable Avon Curtains] Found address 013DCC57 for pattern 0F 84 ? ? ? ? 8B 0E 6A ? 6A ?
[Disable Item Magnet Cooldown] Found address 013A6123 for pattern 50 52 C7 45 E8 98 3A
[Avoid Bank Trade] Found address 015C28E0 for pattern 8B 55 10 52 FF D0 84 DB 74
[Disable Game End Survey] Found address 00474C9C for pattern 50 8B 45 D0 50 51 56 FF 15
[Show Dorcha Numbers] Found address 01605C08 for pattern 52 FF 84 C0 0F 84 0F 01 00 00
[Show entity HP] Found address 023B4DBA for pattern 68 F8 03 00 00 89 5D
[Skip Cutscenes] Found address 0084E40F for pattern 74 19 8B 45 0C 8B 75 08 50 56 E8
[Skip Cutscenes] Found address 0084E4AF for pattern 74 19 8B 45 0C 8B 75 08 50 56 E8
[Skip Cutscenes] Found address 0084E5FF for pattern 74 19 8B 45 0C 8B 75 08 50 56 E8
[Disable Summoning Status Windows] Found address 0175FB79 for pattern 8D 4D EC 38 5D 08 74 5A
[Disable Alpaca Carrying] Found address 012F1C34 for pattern 83 F8 19 72 0F 8B CE
[Golem Range Fix] Found address 018D7562 for pattern 84 C0 0F 84 1F 05 00 00 8B 4E 28
[Show Unknown Quest Objectives] Found address 0175BBDC for pattern 38 5E 0D 75 17
[Hide Bingo Button] Found address 013067F0 for pattern 3B FB 0F 84 E7 01 00 00 8B CF E8
[Keep Pet Window Open] Found address 0175FED7 for pattern 84 C0 0F 84 33 19 00 00 8B 0D
[Show Unknown Skill Requirements] Found address 01377368 for pattern 84 C0 74 7D 57
[Show Unknown Upgrades] Found address 015E801D for pattern 3A 85 AB FE FF FF 0F 83
[Render Wireframe] Found address 01119529 for pattern 8B 10 8B C8 8B 42 04 FF D0 84 C0 0F 84 EE 09 00 00 8B 0E
[Render Wireframe] Found address 0119308A for pattern FF D0 3A C3 0F 85
[Render FPS info] Found address 01119529 for pattern 8B 10 8B C8 8B 42 04 FF D0 84 C0 0F 84 EE 09 00 00 8B 0E
[Render FPS info] Found address 011BE6A5 for pattern FF D0 84 C0 0F 84 AD 08 00 00 2B 3D
[Render Prop Bounds] Found address 01119529 for pattern 8B 10 8B C8 8B 42 04 FF D0 84 C0 0F 84 EE 09 00 00 8B 0E
[Render Prop Bounds] Found address 011C1509 for pattern 8B 42 04 FF D0 84 C0 74 1F 8B 4E 30 8B 11 83 BA 7C 05 00 00 00 74 11 8B 8A
[Render Light Radius] Found address 01119529 for pattern 8B 10 8B C8 8B 42 04 FF D0 84 C0 0F 84 EE 09 00 00 8B 0E
[Render Light Radius] Found address 01119E8F for pattern 8B 42 04 FF D0 84 C0 74 40 8B 0E
[Render Light Information] Found address 01119529 for pattern 8B 10 8B C8 8B 42 04 FF D0 84 C0 0F 84 EE 09 00 00 8B 0E
[Render Light Information] Found address 011C044D for pattern 8B 42 04 FF D0 84 C0 74 C2
[Render Collision Boxes] Found address 01119529 for pattern 8B 10 8B C8 8B 42 04 FF D0 84 C0 0F 84 EE 09 00 00 8B 0E
[Render Collision Boxes] Found address 01119DC5 for pattern 8B 42 04 FF D0 84 C0 74 0C 8B 17 8B 82 CC 00 00 00
[Render Axis] Found address 01119529 for pattern 8B 10 8B C8 8B 42 04 FF D0 84 C0 0F 84 EE 09 00 00 8B 0E
[Render Axis] Found address 01119D9F for pattern 8B 42 04 FF D0 84 C0 74 0C 8B 17 8B 82 D0 00 00 00
[Render Bones Hitboxes] Found address 01119529 for pattern 8B 10 8B C8 8B 42 04 FF D0 84 C0 0F 84 EE 09 00 00 8B 0E
[Render Bones Hitboxes] Found address 01119D79 for pattern 8B 42 04 FF D0 84 C0 74 0C 8B 17 8B 82 C8 00 00 00
[Remove Item Drop animation] Found address 016F145F for pattern 0F 84 17 02 00 00 39 9E
Got RangedAttackSwap 00B6BE26
Got TTFFontSize 01296182
Got ColorAltText 0127403D
Entering AutoSetMTU constructor.
Looking for connection address...
Got connection address 02772EC0
Hooked the connection function.
Leaving AutoSetMTU constructor.
Entering DisableNagle constructor.
Successfully hooked ws2_32.socket
Leaving DisableNagle constructor.
Entering EnableMultiClient.
Got EnableMultiClient 0047288C
Leaving EnableMultiClient.
[EquipmentOverride] Entering constructor
[EquipmentOverride] Found address of setEquipmentInfo 01726B00
[EquipmentOverride] Leaving constructor
[FreezeTimeOfDay] Entering constructor...
[FreezeTimeOfDay] Found address for setTimeOfDay 0111BDD0
[FreezeTimeOfDay] Hooked setTimeOfDay
[FreezeTimeOfDay] Leaving constructor
[Mods] Finished loading mods.
Done initializing.
Leaving Kanan constructor.
Leaving kananInit.
Loading config D:\Mabishit\mods\kanan/config.txt
[UseDataFolder] Toggling on
[BorderlessWindow] Applying Borderless Window settings...
Toggling EnableMultiClient...
Toggled EnableMultiClient on successfully.
[Logout In Conversation] Toggling on
[Allow FSAA (Setting)] Toggling on
[Center Giant Camera] Toggling on
[Disable Avon Curtains] Toggling on
[Disable Fullscreen Change] Toggling on
[Disable Screen Flash] Toggling on
[Disable Screen Shake] Toggling on
[Disable Translucency Changes] Toggling on
[Hide NPC Curtains] Toggling on
[Render FPS info] Toggling on
[Unlimited Zoom] Toggling on
[Zero Fog Distance] Toggling on
[Enable NPC Equipment View] Toggling on
[Show Combat Power] Toggling on
[Show Dorcha Numbers] Toggling on
[Show Negative HP When Deadly] Toggling on
[Show Unknown Quest Objectives] Toggling on
[Show Unknown Skill Requirements] Toggling on
[Show entity HP] Toggling on
[Allow Interface While Dead] Toggling on
[Keep Pet Window Open] Toggling on
[Mute Commerce Imp] Toggling on
[Show Clock Minutes] Toggling on
[Show Mission Timer Seconds] Toggling on
[Allow Rapid Chat Messages] Toggling on
[Allow Same Chat Messages] Toggling on
[Always Trans Collect Mode] Toggling on
[Disable Censorship] Toggling on
[Disable Game End Survey] Toggling on
[Enable Chat To Mini-gamers] Toggling on
[Enable Talking to Unequipped Ego] Toggling on
Applying RangedAttackSwap...
[Remove Dungeon Fog] Toggling on
[Skip Graphics Card Message] Toggling on
[Skip Personal Shop Creation Message] Toggling on
[Allow Moving To Same Channel] Toggling on
[Disable Channel Move Denial] Toggling on
[Disable Channel Move Description] Toggling on
[Disable Item Magnet Cooldown] Toggling on
[Disable Logout Penalty Msg] Toggling on
[Disable Mount Timeout] Toggling on
[Ignore Maintain Frame Number] Toggling on
[Skip Cutscenes] Toggling on
[Speed Up NPC Text] Toggling on
[Windows Appear Faster] Toggling on
Applying TTFFontSize...
[Use Bitmap Font] Toggling on
Config loading done.
[BorderlessWindow] Trying to set style: 336199680
[BorderlessWindow] Trying to set style: 336199680
[BorderlessWindow] Style set!
[BorderlessWindow] Trying to move to x:0 y:0 w:1920 h:1040
[BorderlessWindow] Window moved!
[BorderlessWindow] Choices applied.

Request: No Flashy Equipment

The following signature...
8B 10 89 57 1C 8B 50 04
Gets you to a block of code that copies/manages color codes for item rendering (in CEquipmentItemInfo). Specifically, the following three instructions (just below where the signature lands) deal with the three colors, offsets 0x1C, 0x20, and 0x24.

mov [edi+1C],edx
[...]
mov [edi+20],edx
[...]
mov [edi+24],eax

Color codes in Mabinogi are 4 bytes, MMRRGGBB, where the MM byte is a meta/flashy byte. A value of 00 or FF for the MM byte means not flashy (00 tends to mean generated while FF tends to be gacha/event reward script dyes with hand-typed codes for those that are curious but both have the same effect in-game).

By overwriting the MM bytes to 00 in the code that copies item data for rendering, we can prevent flashy items from flashing when worn (they stick to the first color), while still leaving them flashing in the inventory (so players don't accidentally use a flashy dye on their outfit or something).

... problem is the hair system. Hair is a worn item, and the color code on hair is XX000000, where XX is a color ID defined in various databases (opposed to being a hex color code). Simply overwriting the first by to 00 in all cases makes hair come out all black (as it turns to 00000000 and color ID 0 is black).

Additional code needs to be inserted to check for the XX000000 format and skip the overwrite if it looks like a hair ID. In my CE table (and old Kanan) I did the check/skip with with a bunch of custom ASM, but it should be less annoying for somebody better at coding to do it in C++.

[IDEA] Teleport shortcuts and cooldown removal

Do you think it's dangerous and potentially be detected as cheating by the server if we remove Continent Warp teleport 12 hours cooldown?
Also would be interesting to add some shortcuts to kanan to trigger teleports like Tir Chonail return stone and Festia Enter button (in Character info menu).

Skip graphical card message not working

Hello,
on latest version of the game this patch doesn't work.
I'm using the latest version of kanan, compiled directly from source and not the one on releases

r290 Item structure changes.

Today's patch updated items to have up to 6 dye spots, so item preview broke and the item list crashes.

Looks like they shoved 3 additional 4-byte values in for the 3 extra color code slots and pushed the rest of the structure down by 0x10 bytes. So like the stack count was +1C previously and now it's +2C in the structure.
https://i.imgur.com/R6SK34y.png

The equipped item structure likely changed too, not sure on the updates there.

Attach debugger to Mabi

Hello,
does anyone knows how to attach a debugger to the game (for example CheatEngine to see which instruction is writing to specific address) without making mabi close itself after attaching it?

Thanks

Request: Display Worn Item IDs In Character List

Sometimes a player has "View Equipment" turned off so you can't see their gear in detail, but you still at least want to know what something they're wearing is in general (even if you can't see the stats/enchants), like "What dress is that?!"

The entity list currently gets and displays some info on each loaded character through what appears to be the following chain (according to the ReClass file in the source).

CCharacterList+0x4
-CCharacterListNode+0x0
--CCharacterListNodeEntry+0x10
---CCharacter+0x90
----CParameter+whatever

The item IDs that are being used on that character are available in that chain via...

---CCharacter+0x224
----CEquipment+0x0
-----CEquipmentItemInfo+0xC

That's the item ID used for whatever CEquipment entry that is, and users can look up item IDs (to see what item itis) via item database sites like sigkill or mabibase to see what item/hair the player is using. Offsets +0x1C, +0x20, and +0x24 contain the item color IDs (4-byte hex) if you feel like including that as well, but it's not quite as useful.

List of currently broken patches

[Clean Up Title Menu] Failed to find pattern 85 C0 0F 88 ? ? ? ? 83 F8 01 7E ? 83 F8 02 0F 85 ? ? ? ? 8B 0D
[Disable Sky Rendering] Failed to find pattern 74 42 8B 4E 04 8B 11 8B 82 E4 00 00 00 6A 04 FF D0 8B C8 E8
[Enable Right-Clicking Self] Failed to find pattern 0F 85 ? ? ? ? 3B D7 0F 85 ? ? ? ? 8B 8E 90 00 00 00

Just these three I believe. I will attempt to fix them later.

Request: Party Ad Blocks

Was in the previous version, useful for keeping the B/S ads from overwhelming you, while still seeing everything else. Curious if it would be brought back.

Add Friendly Numbers/Gold Commas Back

While nexon added it as a feature, they missed several spots. There's no gold commas in sending mail (confirmation) or searching kiosks (and probably a few other spots I haven't encountered yet).

Request: Add error checking for patch parsing

to get patches currently we just try to convert all json files in the mabi folder to patches

We may want to either

  • use a separate folder for patches
  • or fail gracefully if a .json file isnt a kanan patch

Request: CursorUnHide (Chain skills)

Would love the option to disable cursor hiding when using chain skills.

Found a chinese mod that does it (Creamy) and works for NA, but I'm not sure what it's doing in code. Seems like it may have a few other nice things in it as well, testing settings now.

koorimio.dll @ https://www.koorimio.com/

Request: Implement/Expose TTF Font Size

83 46 10 FC C7 86 A4 00 00 00 ?? 00 00 00

The wildcard byte in that signature controls the font size for non-bitmap font rendering (11 or 0xA by default). A mod should be added exposing that value and letting users change it (in decimal). This would allow users to use fonts that expect to be printed at specific other sizes, for example pixel-style fonts that otherwise look bad in Mabi.

Request: Extra Equipment Slot lag

Although it is only in Jap, lag occurs when switching equipment with extra equipment slots.
Can KananMods fix the lag?
Also, while talking to the NPC, switching the equipment, no lag will occur. The cause is unknown. . .

TTFFontSize - Display & Input Problems

The "original font size" changes as you change things instead of displaying what was originally there, but the default font size is 11 which is 0xB, I'm just bad at math... so it should just display static 11 for reference instead anyways.

Also the minus button isn't capped at 0 and gets some pretty strange behavior.

https://i.imgur.com/aYw2RBu.gif

Wondering...

New to modding in general, and was wondering if there's any way to save/not have to use the loader constantly and turn on the mods you want, like have a base line settings, Im currently only interested in quality of life mods, like bitmap font, naggle, CP view, and some other small stuff, and wanted to keep only those on, but whenever I turn mabinogi off I gotta redo all the configurations...
Am I missing something?

[Request] Uncap Auto-Production

66 39 86 FC010000     - cmp [esi+000001FC],ax
76 07                 - jna 0225FC1B
66 89 86 FC010000     - mov [esi+000001FC],ax
8B 8E B8010000        - mov ecx,[esi+000001B8]

First line checks if the stack of the materials being moved in is over 20 (ax) or not.
If not it keeps it the same.
If it is above 20 it sets the effective stack size down to 20.
Then line 4 takes the effective stack size (modified or not) as the queue amount.

Changing line 3 to copy over cx instead (or some custom value) will increase the auto-queue, at least for paper cranes and stuff, not sure how it'll work with multi-part items because I don't have enough mats to craft more than 20 guns at once or whatever.

Or you can edit the code in general to be a nicer mod that that, like edit line 4 to just move in 0x3E7 (999) or something.

Plugin system to allow 3rd party maintainership of large or specialist mods

I've been using Kanan for a while and I'd love to start developing some mods for it. However, I've noticed from looking through the source that the current mods are either patches loaded from a JSON file (not very powerful) or are compiled in (not very extensible).

I'm wondering if you would be interested in a system where external mods can be loaded from DLLs rather than needing to be compiled in. This would allow people to develop mods without needing to have them merged into upstream, which could be better for some more specialist or larger mods, as well as reducing the amount of recompilation required during development.

Looking at Mods.cpp, this doesn't seem like it would be a particularly significant change. I would be happy to submit a pull request that adds code to automatically load each DLL in a directory at the end of Mods::loadMods.

Let me know if this is wanted and I'll get hacking! ^_^

Request: Disable Automatic Squad Chat

When joining a squad (for running Girgashiy, managing field bosses, using the free daily warp to Emain or whatever), the game automatically sets your active chat tab to Squad, but in many cases in NA that's not what people want.

The following code signature...
89 BE 58 01 00 00 8B 8C
Leads to this line, which sets your active chat tab ID.
mov [esi+00000158],edi
A bit of custom code should be added that checks if edi is 7, if so then it's trying to go to the squad chat tab and edi should be set to 0 instead to go to the main chat tab (or just not changed at all or whatever).

Note that this mod only affects the primary chat interface. If players want to type in or read squad chat they can still do it from the chat log window (L) even with this mod.

[IDEA] Port some features from this other project

Hello,
I found this github repo which has some interesting features:
https://github.com/willowseo/CherryNogi/blob/master/CherryNogi/CherryNogi.cpp
https://github.com/willowseo/CherryNogi/blob/b18e1636ad6b0ae199daed4c9dd750d8597cc722/CherryNogi/Pattern.h

If anyone's interested into looking if these patterns are still working would be cool since it has some features like:

  • turn off streetlights (StreetLamp)
  • minimap bandit icons, i think it's related to commerce (DisplayRobberyC)
    and some other features

[IDEA] Searchable Global Pet Inventory

Essentially, maintain a local list of items that were last seen in the inventory of pets, with the ability to search by item name, to know which pet to summon.
image
Did a simple sort where items whose ownerID (as long as they had one) didn't match localPlayerID, were separated into Pet Item List, which works fine. Learned the item list is currently cleared/populated every imgui UI refresh too... which is nice to keep it constantly updated, but may throw a monkey wrench into a few things. You'd only need to summon your pets once to populate the list, although I'm not sure how you'd know when to remove items. For persistence, there's also the concern of mixing pets from different accounts/servers. Don't want Mari pets mixed in with Alexina, etc.

I'm not great with modern C++, so not sure what container type is needed or most efficient for this kind of mapping so it's easily searchable. Any tips or thoughts would be nice.

TTF font size 14+ crashes when talking to NPCs.

When talking to NPCs with the font size mod set on 14 or higher, the client crashes. It doesn't happen when it's 13 or lower, and it doesn't happen in other cases (you can even set the size to like 200 and open your character screen fine).

This may have something to do with the game trying to word wrap the text or something, can anybody figure out what's causing it?

Runtime Error

Not sure what's going on, but Injecting succeeds. Near the end of loading Kanan, I get a Runtime Error from MS Viual C++ Runtime Library ever since Mabinogi updated on August 23rd, 2018.

Color Override Not Reloading Properly

The equipment override save works flawlessly for the most part, however sometimes color override loads in random colors despite the hex saying otherwise. It's also inconsistent as far as what color combination you'll end up with, as it depends on what all the selected colors are, and this includes non-color overridden items (observed this from quick testing). Also black is the only color that loads properly and consistently. Now this isn't that big of a deal because you can fix it just by setting the hex again, but I thought I would post this in case you wanted to fix it for the sake of polish.
Thanks (;
Example picture with test colors:
yfzrrxx

Request: Avon Curtain Removal

When doing Theatre Missions, gotta wait for curtains to lower and then raise. Think it was mod_sharker, that actually removed them once in the past.

print screen key

print screen causes the game to crash even with everything in kanan disabled

Character List - Display Race

Right now the character list has an entry for the character's race, but it only displays a predefined string for the race, and only for a small number of known player races. This makes it useless for checking out specific monsters, NPCs, and other entities.

For example I wanted to check the tags on this NPC.

https://i.imgur.com/v5qBR1t.png

But I don't know what race he is to look up that specific model to check the tags out.

[IDEA] Skip annoying messages on login

Hello,
would be really helpful to hide the annoying messages that popup on login:

  • "Is your Cumulative Level under 1000?"
  • Traveler's guide GUI that automatically opens

Maybe we could find these two boxes struct in memory and trigger the click event of close buttons (like we did with the autologin feature).

Request: Music Performance Info

image

The Tin/TinTimer mod has this feature, do we know the address where music stuff pops up? Would this be easy to incorporate into kanan as an overlay or something? Not sure why they do it through local chat...

.Json files not downloading

i installed Kanan using tiara and had more files than downloading the 6th release here on Github,

I get the following error when i try to download:
kanan error

Even when i download from Chrome i get some failure when downloading.
Btw, i tried to get the patches.Json and paste it in the appdata folder but the game wont open.

Pressing enter logs into first character made on account.

I'm not the best at describing things so apologies if it makes no sense.

I've only recently started using Kanan c++ after using the older one for so long, but when trying to log into a character it'll log me into the very first character that I made on the account. This only happens when I press the enter key in stead of clicking the "start" even when the bar on the right side is highlighted onto the character I want to play on.

I've had the same problems using the previous Kanan before on my laptop, but it never happened on my desktop until I started using this one, so I'm not sure which feature might be causing this.

Request: "Fake" Devcat

I appologize in advance about the lack of formality or prior knowlege but lack any knowlege in code whatsoever. Okay! now that that's out of the way I'll get on with my request, I would like the return of the fake devcat title mod. I found it a huge help to have the hp of mobs available because it lets me plan my moves in advance to a certain extent. It's the main reason i choose to use your mod package. It would also be nice to bring some of the broken mods back. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.