Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    248

Reputation Activity

  1. Like
    Dastgir got a reaction from jogos.21 in Bloody branch   
    Change bloody branch script(from item_db) to

    if (getgmlevel()==0 || getgmlevel()==99) monster "this",-1,-1,"--ja--",-3,1,""; This will make bloody branch only usable by players/admins
  2. Like
    Dastgir got a reaction from ajoope in [NPC] Campfire to regenerate HP/SP   
    It's because the plugin (https://github.com/dastgirp/HPM-Plugins/blob/master/src/plugins/npc-duplicate.c) has changed it's syntax
    So, do the following in campfire.txt, Change
    duplicatenpc("Campfire#CF", "Campfire", sprintf("CF_%d", .@curr_char_id), .@mapname$, .@mapx, .@mapy, 0); to
    duplicatenpc("Campfire#CF", sprintf("Campfire#CF_%d", .@curr_char_id), .@mapname$, .@mapx, .@mapy, 0);  
  3. Like
    Dastgir got a reaction from simplexjay2 in Plugin Collections   
    Hello Community,
     I am feeling like, there's many plugin on forum, but not been actively used, due to out-of-date plugin
     
    I have updated Shikazu's Plugin first(as it was requested on the thread from 25th April), maybe Shikazu busy on his rl.
    Also I have included My Plugins there.
     
    I would like to add more plugins there(which are not updated on hercules forum <- please suggest if you find some outdated plugin and want me to update it )
     
    List of Plugins and Owners:
    https://github.com/dastgir/HPM-Plugins/blob/master/README.md  
    Repository: https://github.com/dastgir/HPM-Plugins
     
    Thanks.
  4. Like
    Dastgir got a reaction from fiction in dDelays(Anti NoDelays) - Releasing this weekend   
    Hello Community,

    What is dDelays?

    You should have heard about Delays hack by editing out grf or whatsoever method..
    This will make the delays hard-coded and will not be able to use those hacks.

     
    Site https://ddelays.dastgir.tech/ Price Introductory Offer:
    Weekly: 1.25$
    Monthly: 5$
    Quarterly: 18$
    Beta Date 27th October 2019 (Sunday) Payment Method PayPal / PayTM / Others(Message in discord) Discord
    For Any kind of support/question/payment related query: https://discord.gg/sb4mkdH Emulators Hercules (Fully Supported). Other Emulator Support coming by 3rd November 2019 (Sunday)  
  5. Like
    Dastgir got a reaction from Mihael in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Good point, will implement this if possible..
    Will check on this
  6. Like
    Dastgir got a reaction from Barabb4s in MAX_GUILD   
    @WhiteEagle just have the solution to your problem. If you have another error, please elaborate with screenshots if needed.
     
    If you need to change Guild size no matter skill level, just change
    #define BASE_GUILD_SIZE
    to some high number
  7. Upvote
    Dastgir got a reaction from sonyk2 in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Hello Hercules Community,
     
    Let me explain it first.
    It is ExtendedBG, which tends to contain all eAmodBG modes and extra modes(as and when coded).
    Some Previews:
    http://imgur.com/a/2SSVR
    Ohh, and the last thing I forgot to tell,
    Its 100% Plugin and Script, no Source Edits ..
     
    Special Thanks To:
    jaBote co-founded this project(and really thanks to him , that he motivated me at start at provided some functions and idea of how the base should be, and what we should do it to give flavor of Hercules in it).
     
    Repository Link: https://github.com/dastgirp/eBG (Please read README.md for installation steps)
     
    Leave Comments/Suggestions if you find something.
    NOTE:
     There might be some(/many) debug messages left in map-server which will be cleaned up. I will add battle.conf soon (you have to add it yourself for now or edit the plugin) The plugin might be a big mess to read/understand (I did many experiments over the year) There might be some bugs Thanks to @Rebel and @Myriad for testing and providing initial feedback
    Contact me on Discord: @Dastgir#1460 if there's some urgent issue or else open the issue in github. keep this topic for support.
     
    Want to encourage me??

     
  8. Like
    Dastgir got a reaction from Mihael in Create Char - Stats not apperaring   
    New clients don't let player customise initial stats
  9. Like
    Dastgir got a reaction from MikZ in npc_event: player's event queue is full   
    src/map/mapdefines.h
  10. Like
    Dastgir got a reaction from Caspian in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    @Virtue @fiction Fixed in https://github.com/dastgirp/eBG/commit/4b601d351507a112d627c14717d37ca114e3974f
     
    @Axl Fixed it in https://github.com/dastgirp/eBG/commit/2a5ebb57525fb17a36913b423a9282cab18248d7 (Now BG/WoE Items can only be consumed by skills in BG/WoE Maps)
  11. Upvote
    Dastgir got a reaction from Mirage in Dastgir's Services   
    Hello Hercules Community,

    I am offering my Services to you @ some expense of money.

    Works for Emulator: Hercules/rAthena/Others(if any)
    Services:
    Scripting. (Min Price:5$ ) Source Modification(/Addition).(Min Price: 5$) Converting to/Creating a Plugin[Hercules Specific].(Min Price: 5$) Migrating Your Server. (Min Price: 10$) Adding Custom Items/Maps/Mobs. (Min Price: 5$) Creating/Adding New Skills. (Min Price: 10$) Changing of Emulator (Min Price: 10$) ClientSide Things. (Min Price: 5$) Fixing Errors. (Min Price: 5$) Script Review. Consulting And Anything else, that you want, just drop me a PM
    Maximum Price: Depends on Complexity of the Work
    What Else:
    Free Support for Service bought from me.

    Contact Info:
    Post Here Via PM Payment Methods:
    PayPal Only PM me if you want any other payment method, and I might check If I can have it.

    Status: AVAILABLE
  12. Upvote
    Dastgir got a reaction from MikZ in Unhandled Packet   
    Which client you are using? When does this happen(login in/using skills/char select/etc)
  13. Upvote
    Dastgir got a reaction from skyundersea in Portal Skill   
    Those warp are static or generated via script and changes location?
    If they are meant to be static, you can use newer client feature named (signboard) and just link to those warp co ordinates.
  14. Upvote
    Dastgir got a reaction from AnnieRuru in what is the difference between _("<string>") and _$("<string>")   
    This can give some overview: https://github.com/HerculesWS/Hercules/issues/2233
     
    _$ is used if there's some string formatting (%s, %d or something like that), mesf is basically 3 commands in one, i.e mes+sprintf+_$
     
    _() is used to enclose strings which aren't in commands that are translated(only few commands are detected like mes/select), others needs to be enclosed in _(), also raw string needs to be enclosed.
     
    c-format is comment in pot file which says formatting is present.
  15. Upvote
    Dastgir got a reaction from Fizik in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Contact me in discord (@Dastgir#1460), and we will see what went wrong
  16. Upvote
    Dastgir got a reaction from Fizik in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Please follow instructions from here: https://github.com/dastgirp/eBG/blob/master/README.md
    You only need to compile and enable 2 plugins, namely "ExtendedBG" and "ExtendedBG-char", you don't need to compile "eBG-common", however it should be present in the same folder, as "ExtendedBG.c" includes those files.
  17. Upvote
    Dastgir got a reaction from Fizik in Plugin Collections   
    Yes, sorry, will fix it.
    It seems i pushed unfinished update
  18. Upvote
    Dastgir reacted to refis in Script translate plz   
    Hello, Hercules:)
    I make rockridge town script, but jRO official dialog it. and script format is Auriga emulator coding.
    Many incomplete...
    Please support me trancelate and hercules coding fix.
    Thx
     
    *These scripts are created by packet capture, and the pos, dir, viewid, dialog, etc of captured jRO.npc sorted of unitid.
    **LINK**
    https://github.com/refis/ScriptDustbox/blob/master/Auriga/town/npc_town_rockridge.sc
  19. Upvote
    Dastgir got a reaction from Aethelingaeg in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Hello Hercules Community,
     
    Let me explain it first.
    It is ExtendedBG, which tends to contain all eAmodBG modes and extra modes(as and when coded).
    Some Previews:
    http://imgur.com/a/2SSVR
    Ohh, and the last thing I forgot to tell,
    Its 100% Plugin and Script, no Source Edits ..
     
    Special Thanks To:
    jaBote co-founded this project(and really thanks to him , that he motivated me at start at provided some functions and idea of how the base should be, and what we should do it to give flavor of Hercules in it).
     
    Repository Link: https://github.com/dastgirp/eBG (Please read README.md for installation steps)
     
    Leave Comments/Suggestions if you find something.
    NOTE:
     There might be some(/many) debug messages left in map-server which will be cleaned up. I will add battle.conf soon (you have to add it yourself for now or edit the plugin) The plugin might be a big mess to read/understand (I did many experiments over the year) There might be some bugs Thanks to @Rebel and @Myriad for testing and providing initial feedback
    Contact me on Discord: @Dastgir#1460 if there's some urgent issue or else open the issue in github. keep this topic for support.
     
    Want to encourage me??

     
  20. Upvote
    Dastgir got a reaction from IndieRO in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    https://github.com/dastgirp/eBG/commit/4cd3de090b9bf49660d083fdb0128f81d580ea67
    Fixed a bug with TeamDeathmatch. Uses constants for script commands  
  21. Upvote
    Dastgir got a reaction from IndieRO in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Update: https://github.com/dastgirp/eBG/commit/95b06799dece8c6f107b43632f9ce0d1050405b1 (Fixes the console error on PvP Maps too)
     
    New Feature and bug fixes: Added BG Ranking: It contains several NPCs which changes the look to Top X as mentioned in the configuration. The Ranking changes in real time Added new scriptCommand getbgfame. BG Ranking says the name of player if clicked. Uncomment the Duplicate NPCs and change locations to enable the feature. @bgranked and @bgregular now shows 'No Players' if no players exist in ranking yet Fixed PvP Bound items which were conflicting with Ranking System Preview of BG Ranking:
     

  22. Upvote
    Dastgir got a reaction from Strow in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Updated to new revision, 
    thanks to https://github.com/daniefkd for the PR (https://github.com/dastgirp/eBG/pull/6)
  23. Upvote
    Dastgir got a reaction from fourxhackd in Linux: Map Server crash on @autotrade   
    Try to get gdb dump and post it here.
    http://herc.ws/wiki/GDB
     
    (If you are using old ExtVending, be sure to update it, I have updated it a month ago I guess.)
  24. Upvote
    Dastgir reacted to fourxhackd in Overview of Ragnarok Online Server Development   
    Introduction
    I'm planning to write a guide to Ragnarok Online development that begins with the big picture of server development, and transition into more detail through a series of carefully selected newbie questions to guide our path.
    I'll be providing extended reading materials (other people's guides, relevant tools) relevant to the current topic.
    Table of Contents
    How is this guide different Expectations Learning RO development the best way Who are we and what do we know? What do we see in games? High-level overview of Games Mid-level overview of Hercules  
    How is this guide different?
    The guide will read less like a technical document that tells you "what to do". It will read more like a novel that walks through the questions a newbie would ask, just like when a newbie is on an adventure and exploring the unknown. 
    So don't be afraid of the unknown, or the difficult challenges ahead. That's where we're going (there's more EXP there), and we'll find treasure and grow stronger that way!
    Expectations
    This guide works with the following assumptions:
    The target audience is a thirteen year old who has no computer science background at all (Or at least, the guide will explain things very simply to make sure even thirteen year olds could do it). Software development terminologies will be given two things: (a) an Explain Like I'm Five years old explanation; and (b) links for deeper reading. The target audience has never coded, or scripted before. The target audience has played other games. Preferably online games and RPGs such as World of Warcraft, DotA 2. The other games will be examples I will use when explaining certain topics.   Learning RO development the best way
    Here are a few suggestions to make your RO development experience less frustrating and much, much more pleasant:
    Have an interest in playing RO and wanting to have an RO of your own. Have a little bit of patience and diligence to read about how things work. Have commitment to keep your eyes on what you want to accomplish. Cherish every victory no matter how small (e.g. make this npc talk, make this item give +99 LUK instead of +1 LUK). Every victory is a victory. Be open to experiencing things that you do not know. Have the humility to acknowledge what you cannot do and what you do not know, and to ask for help when you are lost. Have the humility, respectful reverence to the forum leaders who spare some of their valuable time not only to educate and teach you what they know, but also who contribute to building RO servers for free (open source development). Who are we and what do we know?
    We begin with what all gamers know: we like to play games.
    What are games that you are actually familiar with? I know I've played RO back in 2003. I played counter strike a decade ago, I tried out Gunbound and Runescape, I played Adventure Quest (Flash game). I even enjoyed writing in Gaia Online, doing role-play in forum threads. During my stay in the university (2011-2018), I played loads of DotA 2 and it showed me what competitive/professional gaming looked like, showing me the depth of gaming that I haven't seen before. I played shooter games like Overwatch, PUBG, Destiny 2, and different kinds of games from Steam like Project Zomboid and Stardew Valley.
    The reason why I bring up different kinds of games is because this is our shared or common knowledge. It is what unites you and me, two strangers in the internet. Our common love for playing RO and playing games in general.
    So now that you've gotten to know me a little better, we now ask the question: How does a person transition from a gamer into a game developer?
     
    What do we see in games?
    Scenario
    It's 8PM and you are at your house. You just finished having dinner, and are now about to start playing in your favorite RO private server. You go to your computer, you open up the game's patcher. You find some updates. "New game content!" you think to yourself. You go to the website to read about the changes: It might be changes to the items, buffs to your favorite RO class, or changes to the map, or new NPCs and events and dungeons! Your RO finishes updating, and your game begins.
     
    What happened?
    We begin our journey into game and server development with terminologies. 
     
    Terminologies? Why do I have to memorize these things?
    We have to know what we call things to make sure we understand each other. If you don't understand me, you will not learn. If you get confused, you will get lost. If you do not know the terminology for the things you are having a problem with, you won't know how to say what your problem is.
    Game Website - This is the website where you go to learn how to install a private RO server, read about game changes and news, and interact with other people in the community through forums. Patcher - This is the tool that you use to make sure you're updated. Otherwise, you'll encounter outdated game information, problems, and worst case scenario: crashes. Game Client - This is the runnable program that you are in when playing the game. For example TalonRO.exe, or AeRO.exe.
    From the perspective of a gamer, these are all the areas where they interact with a game provider:
    They use the website to download the installer. The patcher updates the game. They run the game to play.
     

     
    High-level overview of Games
    What is a client?
    Simply put, a client is an application or a program that communicates with a remote system called a server. These terminologies are used when under a system that follows a client-server architecture. 
     
    Alright, so what is a client and a server architecture?
    Imagine the following: You go to a restaurant to eat dinner. When you sit down, the waiter comes to you. The waiter is who you talk to and interact with so that the kitchen knows what food to cook for you. The waiter who takes your order and makes sure you are having a good time is the client. He is the interface between you and the kitchen. The kitchen which  deals with the inventory of goods and making sure that chefs are doing the processes to produce food is the server.
    You can have multiple clients (e.g. TalonRO.exe distributed to different players across the world) that connect to one server. That in a nutshell is a client and server architecture.
     
    What does a client-to-server interaction look like?
    The illustration below is a very simplified illustration of a client-server architecture. This means that a client 
    The server (on the left) and the client (on the right) communicate with each other. That is how the game works.
    Green - When it comes to accessing a game website (which is actually a web server) requires a web client or web browser like Google Chrome or Mozilla Firefox.
      Orange - When your patcher is running, it asks the question "Are there any new updates?" specifically to a patch server, which has a master list of patches. It's like how a customer in a restaurant asks "What can I order?" and the client tells them "This is what the kitchen can cook".
      Blue - When your game connects to the server, it not only can ask questions (e.g. "What is my player's level and stats?") it can also tell the server what to do (e.g. "Move my player to prontera X and Y location). The client interfaces between you (the player) and the server.
     
    That's the high-level overview of how games work. It's a combination or orchestration of fast-paced conversations between people (players on clients) and machines (servers that allow players to play together). There are machines in between to facilitate all of these complicated processes.
    Keywords: Port forwarding
     
    One example of a machine that facilitates people playing together is Hercules, or rAthena. These are game servers that follows a specific set of rules or instructions that dictate what is expected when RO clients connect to RO servers.
     
    What do you mean by "follows a specific set of rules or instructions"?
    A protocol is a set of specific rules or instructions. Having a set of specific rules or instructions makes sure that we follow the same rules.
     
    For example, if we play the game Rock Paper Scissors (roshambo, bato bato piks), we need to know the following rules:
    You're supposed to make a choice of either Rock or Paper or Scissors. You only choose one. You're supposed to make a choice after counting 1, 2, and 3. Rock is represented as a closed fist. Scissors is represented with two fingers (index and middle) extended. Paper is represented with five fingers extended. Rock beats Scissors. Paper beats Rock. Scissors beats Paper. When we learn about the rules and follow them, we can play Rock Paper Scissors. Two players can then follow the rules, understand each other, and agree as to who won the game.
    If players did not follow the rules ("1, 2, 3 - Suddenly, a player shows Fire which he says beats Rock Paper and Scissors!") then people would be confused, feel cheated, and things will not work. There will be misunderstandings.
     
    When it comes to game servers, we need a set of rules to follow as well. The protocol is the set of rules for how the server and the client will communicate. If your game server and your client does not follow the same protocol, they will have misunderstandings and they will not work.
    An example of protocols in RO development is the use of the following port values: 5121, 6121, 6900. If you don't have a client that talks to the server at the expected port, your server will be confused and will not respond to any requests.
    An example of protocol is the agreement on which packet version to use. If you use the wrong packet version, your server will not understand the packets being sent by your client.
     
    Relevant Keywords: Packets, PACKETVER, Compiling, Ports
     
    We talked about an example of machines that facilitate processes to enable multiple people to play together (MMORPG). An example of this is Hercules, which we look into more detail below in the following post.
  25. Upvote
    Dastgir reacted to fourxhackd in Charms [Item gift effect while in inventory]   
    Using @Dastgir's updated charms.c plugin found in his Github (Apr 29 2017), I was able to test it and it seems to be working fine on my build.
    Dropping the item from my inventory results to the effects (+1 STR in my case) to disappear. Picking the item up returns the effect. The command @itemreset removes the effect as well.
    I do however, experience a warning when I build on a unix-based (Ubuntu) system. The warnings showed up when I executed the command:
    make clean && make all Warnings

    Despite the warning, the effects seem to be fine and I am currently having no problems whatsoever.
×
×
  • Create New...

Important Information

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