Jump to content

Freya

Members
  • Posts

    120
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by Freya

  1. Hello, look at this

    Remove this 

    killmonsterall "quiz_01";
    announce "Event Manager: No Player win the Event, due to all participant die.",0,0x00FF00; <---- This
    mapannounce "quiz_01","Event Manager: You survive the zombie waves, talk to the Prize NPC to get the reward.",0,0x00FF00;
    enablenpc "Prize";
    end;

    or you can make it like Poring Catcher script system where they have to talk to the NPC and confirm their name and it will announce it to the server.

    • Upvote 1
  2. 1 hour ago, Azura Skyy said:

    Excellent guide. I think images help a lot of people that might struggle. My criticisms lie in the presentation- I normally try to avoid spoiler tags but considering the amount of images, it is probably wise to have them. Towards the end of your guide you have no title leading into your client-side guide. May as well title that so people know what they are getting into and so it follows format. I saw a comment on your client-side guide regarding the font choices. I think a larger font size would do you wonders. Feel free to stick with the comic sans though as it gives it a 'Freya' flair that stands out and makes your posts recognizable. Overall a fantastic resource people should consider following so they don't run into problems.

    Regards,
    ~Azura Skyy

    Edited the font~. Thank you Azura!

  3. Monster Defense


    About This Script:
    1.
    You must defend one (1) monster from ten (10) different kind of waves. However, there will be three (3) bonus waves which is not part of the ten (10) waves. You must defend and guard the monster from the monsters spawned, once you have finished all the ten (10) waves, you will be rewarded at the end.
    2. Every wave vastly increases its difficulty.
    3. Each wave has different monsters and some of them may be boss and MvPs.
    4. Event is not automated.
    5. Configurations and instructions can be read inside the file.

    What's More:
    1. The monster must not get hit a thousand (1000) times or you will fail the event. Number of hits can be changed, instruction inside the file.
    2. Modifying mob_db and mob_avail.


    What's Coming:
    1. A video related to this script, how it runs and such.
     


    Terms and Agreement:

    • You are not allowed to hand out this file, modified or not, free or with price.
    • Chargeback scams are not tolerated and will get you punished on rAthena.
    • All rights still remain to the creator of this script.
    • These terms and conditions are subject to change without prior notice.

    Copyright © - Freya 2017 - All Rights Reserved


     

    • Upvote 1
  4. 1 minute ago, Valor said:

    Sample:

    
    prontera,156,160,4	script	Monster Trainer	757,{
    mes "Need monster assistant?";
    menu "Yes",-;
    atcommand "@summon "+.monster+" "+.time;
    end;
    
    OnInit:
    set .monster$,2068;  	// monster Biotata
    set .time,5;			// Duration in minutes
    end;
    }

     

    Thank you for such a wonderful answer Valor! However, can you tell me on how to make the summon appear in a specific map on a specific coordinates? Should I also set a map and its coordinates too? Thank you so much!

  5. 17 hours ago, Cyro said:

    You can use @slaveclone to summon friendly clone,

    Else you can use mercenary system

    If you want a monster kill another monster by itself 

    Refer to this link

     

    Hello, I have checked that and maybe I should really use the mercenary system or the @summon system instead too. Hopefully, it will go well, since I'm planning it for my script. Thanks for the suggestion, Cyro!
     

    14 hours ago, Felten said:

    You can user the @summon command to summon a monster as your ally. :)

    Hello Felten, I'll be working on it. Thanks for the suggestion!

  6. Hello, I would like to request if there is such thing (There is, but I do not know how) that enables monsters to attack this mob except the players -- or in short word, the player and the "mob" is an ally, and the monster attacks both if it can.
    I have heard that you can change the { AI } on the mob which is located at the spawn file, but somehow, it did not work in my case.

    P.S. I have searched through rAthena, and I found some answers but none of them actually worked (or it's just me?).
    Thank you for your best works!

  7. Just now, akosivinmark said:

    I tried this, but players won't see each other. :( 

    Hello @akosivinmark, of course they will not. If player 1 is in the server 1 and player 2 is in the server 2 then they will not see each other because they are placed in a different server. However, if you want them to see each other then let player 1 go to server 2 or let player 2 go to server 1, for them to see each other.

  8. 59 minutes ago, Cyro said:

    hay there! nice guide 
    just a small suggestion This font is so small, actually it giving me hard time when i am trying to read from IOS device , 

    Thank you for the suggestion @Cyro, will be changing it! Thanks!
     

     

    57 minutes ago, crazyarashi said:

    Very Detailed guide Thumbs up :D

    Thank you very much @crazyarashi!

  9.  

    Hello everyone, this is a continuation for my Server-side guide, however, this time, this is a client-side guide instead. No virus can be located at any link located in download spoiler section.
    So first, before we begin, I would like to tell you that I will not be accompanying you while making a client. Again, this guide is quite long and I expect you to read and absorb it properly. I would be very disappointed and will IGNORE if you have an error that is stated just below. Anyway, moderators, or etc. may change/edit it freely and any suggestions/reports/etc. are highly suggested or required. Again, I will have an example of my own, thus you do not need to follow it. If you find this helpful, see my signature (Not the PayPal, instead the reputation etc. and please don't make a bad thought about it, it's just for some reasons for the others to know that it is working.) Anyhow, this guide WILL WORK at any CLIENT and is not a one-sided client guide only.

     

    What to download:

    Spoiler

    I.Client folder  - https://github.com/zackdreaver/UnpackedkROclients (PHASED OUT)
    II. Data folder - https://github.com/zackdreaver/ROenglishPRE (for Pre-RE)
                             - https://github.com/zackdreaver/ROenglishRE (for RE)
    III. NEMO - https://rathena.org/board/topic/90204-nemo/
    IV. kRO - http://ratemyserver.net/index.php?page=download_kROLinks (You don't have to download this, but I prefer you to download this, though.)
    (Optional) Client used for this guide - https://mega.nz/#!w84jRRjZ!iWjU1Qfsez_3nbTtqQuFWHsbda2IglPi7TBnzZWmJtI

    In this guide, I assume that you already have the files needed and that you have extracted the data folder and the kRO. Also, I assume that you have all the .dlls and all the required or needed files to run Ragnarok.

    FAQ:
    What should I do with my data folder - Place it in your "server" name folder and leave it be. This is the folder where your client will read.
    What is a client - The medium to allow your players to experience the feature of your server and to allow them to play.
    What is a data folder - This is the heart of your client. This is where it reads the datas, such as your item descriptions and mainly focuses more on in-game features and such. However, effects, rates and such are not related to data folder.
    What is NEMO - A setting for your unpacked clients.
    Use of client dates - Clients have different dates. It means that if you choose an earlier (2010 below) clients then there will be some features in later clients (2010 above) that will not be present on the earlier client (2010 below). Some clients contain bugs, and these bugs are fixed on the later client; so I would be very pleased if you do a research on your own. However, if you choose some "best" renewal/pre-renewal client then there is a search function in rAthena, search for it.

     

    Old rev :

    Spoiler

     

    I. Configuring your server-side (packet_db.txt) to listen to your client.

    Spoiler

    1. Go to your rAthena file (or where your files are) and click the db folder and find packet_db.txt 1.png.a23fdf431cab99ab1aaf28a5b62ead3a.png
    2. Open your packet_db using any word text such as WordPad, Microsoft or Notepad or Notepad++. No need to download the mentioned applications Notepad is enough if you have them.
    3. When you open them, something will pop-up and you will find these lines.
    3.png.5072895c2fa077da76c4e9fd6e611420.png
    4. Search for these lines
    2.png.efeca3474af8f365e917bf3abe9f74e6.png
    3.png.b7815e8f07a6bb1532f2e94194f05c08.png
    4. Uncomment the "//" beside packet_db_ver (they are called comments in which, they will not be read.).
    3.png.1f4d4b85b1aa4674d26952b50b96d2a6.png
    5. Now, use Ctrl+F (or Find) then place your client-date on the "Find what:" area. So if you have a 2015-11-04 (MY EXAMPLE) or any client date then place it.
    4.png.6ccce91cbecf8fe81e6a0060ddcb4f61.png
    6. Once you have found the client-date, look below it and you will see a bunch of commented and uncommented lines lines.
    5.png.f60e5ee955548ddd9bde650239f5ef14.png
    7. Look at the "packet_ver" and you will see a number which is 55
    6.png.6214e95acd7aa33f45046fe5934745b5.png
    8. Now, since you have your packet_ver copy the number (or simply memorize it) then paste it at packet_db_ver which you found on top.
    7.png.6bfdabfdb77609478a37cd162e41a7ba.png
    9. Save it or Ctrl+S.

    FAQ:
    What if I don't have the correct version of packet_db_ver - Your packet_db_ver must always be correct. If not, then you will have some complications on your server such as unable to move your character, unable you to type, Failed to connect (since it does not match on the packet_db, then of course, it will not connect. Packet_db_ver must have the client's date packet_db to let the client and the server itself listen to each other.), and others. Thus, if you have any problems, then check your packet_db_ver.

    What is the packet_keys_use - As far as I read, the packet_keys_use is somewhat a security in your server (There are some clients that does not support packet_keys_use, so it's your decision.). If you wish to have them then look at the packet_keys on Step 7 and copy paste on your packets_keys_use. Make sure to remove the default and the comments.

    II. Configuring your server-side(mmo.h) to listen to your client.

    Spoiler

    1. At the same rAthena folder, go to your "src" folder and proceed to the "common" folder. Search for "mmo.h" and open it using any word-program, such as Notepad or etc. Again no need to download it.8.png.78f4b89ebe0432b74257764705877365.png 9.thumb.png.b0b26b0a0bc2672a6ac53a830e3867ef.png
    2. Search for the #define PACKETEVER and the next to it you will see a date. 10.thumb.png.c76ae5a77f743a8be05f9f9edc27a4ad.png
    3. Erase the "20130807" or whatever is place on your mmo.h file and replace it with your CLIENT'S DATE. (In my example, I am using 2015-11-04 so I'll be replacing 20130807 to my own client's date which is 20151104. P.S. There is an easier way for the people who'll follow my example, but let's just do the proper way for now, in case you'll be changing some clients lower than the latest or this 20151104.)
    11.png.e02404bec001e5943e833cb9d3695438.png
    4. Save it or Ctrl+S and close.
    5. [If you have read my guide, then you already know that "anything that has been edited to the src files must be recompiled using the Microsoft Visual.)] Once you're done, recompile your server using the rAthena-XX where XX stands for the year.

    III. Setting your Client using NEMO

    Spoiler

    1. Go to your directory of your NEMO and open the application NEMO. (PLEASE DON'T TELL ME YOU DON'T KNOW THE DIRECTORY OF YOUR NEMO FOLDER.)
    12.png.3fca213a482a8cb2d3b3a52918245508.png
    2. Go to "Browse".
    13.png.9eb11b55ca384408b0f2a0d6b0379cee.png
    4. Locate your unpacked client which you just downloaded in the download spoiler.
    14.png.411c82d1f4e503f4dcac630ddd0de2b4.png
    5. (In my example, I used 2015-11-04, again you can use any client you want as long as that client date and version is what you input in your packet_db_ver and in your mmo.h.) Open it, and something will pop up, click on "Yes" and click "Load Client".

    15.png.6d79a7dec744f81b61356cd4c2aede5a.png
    6. You will see a bunch of words and try to read them if you have time to understand more. Putting that aside, press on "Select Recommended". You will see some bunch of pop-ups such as "DATA.INI" and such, just press OK however, again if you have time, READ.
    16.png.32c1fef9486c7f00694d3a1d857adf1a.png
    7. Now, skim on to it, and press the things you want to apply, however, before that, check "Read Data Folder First" and "Use Ragnarok Icon".
    17.png.ca9dd0335354f2cd1ed2d4fd52b36c31.png18.png.e7d7e5b314045dcfd32fcfd81a76c9f9.png (It must be red if you did not press it and turns green if you press it)
    8. Now that you have skimmed on it and pressed the things you want to apply to your client then click on "Apply Selected", as obvious it may be, it means that it will apply what you have selected in the NEMO Patcher. And you will see your own Client in the directory where your Output Patched directs. You can also change this by clicking the Browse to direct the client there.
    9. Copy and paste your client to your "servername" file -- NOT THE rAthena files.

    FAQ:
    What is Read Data Folder First - This will read your data folder (remember when I told you that the data folder is the heart of your client?) first instead of the GRF -- thus if you want to change something on your server, you can just go to the data folder and make changes to any category you wish to change. However, if you wish to change something through the GRF then uncheck "Read Data Folder First" you'd be needing a GRF Reader and Editor.


    Detail:
    - The Read Data Folder First allows your client to simply read the folder instead of the GRF. Notice that when you play a released online Ragnarok server, the biggest or the heaviest component is the file the ends with .grf? This is because they have turned their Data Folder into a GRF and turned off the Read Data Folder First. The most fitting reason as to why they convert the Data Folder into a GRF is to show professionalism and security. The Data Folder holds a lot of information about your server, such as, your server I.P address, your Ragnarok client and so many more. The Data Folder must be secured (decisive and wise server owners would pay for a third-party security to maintain peacefulness and maximize the protection to their servers) and should always be secured.


    What is Use Ragnarok Icon - Your Icon will show up as the original ragnarok icon.


    It won't turn green! My Read Data Folder First - IMPOSSIBLE! (Sarcasm.)
    Why are there some errors on some etc. - That means your client file is not an UNDIFF CLIENT. The difference between diffed client is that, it is already SET UP and will limit your freedom to choose which settings you want. However, the undiff client is where you can freely set up your own settings. Such as if I want my chat flood to limit when it reaches 5 then I could freely do that in an undiff client WITHOUT problem, however if it is a diff client and the one who diffed (person) it diffed (client) the client then chances are, you cannot change it.

     

    Proceed to "Letting your client listen to the server and to the client itself."

     


    New rev:

    Spoiler

    COMING SOON!!!

     

    I. Letting your Client listen to the server and to the client itself.

    Spoiler

    1. Open your data folder (PLEASE DON'T ASK ME WHERE, YOU KNOW WHERE IT IS.). 19.png.5a658db0242d15260967c44030558b78.png
    2. Search for Clientinfo.XML and open it using any Word application. Again, no need to repeat it.
    20.png.c0f5054d830ffcbd0a06ac1864cf2852.png
    3. Now for some explanation.
    Leave your <servicetype> the same as it be and your <servertype> might be quite different on what client you are using.
    <display> is where you'll see when choosing a server (multiple server in one client -- such as two map servers, two character servers BUT only connects to ONE login server). Such as 
    High Rate
    Low Rate
    Again, experiment if you have time.
    <balloon> is where if you hold on your cursor on the <display> in game for a long time, that will show. (I am not sure, am I right?)
    <desc> I don't actually know what this is, I left mine the same as it is.
    <address> this must be 127.0.0.1 or in simpler terms, your LAN.
    <port> if this is 6900, leave that be (-- if you have not changed your login port then change the <port> to the login_port's port -- for starters, don't read this.)
    <version> this one is the medium for the server and the client to listen, so whatever you PLACED in YOUR packet_db_ver that will also be what you place on this one. In my example, my packet_db_ver is 55, thus my <version> in my clientinfo.xml would be "<version>55</version>
    <langtype> experiment on this one. too hard to explain, or if you want me to explain lazily, this is a font.
    <registration> when you press register, this will lead to the link that is input between them.
    <aid> under it you will see <admin> this means that THIS WILL BE THE ACCOUNT ID'S (which you place in your MySQL) who will be wearing Game-Master Clothing. As you can see, there is only one, so you will only be seeing one player wearing a Game-Master clothing. Of course if you place two, then common sense? But if they're just a normal player (example 200002 is a normal player) and his/her account id is placed on that <admin> then of course, that normal player will be wearing a Game-Master Clothing but will not inherit the Game-Master's commands and features vice versa. Their group id (group.conf) will follow on what you just placed on the login table group_id in MySQL. Default player's group_id would be 0 and 99 for the administrators.
    <loading> self-explanatory. This will show up the loading screen etc.
    So the only thing you'll be changing would be between the <version> </version>, <display> </display> (if you desire), and <address> </address> depending if it's not 127.0.0.1, and <langtype> </langtype> depending on the situation.
    21.png.5b20412583fc3ae3fd1ec1687dd5cfda.png

    4. Save or Ctrl+S, then exit.


    How to run your server:

    Spoiler

    1. Go to your rAthena files and open your runserver.bat to run the mapserverloginserver, and charserver. These three must listen to each other for the client to run successfully. When these three programs are running, open your .exe or your client and login using your account which you have created in the MySQL (Not the account you've placed in your char_athena.conf). It must run successfully.



    FAQ:

    Spoiler

    My server will not go in, it says Failed to Connect to Server - Please check your packet_db_ver has the same version of your client, and your mmo.h has the same client date and make sure you have recompiled it. Once you're done recompiling it, make sure to check your clientinfo.xml <version> is the same with the version in your packet_db.txt. 

    It says character size: XX - Please check your mmo.h, make sure your client date is the same on what you've placed on your mmo.h.

    Where can I find my data folder - I am a straightforward and a frank person so, where can I find your brain?

    When I place my username and password, it says unregistered - Check your username and your password in your MySQL login. Make sure you place aside your stupidity on this one please. Trying once is not a reason for you to tell me this guide is not working.

    How to let my friends connect to my server - This is a client-side guide for a LAN-type server, for short, a test server on your own. So which part of this does not let you get what I mean? Go use the search function.

    Where to download ???? - Read from the top please.

    Item-description has weird characters - Please see my topic, and by the way, this problem can be located in your data folder.


    Now you're done. Again, if you have any questions regarding this, please kindly do so, or if you have any suggestions or request to change kindly do so.
    Again, I really recommend if you follow my server-guide which is stated above.
    Anyway, good luck on making your server. I hope you'll be able to help the Ragnarok Community. Long live Ragnarok!

    Best Regards,
    Freya


    Edited 22/08/2018: Slashed out one website ; Placed more details.

    • Upvote 12
  10. 6 minutes ago, crazyarashi said:

    Hi Im not getting any errors but i think this part is wrong because it's not exchanging anything at all :))

    
    			mes "Are you sure you want to exchange ^0055FF"+(.@e*5)+" Rough Elunium?^000000?";
    			if(select("Yes:No")==2) close;
    			mes "[Leon]";
    			mes "Okay come to me again if you want to exchange";
    			delitem .@i,.@e*5;
    			getitem 985,.@e/5;
    			end;
    			}

     

     I would like to ask as to where is your case 2? You also don't have the "notelu".

  11. 23 hours ago, norikanes said:

    First at all really appreciate that you create this guide! it's work for me! Do you mind to create another guide for client side? many thanks for your hard work!

    Hello, I am still planning to do so. But thank you for your appreciation.

  12. 22 minutes ago, Questune09 said:

    Good day rathena

     

    i found costume items inside my trunk > db > re > item_db.txt

     

    how do i enable that items ingame ???

     

    please guide me

     

    i also copy the items in renewal and paste it to pre renewal item_db.txt

     

    when i use @ii and search for item name its appeared normaly but when i use @item + id of the costume item the item i get is only apple how do i fix it

     

    and i also try to copy renewal item to trunk >db >import > item_db.txt

     

    but same problem... please help me i really need this thank you so much

    Hello, this problem is in your data. You have no sprite to any of this item. This will also matter as to what client date you are using. Anyway, I believe there is another topic similar to this? Please try searching it first using google or whatso.

  13. 1 minute ago, Questune09 said:

    your right i dont change anything on database. what if i change it normally how can i do that?? or where can i change it?? thank you

    Hello, correct me if I'm wrong to the most professional out there, you can change it here, rathena/conf/battle/player then read the lines in it. Hope this helps.

    • Upvote 1
  14. 6 hours ago, Questune09 said:

    good day rathena i was having problem again.... expert people please help me

     

    a character with  99 vitality or even all stats to 99

    even 32k all stats

     

    the hp and sp is verry low

     

    help me how to fix it to nomal thank you

     

     

    Hello, if you use @allstat or whatsoever into its most maximum, it will not work. Also, if you have not change anything in your files then I guess that would be all right, unless if you want to change the HP rate then you can change it.

    • Upvote 1
  15. Just now, Technoken said:

    @Freya I think that you could just apply the code that Playtester provided. Just find those lines in battle.c. I might also use that. lol

    @Technoken I, too believe so, however, if there is a code that will reduce the flee rate of the player then I would use that code instead. Anyway, I would gladly look at your code you provided too. Would be also a great help. Thanks Technoken, t'was a great help!

  16. 44 minutes ago, Technoken said:

    I did that before, however after updating my trunk it wasn't working as i've wanted. Maybe you could expand this if you have any knowledge about src.

     

    @Technoken, I'll try my best to this Technoken if there are no more ways. Thank you!

    9 minutes ago, Playtester said:

    Probably easiest to just change the hit calculation or just increase the dex of monsters.

    In battle.c::is_attack_hitting you have this:

    
    hitrate += sstatus->hit - flee;

    You could change it into something like...

    
    if(sd) //Player
        hitrate += sstatus->hit - flee;
    else //Monster
        hitrate += sstatus->hit*2 - flee;

    That would for example double their hit in the calculation.

    Maybe a better idea would be to half the flee of the target instead, though.

    @Playtester, was also one of my ideas as to lower the flee of the target instead than to increase the flee of the mob (will really alter some mobs I believe). Anyhow, if it's fine for you, do you have any code for this Playtester? I would gladly appreciate it if you have and would share it to us. Thank you!

  17. Hello, I would like to request a src/or anything (P.S. I do not really know if this is where I should really ask.) that will strengthen all mobs — especially, their Hit Rate.
    The problem is that, once the (Assuming that the max base/job level is at 255/120 with all stat as 1.) player is at its max level, the tendency there is, is that most mobs and even the boss and MvP monsters itself misses due to the Flee Rate of these players.Imagine if their stat will be raised to 255 especially to their Agility and Luck.
    I would like to request an src (or whatsoever that it fits) that will make the mobs be on par with these players.


    Related Threads/Topic:

    Thank you.

×
×
  • Create New...