Leaderboard
Popular Content
Showing content with the highest reputation since 03/28/25 in all areas
-
KRO : https://github.com/hiphop9/ROClient_en 2025-03-19_Ragexe_1742361965(EN) -PATH- @ Bug Fix(Recommended) Add Close Button Custom Window Title Disable 1rag1 Params(Recommended) Disalbe Filename Check(Recommended) Disable Help Message Disable Indoor RSW Disalbe Swear Filter Enable 44khz Audio Enable DNS Suport Enable Multiple GRF(Recommended) Fix NPC Dialog Scroll Increase Zoom Out 75% Read Data Folder First(Recommended) Remove Hard Coded Address & Port(Recommended) Restore Clientinfo.xml(Recommended) Restore Old Login Packet(Recommended) externalsettings Korea patch Show Replay Button Skip License Screen Translations client EnableWho EnableShowName AlwaysAscii CallKoreaClientInfo PlainTextDesc HideBuildInfo TranslateClient NoGGuard CustomItemInfoLub CustomAchieveLub CustomTownInfoLub CustomTipboxLub CustomMapInfoLub CustomOngQuestInfoLub CustomRcmdQuestInfoLub NoNagle OpenToServiceSelect GuildBrackets NoGravityAds NoGravityLogo FixLatestNCWin This is distributed for testing purposes only. Please do not request additional patches!! I am not a seller!! Therefore, if you plan to operate or commercialize a server, do not contact me!!10 points
-
Hi, I'm working on a ranking system inspired by League of Legends, and I decided to create these files to apply it to the players I'm new to editing this kind of stuff. I wish a professional could review it and give it a proper cleanup, but anyway, it doesn't seem too bad for now. How do use it: 1) Download League of Legends Rank File. 2) Put into your GRF. 3) Go to your hateffectinfo.lub (data/luafiles514/hateeffectinfo) 4) Search or something Similar. HAT_EF_NightSkyOfRutie = 225, 5) Put this: -- Ranks Lol Tag by Scanty -- HAT_IRON_RANK = 231, HAT_BRONCE_RANK = 232, HAT_PLATA_RANK = 233, HAT_ORO_RANK = 234, HAT_PLATINO_RANK = 235, HAT_ESMERALDA_RANK = 236, HAT_DIAMANTE_RANK = 237, HAT_MAESTRO_RANK = 238, HAT_GM_RANK = 239, HAT_RETADOR_RANK = 240, 6) Now, Search for [HatEFID.HAT_EF_NightSkyOfRutie] = { resourceFileName = "efst_NightSkyOfRutie\\christmasx3.str", hatEffectPos = -11, hatEffectPosX = -0.3, isRenderBeforeCharacter = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true }, 7) After that --- Inician Rangos de Lol - By Scanty --- [HatEFID.HAT_IRON_RANK] = { resourceFileName = "custom\\rangos_lol\\iron_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true}, [HatEFID.HAT_BRONCE_RANK] = { resourceFileName = "custom\\rangos_lol\\bronce_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true}, [HatEFID.HAT_PLATA_RANK] = { resourceFileName = "custom\\rangos_lol\\plata_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true}, [HatEFID.HAT_ORO_RANK] = { resourceFileName = "custom\\rangos_lol\\oro_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true}, [HatEFID.HAT_PLATINO_RANK] = { resourceFileName = "custom\\rangos_lol\\platino_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true}, [HatEFID.HAT_ESMERALDA_RANK] = { resourceFileName = "custom\\rangos_lol\\esmeralda_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true}, [HatEFID.HAT_DIAMANTE_RANK] = { resourceFileName = "custom\\rangos_lol\\diamante_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true}, [HatEFID.HAT_MAESTRO_RANK] = { resourceFileName = "custom\\rangos_lol\\maestro_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true}, [HatEFID.HAT_GM_RANK] = { resourceFileName = "custom\\rangos_lol\\GM_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true}, [HatEFID.HAT_RETADOR_RANK] = { resourceFileName = "custom\\rangos_lol\\Retador_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true} 8 ) Create a script to test. you need to use this: hateffect 240, true; *hateffect(<Hat Effect ID>,<State>); This will set a Hat Effect onto the player. The state field allows you to enable (true) or disable (false) the effect on the player. The Hat Effect constants can be found in 'src/map/script_constants.hpp' starting with HAT_EF_*. Requires client 2015-05-13aRagEXE or newer. League of Legends Rank.rar7 points
-
Hi everyone, it's been a long time since I visited the this forum, I had thought about making a simpler control panel, I hope there are those here who want to contribute to the control panel that I made, if anyone is interested, please send a message directly. Here is the display, suggestions and input from all of you are very important for the development of this control panel.4 points
-
4 points
-
Version 1.8.9.7
55965 downloads
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.Free3 points -
Version 1.0.0
76 downloads
Author: Nyani Version 1.0 ---------------------------------------------- Features - Unlimited Chain Quest (Randomized Kill/Collection Quest) - Automatic Quest submission - unless Collection Quest (Must turn in) - Automatic Quest Acquisition - Does not repeat previous quest (shuffles the quest provided) - Cancel Current Quest (Must talk to NPC) - Monthly Ranking - Automated Monthly Reward distribution - Chance to obtain rewards for quest submissions - Milestone Rewards every 100 quests finished ---------------------------------------------- Changelogs v1.0 - Initial Release Notice: No support will be provided - unless it is a bug on the current script Config // ========================== // CONFIGURATION // ========================== // 0 = NPC Claim Mode, 1 = RoDEX Mode .reward_mode = 1; // Mob and kill amounts setarray .MobList[0], 1002,1004,1010; setarray .MobAmount[0], 30,40,50; setarray .ItemList[0], 705, // Orcish Voucher 1015, // Garlet 1021, // Tooth of Bat 719, // Bear’s Footskin 729, // Coal 744, // Witherless Rose 746, // Evil Horn 728, // Cyfar 938, // Golem Fragment 1058, // Cactus Needle 1009, // Claw of Desert Wolf 1038, // Emveretarcon 1042, // Worm Peelings 1044, // Flame Heart 1046, // Mystic Frozen 1047, // Great Nature 1049; // Red Blood setarray .ItemAmount[0], 5,5,5,5,5,5,5,5,5,5, 5,5,5,5,5,5,5; // Completion reward pool setarray .RewardList[0], 607, 608, 609; setarray .RewardAmount[0], 1, 2, 1; // 100-completion reward pool setarray .SpecialRewardList[0], 7711, 7712; setarray .SpecialRewardAmount[0], 1, 1; // Monthly rewards for top 10 setarray .MonthlyReward[0], 607, 501, 504, 505, 506,909,910; setarray .MonthlyRewardAmount[0], 5, 2, 1, 3, 2,5,10; // Reward chance settings (1-10000 scale) .RewardChance = 10000; // 100% chance by default .SpecialRewardChance = 10000; // 100% for 100-completion Make sure to run SQL queries! No support provided, unless it's a bug in the script's core features.Free3 points -
Many people have questions about how to properly set up a newly acquired VPS to run the rAthena emulator. To simplify this process, I created an automated script that handles all the necessary configuration quickly and easily. Most tutorials available online focus on running the emulator on personal computers, but nowadays, the trend is to use a VPS for better performance and stability. With this script, you can set up your environment efficiently, even without advanced server knowledge. For those who want to start a professional rAthena project, here are some tips: 1. Use MariaDB instead of MySQL MariaDB is a community-developed fork of MySQL that offers several performance and optimization advantages, especially for large-scale applications like rAthena. While both database systems are compatible, MariaDB stands out due to its efficiency in handling intensive queries. Benefits of using MariaDB: Better Performance: MariaDB is optimized for handling large volumes of data and executes complex queries faster than MySQL. Improved Storage Engines: Supports advanced engines like Aria and TokuDB, which enhance performance and reduce data fragmentation. Faster Replication: Offers faster and safer master-slave replication, ensuring better data synchronization in distributed environments. Open Source & Active Development: Fully open-source with a more active development cycle, meaning better features and faster bug fixes. Optimized Thread Pooling: Handles multiple simultaneous connections efficiently, reducing CPU overhead and improving query response time. For an rAthena server, this translates to faster character loading, smoother gameplay, and better handling of concurrent player actions. 2. Use nftables instead of iptables nftables is a modern packet filtering framework that replaces the older iptables. It is now the default in most Linux distributions and provides better performance and flexibility when managing network rules, including basic DDoS protection. Benefits of using nftables: Higher Performance: Processes rules faster with a more optimized kernel implementation, reducing the impact on system resources. Simplified Rule Management: Uses a cleaner and unified syntax, making it easier to create and manage complex firewall rules. Better DDoS Mitigation: Supports more efficient rate limiting and packet inspection, allowing you to block basic DDoS attacks with minimal overhead. Dynamic Rules: Allows for dynamic rule adjustments without the need to reload the entire firewall configuration. IPv4/IPv6 Support: Handles both IPv4 and IPv6 rules natively, simplifying firewall management in modern environments. For a professional rAthena project, nftables ensures better network protection, faster packet processing, and more efficient handling of traffic spikes during large player events or attacks. Instructions to Use the Script: Upload the script to your VPS Use an SCP tool or copy-paste the script contents into a file called ubuntu.sh. Make the script executable: chmod +x ubuntu.sh Run the script with root privileges: sudo ./ubuntu.sh Follow the interactive prompts: Choose between MariaDB or MySQL. Input the database name, database user, and password. The script will: Update system packages. Install required dependencies for compiling rAthena. Set up MySQL or MariaDB. Install and configure phpMyAdmin at /phpmyadmin. After completing these steps, your VPS will be ready to compile and run rAthena. ubuntu.sh3 points
-
2 points
-
Froggo Rö Folder This is a simple RO folder that contains everything you need to run a 2022-04-06 client, the latest publicly available. I have cleaned and compressed the data.grf file to reduce its size from 3.87GB to 2.14GB. official_data.grf took the same treatment and the file size went down to 426MB. Additionally, I have added a mini-map to all those maps that were lacking one, approximately 275 mini-maps were added, I only ignored some indoor (_in) and guild castles maps. Before BGM, the Rö folder has a total size of 2.62GB, after BGM it reaches 2.96GB Screenshots Requirements Server Up & Running with PACKETVER=20220406 Visual C++ Redistributables DirectX Runtime Features Includes latest RoEnglishRE - 16/mar/2024 Custom Lua Support jRO Enchantment Display Includes rsu-kro-rag-lite (kRO updater) - v4.2.2.1316 Includes opensetup - v3.1.0.627 Includes iRO's Setup.exe, thanks to relzz! Includes AzzyAI 1.55 Includes Packet Viewer Download click here to download a .zip file of this ro-folder ~fast mirror (●'◡'●)~ Extra Warp Profile for 2022-04-06 used for FroggoClient.exe (mirror) 2022-04-06 Vanilla Ragexe Client Login Screen Creator Official Ragnarok Complete Zipped Folder(10/June/2024) Official Ragnarok Complete EXE Installer (08/Jan/2024)(mirror) Froggö Ro Folder Gitlab's Repo FAQ Why am I getting CHARACTER_INFO size error when trying to log in? Possible reasons: You are using outdated rAthena which doesn't work with 2022-04-06 client. You haven't set correct PACKETVER or done it with mistakes (skill issue ). You haven't recompiled rAthena. You haven't restarted server after recompilation. Why am I getting errors about MSVCP140.dll, VCRUNTIME140.dll when executing FroggoClient.exe? You haven't installed Visual C++ Redist, check requirements section, if problem persists, try installing this too Visual C++ Redist for VS 2012u4 What is official_data.grf ? official_data.grf is from the ROResourceCollection project, which brings many items, mobs and npc files from other RO Regions and merges it into one convenient grf. Why does the Setup.exe opens instead of the FroggoClient.exe? In your Windows registry there is no data about your selected graphic card, to fix it, just set up your settings in Setup.exe and click on OK, be aware to don't select DirectX9, stay on DirectX7 What was removed from the data.grf? Several unnecessary files were removed from the data.grf . These included residual files such as thumbs.db and stray BMP Screenshots. However, the majority of the cleanup was performed in the mob and npc sprite folders. In these folders, some .spr files contained sprites (images) that were not utilized in their corresponding .act files. For example, the monster katrinn's .spr file contained approximately 140 images, but only 6 of them were actually used. In total, out of nearly 90,000 collective images, around 9,400 were removed alv.2 points
-
Hello. I found this script: Herc - Event Wheel of Fortune So i decide to use it. All credits to him: Habilis. Here's my edited Script: And this is my Frames. Route: data\texture\À¯ÀúÀÎÅÍÆäÀ̽º\cardbmp\ruleta_suerte But you can change it via script. OnInit: set .Cutin$, "ruleta_suerte\\frame_"; <-- CHANGE this "This is my own modification. You can change everything through the script, and of course… you'll need the design. But hey, you can do it yourself! I downloaded Photoshop just an hour ago and made this, lol (no editing knowledge at all)." If you’ve got your own design and want to create frames like I did, here’s what I did Please don't ask anything about design and stuff, I'm still learning. Odin Wheel: This is just an example. If you want it to be an automated event or something like that, feel free to ask! Video: Frames.rar Ruleta+PSD+Gen_FramE.rar Odin_Wheel.rar2 points
-
1. Unlimited Chain Quest - Monster Hunting / Item Collection in 1 NPC 2. Music Player - Just for fun 3. Race to Max Level - Perfect for single-time race events! 4. Beta Registration NPC - Easy handing out rewards NOTE: No support will be provided - unless it's a bug in the script itself Bugs? Reply to this thread and I'll fix it right up.2 points
-
hi, thank you so much, i'm using : 1. Next.js 2. React 3. TypeScript 4. Tailwind CSS 5. MySQL 6. phpBB 7. shadcn/ui 8. Server Actions 9. JWT (JSON Web Tokens) 10. Environment Variables actually I was inspired by fluxcp, but because fluxcp is considered outdated, I want to make it from scratch, for the function, it's the same as fluxcp, there are only a few updates, for example optimizing database performance and realtime api. thanks for the input and suggestions, I really appreciate it, I think this CP is still far from perfect, but I will try as much as possible so that it can be used by everyone, I will make it opensource, and I will push it on github, if anyone wants to contribute, of course I am very happy. Now I'm working on making the items appear in full in each character's inventory, it may look silly, but I will upload the icon and image directly, so as to minimize errors, haha2 points
-
View File Shops Selling All Costumes Available in Rathena This script has NPC shops that sell all available costume items in rAthena as of March 2025. Costumes are categorized based on their equipment slot (Upper, Middle, Lower and Garment) and distributed across multiple shops (150 item per shop), Ensuring a well-organized and accessible shopping experience. The item list is filtered to include only valid costumes from latest iteminfo_EN.lua (English Translation), preventing missing or invalid entries. if you remove the commented shops it will sell all costumes available in the database (item_equip_db.yml). Ideal for servers looking to provide a complete costume collection for players! Submitter Shiroy Submitted 03/18/25 Category Utilities Video Content Author Shiroy2 points
-
We would like to issue a public retraction regarding a previous statement about the user known as @Pokye Recently, we made a post in which we accused Pokye of misconduct in a transaction involving the purchase of a digital game through our platform, Pcmedias. At the time, we were frustrated with how the situation unfolded, especially after a PayPal dispute was opened. However, after taking the time to reflect, we recognize that the way we expressed ourselves was inappropriate. Accusing someone publicly of fraud without due process or without allowing all parties to present their side was incorrect. We sincerely apologize for any harm or misunderstanding caused by our previous statement. It was never our intention to unfairly damage anyone’s reputation, and we acknowledge that the situation could have been handled more professionally. Moving forward, we will ensure that any disputes or disagreements are resolved through the proper channels, with fairness and respect for all parties involved. We appreciate the understanding of our community and remain committed to maintaining a fair and transparent marketplace. — Pcmedias2 points
-
This project was created as a learning experience to understand how game anti-cheat systems work — from basic concepts to a complete implementation that can run standalone or be integrated with a game client like Ragnarok Online. With the help of AI , open documentation, and real-world code references, GretelHS v1.0 has officially been completed for basic version. Source Code: https://github.com/Hansel38/GretelHS This project use Visual Studio 2022 Key features implemented: **Fitur yang Selesai 100%** 1. **Process & Thread Watcher** Pantau semua proses & thread aktif (anti hidden process) 2. **Heartbeat System** Logging berkala untuk status checking 3. **Overlay Scanner** Deteksi window overlay cheat (ESP, CE, dll) 4. **Driver Scanner** Scan driver yang terload dari usermode 5. **Anti Debug** Deteksi debugger: `IsDebuggerPresent`, `NtQueryInformationProcess`, dll 6. **Anti Suspend Threads** Proteksi thread dari suspend/kill 7. **Anti Injection** Scan DLL inject, modul asing di memory 8. **Digital Signature Scanner** Verifikasi .DLL/.EXE signed atau tidak 9. **Anti TestMode** Deteksi Windows boot dengan `/testsigning on` 10. **Signature Scanner (Memory Pattern)** Scan byte pattern memory untuk hook/injection 11. **Pipe Communication** Komunikasi `AntiCheat.exe` dengan game client via Named Pipe 12. **Hijacked Thread Detector** Cek thread dari source mencurigakan 13. **IAT Hook Checker** Deteksi hook pada Import Address Table (API redirect) 14. **Test Mode Spoof Checker** Deteksi registry/key BCD yang di-spoof 15. **HWID Generator** Gabungkan CPU ID, Disk, MAC ke HWID hash unik 16. **File Integrity Checker** MD5 hash checker buat validasi file penting (`ragnarok.exe`, `.grf`, dll) 17. **Server Communication via TCP** Kirim log, HWID, heartbeat ke server backend 18. **LSASS/CSRSS Handle Proteksi** Cegah akses ke proses system penting (anti hijack) 19. **Manual-Mapped Driver Detector** Deteksi driver mencurigakan dari usermode --- **Build Final** Sudah support **Debug** dan **Release** Bisa dijalankan **mandiri (standalone)** Bisa diintegrasikan ke: - Ragnarok Launcher - RO Client - GM Tool Mudah di-convert ke **.DLL untuk inject juga** The main goal of this project is not just to create an Anti-Cheat system, but to understand and learn how client-side security works, how exploits happen, and how they can be detected or prevented. What’s Next? I plan to continue improving GretelHS beyond version 1.1 — adding kernel-level protections, better integration tools, and even a web-based monitoring dashboard. Development will continue gradually, of course, as time allows alongside my main work. and This is still far from perfect and nowhere near the level of big-name anti-cheat solutions. Untuk selanjutnya **Gretel V1.1** | Fitur / Arah | Deskripsi | Status | |-------------|-----------|--------| | Kernel Driver (`AntiCheat.sys`) | Akses penuh ke kernel-mode buat proteksi total (driver anti-cheat) | Belum | | SSDT / IDT Hook Detection | Deteksi patching kernel di System Service Table dan Interrupt Table | Belum | | `g_CiEnabled` Checker | Deteksi jika Cheat tool mem-patch signature enforcement via kernel | Belum | | PatchGuard Bypass Monitor | Pantau patch anti-cheat kernel yang mem-bypass Windows integrity | Belum | | Manual Unlink Module | Deteksi unlink dari `PsLoadedModuleList` (manual mapped drivers) | Belum | | Kernel Mode Anti Injection | Blokir `ZwMapViewOfSection`, `NtWriteVirtualMemory` dari kernel | Belum | | Code Injection Detector (.DLL) | Buat versi `AntiCheat.dll` buat inject balik ke RO client | Belum | | Hook API Protection | Deteksi & repair `NtOpenProcess`, `NtQueryInformationProcess`, dll dari inline hook | Belum | | Secure Server Sync | Enkripsi data HWID/log pakai AES/SSL ke server anti-cheat | Belum | | Advanced HWID Spoof Guard | Deteksi virtual machine, spoofed MAC, SMBIOS patch | Belum | | Launcher & Patcher Lock | Integrasi AntiCheat ke launcher RO, lock sebelum patch/jalan game | Belum | | Memory Scan All Processes | Scan proses selain diri sendiri, cari memory pattern cheat dari luar (game scan) | Belum | | GRF / Resource Tamper Detection | Cek checksum GRF, sprite, effect, dll → jika modif = ban | Belum | | Integrasi ke Ragnarok Client via DLL/pipe | | Bisa lanjut | | Build versi Kernel Driver (`AntiCheat.sys`) | | Tahap selanjutnya | | Bikin installer (NSIS, Inno Setup) | | Bisa lanjut | | Web panel dashboard untuk log monitoring | | Bisa juga | --- Feedback, suggestions, or bug reports are very welcome — feel free to open an issue or contribute via PR! Credits Special thanks and inspiration go to: https://github.com/Pokye/Sagaan-AntiCheat-V2.0 Big respect for the open-source contribution that helped kickstart this journey. Asli Jatuh Bangun buat beginian, ternyata susah banget, bahkan gw sempat berkali kali mau nyerah tapi gw mau coba berusaha pokoknya harus jadi hehehe thanks all ^^1 point
-
I think it's about lua files, like attendance feature, must match server and lua. Or, needs to be in some iteminfo file, since there are a lot of duplicates. Cash shop banner: - data\luafiles514\lua files\datainfo\tb_cashshop_banner.lua1 point
-
After the fixes: Before (for reference): There's ~72 images in the current zip for ~20 buttons. The buttons are not perfect but more consistent than the original ones, that had random *** spacing, font size, and shadows. Installation: add to Data or GRF (can technically be used on a skin, but Quest UI seems to only be modifiable via data/GRF) data.zip1 point
-
1 point
-
Hi guys aside from 4144 anyone else selling 2023/2024 client at a cheaper price?1 point
-
1 point
-
Hi //===== rAthena Script ======================================= //= World Boss Apparition //===== By: ================================================== //= Alayne //===== Current Version: ===================================== //= 1.0 First version. //= 2.0 Updated. [Racaae] //============================================================ - script WorldBoss::alawboss -1,{ OnInit: //===== CONF .rewardMode = 2; // 1:inventory - 2:mailed - 3:drop on floor // Rewards // setarray .reward_id[0], <itemID>{,<itemID>,...} // setarray .reward_amount[0], <amount>{,<amount>,...} setarray .reward_id[0],969; setarray .reward_amount[0],1; .special_reward_id = 607; //item id for person who gave the final blow .special_reward_amount = 3; //amount for person who gave the final blow .reward_zeny = 0; // Zeny reward .rewardCount = -1; //How many items to drop on floor? (rewardMode:3 Only) .ip_check = true; //No rewards for double login set .bossAliveDuration, 30; //in minutes setarray .rebirthXY[0],120,202,202,120,119,37,37,119; //X, then Y. Only used if only one map is used set $lastPopMap$, ""; set $wordBossPop, 0; setarray .wbMap$[0], "prontera"; setarray .wbMapName$[0], "Prontera"; setarray .wBossIds[0], 2320,2483,1917,2942,2131; setarray .wBossHp[0], 20000000,30000000,40000000,50000000,60000000; //Storm Gust, Meteor Storm, Lord of Vermillion, Bowling Bash, Kyrie Eleison setarray .wbSummonSkillId[0], 89, 83, 85, 62, 73; setarray .wBossName$[0], "Hoktarrh","Giashim","Deathres","Cerbere","Citrak"; setarray .wbSlaveMobsId[0], 1098, 2023, 2365, 2019, 2472; setarray .wbSlaveMobsCount[0], 25, 15, 10, 15, 5; setarray .deadMonstersId[0], 1865, 2603, 1870, 2473, 2474, 2283; //===== CONF END set .timerCount, 0; .reward_id_size = getarraysize(.reward_id); bindatcmd "worldboss", strnpcinfo(3) + "::OnStartWBoss",90,90; end; OnStartWBoss: .@force = 1; OnMinute30: OnStarted: if($WorldBoss_cd <= gettimetick(2) || .@force) { set .@chosenMap$, "[ "; set .@spawnRand, rand(0, getarraysize(.wbMap$)-1); set .lastRandId, rand(0, getarraysize(.wBossIds) - 1); //RATHENA monster .wbMap$[.@spawnRand],82,55,.wBossName$[.lastRandId],.wBossIds[.lastRandId],1,strnpcinfo(3) + "::OnWorldBossDied",2; set .wBossId, $@mobId[0]; setunitdata .wBossId, UMOB_MAXHP, .wBossHp[.@spawnRand]; set .@chosenMap$, .@chosenMap$ + .wbMapName$[.@spawnRand] + "]"; announce "[ System ] World Boss appeared in " + .@chosenMap$ + " !",bc_all,0xFF0000; set $WorldBoss_cd, gettimetick(2) + 21600; //next pop in 3 days, 60 for debug (1 min) - 21600 6hours set $lastPopMap$, .wbMap$[.@spawnRand]; set $lastPopIdRank, .@spawnRand; deletearray $wbFighters[0], getarraysize($wbFighters); set $wordBossPop, 1; set .deadCount, 0; set .timerCount, 0; initnpctimer; donpcevent "World Boss#wb_board::OnEvent"; } else { if(.debug == 1) { debugmes "Not ready yet."; } } end; OnTimer1000: .timerCount += 1; freeloop(1); if(.timerCount == .bossAliveDuration * 60) { stopnpctimer; killmonster $lastPopMap$, strnpcinfo(3) + "::OnWorldBossDied"; killmonster $lastPopMap$, strnpcinfo(3) + "::OnSaveDied"; killmonster $lastPopMap$, strnpcinfo(3) + "::OnCloneDied"; killmonster $lastPopMap$, strnpcinfo(3) + "::OnReducedBossDied"; set $wordBossPop, 0; announce "[ System ] World Boss vanished without being killed...",bc_all,0x00FF00; } set .@cellRange, 25; switch(.timerCount) { case 60: //1 min mapannounce $lastPopMap$, "[ World Boss ] Raise! Raise, my army!", bc_map, 0xFF0000; //RATHENA getunitdata(.wBossId, .@worldBossData); set .@x, .@worldBossData[UMOB_X]; set .@y, .@worldBossData[UMOB_Y]; for(set .@i,0; .@i<getarraysize(.wbSlaveMobsId); set .@i,.@i+1) { for(set .@j,0; .@j<.wbSlaveMobsCount[.@i]; set .@j,.@j+1) { areamonster $lastPopMap$, .@x - .@cellRange, .@y - .@cellRange, .@x + .@cellRange, .@y + .@cellRange, "Slaves", .wbSlaveMobsId[.@i], 1, strnpcinfo(3) + "::OnSaveDied"; } } break; case 120: //2 min, all summon cast skills mapannounce $lastPopMap$, "[ World Boss ] You are all far beyond my control!", bc_map, 0xFF0000; //RATHENA getunitdata(.wBossId, .@worldBossData); set .@x, .@worldBossData[UMOB_X]; set .@y, .@worldBossData[UMOB_Y]; for(set .@i,0; .@i<getarraysize(.wbSlaveMobsId); set .@i,.@i+1) { areamobuseskill $lastPopMap$, .@x, .@y, .@cellRange * 2, .wbSlaveMobsId[.@i], .wbSummonSkillId[.lastRandId], 5, 3000,1,ET_KIK,3; } break; case 180: //3 min, pop 15 reduced clone of the mob mapannounce $lastPopMap$, "[ World Boss ] You won't go away with this, humans!", bc_map, 0xFF0000; monster $lastPopMap$,0,0,.wBossName$[.lastRandId],.wBossIds[.lastRandId],15,strnpcinfo(3) + "::OnReducedBossDied"; copyarray .@tempMobId[0], $@mobId[0], 15; //RATHENA getunitdata(.wBossId, .@worldBossData); set .@hp, .@worldBossData[UMOB_HP]; set .@tempHp, .@hp / 15; for(set .@i,0; .@i<getarraysize(.@tempMobId); set .@i,.@i+1) { //RATHENA setunitdata .@tempMobId[.@i], UMOB_MAXHP, .@tempHp; setunitdata .@tempMobId[.@i], UMOB_HP, .@tempHp; } break; case 240: //4 min, raise dead bodies mapannounce $lastPopMap$, "[ World Boss ] Even the deads are on my side! You can't win!", bc_map, 0xFF0000; set .@deadSplit, .deadCount / getarraysize(.deadMonstersId); if(.@deadSplit <= 0) { set .@deadSplit, 2; } //RATHENA getunitdata(.wBossId, .@worldBossData); set .@x, .@worldBossData[UMOB_X]; set .@y, .@worldBossData[UMOB_Y]; for(set .@i,0; .@i<getarraysize(.deadMonstersId); set .@i,.@i+1) { areamonster $lastPopMap$, .@x - .@cellRange, .@y - .@cellRange, .@x + .@cellRange, .@y + .@cellRange, "Dead Corpses", .deadMonstersId[.@i], .@deadSplit, strnpcinfo(3) + "::OnSaveDied"; } break; case 300: //5 min, pop clone of each player mapannounce $lastPopMap$, "[ World Boss ] Fight against your own power you're so proud of, shall you?!", bc_map, 0xFF0000; //RATHENA getunitdata(.wBossId, .@worldBossData); set .@x, .@worldBossData[UMOB_X]; set .@y, .@worldBossData[UMOB_Y]; for(set .@i,0; .@i<getarraysize($wbFighters); set .@i,.@i+1) { if(attachrid($wbFighters[.@i]) == 1 && strcharinfo(3) == $lastPopMap$) { clone $lastPopMap$, rand(.@x - .@cellRange, .@x + .@cellRange), rand(.@y - .@cellRange, .@y + .@cellRange), strnpcinfo(3) + "::OnCloneDied", getcharid(0); } else { deletearray $wbFighters[.@i], 1; } } break; case 360: //6 min mapannounce $lastPopMap$, "[ World Boss ] Raise! Raise, my army!", bc_map, 0xFF0000; //RATHENA getunitdata(.wBossId, .@worldBossData); set .@x, .@worldBossData[UMOB_X]; set .@y, .@worldBossData[UMOB_Y]; for(set .@i,0; .@i<getarraysize(.wbSlaveMobsId); set .@i,.@i+1) { for(set .@j,0; .@j<.wbSlaveMobsCount[.@i]; set .@j,.@j+1) { areamonster $lastPopMap$, .@x - .@cellRange * 2, .@y - .@cellRange * 2, .@x + .@cellRange * 2, .@y + .@cellRange * 2, "Slaves", .wbSlaveMobsId[.@i], 1, strnpcinfo(3) + "::OnSaveDied"; } } break; case 420: //7 min, autocast earthquake at 10% hp cost mapannounce $lastPopMap$, "[ World Boss ] STOP BOTHERING ME, HUMANS!", bc_map, 0xFF0000; //RATHENA getunitdata(.wBossId, .@worldBossData); set .@hp, .@worldBossData[UMOB_HP]; set .@mhp, .@worldBossData[UMOB_MAXHP]; set .@x, .@worldBossData[UMOB_X]; set .@y, .@worldBossData[UMOB_Y]; if(.@hp > 10 * .@mhp / 100) { //RATHENA setunitdata .wBossId, UMOB_HP, .@hp - 10 * .@mhp / 100; set .@id, .wbSlaveMobsId[rand(getarraysize(.wbSlaveMobsId) - 1)]; areamobuseskill $lastPopMap$, .@x, .@y, .@cellRange * 2, .@id, 653, 3, 3000, 1, ET_KIK, 3; } else { //only world boss pop, but stronger areamobuseskill $lastPopMap$, .@x, .@y, .@cellRange * 2, .wBossIds[$lastPopIdRank], 653, 10, 3000, 1, ET_KIK, 3; } break; case 480: //8 min, wide bleeding mapannounce $lastPopMap$, "[ World Boss ] You don't even deserve me to fight you!", bc_map, 0xFF0000; areamobuseskill $lastPopMap$, .@x, .@y, 50, .wBossIds[$lastPopIdRank], 665, 5, 3000, 1, ET_KIK, 3; break; case 540: //9 min, random kill over fighters mapannounce $lastPopMap$, "[ World Boss ] Feel my rage! Limitless is my power!!", bc_map, 0xFF0000; set .@killCount, rand(getarraysize($wbFighters)); for(set .@i,0; .@i<getarraysize($wbFighters); set .@i,.@i+1) { if(attachrid($wbFighters[.@i]) == 1 && strcharinfo(3) == $lastPopMap$) { charcommand "#nuke " + strcharinfo(0) + " " + strcharinfo(0); } else { deletearray $wbFighters[.@i], 1; } } break; case 600: //10 min, raise life according to alive clones mapannounce $lastPopMap$, "[ World Boss ] I'll feast from your bones!!", bc_map, 0xFF0000; set .@mobCount, mobcount($lastPopMap$, strnpcinfo(3) + "::OnReducedBossDied"); killmonster $lastPopMap$, strnpcinfo(3) + "::OnReducedBossDied"; //RATHENA getunitdata(.wBossId, .@worldBossData); set .@hp, .@worldBossData[UMOB_HP]; set .@mhp, .@worldBossData[UMOB_MAXHP]; if( .@hp + .@mobCount * 50000 > .@mhp ) setunitdata .wBossId, UMOB_HP, .@mhp; else setunitdata .wBossId, UMOB_HP, .@hp + .@mobCount * 50000; break; case 660: //11 min, slave skill area mapannounce $lastPopMap$, "[ World Boss ] Life and death are nothing to me!", bc_map, 0xFF0000; //RATHENA getunitdata(.wBossId, .@worldBossData); set .@x, .@worldBossData[UMOB_X]; set .@y, .@worldBossData[UMOB_Y]; for(set .@i,0; .@i<getarraysize(.wbSlaveMobsId); set .@i,.@i+1) { //BASILICA 362 (5) OR EVILLAND 670 (1) if(rand(1) == 0) { areamobuseskill $lastPopMap$, .@x, .@y, .@cellRange * 2, .wbSlaveMobsId[.@i], 362, 5, 3000,1,ET_KIK,3; } else { areamobuseskill $lastPopMap$, .@x, .@y, .@cellRange * 2, .wbSlaveMobsId[.@i], 670, 1, 3000,1,ET_KIK,3; } } break; } setnpctimer 0; freeloop(0); end; OnPCDieEvent: if(strcharinfo(3) == $lastPopMap$ && getarraysize(.wbMap$) == 1) { set .@rebirthArea, rand(4); warp $lastPopMap$, .rebirthXY[.@rebirthArea * 2], .rebirthXY[.@rebirthArea * 2 + 1]; charcommand "#alive " + strcharinfo(0); } addtimer 10000, strnpcinfo(3) + "::OnPopClone"; set .deadCount, .deadCount + 1; end; OnPopClone: if(Hp > 0) { set .@cellRange, 25; //RATHENA getunitdata(.wBossId, .@worldBossData); set .@x, .@worldBossData[UMOB_X]; set .@y, .@worldBossData[UMOB_Y]; clone $lastPopMap$, rand(.@x - .@cellRange, .@x + .@cellRange), rand(.@y - .@cellRange, .@y + .@cellRange), strnpcinfo(3) + "::OnCloneDied", getcharid(0); } end; OnSaveDied: OnCloneDied: OnReducedBossDied: //nothing, used to clean end; OnWorldBossDied: stopnpctimer; set $wordBossPop, 0; donpcevent "World Boss#wb_board::OnEvent"; killmonster $lastPopMap$, "All"; announce "[ System ] "+strcharinfo(0)+" gave the final blow to the World Boss !",bc_all,0x0000FF; if (.special_reward_id && .special_reward_amount) getitem .special_reward_id, .special_reward_amount; callsub OnReward; end; OnReward: if (!.reward_id_size && !.reward_zeny) return; if (.rewardMode == 3) { if (.rewardCount == -1) { set .rewardCount, getmapusers($lastPopMap$); } for (set .@i,0; .@i < .rewardCount; set .@i,.@i+1) { set .@rand, rand(getarraysize(.@reward_id)); //edit 150 if the map length and height is different of 150 cell makeitem .reward_id[.@rand],.reward_amount[.@rand],$lastPopMap$,rand(150),rand(150); } return; } if (.rewardMode) .@str$ = gettimestr("%B %d, %Y",21); freeloop(1); .@size = getmapunits(BL_PC,$lastPopMap$,.@aid[0]); if (.ip_check) { for ( .@j = 0; .@j < .@size; ++.@j ) { // .@ip$ = replacestr(getcharip(.@aid[.@j]),".",""); .@ip$ = getcharip(.@aid[.@j]); .@duplicate = inarray(.@iplist$, .@ip$); if (.@duplicate < 0) .@iplist$[.@iplistcount++] = .@ip$; else { message rid2name(.@aid[.@j]), "Another character with the same IP address has received the World Boss reward."; deletearray .@aid[.@j],1; .@j--; } } .@size = getarraysize(.@aid[0]); } for (.@j = 0; .@j < .@size; .@j++) { if (.rewardMode == 2) { .@charid = convertpcinfo(.@aid[.@j],CPC_CHAR); .@sender$ = "Rune-Midgarts Kingdom"; .@title$ = "World Boss Reward"; .@body$ = "Congratulations on defeating the World Boss!\r\n "+.@str$+".\r\n \r\n \r\n \r\n \r\n [ Your reward is attached. ]"; if (.reward_id_size) mail .@charid, .@sender$, .@title$, .@body$, .reward_zeny, .reward_id, .reward_amount; else mail .@charid, .@sender$, .@title$, .@body$, .reward_zeny; if (PACKETVER < 20150513 && !getd(".@str_"+.@cid[.@j]) && .@online) { setd ".@str_"+.@cid[.@j],1; message rid2name(.@aid[.@j]),"You've got mail!"; } } else { attachrid( .@aid[.@j], true ); .@name$ = strcharinfo( 0 ); for ( .@k = 0; .@k < .reward_id_size; .@k++ ) { if (checkweight(.reward_id[.@k], .reward_amount[.@k])) getitem .reward_id[.@k], .reward_amount[.@k]; else dispbottom "You can't receive x" + .reward_amount[.@k] + " " + getitemname(.reward_id[.@k]) + " for defeating the World Boss because you're overweight."; } Zeny += .reward_zeny; dispbottom "You have been rewarded for defeating the World Boss."; } } return; } prontera,144,198,4 script World Boss#wb_board 2_BOARD1,{ mes "[World Boss]"; if ($wordBossPop == 1) { mes "Hurry up, " + strcharinfo(0) + "."; mes "A World Boss threat has been raised, a few ago!"; mes "We need all fighters to join!"; if(select("Send me there","No way, I'm not going") == 1) { next; mes "[World Boss Area]"; mes "Right, get ready."; set $wbFighters[getarraysize($wbFighters)], getcharid(3); warp $lastPopMap$, 0, 0; } else { next; mes "[World Boss Area]"; mes "What are you? A coward?"; mes "You'll be blessed when we all be dead..."; } } else { mes "I'm the one you should come to visit when a World Boss will appear."; mes "And believe, it will."; mes "Those monsters are regular, in some kind."; mes "Al mortal, giant...And ridiculously strong..."; } close; OnInit: OnTimer60000: OnEvent: stopnpctimer; initnpctimer; delwaitingroom; if ($wordBossPop) { waitingroom "World Boss Alive",0; end; } .@time = ($WorldBoss_cd - gettimetick(2)); if (.@time < 1) { donpcevent "alawboss::OnStarted"; end; } .@remaining_d = .@time / 86400; .@remaining_h = (.@time % 86400) / 3600; .@remaining_m = (.@time % 3600) / 60; .@remaining_s = .@time % 60; if (.@remaining_d) .@s$[.@i++] = .@remaining_d + " day" + (.@remaining_d>1?"s":""); if (.@remaining_h) .@s$[.@i++] = .@remaining_h + " hour" + (.@remaining_h>1?"s":""); if (.@remaining_m) .@s$[.@i++] = .@remaining_m + " minute" + (.@remaining_m>1?"s":""); if (!.@remaining_d && !.@remaining_h && !.@remaining_m) .@s$[.@i++] = .@remaining_s + " second" + (.@remaining_s>1?"s":""); waitingroom implode(.@s$," "),0; end; }1 point
-
its make me interesting, i will try make it, then after last night i make 2 npc for that lol, for make milk and egg its have progses bar, with time 10 sec , and have change random failed or suces; sory my bad english This is an example of a trade map between cities, later I will make: 1, each city will have its own commodity goods 2, each item between cities will change its price like supply and demand, abundant goods will go down, few goods will go up 3. Players will escort the delivery of goods, and can be attacked by monsters, I think this script already exists but I forgot where, we add it when actively escorting goods, the teleport feature from Kafra will not work, except for storing goods and save points that are still working 4. The commodity goods are divided into those sold by NPCs, drop items, and brew items and crafting from NPCs that have been provided; 5. Most of me follow your ideas, my friend, but I make it my own way, maybe by adding or I don't know how it will turn out later. and all of that is very fun1 point
-
1 point
-
Remove SC_EMERGENCYCALL in Infinite tick so the timer shows. For LP add it in skill_unit_onout1 point
-
Hello everyone! I want to share my first script here so you guys can tell what you think of it! How it works: The NPC will have a selection of random monsters, divide by a range of levels, from 1 to 9, 10 to 19 and so on. The player have to bring some itens and some zeny for the summoning, also, he has to be at the range level of the monster he wants to summon. The normal summons stay for 6 hours, and the MvPs stay for 12h. The only thing I can't undo is the monster disapearing when the player logs out. Let me know what do you guys think. ///////////////////SovietBR////////////////////// prontera,168,328,4 script Reginleif 811,{ mes "[Reginleif, the Valkyrie]"; mes "Hello!"; mes "I have the power to summon monsters that can aid you in fights."; mes "They can be a little expensive, but you can summon as much as you need."; mes "Also, you need to be at the range level of the summon."; next; mes " Normal and mini bosses monsters stay with you for 6 hours."; mes " MvP stay for 12 hours."; mes " The cacth is, if you die or disconect, they disapear. Also, they can die in battle, so be carefull."; next; // Selection menu switch(select("Buy Scrolls","1 - 9","10 - 19","20 - 29","30 - 39","40 - 49","50 - 59","60 - 69","70 - 79","80 - 89","90-99","Mini-Boss","MvP")) { case 1: mes "Do you want to buy some healing scrolls"; mes "You can use them on your summons."; mes "1000z each."; if (select("Yes, please!","No, thanks.") == 1) { // Prompt the player to enter the number of items mes "How many healing scrolls would you like to buy?"; input .@amount; // Get the number of items the player wants if (.@amount < 1) { mes "Please enter a valid amount."; close; } set .@itemCost, 1500 * .@amount; if (Zeny < .@itemCost) { mes "You do not have enough zeny."; } else { // Deduct the zeny and give the items to the player set Zeny, Zeny - .@itemCost; getitem 12002, .@amount; mes "You have purchased " + .@amount + " healing scroll(s)."; } close; } break; case 2: set .@zenyCost, 10000; // Zeny cost for summon setarray .@itemCostID[0], 673, 909, 916, 940; // Item IDs for required items setarray .@itemCostQty[0], 10, 20, 10, 940; // Quantities of required items // Display the cost to the player mes "To summon a monster, you will need:"; mes "Zeny: " + .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { mes getitemname(.@itemCostID[.@i]) + ": " + .@itemCostQty[.@i]; } if(select("Yes:No") == 1) { // Check if the player has enough zeny and items if (Zeny < .@zenyCost || countitem(.@itemCostID[0]) < .@itemCostQty[0] || countitem(.@itemCostID[1]) < .@itemCostQty[1] || countitem(.@itemCostID[2]) < .@itemCostQty[2] || BaseLevel < 2) { mes "You don't have enough zeny, items, or level."; } else { // Deduct zeny and items set Zeny, Zeny - .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { delitem .@itemCostID[.@i], .@itemCostQty[.@i]; } // Summon the monster switch(rand(0,9)) { case 0: atcommand "@summon 1002 360"; break; case 1: atcommand "@summon 1007 360"; break; case 2: atcommand "@summon 1063 360"; break; case 3: atcommand "@summon 1010 360"; break; case 4: atcommand "@summon 1051 360"; break; case 5: atcommand "@summon 1167 360"; break; case 6: atcommand "@summon 1052 360"; break; case 7: atcommand "@summon 1012 360"; break; case 8: atcommand "@summon 1004 360"; break; case 9: atcommand "@summon 1751 360"; break; } mes "Your new friend has been summoned."; } } else { mes "Summoning cancelled."; } break; case 3: set .@zenyCost, 20000; // Zeny cost for summon setarray .@itemCostID[0], 603, 932, 938, 921; // Item IDs for required items setarray .@itemCostQty[0], 20, 20, 20, 10; // Quantities of required items // Display the cost to the player mes "To summon a monster, you will need:"; mes "Zeny: " + .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { mes getitemname(.@itemCostID[.@i]) + ": " + .@itemCostQty[.@i]; } if(select("Yes:No") == 1) { // Check if the player has enough zeny and items if (Zeny < .@zenyCost || countitem(.@itemCostID[0]) < .@itemCostQty[0] || countitem(.@itemCostID[1]) < .@itemCostQty[1] || countitem(.@itemCostID[2]) < .@itemCostQty[2] || BaseLevel < 10) { mes "You don't have enough zeny, items, or level."; } else { // Deduct zeny and items set Zeny, Zeny - .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { delitem .@itemCostID[.@i], .@itemCostQty[.@i]; } // Summon the monster switch(rand(0,9)) { case 0: atcommand "@summon 1076 360"; break; case 1: atcommand "@summon 1175 360"; break; case 2: atcommand "@summon 1070 360"; break; case 3: atcommand "@summon 1094 360"; break; case 4: atcommand "@summon 1024 360"; break; case 5: atcommand "@summon 1014 360"; break; case 6: atcommand "@summon 1162 360"; break; case 7: atcommand "@summon 1128 360"; break; case 8: atcommand "@summon 1077 360"; break; case 9: atcommand "@summon 1066 360"; break; } mes "Your new friend has been summoned."; } } else { mes "Summoning cancelled."; } break; case 4: set .@zenyCost, 30000; // Zeny cost for summon setarray .@itemCostID[0], 673, 1019, 911, 934; // Item IDs for required items setarray .@itemCostQty[0], 30, 20, 15, 5; // Quantities of required items // Display the cost to the player mes "To summon a monster, you will need:"; mes "Zeny: " + .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { mes getitemname(.@itemCostID[.@i]) + ": " + .@itemCostQty[.@i]; } if(select("Yes:No") == 1) { // Check if the player has enough zeny and items if (Zeny < .@zenyCost || countitem(.@itemCostID[0]) < .@itemCostQty[0] || countitem(.@itemCostID[1]) < .@itemCostQty[1] || countitem(.@itemCostID[2]) < .@itemCostQty[2] || BaseLevel < 20) { mes "You don't have enough zeny, items, or level."; } else { // Deduct zeny and items set Zeny, Zeny - .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { delitem .@itemCostID[.@i], .@itemCostQty[.@i]; } // Summon the monster switch(rand(0,9)) { case 0: atcommand "@summon 1033 360"; break; case 1: atcommand "@summon 1114 360"; break; case 2: atcommand "@summon 1058 360"; break; case 3: atcommand "@summon 1784 360"; break; case 4: atcommand "@summon 1023 360"; break; case 5: atcommand "@summon 1122 360"; break; case 6: atcommand "@summon 1139 360"; break; case 7: atcommand "@summon 1106 360"; break; case 8: atcommand "@summon 1152 360"; break; case 9: atcommand "@summon 1028 360"; break; } mes "Your new friend has been summoned."; } } else { mes "Summoning cancelled."; } break; case 5: set .@zenyCost, 40000; // Zeny cost for summon setarray .@itemCostID[0], 673, 901, 996, 905; // Item IDs for required items setarray .@itemCostQty[0], 40, 20, 2, 20; // Quantities of required items mes "To summon a monster, you will need:"; mes "Zeny: " + .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { mes getitemname(.@itemCostID[.@i]) + ": " + .@itemCostQty[.@i]; } if(select("Yes:No") == 1) { // Check if the player has enough zeny and items if (Zeny < .@zenyCost || countitem(.@itemCostID[0]) < .@itemCostQty[0] || countitem(.@itemCostID[1]) < .@itemCostQty[1] || countitem(.@itemCostID[2]) < .@itemCostQty[2] || BaseLevel < 30) { mes "You don't have enough zeny, items, or level."; } else { // Deduct zeny and items set Zeny, Zeny - .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { delitem .@itemCostID[.@i], .@itemCostQty[.@i]; } // Summon the monster switch(rand(0,9)) { case 0: atcommand "@summon 1026 360"; break; case 1: atcommand "@summon 1134 360"; break; case 2: atcommand "@summon 1188 360"; break; case 3: atcommand "@summon 1404 360"; break; case 4: atcommand "@summon 1165 360"; break; case 5: atcommand "@summon 1248 360"; break; case 6: atcommand "@summon 1045 360"; break; case 7: atcommand "@summon 1041 360"; break; case 8: atcommand "@summon 1151 360"; break; case 9: atcommand "@summon 1881 360"; break; } mes "Your new friend has been summoned."; } } else { mes "Summoning cancelled."; } break; case 6: set .@zenyCost, 50000; // Zeny cost for summon setarray .@itemCostID[0], 673, 994, 912, 510; // Item IDs for required items setarray .@itemCostQty[0], 50, 3, 30, 10; // Quantities of required items // Display the cost to the player mes "To summon a monster, you will need:"; mes "Zeny: " + .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { mes getitemname(.@itemCostID[.@i]) + ": " + .@itemCostQty[.@i]; } if(select("Yes:No") == 1) { // Check if the player has enough zeny and items if (Zeny < .@zenyCost || countitem(.@itemCostID[0]) < .@itemCostQty[0] || countitem(.@itemCostID[1]) < .@itemCostQty[1] || countitem(.@itemCostID[2]) < .@itemCostQty[2] || BaseLevel < 40) { mes "You don't have enough zeny, items, or level."; } else { // Deduct zeny and items set Zeny, Zeny - .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { delitem .@itemCostID[.@i], .@itemCostQty[.@i]; } // Summon the monster switch(rand(0,9)) { case 0: atcommand "@summon 1140 360"; break; case 1: atcommand "@summon 1499 360"; break; case 2: atcommand "@summon 1776 360"; break; case 3: atcommand "@summon 1037 360"; break; case 4: atcommand "@summon 1102 360"; break; case 5: atcommand "@summon 1156 360"; break; case 6: atcommand "@summon 11383 360"; break; case 7: atcommand "@summon 1403 360"; break; case 8: atcommand "@summon 1065 360"; break; case 9: atcommand "@summon 1061 360"; break; } mes "Your new friend has been summoned."; } } else { mes "Summoning cancelled."; } break; case 7: set .@zenyCost, 60000; // Zeny cost for summon setarray .@itemCostID[0], 673, 7188, 7066, 938; // Item IDs for required items setarray .@itemCostQty[0], 60, 20, 10, 50; // Quantities of required items // Display the cost to the player mes "To summon a monster, you will need:"; mes "Zeny: " + .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { mes getitemname(.@itemCostID[.@i]) + ": " + .@itemCostQty[.@i]; } if(select("Yes:No") == 1) { // Check if the player has enough zeny and items if (Zeny < .@zenyCost || countitem(.@itemCostID[0]) < .@itemCostQty[0] || countitem(.@itemCostID[1]) < .@itemCostQty[1] || countitem(.@itemCostID[2]) < .@itemCostQty[2] || BaseLevel < 50) { mes "You don't have enough zeny, items, or level."; } else { // Deduct zeny and items set Zeny, Zeny - .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { delitem .@itemCostID[.@i], .@itemCostQty[.@i]; } // Summon the monster switch(rand(0,9)) { case 0: atcommand "@summon 1493 360"; break; case 1: atcommand "@summon 1257 360"; break; case 2: atcommand "@summon 1213 360"; break; case 3: atcommand "@summon 1410 360"; break; case 4: atcommand "@summon 1584 360"; break; case 5: atcommand "@summon 1778 360"; break; case 6: atcommand "@summon 1512 360"; break; case 7: atcommand "@summon 1131 360"; break; case 8: atcommand "@summon 1652 360"; break; case 9: atcommand "@summon 1655 360"; break; } mes "Your new friend has been summoned."; } } else { mes "Summoning cancelled."; } break; case 8: set .@zenyCost, 70000; // Zeny cost for summon setarray .@itemCostID[0], 673, 995, 1036, 997; // Item IDs for required items setarray .@itemCostQty[0], 70, 5, 20, 5; // Quantities of required items // Display the cost to the player mes "To summon a monster, you will need:"; mes "Zeny: " + .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { mes getitemname(.@itemCostID[.@i]) + ": " + .@itemCostQty[.@i]; } if(select("Yes:No") == 1) { // Check if the player has enough zeny and items if (Zeny < .@zenyCost || countitem(.@itemCostID[0]) < .@itemCostQty[0] || countitem(.@itemCostID[1]) < .@itemCostQty[1] || countitem(.@itemCostID[2]) < .@itemCostQty[2] || BaseLevel < 60) { mes "You don't have enough zeny, items, or level."; } else { // Deduct zeny and items set Zeny, Zeny - .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { delitem .@itemCostID[.@i], .@itemCostQty[.@i]; } // Summon the monster switch(rand(0,9)) { case 0: atcommand "@summon 1777 360"; break; case 1: atcommand "@summon 1154 360"; break; case 2: atcommand "@summon 1772 360"; break; case 3: atcommand "@summon 1314 360"; break; case 4: atcommand "@summon 1377 360"; break; case 5: atcommand "@summon 1385 360"; break; case 6: atcommand "@summon 1310 360"; break; case 7: atcommand "@summon 1382 360"; break; case 8: atcommand "@summon 1318 360"; break; case 9: atcommand "@summon 1717 360"; break; } mes "Your new friend has been summoned."; } } else { mes "Summoning cancelled."; } break; case 9: set .@zenyCost, 80000; // Zeny cost for summon setarray .@itemCostID[0], 673, 967, 1045, 702; // Item IDs for required items setarray .@itemCostQty[0], 80, 20, 50, 2; // Quantities of required items // Display the cost to the player mes "To summon a monster, you will need:"; mes "Zeny: " + .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { mes getitemname(.@itemCostID[.@i]) + ": " + .@itemCostQty[.@i]; } if(select("Yes:No") == 1) { // Check if the player has enough zeny and items if (Zeny < .@zenyCost || countitem(.@itemCostID[0]) < .@itemCostQty[0] || countitem(.@itemCostID[1]) < .@itemCostQty[1] || countitem(.@itemCostID[2]) < .@itemCostQty[2] || BaseLevel < 70) { mes "You don't have enough zeny, items, or level."; } else { // Deduct zeny and items set Zeny, Zeny - .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { delitem .@itemCostID[.@i], .@itemCostQty[.@i]; } // Summon the monster switch(rand(0,9)) { case 0: atcommand "@summon 1316 360"; break; case 1: atcommand "@summon 1201 360"; break; case 2: atcommand "@summon 1319 360"; break; case 3: atcommand "@summon 1769 360"; break; case 4: atcommand "@summon 1735 360"; break; case 5: atcommand "@summon 1098 360"; break; case 6: atcommand "@summon 1837 360"; break; case 7: atcommand "@summon 1366 360"; break; case 8: atcommand "@summon 1379 360"; break; case 9: atcommand "@summon 1219 360"; break; } mes "Your new friend has been summoned."; } } else { mes "Summoning cancelled."; } break; case 10: set .@zenyCost, 90000; // Zeny cost for summon setarray .@itemCostID[0], 673, 1036, 7326, 7347; // Item IDs for required items setarray .@itemCostQty[0], 90, 30, 10, 20; // Quantities of required items // Display the cost to the player mes "To summon a monster, you will need:"; mes "Zeny: " + .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { mes getitemname(.@itemCostID[.@i]) + ": " + .@itemCostQty[.@i]; } if(select("Yes:No") == 1) { // Check if the player has enough zeny and items if (Zeny < .@zenyCost || countitem(.@itemCostID[0]) < .@itemCostQty[0] || countitem(.@itemCostID[1]) < .@itemCostQty[1] || countitem(.@itemCostID[2]) < .@itemCostQty[2] || BaseLevel < 80) { mes "You don't have enough zeny, items, or level."; } else { // Deduct zeny and items set Zeny, Zeny - .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { delitem .@itemCostID[.@i], .@itemCostQty[.@i]; } // Summon the monster switch(rand(0,9)) { case 0: atcommand "@summon 1713 360"; break; case 1: atcommand "@summon 1867 360"; break; case 2: atcommand "@summon 1268 360"; break; case 3: atcommand "@summon 2016 360"; break; case 4: atcommand "@summon 2015 360"; break; case 5: atcommand "@summon 2021 360"; break; case 6: atcommand "@summon 1978 360"; break; case 7: atcommand "@summon 1635 360"; break; case 8: atcommand "@summon 1671 360"; break; case 9: atcommand "@summon 1286 360"; break; } mes "Your new friend has been summoned."; } } else { mes "Summoning cancelled."; } break; case 11: set .@zenyCost, 100000; // Zeny cost for summon setarray .@itemCostID[0], 673, 603, 6090; // Item IDs for required items setarray .@itemCostQty[0], 100, 10, 10; // Quantities of required items // Display the cost to the player mes "To summon a monster, you will need:"; mes "Zeny: " + .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { mes getitemname(.@itemCostID[.@i]) + ": " + .@itemCostQty[.@i]; } if(select("Yes:No") == 1) { // Check if the player has enough zeny and items if (Zeny < .@zenyCost || countitem(.@itemCostID[0]) < .@itemCostQty[0] || countitem(.@itemCostID[1]) < .@itemCostQty[1] || countitem(.@itemCostID[2]) < .@itemCostQty[2] || BaseLevel < 90) { mes "You don't have enough zeny, items, or level."; } else { // Deduct zeny and items set Zeny, Zeny - .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { delitem .@itemCostID[.@i], .@itemCostQty[.@i]; } // Summon the monster switch(rand(0,6)) { case 0: atcommand "@summon 1637 360"; break; case 1: atcommand "@summon 1634 360"; break; case 2: atcommand "@summon 1639 360"; break; case 3: atcommand "@summon 2024 360"; break; case 4: atcommand "@summon 1989 360"; break; case 5: atcommand "@summon 1992 360"; break; } mes "Your new friend has been summoned."; } } else { mes "Summoning cancelled."; } break; case 12: set .@zenyCost, 500000; // Zeny cost for summon setarray .@itemCostID[0], 673, 619, 7054, 7053, 7097, 994; // Item IDs for required items setarray .@itemCostQty[0], 100, 10, 50, 50, 50, 50;// Quantities of required items // Display the cost to the player mes "To summon a monster, you will need:"; mes "Zeny: " + .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { mes getitemname(.@itemCostID[.@i]) + ": " + .@itemCostQty[.@i]; } if(select("Yes:No") == 1) { // Check if the player has enough zeny and items if (Zeny < .@zenyCost || countitem(.@itemCostID[0]) < .@itemCostQty[0] || countitem(.@itemCostID[1]) < .@itemCostQty[1] || countitem(.@itemCostID[2]) < .@itemCostQty[2] || BaseLevel < 90) { mes "You don't have enough zeny, items, or level."; } else { // Deduct zeny and items set Zeny, Zeny - .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { delitem .@itemCostID[.@i], .@itemCostQty[.@i]; } // Summon the monster switch(rand(0,14)) { case 0: atcommand "@summon 1093 360"; break; case 1: atcommand "@summon 1120 360"; break; case 2: atcommand "@summon 1096 360"; break; case 3: atcommand "@summon 1582 360"; break; case 4: atcommand "@summon 1388 360"; break; case 5: atcommand "@summon 1302 360"; break; case 6: atcommand "@summon 1830 360"; break; case 7: atcommand "@summon 1700 360"; break; case 8: atcommand "@summon 1754 360"; break; case 9: atcommand "@summon 1833 360"; break; case 10: atcommand "@summon 1918 360"; break; case 11: atcommand "@summon 1720 360"; break; case 12: atcommand "@summon 1831 360"; break; case 13: atcommand "@summon 1709 360"; break; } mes "Your new friend has been summoned."; } } else { mes "Summoning cancelled."; } break; case 13: set .@zenyCost, 5000000; // Zeny cost for summon setarray .@itemCostID[0], 673, 714, 994, 1022, 1015, 607, 724, 995, 996, 720, 725, 7005, 523, 7563, 1020, 7327, 526, 967, 7094, 603; // Item IDs for required items setarray .@itemCostQty[0], 500, 5, 20, 50, 50, 10, 2, 20, 20, 20, 10, 50, 10, 50, 50, 10, 10, 10, 5, 10; // Quantities of required items // Display the cost to the player mes "To summon a monster, you will need:"; mes "Those stay for 12 hours."; mes "Zeny: " + .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { mes getitemname(.@itemCostID[.@i]) + ": " + .@itemCostQty[.@i]; } if(select("Yes:No") == 1) { // Check if the player has enough zeny and items if (Zeny < .@zenyCost || countitem(.@itemCostID[0]) < .@itemCostQty[0] || countitem(.@itemCostID[1]) < .@itemCostQty[1] || countitem(.@itemCostID[2]) < .@itemCostQty[2] || BaseLevel < 95) { mes "You don't have enough zeny, items, or level."; } else { // Deduct zeny and items set Zeny, Zeny - .@zenyCost; for (set .@i, 0; .@i < getarraysize(.@itemCostID); set .@i, .@i + 1) { delitem .@itemCostID[.@i], .@itemCostQty[.@i]; } // Summon the monster switch(rand(0,41)) { case 0: atcommand "@summon 1086 720"; break; case 1: atcommand "@summon 1115 720"; break; case 2: atcommand "@summon 1150 720"; break; case 3: atcommand "@summon 1159 720"; break; case 4: atcommand "@summon 1112 720"; break; case 5: atcommand "@summon 1583 720"; break; case 6: atcommand "@summon 1492 720"; break; case 7: atcommand "@summon 1046 720"; break; case 8: atcommand "@summon 1418 720"; break; case 9: atcommand "@summon 1252 720"; break; case 10: atcommand "@summon 1059 720"; break; case 11: atcommand "@summon 1190 720"; break; case 12: atcommand "@summon 1251 720"; break; case 13: atcommand "@summon 1087 720"; break; case 14: atcommand "@summon 1038 720"; break; case 15: atcommand "@summon 1658 720"; break; case 16: atcommand "@summon 1272 720"; break; case 17: atcommand "@summon 1871 720"; break; case 18: atcommand "@summon 1039 720"; break; case 19: atcommand "@summon 1147 720"; break; case 20: atcommand "@summon 1785 720"; break; case 21: atcommand "@summon 1885 720"; break; case 22: atcommand "@summon 1630 720"; break; case 23: atcommand "@summon 1389 720"; break; case 24: atcommand "@summon 1623 720"; break; case 25: atcommand "@summon 1688 720"; break; case 26: atcommand "@summon 1768 720"; break; case 27: atcommand "@summon 1734 720"; break; case 28: atcommand "@summon 1719 720"; break; case 29: atcommand "@summon 2068 720"; break; case 30: atcommand "@summon 1157 720"; break; case 31: atcommand "@summon 1373 720"; break; case 32: atcommand "@summon 1312 720"; break; case 33: atcommand "@summon 1685 720"; break; case 34: atcommand "@summon 1779 720"; break; case 35: atcommand "@summon 1751 720"; break; case 36: atcommand "@summon 1650 720"; break; case 37: atcommand "@summon 1917 720"; break; case 38: atcommand "@summon 1647 720"; break; case 39: atcommand "@summon 1832 720"; break; case 40: atcommand "@summon 1751 720"; break; } mes "You now have a demi-god by your side, make god use of him."; } } else { mes "Summoning cancelled."; } break; } close; }1 point
-
This is a simple site that allows you to create your own RO Login Background. It's now fully functional. With this tool, you can upload any image of your choice and select the desired area to be cropped. You can also adjust the aspect ratio to your liking. Features: Support for t_login.jpg output for newer clients Multiple quantization algorithms for 8-bit mode (NeuQuant, Median Cut, K-Means, etc.) Optional noise dithering to improve quality of images with blending showed on the RO Client Output Options: Default output (24-bit BMP): Produces high quality images 8-bit BMP: Reduces the final output size significantly (with some quality loss) t_login.jpg: For modern clients that support JPEG backgrounds Tool URL: FroggoCutter (sapitosucio.github.io) The files generated have the following format: t_¹è°æX-Y.bmp, said files are compressed into a .zip file, then it's downloaded. Do remember those BMPs files should be placed on: data\texture\À¯ÀúÀÎÅÍÆäÀ̽º Btw everything is done locally, nothing is uploaded. You can see it's source code here Known Issues: When you try to slice a big image (>2000px) and 8Bit is selected, the browser may lock itself for a few seconds (❁´◡`❁) Froggo tip of the day: Use big images(>2000px), upscale them or something and then, slice it, the final result is quite gucci Some SS: The manipulation part: BMPs loaded by client:1 point
-
1 point
-
https://discord.gg/Y9egn2sy silahkan bergabung bagi yang ingin mencoba CP nya1 point
-
check item_db.yml there is a buy price there1 point
-
You should stop your shits man. You clearly revealed personal info across internet, which is a crime. Also violating rathena GPL, and, some other shits that were posted in the other post... Do still you think the people care about your shits, or that you're that important that anyone will waste his time to "hack" you? Poor ignorant..1 point
-
//===== rAthena Script ======================================= //= Card Trader //===== By: ================================================== //= Psalm (Updated & Fixed) //===== Current Version: ===================================== //= 1.2 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= Exchange cards for points and buy rewards. //============================================================ prontera,165,196,6 script Card Trader 90,{ mes "[Card Trader]"; mes "Hi, "+strcharinfo(0)+"!"; mes "What can I do for you?"; next; switch(select(" > Information: > Trade in cards: > Point shop (^0055FF"+getd(.Points$)+"^000000): > Leave")) { case 1: mes "[Card Trader]"; mes "Do you find that you've got useless cards lying around?"; mes "I'll be glad to take them off your hands!"; next; mes "[Card Trader]"; mes "I'll give you ^0055FF"+.Points[0]+" Point"+((.Points[0] == 1)?"":"s")+"^000000 for each card,"; mes "and ^0055FF"+.Points[1]+" Points^000000 for MVP cards."; mes "Trade those points for items later on."; emotion e_cash; close; case 2: mes "[Card Trader]"; mes "Select the cards you want to trade in."; if (.Level) { mes " "; mes "They must be from monsters level "+.Level+" and above."; } deletearray @sold_nameid[0], getarraysize(@sold_nameid); callshop "card_shop",2; end; case 3: mes "[Card Trader]"; mes "You have ^0055FF"+getd(.Points$)+"^000000 Points."; callshop "card_shop",1; end; case 4: mes "[Card Trader]"; mes "*yawn* See you later!"; emotion e_yawn; close; } OnSellItem: set .@card_total, 0; mes "Cards to sell:"; mes "-----------------------------------"; for (set .@i, 0; .@i < getarraysize(@sold_nameid); set .@i, .@i+1) { if (@sold_nameid[.@i] > 4000 && @sold_nameid[.@i] < 4700) { if (.Level) { query_sql("SELECT `LV` FROM `mob_db` WHERE `DropCardid` = "+@sold_nameid[.@i], .@lv); if (.@lv < .Level) { dispbottom getitemname(@sold_nameid[.@i])+" is under the minimum level."; continue; } } set .@mvp, compare(.MVP$, ""+@sold_nameid[.@i]); mes ((.@mvp)?" ^FF0000":" ^777777")+@sold_quantity[.@i]+"x "+getitemname(@sold_nameid[.@i])+"^000000"; set .@card_total, .@card_total + (@sold_quantity[.@i] * ((.@mvp) ? .Points[1] : .Points[0])); } } deletearray @sold_nameid[0], getarraysize(@sold_nameid); deletearray @sold_quantity[0], getarraysize(@sold_quantity); if (.@card_total == 0) { mes " ^777777(none)^000000"; emotion e_swt; close; } mes " "; mes "Total: ^0055FF"+.@card_total+" pt.^000000"; next; if(select(" > ^0055FFComplete trade...^000000: > ^777777Cancel^000000") == 2) { mes "[Card Trader]"; mes "Oh, okay..."; emotion e_hmm; close; } setd .Points$, getd(.Points$) + .@card_total; mes "[Card Trader]"; mes "All done!"; emotion e_ho; close; OnBuyItem: set .@cost, 0; for (set .@i, 0; .@i < getarraysize(@bought_nameid); set .@i, .@i+1) { for (set .@j, 0; .@j < getarraysize(.Shop); set .@j, .@j+2) { if (@bought_nameid[.@i] == .Shop[.@j]) { set .@cost, .@cost + (.Shop[.@j+1] * @bought_quantity[.@i]); break; } } } if (.@cost > getd(.Points$)) { mes "[Card Trader]"; mes "You don't have enough Points."; emotion e_omg; } else { mes "Items purchased:"; mes "-----------------------------------"; for (set .@i, 0; .@i < getarraysize(@bought_nameid); set .@i, .@i+1) { getitem @bought_nameid[.@i], @bought_quantity[.@i]; mes " ^777777"+@bought_quantity[.@i]+"x "+getitemname(@bought_nameid[.@i])+"^000000"; } mes "Total: ^0055FF"+.@cost+" pt.^000000"; setd .Points$, getd(.Points$) - .@cost; emotion e_cash; } deletearray @bought_nameid[0], getarraysize(@bought_nameid); deletearray @bought_quantity[0], getarraysize(@bought_quantity); close; OnInit: set .Level, 0; set .Points$, "#Card_Points"; setarray .Shop, 4001,1,4004,1,4033,1,4196,1,4197,25,4054,50,4174,75,4047,100; setarray .Points, 1, 5; set .MVP$, "4121,4123,4128,4131,4132,4134,4135,4137,4142,4143,4144,4145,4146,4147,4148,4168,4236,4241,4263,4276"; end; } Changes & Fixes: ✔ Fixed npcshopattach Issue - Removed unnecessary npcshopattach "card_shop";. ✔ Corrected Point Handling - Ensured correct getd(.Points$) usage for point calculations. ✔ Improved Sell & Buy Logic - Ensured arrays are properly processed before deleting. ✔ Refactored OnSellItem and OnBuyItem - More efficient iteration through sold/bought items. Try testing this version, and let me know if you need further adjustments!1 point
-
1 point
-
its on git. so how is it im not sure ? if not just download that rathena 100% from github during that date. did u know u can revert a few commit back ? then do it and try. Download latest rathena, revert 10 commit back, and try. as simple as that. Just make sure u know how to revert 10 commit back and how to use git. So what u should do to get the same result is : 1. Download latest git rathena 2. Revert 10 latest commit. 3. Retry the issue or see the npc file after u revert 10 commit.1 point
-
Still works in 2025, thanks 2 important tips: You can toggle debug mode with this (top line is debug, commented. Bottom line is no debug, server boots 10x faster!) ::MSbuild.exe %SolutionPath% /p:PlatformToolset=v143 /m MSbuild.exe %SolutionPath% /p:PlatformToolset=v143 /p:Configuration=Release /m Also, some of the VS Code Setup components have been updated or renamed, here's more or less the ones I used, I don't think anything else is required:1 point
-
well my egg was red in color like a broken item and its not clickable or hatching.1 point
-
In this section we are going to go through the steps to getting you set up with your very own server computer to run Ragnarok Online (and other games). Requirements : A Computer with at least 128 GB of space & 4 GB of RAM (8GB Recommended). Latest rAthena (Download here) Your own pre-made private client. (Not covered in this topic) Stable Internet connection. Ubuntu Bootable drive. (This guide was made using UBUNTU 22.04 LTS) Download Rufus if you don't have a bootable drive made. (Not Portable) Some time to process all of this information. Replace 127.0.0.1 with your Public IPv4 address. Wired Internet connection Optional Requirements : A Domain name SSL Certificates 32 GB Free Space (we will format it) Windows 10 ISO (x64) PRE-GAME SETUP Very Minimum system requirements : Operating System : Windows 95 to 11 CPU : Pentium II, 400MHz (or better) Memory (RAM) : 128 MB (or higher) Hard Disk Space : 7.2 GB (after system installation) Monitor Resolution : 640 x 480 (or higher) Video Card : Any with 3D Acceleration & at least 16MB on-board RAM Sound Card : DirectSound (or compatible with 3D Sound Effect Support) Internet Connection : 56 kbps (or faster) DirectX : 8.1 (or newer) Recommended System specifications : Operating System : Windows 10 CPU : Intel® Core™ i3-1305U Processor - 10M Cache, up to 4.50 GHz (or better) Memory (RAM) : 2 GB (or higher) Hard Disk Space : 128 GB (after system installation) Monitor Resolution : 1080x 720 (or higher) Video Card : Any with 3D Acceleration & at least 16MB on-board RAM Sound Card : DirectSound (or compatible with 3D Sound Effect Support) Internet Connection : 10 MB/ps (or faster) DirectX : 8.1 (or newer) ...... Now that we got a few things to get us moving let's get started... Section 1 - Installation STEP ONE: Making the Bootable (Rufus booter) i1.1.0 Once you've downloaded Rufus (here if still need) you will run it. You will a simple window with a basic user interface. Simple click "Boot selection" and make sure "Disk or ISO image" is selected. We will continue by clicking "SELECT" and choosing the Ubuntu disk image we downloaded earlier. The "Device" will be the USB drive we're making bootable: The default "cluster size" we'll leave as default. The "Volume Label" is what we will name the USB (optional). With that we're ready to click "START"! Here is what mine looks like at the end of it. STEP TWO: Setting up the OS (Ubuntu 22.04) i1.2.0 Upon booting up, you'll want to select "Try or Install Ubuntu". After this it will load up the start up interface. Follow the linear steps to install your new operating system. (NOTE: Ubuntu Pro is optional) We will do a normal installation for our example. After selecting the driver and location, you will need to create your user account. This is very important as it will contain information used further into the guide. Make sure you can remember your credentials. Getting used to the system will be beneficial for you. For this guide, we will navigate to your app menu located by default in the bottom left corner. STEP THREE: Preparing the Server (Adding Utilities & Libraries) i1.3.0 Here we are going to download a few necessary packages and then we will be able to simply update them whenever we need to using our update and upgrade commands. First thing's first. Let's update & upgrade our system. Type inside your terminal the following command: sudo apt update && sudo apt upgrade -y This will update and upgrade the system. Next we will need to install some packaged to run the server. Still inside the terminal, we will enter the following commands: sudo apt update && sudo apt upgrade -y sudo apt install build-essential zlib1g-dev libpcre3-dev -y sudo apt install libmariadb-dev libmariadb-dev-compat -y sudo apt install software-properties-common apt-transport-https -y sudo add-apt-repository ppa:ondrej/php -y sudo apt-get install php phpmyadmin mysql-server mysql-client git make gcc libmysqlclient-dev zlib1g-dev libpcre3-dev -y sudo apt-get install g++ From here we are ready to download rAthena. (If you have it downloaded manually and have a custom directory already ready for it, go ahead and upload it now. If not, follow these next couple steps to download and set the directory.) In this example, we are going to make the rAthena folder inside our Documents folder so we can find it easily. In your terminal enter in the following command to change to your documents directory: (replace the name with your user.) cd /home/raguser/Server The terminal should now read something along the lines of: raguser@RagServer:~/Server$ This is where we will create the rAthena directory. We will pull the rAthena trunk to a custom location we will name using the terminal. To do this we must enter in: git clone https://github.com/rathena/rathena.git ~/Server/rAthena This will now clone the rAthena repository to the directory we specified as rAthena inside the Documents folder. Now we need to update the repo to make sure we have the latest files. Change directory using the cd command and entering in the new folder we just created: cd ~/Server/rAthena And pull the latest updates from the repository to ensure we have the correct version: git pull We now have a fully functional rAthena that is ready to be set up with our packet information, SQL database, our website, and more. In the next section we will cover how to set up the SQL server using PMA (phpmyadmin) right from the desktop browser! STEP FOUR: PMA & SQL (Setting up the database) i1.4.0 Now that we have a fresh rAthena installed, it's time to check MySQL to see if it installed correctly at the start. This may not be installed by default so follow the commands if you don't have it. To check the status of MySQL enter in your terminal the following command: service mysql status This will tell you what the status of your MySQL is. If this fails, install MySQL using: sudo apt-get install php phpmyadmin mysql-server mysql-client git make gcc You will want to select apache2 to install. Now we will have full access to MySQL! We need to start our first launch of SQL to get things started. To access SQL enter in: sudo mysql -u root -p This will access MySQL as the root user after you enter the password. (The password is the one you set up earlier when initially installing MySQL) Once authenticated and inside we can create a database and populate it with our server account. Creating the database is done using a few simple inputs. Enter in & modify the following details: CREATE DATABASE ragserver; CREATE USER 'raguser'@'localhost' IDENTIFIED BY 'StrongPassword'; CREATE USER 'raguser'@'%' IDENTIFIED BY 'StrongPassword'; GRANT ALL PRIVILEGES ON ragserver. * TO 'raguser'@'localhost' WITH GRANT OPTION; GRANT ALL PRIVILEGES ON * . * TO 'raguser'@'%' WITH GRANT OPTION; GRANT ALL PRIVILEGES ON * . * TO 'raguser'@'localhost' WITH GRANT OPTION; FLUSH PRIVILEGES; This created the database 'ragserver' and added 'raguser' to the database with full access. Next we need to make the logs and grant privileges to raguser on it. To do this enter in: CREATE DATABASE log; GRANT ALL ON log.* TO raguser@localhost; Now we can leave by entering in: quit This next part of this step is a little more complicated, but very simple to do. rAthena has a database in their files that we are going to pull the columns and rows from so we don't have to manually construct it ourselves piece by piece. Thankfully we can execute it all in two simple commands: mysql -u raguser -p ragserver < /home/raguser/Server/rAthena/sql-files/main.sql mysql -u raguser -p log < /home/raguser/Server/rAthena/sql-files/logs.sql And finally we are going to insert the first player account of our database. To do so we much enter & modify the following details. (This can always be changed later.) sudo mysql -u raguser -p Inside MySQL enter the following lines: INSERT INTO `ragserver`.`login` (`account_id`, `userid`, `user_pass`, `sex`, `email`, `group_id`, `state`, `unban_time`, `expiration_time`, `logincount`, `lastlogin`, `last_ip`, `birthdate`, `character_slots`, `pincode`, `pincode_change`, `vip_time`, `old_group`) VALUES ('20000000', 'admin', 'adminPassword', 'M', '[email protected]', '99', '0', '0', '0', '0', '2022-02-20 00:00:00', '', '2022-02-20', '9', '', '0', '0', '0'); (You can always change this later in the PMA window in the next steps.) It's time to check our SQL to make sure it looks as good as we think. To do this we are going to need to go to your favourite web browser and enter in the following website ( your website! ) http://127.0.0.1/phpmyadmin/ And we're in! Here inside PMA you will find all the accounts and database information. You can load item and mob databases directly to here and read from here instead of the traditional rAthena directory. There are many things to control inside here, especially if you're troubleshooting. (You also have an App icon in your menu.) STEP FOUR-2: PMA (Restricted Access) i1.4.1 Now that we've got PMA up and running we're going to want to restrict access to any users other than the host. To do this we will use our host address and only allow access to PMA using that address. Else, it will throw a forbidden page to the user. Start by editing the following file: sudo nano /etc/apache2/conf-available/phpmyadmin.conf And at the very bottom we will enter a new line for it to read: <Directory /usr/share/phpmyadmin> Order deny,allow Deny from all Allow from 111.222.33.444 </Directory> Be sure to change the address to your machine's IP address. Restart apache2 and you're ready to go! sudo systemctl restart apache2 STEP FIVE: Getting Green (Online) i1.5.0 Great! You're this far. Not much more to do from here. We're going to now navigate to your rAthena directory and edit the "char_athena.conf" script located in: /home/raguser/Server/rAthena/conf/char_athena.conf Open the file with any text editor, the default one will work. Inside this file, near the top, will be the lines that show your Name & Password. These are for your Login database we set up earlier for phpMyAdmin (PMA). Search for and change the values to a random name and password: // Server Communication username and password. userid: s1 passwd: p1 For this step it is recommended to use random password generator of some sort. This never needs to be entered in manually anywhere. You can copy-paste it everywhere in this guide. In this example we are changing it to: userid: 4Xy3NAKxnl3sk6Aj passwd: 79y59S3m8lWmMDMS Now the Server's username and password are set, we can change the "inter_athena.conf" file so that the server can read our database we set up. Navigate to: /home/raguser/Server/rAthena/conf/inter_athena.conf This is where we are going to change some access information so the server can read through our MySQL login we made earlier. Find and change: // MySQL Login server login_server_ip: 127.0.0.1 login_server_port: 3306 login_server_id: raguser login_server_pw: StrongPassword login_server_db: ragserver login_codepage: login_case_sensitive: yes ipban_db_ip: 127.0.0.1 ipban_db_port: 3306 ipban_db_id: raguser ipban_db_pw: StrongPassword ipban_db_db: ragserver ipban_codepage: // MySQL Character server char_server_ip: 127.0.0.1 char_server_port: 3306 char_server_id: raguser char_server_pw: StrongPassword char_server_db: ragserver // MySQL Map Server map_server_ip: 127.0.0.1 map_server_port: 3306 map_server_id: raguser map_server_pw: StrongPassword map_server_db: ragserver // MySQL Web Server web_server_ip: 127.0.0.1 web_server_port: 3306 web_server_id: raguser web_server_pw: StrongPassword web_server_db: ragserver // MySQL Log Database log_db_ip: 127.0.0.1 log_db_port: 3306 log_db_id: raguser log_db_pw: StrongPassword log_db_db: log log_codepage: log_login_db: loginlog The last location we need to navigate to are our map server configurations. For this we will navigate to: /home/raguser/Server/rAthena/conf/map_athena.conf Change the username and password for the server. It's the same as earlier: userid: 4Xy3NAKxnl3sk6Aj passwd: 79y59S3m8lWmMDMS Now add (or uncomment) the following lines: char_ip: 127.0.0.1 char_port: 6121 map_ip: 127.0.0.1 map_port: 5121 In this part of the step we will configure the client to match your packet version. First we need to ensure "make" is installed. Enter in: sudo apt install make We'll need to give execution access to the configure file. Enter inside the rAthena directory (cd /home/raguser/Server/rAthena) : sudo chmod a+x ./configure Then we are going to configure the server packet to match the client we downloaded. ./configure --enable-packetver=YYYYMMDD The YYYMMDD is your client version for your server.exe. Our example is going to be 20211103: ./configure --enable-packetver=20211103 Once you've done that we're all ready to get the green light. Let's test it out! Let's make a clean slate! Enter in the command while still inside your rAthena directory: make clean Now let's start constructing the server: make server After that's done loading, let's give execution access to the start files & servers: sudo chmod a+x login-server && sudo chmod a+x char-server && sudo chmod a+x map-server Time to start it up! (Make sure you're inside the rAthena directory) To start the server: sudo ./athena-start start To stop the server: sudo ./athena-start stop To restart the server: sudo ./athena-start restart To check the status: sudo ./athena-start status We're online! EXTRA STEPS (OPTIONAL) STEP SIX: DNS. (Mask your IP) i1.6.0 So many of you, like myself, would like to mask your IP address and the best way to do this is to use a domain name service to mask our IP. But does this mean you can't find my IP? No. This does not mean your IP is hidden completely. It just means people have an easier way of accessing your website on a more reliable and trusted connection. In this part of the guide we will go through the process of obtaining and setting up the DNS on your personal dedicated server. Let's start by understanding what DNS means. I'll be quick. What this is telling is, is that we can now take one thing (our IP) and mask it with another thing (domain name). That's short enough. Now some might be wondering... "Don't I need a website and a host for all of that?" The answer is Yes. We set that all up in the previous steps of this guide. You're all ready good to go. The first step is to navigate to your favourite (and trusted) domain name service provider. There are many out there that a simple google search can discover. In this example we are going to use Domain.com. It's affordable, takes Paypal, and has everything we need neatly displayed. Right in the middle of the landing page, you'll notice a search bar. It's large and ahrd to miss. This is where you will type your domain name you want to look for. Don't worry about attaching the endings onto it (.com, .net, etc) as it will give you a list of all the available ones. Purchasing a domain will create an account for you using the details entered in during the billing process. The basic domain I purchased costs slightly more because it's a ".net", which holds a premium standard these days. You don't need to worry about protection and SSL either. We will be managing that all from the server computer as well. For free. Once you find a domain name that fits what you want to achieve and your account was successfully created, it's time to navigate to your email and verify the website. This process is necessary to get the site online. We are now authenticated and ready to move onto the next part of this step. Now that we have a domain, what do we do now? How do we ge this domain name we now own onto mask your personal address? Keep following along. We're almost there! To confirm we have everything, in case there was an issue before, we're going run, in the terminal, the command: sudo apt update && sudo apt upgrade -y && sudo apt install apache2 -y Next we'll need a couple library files for the server to read the data. The following command will give us those libraries: sudo apt install php libapache2-mod-php php-mysql -y Now that we made some changes, it's always good to verify things are still where we left them. Let's verify PHP again to make sure it's the same version as before (8.2.2) php -v Earlier we made a web server. Now it is time to configure it! Enter in and customise the name: sudo mkdir /var/www/customName sudo chown -R raguser /var/www/customName This creates a folder and gives us full ownership of it inside the webserver directory. The custom name is for security measures. This is where we will upload our website and all the web files later. First we need to make a configuration file to run it properly. To do that we must enter in and adjust the name of: sudo nano /etc/apache2/sites-available/customName.conf An empty screen will appear. This is what we want. Now we can populate it with all the information necessary to maintain the web server. I recommend pasting this into a notepad and changing the values as needed. You will need your web site name, user name,custom folder name we made moments ago and your public IP address (v4). Change the values and paste it in to the blank page: <VirtualHost *:80> ServerName localhost ServerAlias kingsman-gaming.net ServerAdmin [email protected] DocumentRoot /var/www/customName ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> Now the website is almost ready. We've given it instructions where to go. All we have to do now is verify it and enable scripts for the site to operate. Let's start by reloading our web server. sudo systemctl reload apache2 You may have to reload the apache2 service. If this appears simply run the command again: sudo systemctl reload apache2 This will appear a couple times through this part. Next we need to enable the default script. To do this we will run a command called "a2dissite". What this does is uses system links to run the website and disaables them when needed. Once enabled, we can set and forget even after reboots. sudo a2dissite 000-default Now we're going to do the same thing, except for the config file we just created above. The name must be exact: sudo a2ensite customName Let's test the config to see if it throws any errors: sudo apache2ctl configtest It looks like we got an error! It reads: If you encounter this, it's a simple fix! Enter the command to edit the following file: sudo nano /etc/apache2/apache2.conf Now we need to go to the bottom of the page and insert (at the very bottom) : ServerName localhost And now we want to reload the apache2 service one more time: sudo systemctl reload apache2 Finally, we must route our public IP to the domain name. This is done in that DNS menu on our domain host website. Let's navigate back to Domain.com and set this up. Here we want to edit (or add if it's not here) the "A record" that points to the host configured IP address. We will simply click edit to change the existing record and have it reflect (and edit to match your public IP) the values below: A @ 127.0.1.1 And to prepare things for the next steps, we are going to navigate to back to our basic domain settings and make sure the settings reflect the following: (Auto-renew optional) This is telling us all the options are disabled. We won't be needing any of them supplied by the host. That's it for this part! Our web server is ready for a website to be added and for the DNS to be redirected in our network settings. In the next step we will go through securing the website with a security certificate. It's free and easy to set up. STEP SEVEN: Getting SSL Certified (HTTPS) i1.7.0 In this step we're going to get that SSL set up. Currently when we access our website it says HTTP. We are going to make it say HTTPS. Start by registering to SSL For Web. It's free and easy to set up. After registering, we're going to go right to the top right and click the create button. You will be given two options. DNS & HTTP. We are going to select DNS to continue. You'll also need to enter your domain name to continue. This is where it gets a little more complicated, so follow closly. You will be given two codes to enter into your DNS register. To find this, you will navigate to where you purchased the domain name and modify the existing DNS service to include these values. Simple, right? In our example we used Domain.com. So we will continue using them. Log in and navigate to your domain. On the left side panel you will have some options. Select the one that says DNS & Nameservers. You will get a window like this: We are going to click DNS Records. This is where we will enter those values SSL generated for us. Go back to the SSL page and copy the first value on the left. This is a challenge domain for your domain name. Go back to your DNS records and enter in a new record. The record type we want is TXT. Paste inside the "Name" box the value we just copied. Go back to SSL and copy the value on the left. This is going to be pasted in the "Content" box. Set the value to 1/2 hour and hit confirm. Finally go back and verify that it worked. (It can take up to 30 minutes to fully work, but is usually quicker dependingon the service.) There is a status checker so you don't need to submit every time. Use the scroll bar to go to the right and check the status. Now that we have the green light and a security certificate is added to the domain, we can download the certificates and add them to the server. There are two main types of certificate for use and a bundled version. All we need in this example is the Certificate and Private Key. Now that we have them, how do we add them? Leave this page open for now, as we will need it shortly, and navigate back to your terminal. We're going to enter a few commands to get things set up on our dedicate server. Enter in to edit your certificate file: (rename to your website) sudo nano /etc/ssl/certs/kingsman-gaming.net.crt Then paste your certificate value that was given to you. We're looking for the Certificate. It now looks good to save! (CTRL-X, then enter Y to confirm) Now we must give it the key to the certificate. Enter in and edit the file: sudo nano /etc/ssl/private/kingsman-gaming.net.key We want to populate it with the key that SSLForWeb gave us. Go ahead and paste that in, then save the file. The last certificate we're going to add is the CA bundle. This will be used in the later steps, but let's add it now since we're here. Create a new file and give it adifferent name. In this example we just added ca. to it: sudo nano /etc/ssl/certs/kingsman-gaming.net.ca.crt Certificates are added and ready to go. Here we will go back to our server config file we made earlier and set it up for SSL encryption. Open: sudo nano /etc/apache2/sites-available/customName.conf We want to change the values to reflect: <VirtualHost *:443> SSLEngine on SSLCertificateKeyFile /etc/ssl/private/kingsman-gaming.net.key SSLCertificateFile /etc/ssl/certs/kingsman-gaming.net.crt ServerName localhost ServerAlias kingsman-gaming.net ServerAdmin [email protected] DocumentRoot /var/www/customName ErrorLog ${APACHE_LOG_DIR}/kingsman-gaming.net_error.log CustomLog ${APACHE_LOG_DIR}/kingsman-gaming.net_access.log combined <Directory /var/www/customName> Options FollowSymlinks AllowOverride All Require all granted </Directory> </VirtualHost> Then enable SSL to run scripts: sudo a2enmod ssl Let's break that down.... <VirtualHost *:80> is set to a standard, non-secured, port. We updated this to a secure port to allow the security certificates through. We added three lines to the top. These lines will be read first and indicate we are turning the SSL Engine ON, setting the Certificate Key file to our private ssl folder, and setting the Standard Certificate file to our certificate folder. And at the bottom we added some additional options for some System Links, Overrides, and Permission granting. Now the server can read all the security changes we made! Once we save that file we are going to enable the SSL scripts in the server. This was done simply with one command. With all this done, we have only one more step left to complete before we can fully set up SSL on the server. We need to allow our SSL access through the firewall. We can do this very easily with the following commands: sudo ufw allow 443 Your firewall should now appear with these ports for all of default Ragnarok services: (Check out open allowed services with sudo ufw status) 443 ALLOW Anywhere 5121 ALLOW Anywhere 6121 ALLOW Anywhere 6900 ALLOW Anywhere 80 ALLOW Anywhere 22 ALLOW Anywhere If you don't ahve an active firewall you can enable it with: sudo ufw enable With all this added, we are now going to check the syntax for the apache2 configuration to make sure it's still "OK" and restart the apache2 service: sudo apache2ctl -t sudo systemctl restart apache2 Common issue after this step: This is caused because the SSL scripts have to be passed through the system still. To do this we can enter in two commands to set this up: sudo a2enmod ssl sudo systemctl restart apache2 That's it for this step! We now have an SSL connection for our webserver. In the next section we will go through various methods of setting up the File Transfer Protocol (FTP) for our webserver. This is great for setting up files from your server for others to download. Users can download files directly from the web server. STEP EIGHT: File Trasnfer Protocol (FTP) i1.8.0 We're going to enable this on our server to allow users to download various files we set up in the download folder. Let's start by making that folder. Change directory to your web directory. We modified it earlier above: cd /var/www/kingsman/ Now create a directory: mkdir download We now have a folder where we will be adding out downloadable files. Let's get the libraries ready for the web server. Enter in: sudo apt-get update && sudo apt-get install openssh-server It will be a linear installation. Once it completes we can check the status of it: sudo systemctl status ssh If it failed to start load it again with: sudo systemctl start ssh Once we set the configs we're all ready to go. Edit the file: sudo nano /etc/ssh/sshd_config These settings will be added at the very bottom of this document. Scroll to the bottom, add & edit the following values: Match User raguser ForceCommand internal-sftp PasswordAuthentication yes ChrootDirectory /var/www/kingsman/download PermitTunnel no AllowAgentForwarding no AllowTcpForwarding no X11Forwarding no Save the document and exit. (CTRL + X then Y & Enter) Restart SSH with: sudo systemctl restart ssh We now have a fully functional FTP server attached to the web server. Now to get links for your files, you'll need to understand how the folders work in the web server. This part is completely ignored in the link you will generate: /var/www/kingsman/ Your link will be the default web address, so let's start with that: https://kingsman-gaming.net/ That's the start. Now we need to add our download folder. We know the default location is /var/www/kingsman/ directory, so this means kingsman-gaming.net is that location. To add the downloads folder we simply just separate it with a " / " and add the download directoy, exactly how it's spelt,in the file hierarchy: So /var/www/kingsman/download becomes: https://kingsman-gaming.net/download/ You can add as many directories as you can fit into the web address search bar and break off from the download folder to download other parts of the site. You'll add the file name to the link for which ever file you want to download. For example, I want to download VLRO.zip: https://kingsman-gaming.net/download/vlro.zip Now we have a place players can download our server from. Simply upload your files inside this download folder and send the link to your players to download. In the next step we will go through how to create a launchable version of Windows 10 wil your Ragnarok Online server set up on it. We will also go through various tools that will be useful to development. STEP NINE: Emulating Windows 10, Ragnarok & RO Tools (QEMU/KVM) i1.9.0 In this step we will be going through how to build and run a virtual machine based on Windows 10 operating system with our Ragnarok Online server installed onto it. Make sure to download Windows 10 ISO while we work. This will save some time later. You may also want to consider moving it to a new directory inside your Documents folder. We'll be doing this for our example moving forward, as well. Start by check that your system is Virtualization Ready. Enter in the terminal: egrep -c '(vmx|svm)' /proc/cpuinfo If your system is Virtualization Ready it will appear with a number greater than 0. My number came out as 16, so we're good to check if the system is supported. To do this enter in: kvm-ok If the system does not have the checker, you can enter this command to enable it: sudo apt install cpu-checker -y Now that we found out we can support virtualization it's time to install it, along with the librarfies neeeded to run it. Enter the following command to run all of this in one go: sudo apt install qemu-kvm virt-manager virtinst libvirt-clients bridge-utils libvirt-daemon-system -y We're going to run two more commands to make sure we have the virtualization daemon. Enter in: sudo systemctl enable --now libvirtd sudo systemctl start libvirtd Now check the status of to make sure it's online and everything is green:\ sudo systemctl status libvirtd Everything looks good so far! Before we can run the program we need to give our user specific permissions to access the daemon. To do this we will enter in: sudo usermod -aG kvm $USER sudo usermod -aG libvirt $USER We are now ready to launch! You can start the application in the application menu using the icon it supplies. (It can take a minute to populate) If you can't find it, or it hasn't appeared yet, you can manually run it with the command: sudo virt-manager You should now have a window that looks like this: If you experience an error trying to connect after finishing up to this part of the step and it reads something along the lines of: Unable to connect to libvirt qemu:///system.Verify that the 'libvirtd' daemon is running. Error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied It is recommended to restart your computer and try connecting. Sometimes after the installation it won't have all permissions set properly. A full restart of the system can resolve this. Now that we are set up, it's time to create a virtual machine! Go ahead and click the New Machine button at the top left. We're going to select Local install media from the list and select the ISO file we downloaded at the start of this step. (If you didn't donwload it before, now is a good time to. While you're waiting you can reflect over the steps you've went through to get this far. It is good to understand the system and how you got here.) We'll want to click "Browse..." and a new window will appear. Here we have our default filesystem directory. This is a default directory that is given with the application. We don't have files in this folder so we won't focus on this. At the bottom left, there's green " + ". Click it. Now we are presented with options for renaming the pool, changing the type of file it is, and setting the target path for where to read and write data. We are only going to focus on two of these options in this step. Name & Target Path. We'll give it the name "DiskImages", though you can name it anything you want, and we want to select the path to be the folder we created inside our Documents which holds the Windows 10 ISO. We now have a link to this folder inside the KVM. If we select it, we can now see the Windows 10 64 bit ISO is there. We will click it and Choose Volume. The applicatiion will likely guess that it is Windows 11, so we need to uncheck that box and change it from an 11 to a 10. Change to Press Forward and agree to the promt. You can click the Don't Ask button for future changes. Now we must set the amount of RAM and Cores to use. We can change this any time after shutting the virtual machine down. For now, we will use the default 8G and 4 Cores. (Recommend: 3G RAM or more, 2 cores or more for this setup) The next part of this step is to create the virtuale machine's hard drive. To do this we need to let the VMM do a rather long process to the 32 GB of space that will add a system file to a size we pre-determine, and it will allow us to boot Windows 10 off that space and dedicate it a hard drive to store files. It sounds complicated, but it's really simple to do. It just takes some time if you have larger spaces to work with. Moving forward, we much select "Enable Storage for this virtual machine" and we will then go to the bottom and select "Create a dusk image for the virtual machine" and click "Forward". If we get asked to grant search permissions for the path. Click YES. Now we are ready to create the Windows 10 disk space. Double check the information is correct, mainly the Windows 10 operating system doesn't say Windows 11. It will launch automatically for the first time on Finish. You will now be able to set up your emulated Windows 10. (If you encounter...) ERROR: If you experience an error, roughly like the one I created above, it's possible that the QEMU user does not have access to this directory still. You can manuall add this access very easily. Enter in the command to check the permissions, first: The output should look close to this: This is showing us that our QEMU is not here on the list. Let's add it: sudo setfacl -m u:libvirt-qemu:rx /home/raguser/RagDisk Now if we run the command to check it again: sudo getfacl -e /home/raguser/RagDisk We can see that the user is added successfully. Finally, Restart the Virtualization library and you're ready to continue on to the next parts of this step: sudo systemctl restart libvirtd You should be ready to launch now! We've got Windows 10 running and Updated as much as it can get. We're going to install a few necessary applications to run our programs and the game itself. Download the following files from the following (trusted) sources: -Microsoft Direct X Runtime -Visual C++ Redistributable for Visual Studio 2015 -.NET 6.0 or 7.0 -(Optional) RO Tools List With everything installed, and the system fully rebooted for good measure, we're ready to get started with the game installation. STEP TEN: Setting up rAthena Source (Game Files) i1.10.0 Now it's time to get rAthena set up so we can get players connecting to the server. First thing's first! Organise and familiarise yourself with the files. This is where you will be spending lots of your time. This will be an ongoing process once you complete these steps. In this guide, it will give you some organization pointers. Take your time with this and get used to how you lay things out. You will navigate back and forth a lot during a maintenance. If you have not already downloaded rAthena we will go ahead and do that now. The following commands will change your directory to the root for your profile, next it will make a "Server" folder for you to operate in, and finally it will download the rAthena trunk to that directory. Finally we will enter that directory to process the remaining steps. cd sudo mkdir Server git clone https://github.com/rathena/rathena.git ~/Server/rAthena cd ~/Server/rAthena To update rAthena to the latest verison we need to process a git-pull while inside the rAthena diretory. git pull Now we've got rAthena's latest trunk and all the updates! It is important to get a good, or at least an okay, understanding of how rAthena has all their files organized. Things are in a specific place and named specific things for a reason. If you move or rename a file or folder it will cause you many problems. Source files are where you will make changes that will affect the entire game and the way it functions. Be very careful when editing these files and stay within the lines of the cave if you don't know what you're doing. Config files are where you will make the majority of changes to your server. This is where things like Drop rates, EXP rates, and all your Server settings will be located. In the continued steps below, we will go through how to set up the remainder of the server. It's time to create a database for all the player accounts to be saved to. To get started be sure you've followed the previous steps for setting up PMA (phpMyAdmin). Now that we have access to MySQL we can start by entering in some commands to give us access to the databases involved. Open the terminal and enter in the following: (Note: You set the username and password earlier) CREATE DATABASE ragserver; CREATE USER 'raguser'@'localhost' IDENTIFIED BY 'StrongPassword'; CREATE USER 'raguser'@'%' IDENTIFIED BY 'StrongPassword'; GRANT ALL PRIVILEGES ON ragserver. * TO 'raguser'@'localhost' WITH GRANT OPTION; GRANT ALL PRIVILEGES ON * . * TO 'raguser'@'%' WITH GRANT OPTION; GRANT ALL PRIVILEGES ON * . * TO 'raguser'@'localhost' WITH GRANT OPTION; This created the database 'ragserver' and added 'raguser' to the database with full access. Next we need to make the logs and grant privileges to raguser on it. Enter in: CREATE DATABASE log; GRANT ALL ON log.* TO raguser@localhost; Now we can leave by entering in: quit Majoirty of the database is set up now! This next step is a little more complicated, but very simple to do. rAthena has a database in the server files that we are going to pull the columns and rows from so we don't have to manually construct it ourselves piece by piece. Thankfully we can execute it all in two simple commands: mysql -u raguser -p ragserver < /home/raguser/Server/rAthena/sql-files/main.sql mysql -u raguser -p log < /home/raguserServer//rAthena/sql-files/logs.sql Now we have an almost-fully functional database for the server. It's time to create the first account! Back to the terminal, we are going to enter and log in to MySQL again: sudo mysql In MySQL enter in: (Before submitting this to the database, we are going to change the Login Name, User Name, Password, & Email) INSERT INTO `ragserver `.`login` (`account_id`, `userid`, `user_pass`, `sex`, `email`, `group_id`, `state`, `unban_time`, `expiration_time`, `logincount`, `lastlogin`, `last_ip`, `birthdate`, `character_slots`, `pincode`, `pincode_change`, `vip_time`, `old_group`) VALUES ('20000000', 'admin', 'adminPassword', 'M', '[email protected]', '99', '0', '0', '0', '0', '2022-02-20 00:00:00', '', '2022-02-20', '9', '', '0', '0', '0'); Great! You're this far. Not much more to do from here. Navigate in WinSCP/FileZilla (or other FTP access app) and go to your directory: /home/raguser/Server/rAthena/conf/char_athena.conf Inside this, near the top, will be the lines that show your Name and Password. These are for your Login database we set up earlier for PMA. If you haven't changed these yet, do so now. I recommend a random generator for the values. A simple Google search for this will help. Search for and change the values to a random name and password: // Server Communication username and password. userid: s1 passwd: p1 These values must reflect what is inside the login database or the server won't be able to connect. Do not share these values. With anyone. Now the Server's username and password are set, we can navigate to: /home/raguser/Server/rAthena/conf/inter_athena.conf This is where we are going to change some access information so the server can read through our MySQL login we made earlier.Find and change: // MySQL Login server login_server_ip: 127.0.0.1 login_server_port: 3306 login_server_id: raguser login_server_pw: StrongPassword login_server_db: ragserver login_codepage: login_case_sensitive: yes ipban_db_ip: 127.0.0.1 ipban_db_port: 3306 ipban_db_id: raguser ipban_db_pw: StrongPassword ipban_db_db: ragserver ipban_codepage: // MySQL Character server char_server_ip: 127.0.0.1 char_server_port: 3306 char_server_id: raguser char_server_pw: StrongPassword char_server_db: ragserver // MySQL Map Server map_server_ip: 127.0.0.1 map_server_port: 3306 map_server_id: raguser map_server_pw: StrongPassword map_server_db: ragserver // MySQL Web Server web_server_ip: 127.0.0.1 web_server_port: 3306 web_server_id: raguser web_server_pw: StrongPassword web_server_db: ragserver // MySQL Log Database log_db_ip: 127.0.0.1 log_db_port: 3306 log_db_id: raguser log_db_pw: StrongPassword log_db_db: log log_codepage: log_login_db: loginlog The last locations we need to navigate to are our map server & subnet configurations. Navigate to: /home/raguser/Server/rAthena/conf/map_athena.conf Change the username and password for the server. It's the same as earlier: userid: 4Xy3NAKxnl3sk6Aj passwd: 79y59S3m8lWmMDMS Now add (or uncomment) the following lines: char_ip: 127.0.0.1 char_port: 6121 map_ip: 127.0.0.1 map_port: 5121 And finally adjust the subnet to match your server's IP address. This step can be a little tricky if you don't understand how a subnet works. So simply follow below and replace x.x.x.x with your server's IP address: subnet: 255.0.0.0:127.0.0.1:127.0.0.1 subnet: 255.0.0.0:x.x.x.x:127.0.0.1 Details about Subnet and why we want to set these values exactly as above: Subnet Mask (255.0.0.0): The subnet mask defines the range of IP addresses that are considered part of the same network. In this case, 255.0.0.0 allows for any IP addresses within the range 127.0.0.1 to 127.255.255.255. This is a standard loopback range used for local network testing and communication between processes on the same machine. IP Address (IPv4 Address): This is the actual IP address of your server or the machine running the rAthena server. It is the address where the rAthena server listens for incoming connections from clients. Setting this value ensures that the server only accepts connections from the specified IP address. Loopback Address (127.0.0.1): The loopback address is a special IP address that refers to the local machine. In the context of rAthena, it allows the server and any local processes to communicate with each other without going through the external network. Purpose of this Configuration: Security: By specifying a subnet, you're telling rAthena which IP ranges it should consider valid for connections. This can help to prevent unauthorized access to your server from IP addresses outside of this range. Local Development and Testing: The loopback address (127.0.0.1) allows the server to recognize and accept connections from the same machine. This is useful when you're running the client and server on the same machine for testing or development purposes. Network Segmentation: The subnet mask of 255.0.0.0 limits the accepted connections to a specific network range. If you set it to 255.255.255.0, for example, only IP addresses in a narrower range would be accepted. The chosen mask ensures that your setup is flexible enough to accept a broad range of connections, depending on your server's configuration. Why Use 255.0.0.0 Specifically? Simplicity: Using 255.0.0.0 ensures that any IP address within the local loopback range (127.x.x.x) is accepted. This is a common and straightforward setting for local development. Compatibility: Many default rAthena setups and guides use this specific subnet configuration because it covers all the IP addresses typically used by local and internal server processes, making it suitable for a wide range of setups without needing to adjust the configuration for specific IP ranges. Excellent! You're near the end. It's time to configure the client to your packet version. Let's give execution access to the configure file: sudo chmod a+x ./configure Then we are going to configure the server: ./configure --enable-packetver=YYYYMMDD The YYYMMDD is your client version for your server.exe. An example of how this looks is: ./configure --enable-packetver=20211103 Congratulations on making it to the end of setting up your server. It's time to start it up now! Let's make a clean slate! Enter in: make clean Then let's start constructing that server. Enter in: make server After that's done loading, let's give execution access to the start files & servers: sudo chmod a+x login-server && sudo chmod a+x char-server && sudo chmod a+x map-server Time to start it up! (Make sure you're inside the rAthena directory) To start the server: ./athena-start start To stop the server: ./athena-start stop To restart the server: ./athena-start restart To check the status: ./athena-start status That's it for this step. If you followed up to here you'll have a all server files downloaded and ready on the server side with a database ready to accept logs and registrations. In this next step we will go through the systemd.service files to get your server running automatically when the system restart or if it crashes. STEP ELEVEN: Setting up UFW (Firewall) i1.11.0 When setting up the firewall, we want to make sure we know exactly what ports we are adding in before we add them. This will save us from having to deny thema ccess later. Let's gather the ports we know of for all the services we've set up thus far. We know of our Web ports, which should be automatically added when installed, but sometimes this isn't the case. We've also got the FTP ports for the download servers, if we want to use them. There's also the PMA & SSH ports. Are you writing this down? sudo ufw allow 443 sudo ufw allow 80 sudo ufw allow 20/tcp sudo ufw allow 21 sudo ufw allow 22 sudo ufw allow 3306 sudo ufw allow 6900 sudo ufw allow 5121 sudo ufw allow 6121 sudo ufw allow 8888 Sometimes you might still get some issues with the firewall blocking you. You may be required to let the firewall know what type of conneciton to allow, either TCP or UDP; but what is TCP/UDP you might ask? Very simply put... TCP means Transmission Control Protocol which runs a more reliable connection, however, it can lack in transfer speed. UDP means User Datagram Protocol and it has a much faster transfer rate of data, but can be unreliable in sending said data. What does this mean for you? You can choose to do UDP all accross the board since Ragnarok uses small packets of data compared to a much larger scale game. Just my recommendation. However, if you want absolute data transfer at the highest success rate to avoid lost packets and data, then do TCP. Still confused? Do both in the firewall. An example of what the command will look like for adding TCP/UDP: sudo ufw allow 5121/udp sudo ufw allow 5121/tcp Now that we've got an understanding of the firewall and the ports we have added we can now relax knowing the firewall will protect us from majority of threats. STEP TWELVE: Setting & Forgetting (Auto-Start scripts) i1.12.0 I hate when the server crashes. But you know what's worse? When it doesn't come back up until an admin turns it on. In this step we will go through the simple setup process to get your server ready to start when you load your system and reboot if it crashes. Start by opening up the terminal and entering in the following command to create a new system.service file: sudo nano /etc/systemd/system/ro-login.service This will create a system service file which we will enable later to start automatically. Inside these service files will be a series of commands that will allow the server to boot up automatically when it experiences an outage for a speificied amount of time & when starts the system after a reboot. Populate the file and edit the values to match your rAthena directory and User Login name: [Unit] Description=Ragnarok Login-Server After=syslog.target network.target mysqld.service [Service] WorkingDirectory=/home/raguser/Server/rAthena User=raguser ExecStart=/home/raguser/Server/rAthena/login-server ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartSec=15s [Install] WantedBy=multi-user.target We are going to do this two more times. Once for Character Server & another for the Map Server. sudo nano /etc/systemd/system/ro-char.service Populate with: [Unit] Description=Ragnarok Character-Server After=syslog.target network.target mysqld.service [Service] WorkingDirectory=/home/raguser/Server/rAthena User=raguser ExecStart=/home/raguser/Server/rAthena/char-server ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartSec=15s [Install] WantedBy=multi-user.target And now: sudo nano /etc/systemd/system/ro-map.service Populate with: [Unit] Description=Ragnarok Map-Server After=syslog.target network.target mysqld.service [Service] WorkingDirectory=/home/raguser/Server/rAthena User=raguser ExecStart=/home/raguser/Server/rAthena/map-server ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartSec=15s [Install] WantedBy=multi-user.target We will now start them all and check their status: sudo systemctl start ro-char sudo systemctl start ro-map sudo systemctl start ro-login sudo systemctl status ro-char sudo systemctl status ro-map sudo systemctl status ro-login Once we have the Green light on the status we can go ahead and enable the scripts to automatically start on boot. Enter in: sudo systemctl enable ro-char sudo systemctl enable ro-map sudo systemctl enable ro-login That's it! You're set to boot up automatically after a crash and upon system restart. Well done! Section 2 - After-Installation Now that we've got everything set up this far, we can continue maintaining & updating what we've started. Continue below to learn more on how to maintain the server after you've set it up. Requirements : Latest NEMO release An executable update from NEMO's website Latest FluxCP from rAthena STEP ONE: FluxCP (Registration & Logins) i2.1.0 Everyone needs to register somehow, right? We're mostly all aware of the high risks with enabling registration via "_M/_F", if you're not... In short: Don't use it if you're opening the server to the public. It can enable botters, spammers, & hackers the ability to just create infinite accounts and continue their schemes easier. With FluxCP we can help avoid this by limiting the amount of registrations allowed per person. Let's dive into it now. Gather your resources! You'll need to download the latest FluxCP by clicking that link. If you missed it, here's the link again: https://github.com/rathena/FluxCP This is where we will manage all the registrations to the game as well as many other fun functions we will get into later. For now download & extract this entire directory into your webserver. I put mine in the primary (root) directory of my webserver. That's the folder we created earlier with the custom name we provided. In this example we used "kingsman" as the custom name. The folder path is: /var/www/customName Our final output will look like not include the folder. This means we must drag all the contents into the root directory of the webserver. Now we should look like this at after extraction: Enter the config folder first. This is where we will be doing all the work for setting up this control panel. Inside the config folder you will have 31 files to select from. We're only going to work in two of these for this step. Open servers.php and you will see a set up similar to earlier where we added some settings for rAthena configs. They are the exact same configs. Go ahead and add that in there exactly as you did in the configs earlier. Now that we have our config looking good, let's scroll down towards the bottom and edit our rates to reflect that of our server's. This will display the rates set up in your databse as well so players can use that to search drop rates on your server. Change accordingly! That's it for the servers.php! Save that & move to the next file. Let's now open up application.php and edit the first few lines we see. We want to change the base URI to be blank. This will set it to the root directory where we hold the control panel. Server Address is going to remain localhost since we are running it on the localhost. And finally we need a storng password to gain access to the administration panel to set it up. 'ServerAddress' => 'localhost', // This value is the hostname:port under which Flux runs. (e.g., example.com or example.com:80) 'BaseURI' => '', // The base URI is the base web root on which your application lies. 'InstallerPassword' => 'superduperstrongpassword,man', // Installer/updater password. Save that and open your website now! You'll likely get several permission errors. Copy waht they say for you to do, it will be a sudo chmod command giving access to the logs. This is necessary to proceed to the next part. Add sudo before each command or it won't work. You'll need to enter your password into the control panel shown after granting permissions to FluxCP. After the password is successfully added it will update your PMA database with all the new information for FluxCP's registration and logins. Your panel should look like this by default now: You now have a palce where you can register and manage accounts! Navigate through the application.php file to change some various settings like your control panel name and what is displayed. You can also adjust the ports if they are different during the previous set up. STEP TWO: My First EXE (Making an Executable) i2.2.0 Now that we've got everything set up on the server-side of things it's time to work on the client-side of things now. Let us start first by making an executable. this will be the CustomRO.exe that players will use to run the game. Launch NEMO and give it a moment to load up. In a compact form, this is waht you'll see. What this is showing us is that we can Load a client, which we downloaded from the "Requirements" section above, we can apply patches, select the recommended patches, select previously loaded patches, load a pre-saved profile, and save an existing setup as a profile to load later. for this example we are going to use the current recommended version in rAthena's trunk. This is version "2021-11-03". We are presented with a file that will launch a terminal to download the latest executable. It will look similar to this: Now we have the executable ready to be patched. Back inside NEMO, we want to browse to that file we just downloaded and select it. You can change the saved outpute file name here or rename it anytime later. Here we will change it now. Click "Load Client" and a list of patches will populate. Now we want to "Select Recommended" patches given for for the executable. To apply these patches simply click the "Apply Selected" button and it will pack it for you. Brose the patches and select any patches that will help you or you might use in the future. For this example we are changing the Client Title name, the ItemInfo.lub or ItemInfo.lua and a majority of other changes that will allow the client to read LUA files over LUB files. Take your time going through the list. It will take a while the first time around. With all the patches applied we now have en executable in our output folder. But it came with other files, what do I do with those? You only need the custom executable we made (CustomRO.exe). This is going to be sent to the players and the rest will be removed from the client folder You're now ready to send this to other players! STEP THREE: My First Patcher (Making a Patcher) i2.3.0 We've got a client executable and it's fully patched the way we like. This is a great start! Now it's tie to send players an update. Through the patcher. But we don't have one yet! In this example we will go through the steps to creating a patcher using Thor Patcher from rAthena download section. Your extracted package should reflect similar to this: We want to enter the Configuration folder and edit the config.ini file located inside. Inside this config file are the lines necessary to connect the client to the server and send files from the server to the client. In the first few mines we'll edit the values to reflect our server values: The IP can be our website, this example is just a localhost address. Remote config file we will leave as default. Status file we can name server.dat. This can be anything, however. The custom GRF we have for our server, listed as number 0= in the data.ini. Finally our custom client executable we made earlier. Further down the page we have the title of the patcher. This can be anything. And lastly our notice page which will have a brief text description for the updates on the patcher front page. Save that and we're ready to launch the config generator. Drag the config into your .../Thor_Patcher/Patcher folder and it you're ready to copy them to your CustomRO client files. When compelte you'll have a patcher similar to this: You're made your Patcher now, well done! STEP FOUR: My First Patch (Making a Patch) i2.4.0 Keeping organised is key to staying sane. Let's start off by making a couple folders. A Patches folder & a data folder. It should look like this now: Patches/data This should look familiar. It's the same set up as the GRF. We will now be able to drag all the files we want to patch into this directory. One more folder we want to make is going to be the Output folder. This is where all the patches will be saved. There will be two more options to deal with. We want to set compression to HIGH and in the Options tab we want to set the file type to ACSII. It should reflect the below image. Once that's set we can click "Generate" to make the first patch. It will be create in the Output folder we selected. That's all there is too it! You've created your first patch. STEP FIVE: Sending The Patch (Sending Patches) i2.5.0 We now have it all. The Patcher & The Patch. Things are great. But how do we send it to players withing them having to redownload the entire GRF? Great question! In this next step we will cover how to add the patch to the webserver and get it ready for players to recieve when they load their patchers. In step i2.3.0 we covered how to set the patcher up in the web server. This is the file structure we will continue to follow moving forward. Let's open open up our file browser for accessing the server trunk, if needed, or it you're running your own system you can also navigate to the web server folder. The directories are the same either way. /var/www/custom/patch/ This is the directory we wil be working in regarding the patcher. It should now represent the image below: Let's break this down first... We have: The data folder. This is where we will add the patches into after we name them. The Background image. This will be a back ground image for the patcher to load. You can even leave this transparent if you want. Our main.ini is where we will configure the settings for the patcher. We will go through this soon. The notice page will be need to be updated with each news change. This is a very simple text edit. Keep it short and simple. Our patch list text file is where we will add the patches. The format will be discussed soon. Our Style sheet. This is the style arrangements for the pages. We usually don't need to modify this unless we know what we're doing. First thing to do after we have a patch made is to give it a name. What do you ask? A very specific name. In this example we will follow a date format with a part value in the event of more than one patch in a day. Our name in this example will be the date followed by a version number, or update number. 24012024-1 This well tell me that the patch was set for today and it's the first path released of that day. Now we can edit the plist.txt and add this patch into the list. Inside the patch list we will enter in the exact namme of the patch. Including the ending. Our names will start with an index number first. This is the order at which the patcher will read the patches. The index starts at 0 and is followed by a SPACE and then the item name. 1 24012024-1.thor Save and it's ready to load through the patcher! Finally we need to tell the website to send patches to players. Open up the main.ini file with a text editor. We're going to modify the line that asks for a website address. Search for "file_url=" ad edit that to be your website. Save and it's ready to go! That's pretty much it for uploading patches to the server. You're all set to start updating players with new content! STEP SIX: Adding/Removing Maps (map_cache.dat) i2.6.0 Got a enw map you want to try out or is your current map not up to date with your pathing? In this step we're going to add maps to the map_cache.dat, remove maps if needed and update the list with our new maps. First start by downloading the Map Cache Editor from the trusted rAthena source: HERE You'll be presented with a window that looks like this: What we want to do next is download our map_cache.dat from the server trunk: rAthena/db/map_cache.dat Once downloaded it will be able to drag and drop that file into this window. We now are presented with a list of maps. From here what we want to do is drag and drop all our map's .gat files from our GRFs into this window. this will update the walkable paths for the map. This is especially important when you cannot walk on certain maps due to old GAT configurations, It still thinks there are structures in the way. To delete a map you can select it and click delete. Simple as that. Save the Map Cache and reupload it to your server. That's it! Nice and quick. Section 3 - Optional Options Things are running now, yeah? That's great to hear. Sometimes they may require additional software, maybe another step or two, or maybe you need something else for it all to work. Below are some steps that are completely optional but might just help you out in some situations. STEP ONE: Forwarding a Router (Port Forwarding) o3.1.0 Understanding what port forwarding is will be an important start to not having your network breached. In this step we will go through the basics of forwarding your port through your router. The user interface (menus) will look different for each router brand, however, the concept will remain the same universally. Check your router software for updates before making any changes. Let's begin! Accessing the Router To access the router we want to first ensure we are connected to the internet using it. Next we will open the trouter software through our web-browser. To access that page we will have to enter the local domain IP to gain access to the initial menu. In your address bar enter in: 192.168.1.1 If this DOES NOT work try entering in: 192.168.0.1 My basic Netgear modem has a menu that looks like this. I'm going to want to click into Advanced Settings & open up the Port Forwarding option. We are now presented with a window similar to this. It will give us all options for forwarding our ports. Let's get an understanding of what's here before we continue... We will select between Forwarding and Triggering. Since we don't need to trigger a port we will focus only on Forwarding it. There are many types of services that might be precompiled in your router. For our Ragnarok Online server will be making a custom service. It's not as hard as it sounds, don't worry! The device IP we want to connect is a little different. It has to be exactly what device you have the server under. Let's navigate to the device list on the router. This will be under the "basic" settings, usually. It shows here I have 3 devices listed. An Amazon Fire stick, My cell phone and a PC I built specifcally for this guide. That's exactly what we are looking for, too! It looks like the device I am forwarding resides under the IP ending with 7. Okay, so we now understand where the ports are going to and waht device has them. So it's time to make that custom service we spoke of earlier. This interface has a button, making it very convenient to start. We're going to go ahead and click the "Add Custom Service" button. With the custom port window we can now add our ports for Ragnarok to run. We will need to process this 1 number of times as we have more than one port for Ragnarok Online services. The ports we need to add are: 3306, 6900, 5121, 6121, 8888 Make sure to select the proper device for it to work as we want it to. After they are all applied, it will represent something similar to this: That's it! Your ports are now open & ready for users to connect through to. Make sure firewalls are enabled at all times. STEP TWO: Automatic Server Backups (World Runner) o3.2.0 This script will automatically save your server to your server_backup folder every 24 hours. This time is completely adjustable in time and destination. I originally made this for Minecraft hence the name World Runner. Open the terminal and enter in the command: sudo nano /etc/systemd/system/worldrunner.service This will create a service script we will set to run on start up. Inside this document we are going to add int the following script and change the destination values to match our back up folder destination: [Unit] Description=This will copy the Server folder to a back-up location [Service] Restart=always RuntimeMaxSec=1d User=raguser ExecStart=cp -r /home/raguser/Server/rAthena /var/www/raguser/Documents/server_backups/ RemainAfterExit=yes [Install] WantedBy=multi-user.target Now we want to enable it on start-up: sudo systemctl enable worldrunner If you're having issues with it executing properly we can simply grant permissions to the file to do so: sudo chmod 600 /etc/systemd/system/worldrunner.service We now have the trunk backing up now, but what about the SQL server? For that we need to edit a default file structure in Ubuntu called Cron. Cron can hold automated tasks on a timer, or schedule, just like what we want to do for backing up MySQL. Enter in the terminal: sudo nano /etc/crontab You'll be presented with a window simial to this: As you can see here they are displaying each value for the job. First digits represents Minutes and the second digits represents Hours. These are the two we'll primarily need for daily backups to occur. At the very bottom we are going to add the following line: (NOTE: Include your password after the -p. My password is "69SuperStrongPass69" so the password section will look like -p69SuperStrongPass69 ) 0 0 * * * root mysqldump -u raguser -p69SuperStrongPass69 --all-databases | gzip > /home/raguser/Documents/Rag_SQL/ragserver_`date +%d%m%Y-%H:%M:%S`.sql.gz This will set the back up time to be at Midnight each night using the PMA login we set up earlier, backing up our ragserver database into a zip file at the directory ~/Documents/Rag_SQL. NOTE: Avoid use of these symbols in the password field: ) ( ' ` Finally we need to restart the service for it to take effect: sudo /etc/init.d/cron restart That's all there is to it! Keep up to date with the latest changes & updates to this guide. Want to see something included? Suggest it below!1 point
-
This will replace the apple sprite on missing items with a question mark based on the question mark emotion sprite. Also includes a bigger version of the question mark texture made by me. To setup this: 1: Replace the apple's '»ç°ú' ACT, SPR and BMP sprites in the data with the ones inside 'data.zip' from this post 2: Add and reference the new 'apple_' textures from 'data.zip' in your itemInfo (so that the apples use the pseudo-custom apple texture instead of also using the '?') Result: Apples still look like Apples. Unknown Items look like a question mark. Less confusion, easier to spot and report! Includes: - »ç°ú.act / spr / bmp - apple_.act / spr / bmp - Partial 'itemInfo' template data.zipunknown.lua1 point
-
Need the latest kRO Install folder for your private server? Look no further! ----> Download <---- Latest: 2023-04-04 Installation: Official kRO Updated: 04/04/2023 Download Link: https://mega.nz/folder/jUsDgRxQ#ttLmLjPY9p9cfU5_ShWVCw Package contains RSU RO Patcher Lite for kRO and kRO RE by [Ai4rei] This package is maintained by [Akkarin] Note: Due to continued abuse of my webservers, the files have been moved to MEGA. You can download an extractable .zip of an installed kRO directory, or you can download the official installer from kRO's website. Note: If you require older maps that are compatible with 2021 and older clients, download the 2021 .zip. A fan of this topic? Hit the rep button1 point
-
Check if you can download kRO_FullClient_20230404.zip --- https://drive.google.com/file/d/1ceW09_uIishuOTaneLhxVJjBax5Qz1OP/view?usp=sharing1 point
-
1 point
-
Hello and Good Day guys! It's nice to be back in the world of mapping! Here is a new look for Prontera! Check the in-game screenshot here, Hope you like it guys.1 point
-
Welcome Rhymaestro, if you want to modify Ragnarok to fit to your ideas, you have several options and things to learn. The simplest way to change the world itself is using scripting, it lets you do a lot of stuff, but based on how deep you want your changes to be, you will reach its limits relatively fast. This brings us to source modification, for which you will need C++, it will allow you far more agency but is also more complicated and harder to learn. Custom jobs for example would be a thing that you would implement via source modification. You will also need to grasp at least a bit of how the client works, where it gets the graphics and information from, so you can extend or modify things to your liking. Taking your custom job idea, you would need to change client files for the skill descriptions, for example. Many things you want to achieve will have been done in one way or another already. So searching the forum or checking the download section for scripts or source mods you can use as a base or learn from might be useful. You can also check the rAthena wiki at https://github.com/rathena/rathena/wiki which has a lot of guides on how to install rAthena and connect to it or how to achieve certain things you may want to do like adding custom items or mobs. Another helpful resource is the doc directory in the rAthena folder. You can find an online copy here: https://github.com/rathena/rathena/tree/master/doc it provides a lot of information regarding the structure of rAthena to make it clearer how it works. I think especially helpful are the script_commands.txt, which is a reference of all scripting commands rAthena provides and the source_doc.txt which explains how the servers communicate with each other, how the code is organized and what a lot of the acronyms often seen in the source code mean. Tool and resource wise, I can recommend you the tools from: Ai4Rei: https://nn.ai4rei.net/ (Check yourself which tools you might need) Tokei: https://rathena.org/board/files/file/2766-grf-editor/ (GRF Editor) llchrisll: https://github.com/llchrisll/ROenglishRE (English translation of the client) 4144: https://nemo.herc.ws/downloads/ (A good source for full clients, unpacked client exes, and you can get nemo patcher from there to patch your client) Feel free to ask any questions you have. I wish you the best and look forward to seeing how your project progresses.1 point
-
Hi rAthena Family! I made today a YouTube tutorial on how to use Str Editor app by @Tokei, Video Title: Tutorial - Str Editor Ragnarok Online Custom Level Up Design I hope will be helpful for the community. Download the file I made in the video here Best!! Speedrun1 point
-
I was trying to add this feature to PRE-RE, but I was struggling to make it work. Then, I stumbled upon someone who shared this link: https://github.com/rathena/rathena/commit/8dea04a8b3895398a5c62e06dc8cf920cebd43df After checking it out, I got a hint about what changes I needed to make. If you want to add this feature to PRE-RE, follow these steps: In conf/battle/feature.conf // Private Airship System (Note 1) // Requires: 2018-03-21aRagexeRE or later feature.privateairship: on npc/re/mapflag/privateairship.txt (move this npc file into pre-re folder or custom. or just enabled it into pre-re) To add this feature, you need to add the following code to the item_group_db.yml file located in the import folder inside the db directory (db/import/item_group_db.yml): - Group: PRIVATE_AIRSHIP SubGroups: - SubGroup: 1 List: - Item: Blue_Herb Rate: 1 - Item: Biotite Rate: 1 Make sure to change the items to the ones you want to use. In my case, I used blue herb and biotite.1 point
-
1 point
-
Version 1.0.0
754 downloads
Here is 1 of some sprite that lately I make to my server. Credits: Idea: AvonRO. Image: Gravity Interactive (Box & Smoke) w0wzukubg (Cards Image) (I don't know who own the Guy image since I can't find it or the source no longer available) It's just my experiments about sprite editing to improve my experience about it. Do remain any credits of respective author if you know.Free1 point -
Briefing & Concept Hello folks I'm back with a map I did quite a some time ago. I was not able to show it since the heavy amount of work I'm having ATM. I consider this a good map, worth enough to be in a showcase thread. About this map So, what do we have new on this map? Konoha is, a medium size map, which has some good extras I have tried so far. It has real Naruto Models I edited myself and, I have to say I poolished the textures to have a more RO style (bitmap shadows). This map has new features, (The part that most of people waits ) Although it is nothing really special, it is possible to use High Jump on the building's roofs... just as how it is in the real anime. Another thing I have to mention is the addition of the Hokages in the background of the map. I bet, Konoha city would not be Konoha without these awesome guys! Video! ... Watch it in 720p! HD Screenshots Color Palettes Sponsored by @KamiShi Drooping Olrox Hat Sponsored by @Adel Screens are in Full 1920x1080 HD resolution. You can allways hit the image thumbnaill to check the images on full size, and check some details that can only be appreciated in HD resolution. Beautiful Panoramic Awesome screenshot comes at first. The Sky is just a PS edition for a decorative screen I did Overview 2 Overview 3 Overview 4 Overview 5 Overview 6 Area View 1 One of the things I got back to take care of, are the small details. This screen shows an example of very small details as boxes, foods, etc. Area View 2 Using High jump on some houses. You can walk across the houses using this skill... Area View 3 This small area recreates the hotsprings. Area View 2 In game View of the Hokages That is all for now. Personally I like how this town became. I'm not sure if this is the first konoha out there. This project I'm working for is aiming to have other Villages from Naruto, It is kinda a big project and I hope I will have enough time to finish all the request from this guy. Comments or Ideas are always welcome. Thanks a lot for your time, and I wish to all to you a nice weekend!1 point
-
What's the point of having another private server when there are hundreds of them out there!!!!!!!!!!!!!!1111 Yes, more choice is better1 point
-
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
-
1 point