I'm just going to post my build log, because it looks like there's more to it than just MySQL issues and I'm not sure where to go from here. I'm not used to compiling things on Linux since I'm a Windows dev.
View attachment build.txt
Some tips on building a standalone client:
- Switch to x86_64 when building, as enet is not provided as an x86 DLL, only x86_64.
- You will most likely have a plugin DLL collision with ICSharpCode.SharpZipLib.dll, rename or remove the one in Assets\Editor\npoi-dotnet2.
General client notes and stuff I've found so far:
- There are controls already defined for the basics like movement and combat, very similar to the default keyboard layout of the PC client if you've played it before.
- You can easily disable the FPS counter and profiler info by unchecking "Show FPS" on the GameFrameWorkSystem GameObject and commenting out line 1344 in Assets\Scripts\05ClientSystem\Systems\ClientSystemManager.cs.
- See previous posts on how to get past version mismatch issues if you run into them (I didn't). Since I can't currently compile my own server, I'm using the one provided in the VM, and it works just fine, albeit there's some obvious mismatching of icons/labels in rewards and such, but nothing game-breaking that I've run into thus far.
- The reason you can only enter numbers in the account name field is because you aren't actually creating an account or logging in by a name string, but rather by a numerical account ID which is used in SQL as accid (see the t_account table, for example). I'm not entirely sure how to change this yet for the editor/standalone builds, but it's worth looking into, as with this login method, there is no password verification. It's obviously just meant for testing.
- If you want the game to be nice and smooth and run at 60 FPS, change the targetFrameRate on line 288 of Assets\Scripts\05ClientSystem\GameFrameWork.cs.
- Another little tip is that if you click on an item in your inventory while holding control, it will copy it's ID to the clipboard. This can be useful for GM commands and such.
- If you want on-the-fly translations for your langauge, inject
You must be registered to see links
into your build and configure it, it's an extremely useful tool.
- For max VIP and a monthly card, use the GM commands !!addvipexp num=50000 and !!monthcard.
- If you want to refresh dungeon instances to redo them again, use !!reset. I'm not sure if this applies to the higher tier Abyss instances or not as I didn't check them while messing with the commands, but it does apply to the daily ones at least.
- Haven't fully tested these yet, but if you want to bypass a bunch of story-related quests and tasks, you can use !!FinishChapter1 to !!FinishChapter5.