Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/21/19 in all areas

  1. Story Time: A lot of players run into problems. They disconnected in an instance, they bought the wrong item, someone is being a nuisance in battlegrounds. After cursing, they usually type `@request`. But alas, none of the GMs you hired are online! You need to dock their pay. The message is lost in the void. Until now. Discord has support for webhooks, which is a way to associate callbacks to HTTP requests. Their developer docs for webhooks can be found here. Basically, you can send a POST to your discord webhook url, and the contents will be printed to the associated channel. "So?" When someone uses `@request`, the message is sent from the map server to the character server, which then sends it back to all map servers, and the map servers send the message to all connected GMs. Because it sends it to the character server, we're able to send the POST request from the character server. This helps performance, since the map server is constantly doing things and the character server generally uses less resources. "That's great! But how do we send this POST request? Do I need a stamp?" If you're on Linux, there's a great command line tool called `curl`. It's mostly used to download files from a server, but it also has support for all other HTTP methods. "Command line? How do we put it in rathena?" Curl also comes with a library called libcurl that we can use in c/c++ programs! "I see, so we use libcurl to send the message to the discord webhook!" Exactly! How it looks: Installation: Two config options are added in this patch: gm_whisp_webhook and gm_whisp_webhook_url This makes a change to configure, and adds a new flag. You need to add --with-lcurl to your arguments. Example: ./configure --enable-prere --enable-vip --enable-packetver=20170614 --with-lcurl Disclaimers: This only works on linux. I don't run rAthena servers on windows, and neither should you. (personal opinion) You need to install libcurl-devel. On some OSes it could be called something else; on Ubuntu, it's libcurl4-openssl-dev. Don't ask me for a lot of help if you can't get it to work. This is supposed to be a showcase, but I'm giving the code out. I made this in a day, it's not the greatest code. Initializing curl and cleaning up on every call is not the greatest, but unless you are getting 100 requests a minute, it should be ok for now. Eventually, I want to add it to src/common or something. But that'll happen in a future weekend. Code: The code is here: https://pastebin.com/Z82M9ssf
    1 point
  2. Hello people~ I am Adel and this is my updated sprite showcase. ❤ ❤ ❤ Hope you enjoy ❤ ❤ ❤ Note: Please do not steal the display images. Some of the references for my sprites were taken from other game sources. Mob Sprites Other Sprites
    1 point
  3. Use server database editor add the skills manually.
    1 point
  4. @domez86 https://www.divine-pride.net/database/monster/3124/charleston-3
    1 point
  5. Add that in your data folder or to your client's data.grf https://drive.google.com/file/d/1QKmhT9jrJfA_p5zLxSaXXdW_F1alO7Ry/view
    1 point
  6. Version 1.2

    434 downloads

    A PvP room which changes maps. Nothing else is required to the description, I guess. Features: - You can use @pvp command to enter the room. However, you can't use it if you're inside an instance of in middle of a battle. - Anti repeating system. You can avoid the same map being repeated again and again. - Some little effects when you're warped.
    Free
    1 point
  7. - script Sample -1,{ OnInit: set .amount, 40; // amount of item to shower set .item_id, 7227; // item id to shower set .item_id2, 1234; // next item id to shower bindatcmd "itemshower",strnpcinfo(3)+"::OnShower"; end; OnShower: getmapxy .@map$, .@x, .@y, UNITTYPE_PC; while ( .count < .amount ) { do { .@x_diff = .@x + rand(1,5); .@y_diff = .@y + rand(1,5); } while (!checkcell(.@map$,.@x_diff,.@y_diff,cell_chkpass)); .@var = rand(2); makeitem .@var?.item_id:.item_id2,1,.@map$,.@x_diff,.@y_diff; set .count, .count + 1; } set .count, 0; end; This will make the command @itemshow ... start with the characters position, then it will consider a differential between 1 and 5 from their X,Y coordinates to "shower" around them...
    1 point
  8. 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
×
×
  • Create New...