Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/26/17 in all areas

  1. YAML parsing support and C++ support update As of Git Hash: 4a2574c, rAthena has an additional configuration file format support which is YAML. It was made possible by a third-party library we have choosen, yaml-cpp. YAML stands for "YAML Ain't Markup Language". It is widely used as a human-friendly configuration file format and supported by many modern text editors, unlike Libconfig which is the format we currently use. If you still want to stick with C (why?) You can take a look at our newly added C wrapper for yaml-cpp, C++ third-party library we are currently using here. I've also attached my own example on using the C wrapper below. Another noteworthy is that rAthena now fully supports C++ source file compilation on both major operating systems, Windows and Linux. This means you can let your inner C++ talent go wild, write stuffs in cleaner C++11 way, and many possibilities you could think of. That's all for this announcement. Secret out! refinedb_yaml.diff
    2 points
  2. RODEX Support As of Git Hash: 58776da, rAthena now supports the RODEX System! Thanks to @Lemongrass for getting it applied to rAthena! What is RODEX? RODEX (RO Delivery Express) is the replacement of the Mail System within RO. (Read more here) Requires PACKETVER 20150513 or newer. All mailbox NPC are disabled as RODEX is accessible through the client. Basic configurations can be found in conf/battle/misc.conf with more configurations in conf/char_athena.conf. mail_return_days and mail_delete_days are defaulted to 15 days for when an unread message is returned and another 15 days for when that returned message is finally deleted. As with the previous mail system, zeny and items can be sent through RODEX. RODEX supports up to 5 attached items now, as opposed to 1. A tax of 2,500 zeny per item (misc.conf::mail_attachment_price) and a tax of 2% zeny when sending zeny (misc.conf::mail_zeny_fee). Players are given a default of 100 mail stamps a day. (misc.conf::mail_daily_count)
    2 points
  3. Try this. - script atcmds -1,{ OnInit: bindatcmd "petinfo",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: if( getpetinfo(PETINFO_NAME) == "null") { dispbottom "Sorry, you do not own a pet yet."; end; } else { dispbottom "=========== Information ==========="; dispbottom "ID: "+getpetinfo(PETINFO_ID)+""; dispbottom "Block ID: "+getpetinfo(PETINFO_BLOCKID)+""; dispbottom "Level: "+getpetinfo(PETINFO_LEVEL)+""; dispbottom "Class: "+getpetinfo(PETINFO_CLASS)+""; dispbottom "Name: "+getpetinfo(PETINFO_NAME)+""; dispbottom "Hungry: "+getpetinfo(PETINFO_HUNGRY)+""; dispbottom "Renamed: "+getpetinfo(PETINFO_RENAMED)+""; end; } }
    1 point
  4. .@name - scope integer variable .@i = 11124; You can see line 2 and line 4 in picture. if(checkquest(.@i mean if(checkquest(11124 and it will loop +1 +1 +1 +1 +1 will be if(checkquest(11125 - 11134 // Edit #1 This is quest 11124
    1 point
  5. sex == 1 // Male sex == 0 // female post your full script
    1 point
  6. Nice, Kaze! Well done, I like how you applied different levels of height and am def looking forward to see more from you.
    1 point
  7. I liked the maps and the details you used. Good job ;D
    1 point
  8. if ( getmapusers("mapname") >= 0 ) { // map exist. } else { // map not exist. }
    1 point
  9. @Diana here's my clientinfo <?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <servicetype>english</servicetype> <servertype>primary</servertype> <connection> <display>Renewal MeowRO</display> <balloon>Chaos</balloon> <desc></desc> <address>127.0.0.1</address> <port>6900</port> <version>55</version> <langtype>19</langtype> <registrationweb></registrationweb> <aid> <admin>2000000</admin> <admin>2000002</admin> </aid> <loading> </loading> </connection> </clientinfo> http://prntscr.com/fnsqlr
    1 point
  10. Just change the DonateLabel 'Donate Online' => array('module' => 'donate'), or Go to. lang/en_us.php Then find DonateLabel, then edit your desired label. 'DonateLabel' => 'Donate',
    1 point
×
×
  • Create New...