Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 06/06/17 in Posts

  1. 3 points
    Sephus

    Hercules Ultimate Storage System (HUSS)

    Hey all, I had an idea to implement the ultimate storage system with which users of Hercules would be able to create as many storages as they want without a hassle. And so I worked on Hercules Ultimate Storage System (HUSS). The basic idea of the design has been completed and at this point it is ready to be tested. I wanted to gather suggestions to further extend the system, hence this topic. To test the system, simply visit my fork of Hercules in the storages branch and clone it. Storage.conf Example Entry { Id: (int) (required|unique) Unique Identifier Name: (string) (required) Name of the storage sent to the client. Capacity: (int) (required) Maximum capacity of the storage. } All storages are handled with dynamic arrays that will save a tonne of memory if and when created. They are saved in the same storage database (SQL) as the original separating them by a storage identifier. An infinite number of storages can be created, there are no limits. The current design implementation only allows saving/loading of approximately 1600 items per storage due to packet size limits. Script Command Changes *openstorage(<storage_id>{, <storage_mode>}) Default Storage Access Mode: STORAGE_ACCESS_ALL This will open character's Kafra storage window on the client connected to the invoking character. It can be used from any kind of NPC or item script, not just limited to Kafra Staff. The storage window opens regardless of whether there are open NPC dialogs or not, but it is preferred to close the dialog before displaying the storage window, to avoid any disruption when both windows overlap. mes("I will now open your stash for you"); close2(); openstorage(1); end; Storage Modes: STORAGE_ACCESS_VIEW // View storage only STORAGE_ACCESS_GET // Allow getting items from storage. STORAGE_ACCESS_PUT // Allow putting items to storage. STORAGE_ACCESS_ALL // Allow all actions. So if you guys have any suggestions or ideas that would better the system for Hercules, feel free to comment below
  2. 2 points
    Habilis

    Cloud 9 & Hercules

    Hello It's me!! (oh noooo) and I have another crazy thing to share It involves Ragnarok, Hercules, Raspberry Pi and an open source cloud IDE, how any cooler could that be!? Today I'm going to talk about my development setup on my Raspberry Pi, that's right, I don't install Visual Studio on my local machine, neither MySQL server. I have a decent little thingy Raspberry Pi that can do it all!! - Run and Compile Hercules emulator - Run a MySQL server installation - And even run a Cloud 9 WEB IDE Just run it and open your browser Cloud 9 is a full scale IDE with command prompt integration, file search and replace, refactoring, project view on the left(for easy navigation) and a main window with code editor allowing you to edit configs of your emulator develop scripts edit source and write plugins After that just compile your emulator with integrated Command prompt and run the server as simple as that... Obviously, I have written a guide on how to install cloud 9 IDE on a Linux box https://habilisbest.com/installing-cloud-9-on-your-raspberry-pi As the guide states Cloud 9 runs on NodeJS, there is a simple instruction on how to install NodeJS on your Linux box!
  3. 1 point
    Mystery

    Hercules, welcome to IPB4

    Hey everyone, It has been long overdue to bridge over to IPB4... but we are finally here. We ran into a few issues with the transition but we got the forum running within an hour. The forum is now accessible for everyone (maintenance is over), but keep in mind that there are still batches being processed in the backend which may make your experiences in browsing / posting sluggish. Over the next few hours/days, I will be working on the forum; reorganizing a few things, fine tuning, etc. If you run into any issues, don't hesitate to bring them to my attention!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.