deguix
Community-
Content Count
63 -
Joined
-
Last visited
-
Days Won
21
-
(sry I don't speak spanish) Error happens because line.find(":") is trying to access "line", which is empty when the file is empty, because there are 0 lines in the file. You can try this: while(getline(inAccounts, line)) { codethatuseslinecontent(&line); } "While" will work until getline doesn't return anything (when there are no lines left).
-
Oh, did you compile your textureinfo.txt with these files? Compiling with other server/client files doesn't work. Don't know about bugs, haven't used the files yet.
-
Is there a git repository for this somewhere? Another thing, was this forked from a certain top-recode commit? Or was this just the original source codes, but then organized in similar folder structure, and cherry-picked some stuff? (Not judging anything, just wondering if there is a way to git patch this to that)
-
Hmmm. That code only adds the effect, but the skill itself is still not activated. Did you try mkhzaleh's solution though?
-
I renewed the link to the file. For some reason google prevented downloading from the old link.
-
Might as well fix that, now that you mentioned it and it takes a couple of seconds to find and fix.
-
I put up a git repository for those with issues getting the Corsairs Online source codes running. Feel free to fork it if you wish to make more of your own fixes. I applied all the fixes from the following topics except for the bank pin because I think that is annoying: But those are not all the fixes needed, as mentioned in the following comment: Besides that I made a couple of folder adjusted, added some sql scripts, and little bits here and there to make it easier to work with. I'm not going to fix the bugs mentioned - I just did this to make porting to top-recode easier. The repository is located there: https://gitlab.com/deguix/corsairs-online-public. Instructions on how to use it are there as well. If you have any issues on how to use i and on how to fork it and fix it yourself, you can also comment here: https://discord.gg/uu9TDUGq2v. I might be able to help you. Just don't expect me to fix anything.
-
That change doesn't work because you would have to change the source code of gameserver and client. Luckily, if you know how to compile the c++ source code, you can simply change ROLE_MAXNUM_FUNCITEM define in RoleCommon.h in Common project source, and rebuild both gameserver and client, and it should work (besides the edit to the lua server script as what you're already doing).
-
Hmm... I wonder how all the people before me knew about this, even though these files don't come with a GateServer.cfg and it's not a standard GateServer feature. Anyways, I'm gonna try that later when I get home. EDIT: Thank you. Actually there was more to that. To make it work, more lines need to be added. After everything, the following lines need to be added to GateServer.cfg's [ToClient] section (careful, those key names are case sensitive - also check if WpeVersion is different - check ruubi's post): WpeProtection = 1 WpeVersion = 0x8D1C DDoSProtection = 1
-
I keep getting "Wrong game version" with these files, even though I put Version=136 in GateServer.cfg's "[Main]" and client sources have that as 136. Any idea on how to fix that?
-
emilianof21 started following deguix
-
You might want to restart the computer first. It won't work without a computer restart. If using Windows 10 and using the beta convert legacy apps to use utf-8, disable that - that only works with SQL 2019 and the SQL service will fail to run no matter what.
-
serverCreation I am new to this forum and hoping to get help
deguix replied to VJOSEPHD's topic in Questions & Help
yes -
serverCreation I am new to this forum and hoping to get help
deguix replied to VJOSEPHD's topic in Questions & Help
Use MSSQL 2019 when it comes out - which for obvious reasons should get released in the next 3 months. Right now it's in Preview, so don't download it yet (it will expire)! Download 2017 Express Core and then download "Server Management Studio" as well (to set up accounts/attack db). -
yes, the 2.x one.
-
At first the project revolved around trying to get some "better" lua code going, but ended up being at attempts at winging the 2.x C++ source code to work successfully, ofc with the great help from @Snre3nfrom the C++ side of things. The instructions on how to build and more info on it are in https://gitlab.com/deguix/top-recode. Sry for not making a thread earlier, I'm not really good at publishing stuff, and also a bit afraid of going all out on it too because of my limited time that I can dedicate to it. Also have a discord: https://discord.gg/uwcR74E. It's a bit of a mess, but I guess you can bug me there too if you like. Just don't bug me too much, as in, please have some previous experience in development. I definitely want to hear about the success of compiling it, because that's something most people struggle with with any C++ project on Windows. Anyways, most of the notifications I get are from people not being able to compile it. Just run build.bat as admin please and tell me the errors that pop up. Oh yes, this project built by default will only work on Windows 10 and above. You can install the Windows 7 SDK and retarget all projects to use that, not sure if errors will pop up though. I won't support it. I use currently MSQL 2017. Once MSQL 2019 gets released, use it, and you can have free UTF-8 support. On Windows 10, there's a feature to force all older apps to use UTF-8. Remember, it only works with MSQL 2019! Older MSQL won't run!