-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this v75 source fully functional? #31
Comments
You know that we haven't touched this in 4 years, right? |
Hey!! Wow I wasn't expecting a reply lol yea definitely aware, but recently got into C++ development and figured this would be a great project to have under my belt. I wasn't aware that Lazurbeemz was the library pack dammit!! I was using Asio/Botan/Lua libraries. Also, I found that the chat_handler seems to be how to change commands, but wanted to get a better idea of how this works. It looks like you guys use packets to do this, by first creating the packet instance, then sending the packet. Do you have any documentation that could help? My goal is to read your source and become more familiar with it, but first want to ensure I get the game up and running. I tried Xanadu (v83 C++) and it kind of sucked - lots of issues. Thanks again for replying so quick |
The Lazurbeemz Library Pack should work without modifications or building, as far as I know, because for C++ its just header files and libs, and that should get you the executable. About chat_handler, this is the part that does most magic: Vana/src/channel_server/chat_handler.cpp Lines 65 to 66 in 19116c0
It searches for the command in the registered commands, and if its not the end of the map, it is found (this is how C++ maps, lists are iterated). Vana/src/channel_server/chat_handler_functions.cpp Lines 281 to 284 in 19116c0
This is an example of how a command is added to the global command list, used in the previous snippet. The handler of the provided snippet is here:
Note that this is C++1x (IIRC) and that the C++ people have thought of new ways to write function definitions and I'm not really fond of this format... |
Thanks I'm at the following step: I'm in the botan folder, where configure.py lives (via cmd), and tried nmake but get the error stating that a makefile does not exist. I checked the botan 1.10.6 folder, and there indeed is none there. Followed the steps, but it appears there isn't a makefile to use for nmake. Thoughts? I suspect its because the configure.py file did not run properly; although, I did run 2to3 ON the configure.py file, using
while in the botan directory |
RESOLVED. Issue was due to invalid python installation. |
OK. So I'm at the final steps. Here's what the script compilation log looks like:
Line 4 is just the inclusion of the EnvVarUpdate.nsh, which I have thrown into the include folder of NSIS. Not sure whats going on here.. |
Found the answer lmao Incapatability issue with the one !define un.${StrFuncName} was working. Working on compiling vana, but first got to update the directory pathsJeez... way too many errors.. |
I'm so glad I'm using Rust for my own projects nowadays and not C++, so I don't have to deal with this dependency building hell. |
Hey! Just wanted to say thank you, and I appreciate you and your team for the effort you guys have put into this. NO EASY TASK!!!! Are you guys currently using C++ at all in your professional lives? I'm attending a engineering retreat, and all I'm seeing is Python, JS, and a little rust. Also, currently re-doing this to get it up and running lol MUST add to portfolioioo |
WAHHH after allll of this, all 4 debug builds failed:
SOS~!@!@# |
I have used C for embedded, but I am not touching C++ lol. Mainly Golang tbhOp 20 aug. 2020 03:30 schreef Zain <notifications@github.com>:
I'm so glad I'm using Rust for my own projects nowadays and not C++, so I don't have to deal with this dependency building hell.
Hey! Just wanted to say thank you, and I appreciate you and your team for the effort you guys have put into this. NO EASY TASK!!!!
Are you guys currently using C++ at all in your professional lives? I'm attending a engineering retreat, and all I'm seeing is Python, JS, and a little rust.
Also, currently re-doing this to get it up and running lol MUST add to portfolioioo
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
|
ALRIGHT. Was finally able to get the build to complete successfully on all 4 projects. After running loginserver without debugging, I get "Wrong version of database, please run loginserver to update" This is what my database.lua file looks like:
I thought maybe I could change my host name to vana (naive), and got "Vana database is currently inaccessible", so I doubt that was it. Checked to ensure the mysql login information/host/port are correct. Hm |
The database version its complaining about is MCDB. You need to have the v.75 MCDB: https://mega.nz/#!G98mBJyT!D4isK2Rd2Dmzc2qQOC3dUkqZMie36DGhx3Hiqrzn6Dk (from https://github.com/VanaDev/MCDB-Releases ) |
Oh and yes you need to start the loginserver first to update I guess |
? |
I installed mariadb , loaded the sql file into a database connection called
maplestory, edited that in constants, along with the proper password, and
still giving me the same issue
…On Wed, Aug 26, 2020 at 10:59 AM Erwin Oegema ***@***.***> wrote:
?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#31 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4ZKOYWD77MSKWBMTJMP7TSCUPLJANCNFSM4QEJOCLQ>
.
|
Downloaded. Obtained proper C++ libraries. Updated project settings. Tried compiling, and says "assert identifier not found".
Also, kept saying certain header files could not be opened, despite them being in the additional libraries. Had to add the path for a bunch of them.
The text was updated successfully, but these errors were encountered: