Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/04/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.
    4 points
  2. I... don't even know what to say about Grace's new uniform in this week's PP&P... https://tapas.io/episode/715430
    2 points
  3. View File GRF Editor Hello everyone, GRF Editor is an open-source tool for editing GRF files (https://github.com/Tokeiburu/GRFEditor). It offers a wide variety of features and customizations. The software is very stable and responsive, it can handle large operations without lagging your computer. How to install Download the zip archive provided from the download link at the bottom of this description or directly from there: http://www.mediafire.com/?aflylbhblrzpz0h Install the application with GRF Editor Installer.exe; if you are missing a .NET Framework you will be prompted to download it. Once you are done, you can start the program from the link on your desktop. Key features Overall speed is faster (or at least equal) than any GRF tool. Common operations: add, delete, merge, extract, preview, save. Undo and redo for any operation. It can open any GRF file format. Clean and very interactive interface. Saving formats supported : 0x300, 0x200, 0x103 and 0x102 (through the Settings page) and conversion to the Thor format. Instant filter and search options (example : "map .gat"). File association and context menus integration for .grf, .gpf, .rgz and .thor (through the Settings page). Can rebuild separated images into one file easily. Drag and drop (with the ALT key, can be modified in the Settings page). This is a big part of the software; most of the items can be moved around within the application itself or from/to Windows Explorer. If drag and drop does not work, it is most likely because you've started the program using administrator privileges. GRF Editor does not requires administrator privileges to run. Tools Grf validation: allows you to validate a GRF with multiple settings. It can detect corrupted GRF entries, invalid sprites, empty files, non-GRF files, duplicate files and a lot more. Flat maps maker: generates flat maps from .gat and .rsw files. Useful to generate WoE maps or to fasten up the loading time. Patch maker: generates a GRF patch based on two different GRFs. Hash viewer: shows the hash code (both CRC32 and MD5) for files. Image converter: converts an image to any format requested (BMP, PNG, JPG, TGA). GrfCL: used to create batch files (.bat) which can automate tasks on GRF files. See the content in GrfCL.rar in the download for more information. This tool can be customized from the sources as well. Grf encryption The encryption feature has been enabled again. It's similar to what it used to be and it has been tested on client versions ranging from 2012-08-01 to 2024-01-01. Some error messages will be displayed if necessary. If you have an issue, copy the error message (with the code, if there's one) and send me the client executable with the cps.dll file generated by GRF Editor. There shouldn't be compatibility issues anymore though! Thor files Thor files are patches used by Thor Patcher ( https://github.com/rathena/rathena/wiki/Thor-Patcher ). Because of their similarity with the GRF file structure, they have been integrated within GRF Editor. The primary utility of this feature is that it allows you to add encrypted files to a Thor patch. All the other options can be achieved by using Thor Maker. You'll find the necessary steps below, but test your patches before sending them off to players (I've done a lot of testing on my end, but better be safe). If you're using SecureGRF, then make a new GRF, add the files and encrypt it. In GRF Editor, open the encrypted GRF you just made, use "Save as" and name the new file with a .thor extension. That's it, if you want to change the output directory, click on Edit > Edit Grf/Thor settings. You can select the output mode and the GRF to merge the patch with. Simply save again if you change these properties. If you're using GRF Editor's encryption, then make a new Thor file (File > New > New Thor) and add the files you want to patch it with. Right-click on the files you want to encrypt and use Encryption > Encrypt. Technical stuff Requires .Net Framework 4.0 to run (4.0 or more will work as well). Automatically converts file name encoding to the currently selected encoding (you can change the encoding in the Settings page). Data virtualization is used as much as possible to preview files, meaning the files aren't completely loaded. Right-clicking an item will bring up the available options with that file. Preview file formats: txt, log, xml, lua, lub, bmp, png, tga, jpp, db, ebm, pal, gnd, rsw, gat, rsm, str, spr, act, imf, fna, bson, csv, ezv and wav. Services are "crash ready", meaning that you will be warned about a failed operation and no work will be lost (the application won't close and crash). It tries to continue operating even if it meets unsual conditions. Operations can be cancelled by clicking on the button near the progress bar. The warning level can be changed to avoid messages like "Please select a folder first." When prompted with an error, use Ctrl-C to copy the current dialog's content. Some screenshots! 1) Previewing an act file, while showing the search feature 2) Preview of a model file (rsm or rsm2) 3) Preview of GrfCL 4) Preview of maps 5) Preview of Grf validation 6) Search feature (press Ctrl-F or Ctrl-H to bring up within a text editor) Got a feedback? I'd gladly hear you out and fix issues you have with the program. Submitter Tokei Submitted 01/11/13 Category GRF Files Video Content Author Tokeiburu  
    1 point
  4. View File Ultimate Refiner I created a new refiner script from scratch to replace the default refiner scripts. It allows a player to refine any non-broken, identified, unequipped, refinable, and non-rental item in their INVENTORY up to +20 with full crimson weapon support. Script allows player to purchase refining insurance which replaces the item if it is broken. Also added a lot of player interface comforts such as telling what the current refine rate is in the main menu, showing the percent chance for a successful upgrade, allows you to select between refine_db.txt or custom refine tables in the document, allows you to specify what type of items each npc can refine, and more... Every feature is completely configurable and able to be disabled. This is an entire package including upgrades for the material converter and material salesman. The script has been written to make it seem more realistic! It won't take very long for any player to see that there is something special here! There is no better refiner on any emulator! Submitter Peopleperson49 Submitted 05/31/2017 Category Utilities Video Content Author Peopleperson49  
    1 point
  5. E - Script Collection Last Update : September 10, 2013 Refine Function SQL Mission Board Monster Marching Vendor Control Advanced Stylist Coin Exchanger Doppelganger Race Of The Day Limited Items Multi Currency Shop Random News GM Online List Link Broken E-Inquiry DotA Runes Flower Counting Game Class Restriction Chain Quest Build Manager Misc Scripts : Freebies Script Card Trader Gold Room [ Pick Gold ] Gold Room [ Guild Tax ] Map Restriction [ GM Based ] Daily Reward Monthly Reward Monster Spawner Monster Summoner with Last Summoned Display Players Stats & Equipments 3rd Job Item Giver Exchanger [ Cashpoint to Coins ] Exchanger [ Poring Coin - Zeny ] Exchanger [ Points to Tickets ] Exchanger [ Item to Item ] Exchanger [ Item to Item ] Exchanger [ Multi Item to 1 Item ] Party Match Auto Ban Over Stats Users Soul Link Buff Kill Players gain Cash Points Party Members All Get Items [ Snippet ] Message Board Stalker Class Skill Reproduce NPC Multiple Selection Quest [ Template ] In-Game Item Rewarder In-Game Points Rewarder Invasion Event Custom Item Rate Status Point Seller [ Snippet ] Anti Bot Security Script Anti Bot Script [ Code / Question ] Item Combo Restriction [ LHZ Card ] Drop Item Upon Death PVP Switcher + Announcer [ Guild Master ] Rotating Waitingroom Messages +10 Refiner [ Specific Items ] Random Rate Item Exchanger MVP Invasion Premium Users [ Boost Rates ] Display Cutin Image upon Login Custom Randomed Box Items Kick GM during WOE Custom Crafting NPC Restrict Same IP [ Certain Map ] Coloured Items Exchanger Guild Master Changer Party Team PK Match Gambling Game IRC Channel Crafting NPC Guild Storage Restriction Stage Game [ Version 4 ] Monster Wiki Event [ Version 3 ] Special Thank you for my Tutor : Notes : I am a bit lazy to write all those Script Descriptions, i do believe that all of you able to get how this script works. Anyway, i will still doing my best to write the Updated Changelog or informations about the script as detail as possible. All the Scripts above are uploaded to Pastebin . Abide the Following Rule : Scripts Error / Not Working , you have to Explain it in Details. ( Add in Images / Modified Scripts ) Do not SPAM / BUMP in my Topic. Do not ask for Support stuffs for other Scripts in this Topic. Link Down , then drop [ @Emistry ] a message. I Reserved the Right for NOT Answering your Posts if you did not abide my Topic's Rules. Keep This In Your Mind : All the Scripts i distribute here are NOT FOR COMMERCIAL USES . DO NOT remove my Credits if you are using part of the scripts to modify your own. DO NOT re-release the scripts in any form / way. If you ♥ these Scripts , Click on to Vote this Topic up. Or you may also click on at above the Topic
    1 point
  6. May Digest 2017 The following digest covers the month of May, 2017. Staff Changes None Development Highlights CORE: Fixed MySQL 5.7 compatibility issue (799f781) Replaced strcopy with memmove (07e1a67) Fixed hidden statuses not being applied (ef3ad99, 9ba2513) Refactored script_rid2sd (cac27fc) Updated Giant Fly Wing behavior (10b512b) Added new script commands for Item Random Options: getitem3, getitembound3, makeitem3, rentitem3, countitem3, delitem3 (a15661e) Adjusted Homunculi configurations (12756ba) Fixed issue with bBaseAtk (f539d97) Implemented Equip Preview Window (9716233, 55735ea, 39dbb9a) Added new command: warp2 (8097543) Added automatic clan member removal (562d6d1) Fixed chat color bug in Channel System (c0476f6) Fixed char saving after buyingstore transactions (068ea0a) Updated leftover pet variables to 64k support (ce4ebbe) Skip MapN parsing if it is equal to EnterMap for instances (6a75b17) Fixed instance idle timer (cc700f1) Fixed a missing alliance channel check (bba3da2) Fixed a bug in hardcoded NPC event names (0fcc9b6) Fixed a bug in Tetra Vortex Fire animation (3e625df) DATABASE: Skill update: Claymore Trap, Blast Mine, Feint Bomb, Maelstrom (b6ff1c6, cc59048) Item DB updated (6cc9b95, 79ad0a1) Added some placeholders for new mob and NPC (bff62ed) SCRIPT: Fixed a bug in /quests/quests_morroc.txt (9e6b02a) Merged Faceworm Instance from idAthena (1e1d7e5) Restricted Summoner, Baby Kagerou, Baby Oboro and Baby Rebellion job to enter WOE:TE castles (b7cd40e, 4d12604) OTHERS: Dropped support for VS older than 2012, all these solutions has been deleted, replaced by a global solution (Works on VS2013 or newer) (cacd98d) Added x64 build support for Windows (cacd98d) Added preparation code for mixing the C++ project (7749c18, 2e524f1, 4a004ad) Fixed compile warnings and errors (900548f, a3282c1) Updated readme.md (999c411) Added zlib1.dll to .gitignore (d259ba3) Fixed Linux server shutdown order (ae540f1) Corrected some inter packet documentation (8d8712f) Statistics Excluding merges, 11 authors have pushed 46 commits to master and 88 commits to all branches. On master, 266 files have changed. There have been 26,706 additions and 18,780 deletions. There are 21 merged Pull Requests and 8 Proposed Pull Requests. There are 17 new Issues and 44 Closed Issues. List of Contributors @4144, @admkakaroto, @aleos89, @alxalmora, @anacondaqq, @Atemo, @Canoe, @cydh, @Daegaladh, @Encon21, @exneval, @feltenc, @hazimjauhari90, @hurtsky, @jamon18, @Jeybla, @Lemongrass3110, @majimboo, @nanakiwurtz, @Playtester, @RadianFord, @reigneil, @rpdigos, @Rytech2, @secretdataz, @sikiro, @spinzaku, @TheNoobCompany, @TrueNoir, @whupdo Show your support to rAthena by submitting your Issue or Pull Requests! By providing enough useful info (Git Hash, Client Date, RE/Pre-RE, crashdump, how to reproduce, etc) you will help us to solve the issues faster
    1 point
  7. i need too this npc,help us !!
    1 point
  8. On to the practical test! Anddd yet again Joshua immediately makes a fatal mistake... https://tapas.io/episode/693785
    1 point
  9. Please use spoiler to hide so many text from first post. Yes this package has clientinfo.xml inside rAthena2017.grf
    1 point
  10. If you want to remove these models from the map, take an existing model and re-name it to the model name the map is looking for and delete the models through Brow.
    1 point
  11. For the first part of your question, you could easily make a new image using Photoshop. For the second part of your question, it is script related:
    1 point
  12. This is an issue with older clients. In newer clients graphics look smoother. Which client are you using?
    1 point
  13. There is 2 options in the clients wich can affect the graphic, one is the sprite detail wich changes the anti-aliasing of the client and trilinear option wich push amd duplicate the pixels when zoom in/out your screen damaging the sprite, both can be found in basic options of client interface. And newer clients uses newer versions of resources, so the quality of the graphics might be improved.
    1 point
  14. How are you not sure if the map is custom or not..? I'm not asking about the model, im asking about the map itself. Edit After looking closely at the black box, it seems your map is named pal_dun, which means its a custom map. Which also leads me to believe that these are custom models.
    1 point
  15. the image file name must be different on what your sprite file. check it try renaming it with the same name of the sprite
    1 point
  16. Hi the error is by overlapping vertex. The surface of your model is not flat, a face or a triangle of the model is overcoming that surface. In browedit looks okay because it renders different than in Ragnarok. Means you must fix the model in 3d software. Maybe you can upload the model to see if we can help. Edit: and by flat I mean, that vertex is not joining the others by the exact x,y,z coordinates to make a flat surface.
    1 point
  17. I just recheck the following files if they are correct. I dont have accessoryid.lua and accname.lua, so i tried to decompile it with the Microsoft Visual Studio, so the korean letters will change into numbers or words and I refer to this guide. https://rathena.org/wiki/Custom_Items#Structure data\luafiles514\lua files\datainfo\accessoryid.lub data\luafiles514\lua files\datainfo\accname.lub so thank you for this @mrmagic Just recheck, if the error gives you the sprites or textures, check the data/textures and data/sprite of your grf and put the following sprites in ur error like this. Also recheck the following if you put the right name, view id of the following: - idnum2itemdesctable.txt This file contains the description of your item, when it is right-clicked. The syntax for an item is: ItemID# Item Description Line 1 Item Description Line 2 # - idnum2itemresnametable.txt This file sets the inventory and drop-sprite for an the item. Item is defined as follows: ItemID#SpriteName# - itemslotcounttable.txt The SpriteName is the name of the files in collection and item folders inside texture and the ones inside sprite folder. If you want to use the look of an another item, search for it's id and copy the sprite name from there. ItemID#NumberOfSlots# Also put the custom item in /System/ItemInfo.lua [<item id>] = { unidentifiedDisplayName = <item name to show when not magnified>, unidentifiedResourceName = <file name prefix used for all the images and drop sprite when not magnified>, unidentifiedDescriptionName = { <comma separated list of strings>,<to get multiple lines>,<in item description> }, identifiedDisplayName = <item name to show when magnified>, identifiedResourceName = <file name prefix used for all the images and drop sprite when magnified>, identifiedDescriptionName = { <same format as unidentifiedDescriptionName but for magnified items> }, slotCount = <number of slots>, ClassNum = <View ID - yes the same one that was there item_db> }, Dont forget these: data\luafiles514\lua files\datainfo\accessoryid.lub eg: ACCESSORY_PINKBUNNY_HAIRBAND = 663, ACCESSORY_GREENBUNNY_HAIRBAND = 664, ACCESSORY_<ITEM NAME> = <665> //This should be in number order data\luafiles514\lua files\datainfo\accname.lub eg: [ACCESSORY_IDs.ACCESSORY_PINKBUNNY_HAIRBAND] = "_ÇÎÅ©Åä³¢¸Ó¸®¶ì", [ACCESSORY_IDs.ACCESSORY_GREENBUNNY_HAIRBAND] = "_±×¸°Åä³¢¸Ó¸®¶ì", [ACCESSORY_IDs.ACCESSORY_ITEM NAME] = "add the sprite of the item"
    1 point
  18. That's like saying there's no point in having Hercules and RagEmu since we already have rA. Or saying there's no point in having the 4+ GRF editors available. Or 4+ patchers. There's no harm in additional contributions. And mine is automated. Besides, the topic starter in that link has been suspended. No harm in keeping things going while others are unable to.
    1 point
×
×
  • Create New...