Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/11/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. Scripting Core Released Script Pending Script Upload: 【SHOWCASE】DotA Style Monster Behavior (Monster Controller) 【SHOWCASE】ARCUS SYSTEM A communication device to provide feature below: Calling npc from distance Mailing System Hook GPS System Hook (Navigation Npc, Player) Magic Support More feature developing... Arcus System Spoiler: (Old)
    1 point
  3. It's that time again! Bringing more news regarding what kRO is currently working on.... and we finally get to see a quick look at first sprites for Soul Reaper and Star Emperor; Soul Linker and Star Gladiator's job changes. Before we get to those awesome looking classes, we'll quickly talk about other things being worked on. Illusion Equipment gets an Update Various abilities of the equipment will be updated; typically the level 4 equipments. You will not be able to enchant level 4 equipment like you can with the level 3 ones. Other enchantments, items, and options will be introduced. Another round of Job Improvements In the previous announcement, there was a first round of job improvements towards Genetics (Homuns) and Shadowchasers. In this round, they will be tackling Arch Bishop, Wanderer & Minstrel. Details have not been finalized yet... but they are pretty much looking at an active battle style as oppose to just being supportive classes. Taekwon Update - Soul Reaper & Star Emperor! In this new update, we have been given more insight into the awesome looking 2 new jobs coming for Star Gladiator and Soul Linker! Here are 2 quick skill informations: Skills Translation (left to right) Star Emperor - Dimensional Standing MAX Level: 5 Space-Only Skill Type: Buff / Special Available in Siege mode and PVP area Description: You will be able to use the space more effectively for a certain amount of time by borrowing another dimension. If you use sacred explosions or sacrifice during the duration, you will have the following effects: Divine Blast: Divine Blast skill Kultime and skill use penalty is lost [Level 1] - Duration 60 Seconds, Cool down 150 seconds. [Level 2] Duration 60 Seconds, Cool down 120 seconds. [Level 3] Duration 60 Seconds, Cool down 90 seconds. [Level 4] Duration 60 Seconds, Cool down 60 seconds. [Level 5] Duration 60 Seconds, Cool down 30 seconds. Soul Reaper - Esfu Required Skill: Espa (3) MAX Level: 7 Type: Active Skill Consumes Soul Energy Description: Enchant damage around the target. Increases the damage according to your base level. Enables you to use the ___(can't figure out what skill it says)___ for 5 seconds. This skill has no affect on players. [Level 1] Damage Damage 1300%: 3×3 [Level 2] Magical Damage 1500% / Range 3 × 3 [Level 3] Magical Damage 1700% / Range: 3x3 [Level 4] Magic Damage 1900% / Range 5x5 [Level 5] Magic Damage 2100% Range: 5 x 5 [Level 6] Magic Damage 2300% / Range 5x5 [Level 7] Magic Damage 2500% Range: 7x7 Star Emperor & its Skill Tree Rough Translation of Skills (max level) & their Names: Soul Reaper & its Skill Tree Rough Translation of Skills (max level) & their Names: Credit : https://www.midgard-community.com/information/winter-update-soul-reaper-and-star-emperor-r24/?tab=comments#comment-466
    1 point
  4. Yes it's working in latest Use at wi or at weaponinfo Invisible no location
    1 point
  5. I have made some fixes and tweaks to it on my own version to make it work better. I'll share it here when I have some time, if your want to use it (I didn't care about looks, so it's a mess, but the idea is the important) A quick list of what I modified: Dialogs and windows "magneted" to the side of the screen will follow/stay on the edge even after screen resize A small button for the chat window to disable battle mode (on smartphones it was impossible once the keyboard closed) Reworked the battlemode and made it work on all 4 skill bars (There was a basic design flaw in the implementation. It couldn't handle multiple events attached to the same base letter, eg: E and CTRL + E) Inverted touch zoom (it was inverted) Increased zoom distance and modified the intersection search to make it work properly Adjusted the default camera height to match official (45° -> 50°) Unicode chat fixed. The text was not appearing when unicode character was sent in the sentence (I added my own langtype with the proper encoding. Todo: default wrong characters to "ballot box" ☐ to prevent losing all the sentence) Known issues by me (the first is due to the BM modifications) Writing in NPC dialogs activates the sills through battle mode (need to block it) During NPC dialog the player can move Animation delay based skills such as sonic blow, cross impact have absolutely no delay and can be infinitely chained even multiple at once Object/sprite rendering on android/ios browsers is distorted, the object flash back and forth though the terrain (wrong depth, possibly rounding/decimal error due to different browser engine implementations) Using fakename and typing in the chat will disconnect the player, because the chatacter sends the message packet with the fakename and the server disconnects the client for security Getting multiple items at the same time with script will display the name of the last item, but the image of the first item.
    1 point
  6. Hi has anyone ever encountered this problem? [Error]: WFIFOSET: Maximum write buffer size for client connection 8 exceeded, most likely caused by packet 0x008e (len=68, ip=xxxxxxxxxxxxxxx). [Error]: WFIFOSET: Maximum write buffer size for client connection 8 exceeded, most likely caused by packet 0x008e (len=57, ip=xxxxxxxxxxxxxxx). IP addresses intentionally deprecated from post. //edit solved. fixed "addtimer" in one of my scripts.
    1 point
×
×
  • Create New...