[Release] flywc (Window Manager)

04/24/2018 22:16 mcoocr#1
Greetings Flyffers,

ever got bothered by hundreds of opened Flyff instances which block your entire taskbar..? got a solution for you fellows!

Took me a few days to code the flywc tool - this "beauty" hunts down every Flyff window and organizes it into a single, slick window.

[Only registered and activated users can see links. Click Here To Register...]


Once added, you can switch between those Flyff instances within a smooth Tab-Selection, where, of course, every tab can also be renamed by double-clicking to keep things clean. New instances can be added and deleted on the fly (by menu or middle-mouseclick).

Furthermore there are options to change the target-process name of the Flyff instances which is searched for (default process is Neuz.exe), and to automatically add all found instances on startup of the tool.

Note that fullscreen instances of Flyff may not be added (didn't tried that tho), and also that all instances which are not selected are minimized to save CPU time. Every added instance gets restored to its initial window-state on program exit.


@ props at this point to Demon who came up with the idea for an flyff "window manager" on another forum (and which i totally copied this idea from..)


If the tool refuses to run, you may check if recent C++ Runtimes are installed.

Source included, created with Visual Studio 2017 Community Edition (not buildable on x64)

VT: [Only registered and activated users can see links. Click Here To Register...]

Have Fun ~ mcoocr
04/25/2018 00:44 netHoxInc#2
Thanks for the Source. Will become handy ;)
04/25/2018 09:43 YautaFlyff#3
Does it work for offi flyff ?
04/25/2018 12:24 mcoocr#4
Quote:
Originally Posted by YautaFlyff View Post
Does it work for offi flyff ?
I didn‘t tried it but it should, as long as you dont run it in fullscreen mode.
04/25/2018 19:35 _Amigo#5
hey nice work could you add like a windowed fullscreen mode? where you can see your hotbar ingame? now its pushed down when i play in 1920 *1080 (windowed)
04/25/2018 23:38 mcoocr#6
Quote:
Originally Posted by _Amigo View Post
hey nice work could you add like a windowed fullscreen mode? where you can see your hotbar ingame? now its pushed down when i play in 1920 *1080 (windowed)
Seems like making the tabs-bar dropping down from top when hovering over it with the mouse (if it runs in full-resolution) is the smartest way to solve this.

Maybe if i’m getting bored i‘ll take a check on that, tho i don‘t promise anything. 🙂
04/26/2018 00:12 cookie69#7
@[Only registered and activated users can see links. Click Here To Register...] you deserve a thank because what you did is just great and useful for many users, bot makers,...
By the way, you could make this work for the official flyff too if you change your EnumWindowsProc routine.
Dont search for visible windows using the Process ID, just use a window title (for example windows that have a title like "%Flyff%", or a class "D3D Window", class = "saida" for Official,..).

I didn't look at your source in detail but if I am not wrong, you don't really need the process id, just the Hwnd.

Or you could bypass OpenProcess() by loading your own NTDLL, thats how we do to read/write Neuz memory when noob GG is loading
04/26/2018 00:18 AnimuNazi#8
handy tool
04/26/2018 02:57 Avalion#9
Quote:
Originally Posted by mcoocr View Post
Greetings Flyffers,
are minimized to save CPU time. Every added instance gets restored to its initial window-state on program exit.
Kinda curious on how flyff manages with the changes of the window size if you're resizing it to a specific size for the application (haven't checked how this handles things), because normally there is some dx9 shit you would have to go through to make a client be able to resize properly without failing.

Also, maybe you should add an option to set a client to a "minimize" state, as most servers rarely handle minimize correctly -- either they stop the entire network process or just continue to render the client regardless. Kinda surprised it's not already included, but thanks for the source.

Quote:
Originally Posted by mcoocr View Post
@ props at this point to Demon who came up with the idea for an flyff "window manager" on another forum (and which i totally copied this idea from..)
I am also surprised you never released that there. Quite shocking actually. I am not one to get mad at taking ideas; heck, I replicate everyone's crap anyway. But, taking it from another forum to not post it there is a "what"? But that is kinda off topic.

Demon came with a good idea, so yes, props to him. I do believe there are other ways you can go about this though to make it more stylish, and more effective rather than bland -- but then again, if anyone is interested in doing that, thanks for the source.
04/26/2018 06:38 mcoocr#10
Quote:
Originally Posted by Avalion View Post
Kinda curious on how flyff manages with the changes of the window size if you're resizing it to a specific size for the application (haven't checked how this handles things), because normally there is some dx9 shit you would have to go through to make a client be able to resize properly without failing.
When i coded this i didn‘t thought about that, the goal was to achive functionality for private servers... you got a point there, official Flyff doesn‘t even have a minimize function if i remember right.

But it actually doesn‘t resizes the Neuz, it resizes the flywc window around it.

OT: The reason why i have not released it there is simple, their forum admin locked everyone out of Release section who has not reached a specific post count (which i have not)... normally i would have released it there too / first. Feel free to put it there.

Some quicky updates:

- added 2 options for Neuz detection: by window title and by window class (thx @[Only registered and activated users can see links. Click Here To Register...] for advice, choose one of those to make flywc compatible with offi server)
- added option to enable / disable minimize functionality
- removed case sensitive checks for any detection method (for the sake of simplicity)
- borderless fullscreen windows can't be added anymore (since they are cut off, sorry @[Only registered and activated users can see links. Click Here To Register...] didn't had enough time to implement an hoverbar)
- safer file read / write for configuration
- removed todo's (oh boi..)

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

Source and executables updated.

Have fun ~mcoocr
06/03/2019 21:37 siero96#11
Quote:
Originally Posted by mcoocr View Post
When i coded this i didn‘t thought about that, the goal was to achive functionality for private servers... you got a point there, official Flyff doesn‘t even have a minimize function if i remember right.

But it actually doesn‘t resizes the Neuz, it resizes the flywc window around it.

OT: The reason why i have not released it there is simple, their forum admin locked everyone out of Release section who has not reached a specific post count (which i have not)... normally i would have released it there too / first. Feel free to put it there.

Some quicky updates:

- added 2 options for Neuz detection: by window title and by window class (thx @[Only registered and activated users can see links. Click Here To Register...] for advice, choose one of those to make flywc compatible with offi server)
- added option to enable / disable minimize functionality
- removed case sensitive checks for any detection method (for the sake of simplicity)
- borderless fullscreen windows can't be added anymore (since they are cut off, sorry @[Only registered and activated users can see links. Click Here To Register...] didn't had enough time to implement an hoverbar)
- safer file read / write for configuration
- removed todo's (oh boi..)

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

Source and executables updated.

Have fun ~mcoocr




If im minimalize my offi screens ( save cpu option ) and want to get them back both windows got freezed or just white screen, other tools stop working and need to reopen clients.
06/04/2019 01:59 battosaifr#12
Nice, useful tool :kreygasm:
Thanks for the release.
06/05/2019 06:21 Amatz°#13
how to fix this
server: Dragon Crusade
[Only registered and activated users can see links. Click Here To Register...]

thank you in advance
06/07/2019 20:03 Lord Enki#14
Actually, I'm surprised that nobody came up with this before.
Great work!