Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/08/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. Version 1.0.0

    46 downloads

    This is a high quality map consisting on 3 Payon style islands, intended to be a start point or a quest map. Features: High quality lighting. Effects, like the waterfall or the campfire. Full of ambient sounds. Minimap included Made as close as possible to an official map I hope you like it! Please, encrypt your GRF file when using my maps on your server to avoid people from stealing them. By buying this map, you agree to these terms: You are not allowed to redistribute this map in any way, shape, or form. Chargeback scams are not tolerated and will get you punished on rAthena. I (Daegaladh) still retain all rights to this map. Terms above may be changed or adjusted without prior notification. © Daegaladh 2017
    6.00 USD
    1 point
  3. < Stolao's Pvp Ladder> Features: A Dynamic Pvp Ladder Todo: Suggestions? Optimize? Changelog: 3.00 Overhaul 3.01 Fixed missing "No" for "No Ygg" 3.02 Added Show Map Name Option 3.03 Added Max Players Option 3.04 Optimized and fixed SQL queries [Secret] 3.05 Replaced some queries with addrid(0) 3.06 Updated Rewards to RODEX compatable 3.07 Fixed all rom referancing room [0] player limit 3.08 Made Made .MaxPlayers = 0, mean unlimited 3.09 Removed use of getd 3.0A Cleaned up some code 3.0B Moved Menu Generation to fix Map Count not showing 3.0C Actually Added RoDex Support now 3.0D Fixed Map Menu Generation 3.0E Fixed sql query 3.0F Cleaned Code a bit 3.10 Did more Cleaned Code a bit 3.11 Fixed a logic bug in GM reset 3.12 Added Waiting Room 3.13 Added Dynamic Waiting Room 3.14 Moved and added more At_Commands 3.15 Dynamic Waiting Room (&4096) require Waiting Room (&2048) to work 3.16 Increased Waiting Room Rotation Time 3.17 Fixed Typos in Reset PVP Stats 3.18 Removed unnessisary next, creating hang screens 3.19 Made compatable with new mail command 3.1A Reformatted Rewards in conf to support 5 items Links: Latest Pvp Ladder
    1 point
  4. View File Start / Quest Payon map This is a high quality map consisting on 3 Payon style islands, intended to be a start point or a quest map. Features: High quality lighting. Effects, like the waterfall or the campfire. Full of ambient sounds. Minimap included Made as close as possible to an official map I hope you like it! Please, encrypt your GRF file when using my maps on your server to avoid people from stealing them. By buying this map, you agree to these terms: You are not allowed to redistribute this map in any way, shape, or form. Chargeback scams are not tolerated and will get you punished on rAthena. I (Daegaladh) still retain all rights to this map. Terms above may be changed or adjusted without prior notification. © Daegaladh 2017 Submitter Daegaladh Submitted 06/04/2017 Category Maps & 3D Resources Video https://www.youtube.com/watch?v=Cuxjg3_StAA Content Author Daegaladh  
    1 point
  5. Check this @Expl0iter @iubantot
    1 point
  6. I'd go with if (checkoption(0x2|0x4|0x4000|0x40)) { mes "Please unhide yourself."; close; } Where 0x2 = OPTION_HIDE 0x4 = OPTION_CLOAK 0x40 = OPTION_INVISIBLE (GM hide and feint bomb) 0x4000 = OPTION_CHASEWALK
    1 point
  7. prontera.gat, 156, 180, 5 script Detective 100,{ if( getstatus(SC_HIDING) ) { mes "Please unhide your self."; close; } else { mes "How may i help you?"; close; } }
    1 point
  8. If you use OnMinute00 = Starts EveryHour / OnMinute30 = Starts every 30 minutes of an hour (1:30, 2:30, and so on) You can use OnClock1300 = 1PM or OnHour 23 :))
    1 point
  9. Glad I could help. Please dont forget to mark best answer, and if you feel like I deserve some Reputation, theres always that green arrow next to the heart, on the best answer Good luck and keep on keeping on
    1 point
  10. Lmao Emistry, there goes your attitude/personality/whatever you call it. Stop contradicting yourself though, do better Global Moderator! You got that title for a reason. Why are you putting these in a spoiler? You're the one jumping to conclusions again, and I don't really care so long as it doesn't affect your judgement. But seriously, what are you talking about? It's like you went mental. Earlier you claim one thing and now you're denying it. You're the one who said that you're going through each of the pages of the topic, why ask me? You seem to assume that I've never done it before. Great, all we need is another person who keeps on jumping to conclusions each and every time. CAPS LOCK POWARRR + font size + font color for intensity So it still depends on the judgement of the Moderator, or you I mean, since you're the only moderator around. A global one. So much for rules only to be downgraded to guidelines. So finally we're back to my concern (with the other one being a side concern lol), don't you think it's time to update again the Paid Services rules? You know, to make it official. They're called loopholes for a reason. If you meant your comments, you're the one who's taking them seriously and in a different degree.
    1 point
  11. src/map/pc.h #define MAX_PC_BONUS 10 Increase that value a littlebit and recompile your server.
    1 point
×
×
  • Create New...