Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/09/17 in all areas

  1. Problem Please open the link and read https://github.com/rathena/rathena/pull/2089 tl;tr VS2008, VS2010 solutions no more available after upgrade above. I'm not against these changes, but they create some problems that are described in comments in the link above and in the images below. My little "cry story", which affects many users, and main ideas has been explained there: https://github.com/rathena/rathena/pull/2089 Solution 1.91GB data instead of 9.1GB data to download / store on HDD just for doing the same task (compiling) is not it good? Something like this looks this tool, and on the screenshot above you see that login, char, map server and others projects inside solution has been successfully built. What is it? This is Visual Studio C++ Build Tools. Detailed information what is it you can read here: https://msdn.microsoft.com/en-us/library/dd293626.aspx This is just a set of console apps as the compiler, linker, etc. Without heavy Visual Studio IDE which does its job pretty well. You can save up to 4-5x times internet bandwidth and space at disk. For whom is this? I think this guide will be useful for all who has only one goal - compile rAthena source code on Windows and run it. For people who wish to save some data, and internet bandwidth. Who don't develop new features for rAthena, because IDE much better for this purposes. Pros of VS 2017 C++ Build Tools: lightweight, you need to download and install just ~1.9GB of data, instead of installing whole very heavy Visual Studio IDE (~8-15GB depends on VS) very fast, resource lite, because don't need to run IDE, this is a command line tool not need to modify any part of a project, you can compile whole .sln (solution) of rAthena without any modification via a single command or running compile.bat (see below) Do the same things what do "Build Menu" in VS 2017 (build, rebuild, clean solution, break, etc) Ideal tool for people with limited internet, and SSD drives which use rAthena for compilation / recompilation only (src -> .exes) will print errors, warnings while compilation too, like Visual Studio 2017 IDE, so you will not miss any problems Cons of VS 2017 C++ Build Tools: if you are not a developer of rathena source code, and don't use Visual Studio 2017 full features (https://docs.microsoft.com/en-us/visualstudio/ide/whats-new-in-visual-studio) you will not find any negative sides of this. Guide how to compile rAthena on Windows How to compile rAthena without Visual Studio IDE but by Visual Studio C++ Building Tools? It's very easy, let me follow you though mini-guide which will require few actions from you. 1. Go Here: https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017/ download Building Tools for Visual Studio 2017, then run it 2. Go to Individual Components and select next checkboxes: Static analysis Tools VC++ 2017 v141 toolset (x86,x64) Windows Universal CRT SDK Visual C++ Build Tools core features Windows 8.1 SDK Windows Universal C Runtime This is minimal package of things what need to install to make compilation works, either you will have tons of errors when will try to compile a code. This minimal package has been tested and verified on Win10x64 and works great. Nothing extra, only most important components. 3. Let's try to compile your server (rAthena source code (rAthena.sln)) Mini-theory what you need to know. You will build whole solution (rAthena.sln) via MSBuild via command line by entering next format As I remember MSBuild not added to "path", so just calling from command line "MSBuild" command not enough, for that need or create .bat file, or call it manually via terminal (console) If you don't want to read details below, you can stop here, and download "compile.bat", then copy the file to your rAthena folder and run it. After this you will see console window inside what you will be able to see compilation output. Then when process will be finished, you will get compiled rAthena exe's in rAthena emulator folder from where you have been ran "compile.bat" file. Or here is raw code from compile.bat you can copy-paste it to text editor then save your file as 'compile bat' and copy the file to your rAthena folder @Echo OFF Echo "Building solution/project file using batch file" SET PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin SET SolutionPath=%~dp0\rAthena.sln Echo Start Time - %Time% MSbuild.exe %SolutionPath% /p:PlatformToolset=v141 /m Echo End Time - %Time% Set /p Wait=Build Process Completed... If you don't want to use .bat file, you can always launch compilation via next combination of actions Click "Run Start (Windows button)" - find in Start Menu - Developer Command Prompt for VS 2017, and then run it. Inside opened console app, enter next command: MSBUILD C:\user\admin\desktop\rathena\rAthena.sln /p:PlatformToolset=v141 /m Where path you must set by yourself (where is located your rAthena.sln) About /p:PlatformToolset=v141. By default rAthena solution file developed for VS2013, and VS2013 uses v120 toolset. This toolset available only with Visual Studio 2013, and this toolset impossible to install for this VS Building Tools. So, we have installed v141 toolset and we will use it. And we don't need to edit any config files to update our solution (like in rAthena guide what you can read at topic about rAthena solution upgrade). So, don't remove this parameter, and always have it as an argument, either you will not be able to compile solution and will see million of errors. About /m - this is the optional parameter, you can not use it if don't wish (/m parameter makes compilation much faster). When you will enter it, MSBuild will compile source code in console and will print you about any warnings / errors during compilation (like you see in Visual Studio IDE). When it will finish, you will see results, something like this Useful commands And Links Build / Re-build Project: MSBuild <path_to_rAthena.sln> /p:PlatformToolset=v141 or if you wish to build faster try add /m flag too MSBuild <path_to_rAthena.sln> /p:PlatformToolset=v141 /m Clean Solution: MSBuild <path_to_rAthena.sln> /t:Clean Information about MSBuild: https://msdn.microsoft.com/en-us/library/dd293626.aspx/ That's all, hope it's enough, and I have helped someone.
    1 point
  2. View File Ergo Patcher Ergo Patcher Guide Setup the Patcher Extract the patcher. Open the Config File (/ErgoPatcher/System/Config/PatcherConfig.XML) with Notepad++ or any other text Editor. Edit the Black parts. (Value Settings) Required are: <HTTPLink_Patcher_List> - The PatchList.XML file should be directly reachable. (On your website/server). It requires the complete patch to this file. "http:" is also required. <HTTPLink_Patches_Directory> - The remote folder where your patches will be downloadable. <RagnarokEXEName> Is required for the "Start" Button. Your client belongs into the /RO/ Folder. <MetroColor> The Patcher uses MahAppsMetro for thr window design. Possible colors without any further changes in this application are: “Red”, “Green”, “Blue”, “Purple”, “Orange”, “Lime”, “Emerald”, “Teal”, “Cyan”, “Cobalt”, “Indigo”, “Violet”, “Pink”, “Magenta”, “Crimson”, “Amber”, “Yellow”, “Brown”, “Olive”, “Steel”, “Mauve”, “Taupe”, “Sienna”. A tip: Keep the standard config around. So that you know where a number, a string or an bool (true/false) is requested. The rest is self explaining I guess. If there is a problem setting up the patcher feel free to ask. (PM me or ask for me in discord) Here is a Video for Starters: ErgoPatcher_Starter_Guide.mp4 Currently Working on: Crypted-Config: [IIIIIIIIII] ~ 0% Done. Hash-Checking Files: [IIIIIIIIII] ~ 0% Done. Submitter Vincentore Submitted 07/03/2017 Category Patchers Content Author  
    1 point
  3. Hello everyone, this is a continuation for my Server-side guide, however, this time, this is a client-side guide instead. No virus can be located at any link located in download spoiler section. So first, before we begin, I would like to tell you that I will not be accompanying you while making a client. Again, this guide is quite long and I expect you to read and absorb it properly. I would be very disappointed and will IGNORE if you have an error that is stated just below. Anyway, moderators, or etc. may change/edit it freely and any suggestions/reports/etc. are highly suggested or required. Again, I will have an example of my own, thus you do not need to follow it. If you find this helpful, see my signature (Not the PayPal, instead the reputation etc. and please don't make a bad thought about it, it's just for some reasons for the others to know that it is working.) Anyhow, this guide WILL WORK at any CLIENT and is not a one-sided client guide only. What to download: Old rev : New rev: I. Letting your Client listen to the server and to the client itself. How to run your server: FAQ: Now you're done. Again, if you have any questions regarding this, please kindly do so, or if you have any suggestions or request to change kindly do so. Again, I really recommend if you follow my server-guide which is stated above. Anyway, good luck on making your server. I hope you'll be able to help the Ragnarok Community. Long live Ragnarok! Best Regards, Freya Edited 22/08/2018: Slashed out one website ; Placed more details.
    1 point
  4. I think it is pocket obsession, try disabling it in core.h and recompile
    1 point
  5. Suggestion Adding rss news feed and online player count make this patcher complete And Instead of login,map,char servers status just servers status makes it look better +1
    1 point
  6. You can login and can use reinstall option from admin menu, In your case you already removed your database so i assume u must not be able to login ur fkuxcp To solve this goto your servers.php and change your server name (add extra spaces or letters) and save That makes fluxcp to take you to installation page Or try like this Yourserver.com/?module=install&action=reinstall Yurserver.com/?module=install&action=install
    1 point
  7. rathena is keep getting updated, even an one month old guide is not 100% updated to latest version of rathena check this links
    1 point
  8. take a look at this guide once
    1 point
  9. Untested getpartymember getcharid(1),1; getpartymember getcharid(1),2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) if (isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) == 0) continue; .@class = readparam( Class, $@partymembercid[.@i] ); if (compare( .@job_list$, "|" + .@class + "|" ) == 1) { mes "Sorry, only one " + jobname(.@class) + " is allowed."; close; } .@job_list$ += "|" + .@class + "|"; } EDIT : should still work
    1 point
  10. npctalk script command was updated when we released lasagna script. https://github.com/rathena/rathena/commit/a5afb069796cc8117a00822617061332ecd2cf8c Did you update your emulator? No you didn't. How to solve the issue? Update your emulator. Will I help you to update it? No I won't. There is lot of topic about it.
    1 point
  11. Joshua reunites with an old friend, but wait, something's different about him... https://tapas.io/episode/753401
    1 point
  12. Please try this. function script F_RandomRate { .@r = rand(100); if( .@r <= 10 ) // 10% Rate setarray .@i,607,15,608,25; else if( .@r <= 40 ) { // 40% Rate setarray .@i,607,10,608,20; } else { dispbottom( "You recieved nothing."); end; } getitem .@i[0],.@i[1]; end; }
    1 point
  13. https://github.com/rathena/rathena/blob/master/src/char/char_clif.c#L307 Change #if false && PACKETVER >= 20151001 to #if PACKETVER >= 20151001
    1 point
  14. Open \src\char\char_clif.c go to line 307 change #if false && PACKETVER >= 20151001 to #if true && PACKETVER >= 20151001
    1 point
×
×
  • Create New...