Jump to content

grobyczen

Members
  • Content Count

    16
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    grobyczen reacted to Yushell in Tutorial: Hercules on Amazon EC2 (Windows Server 2012) Instance   
    Hercules on Amazon EC2 (Windows Server 2012) Instance
     
    Video
     
    https://vimeo.com/68667751
     
    Benefits
     
    Main benefits of using Amazon’s Elastic Compute Cloud (EC2) are:
     
    Cost
    You can start with a micro instance which has 750 hours per month of Linux and Windows instance use, along with 613 MB of RAM, 32 bit or 63 bit systems. Which is free of charge with certain operating systems, including Windows Server 2012 Base. This is called the Free Tier.
    Beyond the free tier you start $0.060 USD cents per hour for a Small Linux instance, which is $1.44 USD per day, or $0.091 USD cents per hour for a Small Windows instance, which is $2.18 USD per day. Not bad at all. Lots of VPS hosts charge this and more already. Just pay as you go.
    Small instances support 32/64 bits, 1 core, 1 ECU, 1.7 GiB, 1x160 GB
    Source: http://aws.amazon.com/ec2/pricing/
    Source: http://aws.amazon.com/ec2/instance-types/
     
    Scalability
    Once your server needs more RAM and CPU power than the Free Tier can offer, you can just 1) take a Snapshot of your current instance, 2) Detach your Elastic IP from your old instance, 3) Create a new, more powerful instance from the Snapshot, 4) Attach your Elastic IP to your new instance, and BAM, you’ve got the exact same Hercules server on better hardware. All this in a few
    minutes. You have complete control.
     
    Reliability
    Amazon’s Elastic Compute Cloud is exactly that. A reliable, elastic computing cloud. All your virtual machines are hosted on the most stable clusters that use the most speedy network connections available. You’ll definitely get peace of mind that you’ll server won’t just stop working one day because of unreliable hardware, software or bad maintenance.
     
    Important

    Creating and using an Elastic IP is FREE of cost. But using additional Elastic IP’s cost you $0.005 USD cents per hour. Which is $.12 USD cents per day.
    http://aws.amazon.com/ec2/pricing/#elastic-ip
     
    Inbound and Outbound Bandwidth per GB is free.
    http://aws.amazon.com/ec2/pricing/#DataTransfer
     
    Snapshots are pretty cheap too. Cost depends on country.
     
    You can get an idea of how much your new instance will cost with the calculator
    http://calculator.s3.amazonaws.com/calc5.html
    Note: Remember, Micro instances are FREE with certain Operating Systems.
     
    Thanks to
     
    Hercules Team for, well, Hercules
    Judas for Skype session and Full Install / Small Client post
  2. Upvote
    grobyczen reacted to Mystery in Project Bare Bones Hercules Ep1. Disabling every NPC server-wide.   
    If you want just prontera... I suggest you make your starting point in prontera then and remove all the warps. Also, theres no way to load just prontera as a map unless you remove every single map from your map_cache. I think it would be better not to and just remove all warps associated with the maps and remove access to @go and @warp. Though, keep in mind if you remove the warps, keep the warps for the inns, buildings, etc. only if you want to. 
  3. Upvote
    grobyczen reacted to Easycore in Project Bare Bones Hercules Ep1. Disabling every NPC server-wide.   
    Hercules\npc\
    scripts.conf
    scripts_custom.conf
    scripts_dev.conf
    scripts_jobs.conf
    scripts_mapflags.conf
    scripts_monsters.conf
    scripts_warps.conf
    scripts_woe.conf
     
    If you emulator is Pre-RE or RE:
     
    Hercules\npc\pre-re\ or Hercules\npc\re\ 
    scripts.conf
    scripts_jobs.conf
    scripts_main.conf
    scripts_monsters.conf 
    scripts_warps.conf
     
    Green: this .conf contain the path of all monster spawn script.
     
    Orange: this .conf contain the path of all main NPC of RO, while that scripts_job.conf contain NPC Quest Change Job.
     
    EDIT: If you want disable scripts put // before path of file, EG: //npc: npc/cities/prontera.txt
  4. Upvote
    grobyczen got a reaction from - Mariel in [Showcase] Slotmachine Cutin   
    Hi everyone,
     
    I'm working on a Slot Machine cutin, kind of based on the official slotmachine sprite. Here's what I've got so far:



    What do you guys think? Does it look good?

    I'll take any sugestions.
     
    Update:

    Version 0.1 corrected:
    - made the watermarks less intrusive.

     
    alternative version 0.1a:
    - tried to make it more sober on the lighting.
    - used less colors on the JACKPOT.



    So, what do you think. Which one looks better?
  5. Upvote
    grobyczen got a reaction from exneval in Teleport Crystals and moving Slots   
    File Name: Teleport Crystals and moving Slots
    File Submitter: grobyczen
    File Submitted: 25 Feb 2015
    File Category: Sprites & Palettes
     
    Hi, after ~a year and a half of learning from this wonderfull community I'm finally able to contribute something I'm kind of proud of.
     
    I want to share some sprites I'm using for a private server. This is my first contribution to this community, and also my first attempt at spriting and acting. First thing is a mod of the official slot machine sprite, only this one is animated with a move of the lever. (Maybe later I will animate the reels, when I have some free time).
     

     
    Next is a couple of sprites I use as part of custom teleport system. I'm not so sure of my scripting abilities, so I decided to share only the sprites and not the full teleport system. The blue sprite is a Town Crystal that teleports you to other crystal you've visited in Towns and Dungeons. The sprite and act contain the front and back views (I only showed the front here). The signs on the central piece of the crystal are suposed to mean this is ancient technology. On the left I show the "inactivated" Crystal, on theright I show the "activated" version. Each one has it's own spr and act files.
     

     
    Finally, the Dungeon Crystal that teleports you only from dungeons to Towns. This one isn't animated because I wanted to show it as less 'powerful' than the Town counterpart, think of the Town Crystal as the real power source, and the Dungeon Crystal as only a raw relay. The ouroborous symbol is supposed to make you think of the cyclic nature of the teleport system. The other small sign in the back of the crystal is just a symbol to reflect a supposed ancient origin of the crystal. There's also a less shinny version which reresent the inactivated crystal (not shown here).
     
    :::
     
    Anyway, about the sources: I honestly don't remember exactly from what game I got the source images, all I know is I got the sprite sheet from The Spriters Resource.
     
    So that's all. I hope you like this and find it useful. Nothing would make me happier than contributing back to this wonderfull community.
     
    C'you all soon.
     
    PS. Any constructive criticism is wellcome, I'm still learning the basics of spriting, so any technique, tool, or style recomendations will be very helpfull, more so if they come with examples.
     
    Click here to download this file
  6. Upvote
    grobyczen reacted to malufett in Custom Map Grid Pack   
    File Name: Custom Map Grid Pack
    File Submitter: malufett
    File Submitted: 03 Feb 2015
    File Category: Maps & Textures
     
    Customized map grid.
    Created as requested by evilpuncker - http://herc.ws/board/topic/8403-custom-ground-cursor/#entry49972
     

     
    Click here to download this file
  7. Upvote
    grobyczen reacted to thanna in Can anybody teach me, how to use HPM by examples?   
    click my signature, it will redirect you to wiki, it has step by step images on how to do it
  8. Upvote
    grobyczen got a reaction from Waken in [Duda] Hacer que un NPC muestre caracteres castellanos.   
    Cuando creo un NPC y utilizo el comando 'mes', el ciiente no acepta el uso de acentos, cuando activo dicho NPC me muestra un caracter extraño en vez del caracter acentuado.
     
    Ejemplo:
     
     
    Mi pregunta es, ¿hay alguna forma de hacer que el cliente muestre los caracteres correctos en español (acentos y demás)?
     
    Gracias por adelantado.
     
     
    EDITADO:
     
    Después de buscar un poco, la solución era sencilla. Utilizando la información de la wiki:
    http://herc.ws/wiki/Clientinfo.xml
     
    fui al Clientinfo.xml y configure los siguiente:
     
    <servicetype>america</servicetype>
     
    y más abajo
     
    <langtype>1</langtype>
     
    Y listo.
  9. Upvote
    grobyczen reacted to Tokeiburu in Act Editor   
    File Name: Act Editor
    File Submitter: Tokeiburu
    File Submitted: 03 Dec 2014
    File Category: Client Resources
     
    Heya,
     
    This tool is an action file editor, it edits Act and Spr files. You will find similarities with ActOR in its design, but it should be much more enjoyable to edit animations ;].
     
    Special thanks to Nebraskka for testing this software in its early days. All the suggestions and feedbacks made this software much better.
     
    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/download/y3amu1o5zsmgd2o
    Install the application with Act 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
    The software has many, many features available. It would take too long to describe each one of them, so I've only focussed on the more impotant ones.
    You can undo and redo everything, scripts included.
    You can edit and add sounds easily.
    Powerful and easy to use palette editor.
    Sprite types have been abstracted - you don't have to worry or care about that.
    Animation speed can be changed easily.
    Most components have a drag and drop feature.
    Advanced scripting engine (C# language). The scripts can also be used to customize the software menus.
    Error checking when saving the act/spr to avoid invalid files. The sprite version will be automatically downgraded if RLE compression is not available.
    Frame interpolation (inbetweening/tweening) is possible via the Animation menu.
    Prompts you with an image converter dialog if the added image is invalid.
    Allows advanced edition for actions and frames via their respective menus.
    You can load files from GRFs directly (and save in the GRFs directly as well).

    Technical stuff
    Requires .Net Framework 3.5 (SP1) Client Profile to run (3.5 or more will work as well).
    When prompted with an error, use the "Copy exception" button to copy the debugging info. I will need this to fix the issue you're encountering.

    The editor's primary window
    The interface is really straightforward and similar to ActOR. I'll only focus on new elements!
     
    Rendering mode : This option changes the behavior of how layers are rendered. If you use 'Editor', you'll clearly see all the pixels when zooming in. If you use 'Ingame', it will use a linear scaling instead, which is closer to what the client does.

     
    References : These allow you to know where your item will be positionned (the yellow marker is the anchor, see below).

     
    Color mask : To edit the color of a layer, simply click on the color rectangle. You can also drag and drop the colors between different layers to quickly modify many of them.
     
    Common shortcuts : You can manipulate layers by using common shortcuts. More can be found from the Edit menu. These below are only the primary ones.
    Ctrl-A : Select all layers.
    Ctrl-C : Copy the selected layers.
    Ctrl-V : Paste the copied layers.
    Ctrl-X : Cut the selected layers.
    Alt-C : Copy current action.
    Alt-V : Paste current action.

    Advanced action and frame editions
    These expose all the available methods of the editor. You can remove a range of frames or copy a frame 10 times very quickly and easily. This dialog is found in Action/Frame > Advanced edit...

     
     
    Anchors
    You can edit anchors from the editor directly. Anchors are points that connect frames together, from different act files. Here's an example without and with anchors :
     



     
    This is mostly useful when you're using reference sprites (on the right panel). Clicking on the anchor button will let you choose where to attach the sprite (this is set semi-automatically for you though). You can edit those from the Anchors menu, but it is recommended to start from a pre-existing act to avoid doing this tedious process.
     
     
    Palette editor
    The palette editor allows you to quickly recolor sprites with an intuitive interface. Only indexed images can be edited (it's a palette editor after all) and three modes are available. The gradient mode changes an existing gradient to another color while keeping the original saturation and brightness of the colors - this makes the gradients blend in better. If there are no gradient (usually because it's a custom sprite), there's always the Adjust color mode. This one changes all color from a specified range to another one (Photoshop has a similar feature, which does work better).
     

     
    You can click on the image (on the left) to automatically select the palette indexes. These will be highlighted for a few seconds to show you what you're about to edit.
     
     
    Interpolation (tweening)
    This script can be accessed via Animation > Interpolate frames. This process fills the images between two frames by detecting the changes applied to the layers. Here's a simple example of how it can be used :
     
     
     
     
    Script engine
    The script engine can be accessed via Scripts > Script Runner. This is a big feature of Act Editor, it allows you to automate all your work with the act and much more. Click on the Help button for guides and available methods (don't hesitate to try out a script; if an error occurs the act will be reversed to its previous state). The documentation doesn't cover all of the available options and methods for obvious reasons (the .net framework is huge). Doc example :
     

     
    The language used by the script engine is C#. If you're not familiar with it, simply check out the script samples (Scripts > Open scripts folder)! I won't go into details here, questions can be asked in the support thread regarding addiotional features and methods. If you believe your script should be added in the program, send it to me and I'll probably add it.
     
     
    Customizable
    The settings dialog allows you to modify all colors in the editor easily.

     
    You'll also find the sound resources (GRFs and folders) that can be set up in the Sound tab. The Shell integration tab can associate the .act files with the software to edit them more easily.
     

     
    Don't hesitate to give me a feedbacks or suggestions!
     
    Click here to download this file
  10. Upvote
    grobyczen reacted to Shir0 in 2013-12-23 Premade Client Pack(Just add data.grf)   
    Good Job Happy =)
  11. Upvote
    grobyczen reacted to kisuka in Massive RE Monster DB Update   
    https://github.com/HerculesWS/Hercules/commit/0fadf384a80a25f1af712232d14a664848dbff88
     
    This has been a long time coming ^^; renewal's mob_db now matches official. Thanks for both Michi and I, we present to you a Hercules where your monsters now match official renewal stats, drops, exp, etc
     
    This update changes many values (stats, exp, hp, lv, etc) on many monsters. These changes are on par with the latest official servers.
     
    Enjoy.
     
    Be sure to report any issues you may find
  12. Upvote
    grobyczen reacted to Patskie in [Guide] How to setup hercules   
    There is an existing server installation guide made by Diconfrost VaNz on this topic but this is outdated. So let me give ample time to share my experience on how to install Hercules SVN on your local machine.
     
    1. To obtain hercules, refer to Ind's topic
    2. Go to conf/char-server.conf and look for the code below : 
    // Server Communication username and password.userid: s1passwd: p1  
    Set s1 and p1 to anything you want but take note of them as you will use them later on when you move to SQL portion of this installation.
     
    In my case, i will use patskie since it is my screen name.
    // Server Communication username and password.userid: patskiepasswd: patskie  
    3. Set your server name? Find this line also on your conf/char-server.conf. Change it to whatever you want : 
    // Server name, use alternative character such as ASCII 160 for spaces.// NOTE: Do not use spaces or any of these characters which are not allowed in //       Windows filenames /:*?"<>|//       ... or else guild emblems won't work client-side!server_name: Hercules  
    4. Remove // on the following code : 
    //login_ip: 127.0.0.1  
    //char_ip: 127.0.0.1 Note : 127.0.0.1 means localhost, local machine.
     
    5. Save and exit
    6. Now go to conf/map-server.conf
    7. Same to what you have did in conf/char-server.conf :
    //--------------------------------------------------------------//                     Configuration Info//--------------------------------------------------------------// Interserver communication passwords, set in account.txt (or equiv.)userid: patskiepasswd: patskie  
    8. Remove // on the following code :
    //char_ip: 127.0.0.1  
    //map_ip: 127.0.0.1  
    9. Once you're done. Save and exit.
    10. Now go to conf/inter-server.conf
    11. Set the following code :
    // Global SQL settings// overriden by local settings when the hostname is defined there// (currently only the login-server reads/obeys these settings)sql.db_hostname: 127.0.0.1sql.db_port: 3306sql.db_username: rootsql.db_password: ragnaroksql.db_database: herculessql.codepage:// MySQL Character SQL serverchar_server_ip: 127.0.0.1char_server_port: 3306char_server_id: rootchar_server_pw: ragnarokchar_server_db: hercules// MySQL Map SQL Servermap_server_ip: 127.0.0.1map_server_port: 3306map_server_id: rootmap_server_pw: ragnarokmap_server_db: hercules// MySQL Log SQL Databaselog_db_ip: 127.0.0.1log_db_port: 3306log_db_id: rootlog_db_pw: ragnaroklog_db_db: loglog_codepage:log_login_db: loginlog Note : Use 127.0.0.1 as ip because you will run these server on your local machine. Use root as the database id because by default MySQL workbench uses root as username. And finally ragnarok as database password which is configurable by users. Set map, char an sql database to hercules and set log database to loginlog 
     
    12. Once done, Save and exit
    13. Now go to src/common/mmo.h and find the following code :
    #ifndef PACKETVER #define PACKETVER 20120418#endif Change to : 
    #ifndef PACKETVER #define PACKETVER 20100730#endif Note : You can change 20120418 (2012-04-18) to whatever client-date you want. In my case i will use 2010-07-30 client (20100730).
     
    14. Save and exit.
    15. Now let's go to mysql part.
    16. Download MySQL workbench here. Why workbench? More convenient to use.
    17. Once you are finished downloading and installing. Download WAMP server here because workbench will not start functioning if you do not have WAMP server
    18. Once you are finished downloading and installing wampserver. Run it
    19. Open mysql workbench
    20. Add user and password into it. Follow this guide. Make sure you set username as root and password as ragnarok because this is the credentials located on your conf/inter-server.conf
    21. Create a server instance and connection. Just click New Connection for creating connection and click New Server Instance for creating a new server instance everything there are self explanatory
    22. More likely you must have the following : ( Check image below )

    23. At the left portion of the application. You can see schemas. Right click on one of them (test schema) and click on create schema
    24. Set the name of the schema to hercules because that is the credential we put in our inter-server
    25. Create also a schema log 
    26. Double click hercules schema
    27. Under file located at the bottom of the home button ( upper left to be exact ) click Open SQL Script and locate sql script on sql-files/main.sql, open it and execute ( you can find execute button at the upper portion of the text editor of mysql workbench it looks like a thunder xD )
    28. Double click log schema
    29. Under file located at the bottom of the home button ( upper left to be exact ) click Open SQL Script and locate sql script on sql-files/logs.sql, open it and execute ( you can find execute button at the upper portion of the text editor of mysql workbench it looks like a thunder xD )
    30. Once everything is set double click again hercules schema
    31. Execute the following code 
    SELECT * FROM login; 32. Change userid, user_pass to the credentials you have put on both char-server and map-server.conf
    33. Click apply.
    34. Once done, go back to your server files and compile everything using Microsoft Visual Studio 2009 or 2010 or 2012 
     
    Note : 
    Microsoft Visual Studio 2009 = Hercules-9
    Microsoft Visual Studio 2010 = Hercules-10
    Microsoft Visual Studio 2012 = Hercules-12
     
    35. Open it via C++
    36. In my case i am using MVS 2010, Highlight char-server, login-server, map-server, mapcache at the left portion of the application. Right click on it and click Build Selection
    37. Check image for successful compilation, Once done exit the application

    38. Now you're done! Run run-server.bat on main folder
     
     
    I hope this guide help other people who find it difficult to install hercules svn on your local machine. Actually this guide is not hard. I just divided the guide into small chunks so that people will understand more. If you think that any portion of installation is not included in my guide or maybe in some way not good or not correct then feel free to post it.
     
    Additional Notes : 
    - If you want other people to connect then you must port forward your router, or you can use other application like hamachi
    - If any error occur feel free to post it here. Make sure you will post it in a detailed manner. Post screenshot if possible
    - I include a diff client for 2010-07-30 since i use it in this guide
    2010-07-30-DIFF.rar
  13. Upvote
    grobyczen reacted to evilpuncker in Hercules 1st 2014 MegaPatch   
    yes it is still working, someone need to update the wiki
×
×
  • Create New...

Important Information

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