Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/25/13 in all areas

  1. See trunk/doc/atcommands.txt for documentation and examples of atcommands.
    2 points
  2. BotKiller 6 BotKiller 6 is a powerfull antibot system based on Scripts, useful to detect Bots without modify your server executables nor install external libraries. Features BK6 support external modules, giving flexibility and security to your server. BK6 was integrated with a new multi-language system that support multiple languages at the same time, the users can change the default language whispering to npc:lang BK6 give you enough time to find a safe place before initiate the interrogatory, during that time the player will glow to visually alert to other players about this process. During the interrogatory, the player will see the remaining time to respond in real time. BK6 rewards player when their effectiveness is OK responding the antibot (AGI,DEX,Zeny,Exp) BK6 will try to bypass recently interrogated players and definitely will ignore chatting or vending players. The Administrators are allowed to send a manual interrogatory to anyone in any moment. The players are allowed to send a manual interrogatory to any other common player, excepting players chatting, vending or in locked places (whisp to npc:bkconfig to configure BK6 safe zones) BK6 now uses "real time" in prison, the countdown only works when the guy remains logged in the jail. When the countdown is over, the player have to respond a new interrogatory to be sure is a human. if failed, the countdown is restarted and the Bot player is kicked from the server. BK6 store logs that helps administrators to detect Bots Players and apply other sanctions. Installation: Download the script: bk6.rar (6.17) Additional Languages: Portuguese: BK6_PT.txt (by Pedro Brito) Modify "script_athena.conf" setting this values to the check_* parameters. check_cmdcount: 655360 check_gotocount: 655360 Create this folders in your server root: npc/custom/bk npc/custom/bk/lang npc/custom/bk/mods Copy this scripts in the following paths: npc/custom/bk/LangManagement.txt npc/custom/bk/VarSystem.txt npc/custom/bk/BotKiller6.txt npc/custom/bk/lang/BK6_EN.txt npc/custom/bk/lang/BK6_ES.txt npc/custom/bk/mods/BK6_Asc2Num.txt npc/custom/bk/mods/BK6_Asc2Word.txt npc/custom/bk/mods/BK6_Fakename.txt npc/custom/bk/mods/BK6_Img2Num.txt npc/custom/bk/mods/BK6_SMath.txt npc/custom/bk/mods/BK6_Lie2Me.txt npc/custom/bk/mods/BK6_WordNum.txt To use Img2Num Module, use this client patch: BK6_Img2Num.rar Edit npc/scripts_custom.conf adding the following lines: // Unlimited Variable System npc: npc/custom/bk/VarSystem.txt // Multi-Language System npc: npc/custom/bk/LangManagement.txt // Translations npc: npc/custom/bk/lang/BK6_EN.txt // English Dialogs npc: npc/custom/bk/lang/BK6_ES.txt // Spanish Dialogs // Remember to copy and declare here any additional language // BotKiller Main Script npc: npc/custom/bk/BotKiller6.txt // BotKiller Modules npc: npc/custom/bk/mods/BK6_Asc2Num.txt npc: npc/custom/bk/mods/BK6_Asc2Word.txt npc: npc/custom/bk/mods/BK6_Fakename.txt npc: npc/custom/bk/mods/BK6_Img2Num.txt npc: npc/custom/bk/mods/BK6_Lie2Me.txt npc: npc/custom/bk/mods/BK6_SMath.txt npc: npc/custom/bk/mods/BK6_WordNum.txt Run your server and whisp to npc:bkconfig to configure BotKiller 6. * Note: BotKiller 6 doesn't work on TXT based servers, please don't request it * Some Demos: Basic Demo: Modules: Lie2Me Module: Asc2Number Module: Img2Num Module: Simple Math Module: Asc2Word Module: Word Num Module: Testing GM Commands trying to ByPass BotKiller 6: History: 2011-05-01: 6.0 - New version, a friendly Police in Midgard! 2012-01-18: 6.1 - Using the new version of Unlimited Variable System! 2012-01-19: 6.11 - Fixed some problems in the jail! 2012-01-19: 6.12 - Fixed another wierd function in the jail! 2012-01-28: 6.13 - npc:bk don't show player selector when found only 1' 2012-01-28: 6.13 - removed some useless variables in functions
    1 point
  3. Peopleperson49's Script Collection Please enjoy my work. If you have any suggestions or find any issues/bugs please let me know! If you like or download my work please click the "Vote this post up" button to the right of the post and check out my server Ragnarok Underground. My scripts are written as I would use it for my Ragnarok Underground server, you might need to configure them before use. My scripts are written to work with the rAthena emulator. When reporting and bug/error/suggestion in this topic please give the emulator version, version of the script your using, and the issue in detail! Super Magnifier Identifys all unidientified items a player is holding at once. I made this a long time ago for my server, but I added here for Nipsino after reading a post he left. Function_SuperMagnifier.txt Rock, Paper, Scissors Roulette This was one of my first scripts I ever made. I learned to script by breaking these type of scripts down and recreating them from scratch. This script was recreated in this same way. It is very similar to the original in design. Allows the player to play roulette with a 5 chamber pistol. Only one bullet is loaded at a time. The script will continue to loop until somebody is shot. Version 2.0: rpsroulette.txt BlackJack Scratchcard Blackjack script that designed to work like a scratchcard. It is based on using eight decks or cards and both numbers and suits determine winning hands. Buster prize for scoring a 30 or 31, which can only be done if you already have a 20 or 21 adding one more element of gambling to it. Item data is included at the bottom of the script. Version 3.3: Scratchcard_BlackJack.txt Powerball Lottery This was one of my first scripts I ever made. I learned to script by breaking these type of scripts down and recreating them from scratch. This script was recreated in this same way. It is very similar to the original in design. Powerball lottery picks 5 miniballs and 1 powerball. Different pay amount based on type of matches made. Version 1.7: lottery.txt Advanced Banker This was one of my first scripts I ever made. I learned to script by breaking these type of scripts down and recreating them from scratch. This script was recreated in this same way. It is very similar to the original in design. Bank with varying account and interest based directly on balance. Also has trustfund which pays out only when the character reaches BaseLevel 150. Most of my scripts give trustfund bonuses and also 1% of any zeny spent goes toward the trustfund. Version 1.4: bank.txt Heads Or Tails This was one of my first scripts I ever made. I learned to script by breaking these type of scripts down and recreating them from scratch. I remember making this one, but I'm not sure if I based it off of another script or not. Player starts by betting 500z and then flips a coin. If heads their money is disabled, if tails they loose all their money. Version 2.4: hot.txt Jackpot Leon This was one of my first scripts I ever made. I learned to script by breaking these type of scripts down and recreating them from scratch. This script was recreated in this same way. It is very similar to the original in design, however I'm not sure where to find that script anymore. The script picks a number between 1 and 100. The player pays 10,000z to make a guess. Each guess increases the size of the Jackpot by 9,000z until somebody wins. Version 2.3: jackpot.txt Double Dice Roll Very simple dice gambling game created for my custom Comodo casino package. You bet various amounts of zeny and roll two dice. The winner is the one with the highest total score. This was created from scratch as part of my casino package and had nothing to do with the rolladice script. Version 2.1: roll_a_dice.txt Saving Angel This script was written for my lovely wife after we were player and our whole party was wiped out in majos. It allows a character to resurrect another character anywhere in the server for a fee. Version 1.8: Saving_Angel.txt Magic 8 Ball Custom script that works just like using a magic 8 ball. Version 2.2: MagicEightball.txt Wishing Well Custom script that allows a player to throw zeny into the wishing well and make a wish. The wish is then sent to any online GM using @request. It is restricted to one use per day to help prevent annoying the crap out of the GM's! Version 1.7: WishingWell.txt Arch Bishop Job Quest This script was written for MelMel on rAthena.org. It is a compltely new version of the third job change quest for an Arch Bishop. I did not use any other scripts as a base. It allows a Priest/High Priest to gather items and then change jobs to an Arch Bishop. The Sub-scripts can be completed in any order and all work off of each other. Version 1.1: Job_AB.txt Guillotine Cross Job Quest This script was written to supplement the fact that the Guillotine Cross still has no official script release on rAthena.org. It is a compltely new version of the third job change quest for a Guillotine Cross. I did not use any other scripts as a base. It allows a Assassin/Assassin Cross to gather items and then change jobs to a Guillotine Cross. Version 1.2: Job_GC.txt Monster Of The Day Another Monster Of The Day script. I made this one from scratch to be very simple and work automatically. Uses almost the full list of monsters from the mob_branch. I included the dispbottom here when players login, but I actually perfer to use a login script with this in it. Version 1.4: MOTD.txt Security Manager Allows a player to set up a password to help protect their account. It uses a simple OnWhisperGlobal function. I nolonger support the use of the whisper system in my Security Manager script after version 1.3. I will still provide support for other issues that might be discovered in scripts prior to v1.4, but they will be fixed in a version that now uses bindatcmd. Version 1.5: Security_Manager.txt GM Headquarters Allows access to a part of the sec_in01 map that doesn't have any warps anyway. This is a nice areas to setup special NPC's or events. Whatever anybody wants to do with it. However the secutiry code is fun for everybody to try to crack. This script currently has shops that be used once a day as a reward for cracking code. It's my intent to eventually add a full warper script that can be used once a day also. Version 1.3: GMHeadquarters.txt Monster Hunter This script was written for vgrebirth on rAthena.org. It allows one party at a time to do the Monster Hunter event. If any member is killed the entire party looses and are warped out. If you kill all the mini-boss monsters the boss monster is spawned. Version 2.7: Monster_Hunter.txt
    1 point
  4. Hey everyone. <3 It's me from eA. I thought I might as well bring my maps to rA. The fact that these maps are free does not mean that I don't expect credits. Creditting me is all I ask for, though. A tiny favor in exchange for days of hard work, so please! <: Like my maps? Please be kind to consider buying my Purchasable Maps. Thank you! ♥ Don't forget to let me know when the links are dead! - Altzibar - Info: Pretty much a more exotic (though a much smaller) version of Alberta. Youtube: BGM: El Cazador De La Bruja OST 17 - Walk down to your freedom Download: Click Mirror: Click - Crystilia - Info: My first custom town ever, more of a mansion some people said. Kinda random actually. @_@ Youtube: BGM: Strawberry Panic! - Ending (last episode) soundtrack Download: Click Mirror: Click Minimap: ^Download contains minimap! - Flaris - Info: Based on a (part of a) FlyFF map. Youtube: BGM: FlyFF BGM - Flaris Theme Download: Click Mirror: Click - Jazeera - Info: Jazeera means "island" in Arabic, lol that's all the info I'm able to provide. Youtube: BGM: You and I (unfulfilled feelings) - Gundam Seed Destiny Download: Click Mirror: Click - Lunette - Info: This could be the perfect beginners(/Novice) town, especially if your server has some sort of story line. Youtube: BGM: The Last Exile OST - Lost Friend Download: Click Mirror: Click [New] Minimap: Click - Welgaia - Info: An angelic town, big enough to be used as main city for your server. Youtube: BGM: Nana Mizuki - Fiat Lux/Hikari Are (Tales Of Symphonia OST) Download: Click Mirror: Click Minimap: ^Download contains Minimap! That's it for now. If I happen to make more maps in the future I'll add 'em here. Much love, Najara
    1 point
  5. Hmm.. Well, I have drew 3 icons for Cursed Water, Elemental Resist Potions and Undead Scrolls and decided to share with rA community. Also, this is not really what so call 'design'. My skills are very limited in Photoshop Requirement Basic knowledge on text editing. Basic knowledge on compiling your rA source code. Installation GuideServer Side 1. Open status.c, go to line 761 and add these lines: StatusIconChangeTable[SC_ENCHANTARMS] = SI_ENCHANTARMS; StatusIconChangeTable[SC_ARMOR_ELEMENT] = SI_ARMOR_ELEMENT; StatusIconChangeTable[SC_ARMOR_RESIST] = SI_ARMOR_RESIST; 2. Open status.h, go to line 1348 and add these lines: SI_ENCHANTARMS = 900, // Elemental Converter SI_ARMOR_ELEMENT = 901, // Resist Potion SI_ARMOR_RESIST = 902, // Undead Scroll 3. Compile your source.Client Side 1. Download clean stateiconinfo.lua, efstids.lua and stateiconimginfo.lua files from here. (Credits to the SVN owner.) 2. Open efstids.lua, go to line 669 and add these lines: EFST_ENCHANTARMS = 900, EFST_ARMOR_ELEMENT = 901, EFST_ARMOR_RESIST = 902, 3. Open stateiconinfo.lua, go to line 2297 and and these lines: StateIconList[EFST_IDs.EFST_ENCHANTARMS] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Enchant Weapon", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Temporarily enchants property to the user's weapon."}, } } StateIconList[EFST_IDs.EFST_ARMOR_ELEMENT] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Enchant Armor", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Temporarily enchants property to the user's armor."} } } StateIconList[EFST_IDs.EFST_ARMOR_RESIST] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { {"Enchant Resistance", COLOR_TITLE_BUFF}, {"%s", COLOR_TIME}, {"Temporarily grants resistance to Fire/Water/Wind/Earth property attack."} } } 4. Open stateiconimginfo.lua, go to line 39 and add these lines: [EFST_IDs.EFST_ENCHANTARMS] = "ENCHANTARMS.TGA", [EFST_IDs.EFST_ARMOR_ELEMENT] = "ARMOR_ELEMENT.TGA", [EFST_IDs.EFST_ARMOR_RESIST] = "ARMOR_RESIST.TGA", DownloadsLink - http://rathena.org/b...a-status-icons/ Mirror - MediaFire Do not take credit for my work as if they were your own.
    1 point
  6. Preview : http://bit.ly/Z0ECZx Introduction : You can hire this npc, it will follow you and give you buff. Download : dedicated_npc_3.txt dedicated_npc_2.txt dedicated_npc.txt dedicated_npc.txt More NPC : First add new npc like this: <map>,<x>,<y>,<facing><tab>duplicate(DedicatedNPCMain)<tab><npc name><tab><sprite id> Add new name define into .npc_name$ setarray .npc_name$[0],"Dedicated Poring AAA","Dedicated Poring BBB","Dedicated Poring CCC"; Time Set : 60 seconds set getvariableofnpc(.npc_time[@id_use],"DedicatedNPCTimer"),gettimetick(2)+60; Update : 2014/02/27 : http://hercules.ws/board/topic/4107-dedicated-npc-v2/?p=27298 http://rathena.org/board/topic/74607-dedicated-npc-v2/?p=244414 2014/01/24 : Rewrite timer and npc runner. Edit : No repairall? >> reply
    1 point
  7. File Name: Account Bound Items File Submitter: Xantara File Submitted: 16 Sep 2012 File Category: Source Modifications Content Author: Xantara, Zephyrus, RO Information This system would allow (non-stackable, non-pet-egg) items to be bounded onto a player's account. This means that the bounded items cannot be traded, dropped, auctioned, nor mailed. But, they can be storaged so that it can be shared among the characters of that account. Features: - Item coloration to distinguish bounded items and non-bounded ones (see screenshot) - Script commands (getitembound, getitembound2, equipisbounded) to create and check for bounded items - At commands (@itembound, @itembound2) to create bounded items - New group permission (can_trade_bounded) to allow the group to distribute these bounded items if enabled (mostly just for High GMs / Admins) - Changes to the SQL files to track bounded items. This would effect cart, inventory, and storage databases. Tested on rAthena revision 17294 (using v1.5.1). Script Command Documentations At Commands Documentations Known Issues - When moving a bounded item to storage, item colouration is gone. However, re-opening the storage or re-logging will fix this issue.1 - When moving a bounded item to the cart inventory, item colouration is gone. However, re-logging will fix this issue.1 1 If you are able to find these packets (ie. PACKET_ZC_ADD_ITEM_TO_STORE3 and/or PACKET_ZC_ADD_ITEM_TO_CART3), please let me know! Credits Created by @Xantara Popularized by Zephyrus Idea by Ragnarok Online License This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Like my work? Rate/vote this download Rep up my support topic post Do not mirror without my consent. Click here to download this file
    1 point
  8. Hi so this is a suggestion to update our environnement. I'll talk about : 1) Main dir hirarchie and files in 2) Makefiles 3) Shell script update You'll need a basic knowledge on Make (Makefile), shell, and unix filesystem to understand the following. here the current diff : http://upaste.me/b5405421f849ddda 1) I'm thinking the main dir is kinda ugly with a bunch of file we don't use. (we don't use .bat and .sh in same time nor all .sln solution); I'd like to move each .sln into their project path and make a script folder for the (.sh .bat). Wich is more a less the same things as 'tools' dir atm, but I think a rename could be more disanbuisious and we could add more in their. Goal would be to cleanup thing a bit and to create a package/systeme rather then 1 prog like we tend to do atm with increasing map-serv while we could do other proc. 2) Makefiles So just a reminder of the current flow : configure.in is used with autoconf to produce configure, configure is used to produce Makefile by reading Makefile.in and finally make use those makefile to produce binary. With a quick look on Makefiles I saw we still had some 'txt' target in some place (src/map) wich had invalid target and therefore can't compile. You may have a binary with some few edit but it will most likely crash due to all the function require mysql. Therefor I think a small cleanup and harmonisation between those Makefile are necessary to prevent any of this attemp and to not have ugly Makefile harder to maintain. Also I'm not sure about the extensive check on mysql, sure it prevent compiling if you don't have the requirement by default but that would mean your ./configure return an error to begin with. Wouldn't be safer to check if configure didn't fail instead only mysql ? what if we add new lib ? I also change the 'all' target to run all the makefile in subdir so we could check if something didn't broke other like it's currently the case with src/test. (since Sql_Init) make install uninstall bin-clean was also rewritten and taken out as external shell script. I'll talk about them in part 3 3) Shell script. First we using shell script cause bash ain't the default interpreter in all distribution (ksh, tsh,..). athena-start : Since the .pid file was added to prevent killing other servers with the same name on same host. (like map-server p6900 and map-server p6800 dual server). There a small glitch issue if you attempt to relaunch start while a runnig server is on with the same config, it will fail (socket already in use) but the .pid file will be overwritten with the new process id wich won't correspond to the running server. So now we checking this before attempting start wich I hope will remove question about socket error 5 or etc. So new func would be : -status : return whetear the servers are up or down. -restart : now fully check if server down before attemting restart. -start : now check if no instance already running (will launch down ones if so) -watch : auto restart server if taken down (experimental atm) Also I'll save those action into log/map-server.log for exemple. With these change I think we could remove "char-server.sh, map-server.sh, login-server.sh start" wich the first 3 was only monitoring and the last was a multiple start attemp... install.sh uninstall.sh : Those 2 new shell are what was somewhat into make install | uninstall | bin-clean. There being extracted cause we usually have install script outside and also gave the advantage of having more instruction instead depend on make syntaxe. The previous install process was kinda like take our current repository and move it into install directory. (usually /opt/ or /usr/local/) While this "ok" it fork the emplacement of src npc was then in 2 different base path (origin path and install path) making change/sync harder and you couldn't reinstall without those folder into "origin path" (just imagine the nightware for a new script command..) Also "install path" are usualy under root ownership (security to prevent user to add non wanted apps..) wich wasn't check atm and result in a fail. (root ownership will also harder change a bit). I therefore prefer to copy file under installation path and make athena-start use it if we have so. -I wont tread /opt/ vs /usr/local/ that more an admin preference, let just say /opt will be easier to see as a whole package. -db/ was move from etc/ to var/ why ? even if in our case the db is read only it's still meant to be a db and idk maybe one day will writte in it too, db are usually in var/ for that reason not etc/ -Hierarchy of symlink change why ? yes wasn't make sense to have conf/ db/ etc into bin/ directory, but it's common to have binary linked into package dir, wich I did. Hierarchie of opt/rathena/ is the same as if that /opt/rathena/ was the / one. -rathena was added in usr/bin/ why ? this allow user to use "rathena start" everywhere as if it was in /opt/rathena, it's now treated as a real user system command. Why not add /opt/rathena/ into path instead ? didn't really want to bother with .profile and make uninstallation easier. (same go for alias) function.sh To facilitate script dev I moved common var and function into this file so it could be loaded and use everywhere. This prevent name mistmach for server declaration, install_path or package name etc..
    1 point
  9. I am trying to ask the OLD SPRITES of the carts somehow.
    1 point
  10. disable the @main command... add this script OnPCLoginEvent: atcommand "@main on"; end;
    1 point
  11. Here. http://svn6.assembla.com/svn/ClientSide/Diff_Project/kRO/RagexeRE/2010/2010-06-16/
    1 point
  12. File Name: Saint Valentine Heart File Submitter: Taeko File Submitted: 08 Feb 2013 File Category: Animated Headgears Content Author: Taeko, RO Staff, Olrox hi!!! i will want something for february 14th!!!! i try use the actOR2 for this animations and effects of heart ^^ hope like it! PD: Thank you Olrox for the number effect Click here to download this file
    1 point
  13. @loadnpc npc/warper.txt @loadnpc <npc path> it is the same inside here trunk/npc/scripts_custom.conf
    1 point
  14. The only way to do this is to attach the script to all online characters and announce using the bc_self flag. set .@j, query_sql("SELECT `account_id` FROM `char` WHERE `online` = 1",.@aid); for(set .@i,0; .@i<.@j; set .@i,.@i+1) { if (attachrid(.@aid[.@i])) { if (titu01) announce "Message 1",bc_self; else if (titu02) announce "Message 2",bc_self; } } end;
    1 point
  15. There was an update some month ago to execute the query in another thread if i remember correctly, so you should not be able to freeze just by sending query.
    1 point
  16. rofl GMs doesn't have the mount sprites. try using a normal character
    1 point
  17. What's your passion, your drive? What do you see yourself doing for the rest of your life? Based on whatever this is, follow it and stay on track with it. Money is one thing, but having to do the same thing for the rest of your life being miserable with your line of work just isn't worth it. Also, location is pretty important. Depending on where you live, it'll limit your choices of what universities you can attend (unless you don't mind being on residence).
    1 point
  18. OnAtcommand: dispbottom "Your Premium Time Left : "+getPremiumTime( #Premium ); end; OnInit: bindatcmd "premium",strnpcinfo(3)+"::OnAtcommand"; end; Add this somewhere inside that script. Probably at the bottom. You can use @premium then.
    1 point
  19. yep that's right, and to elaborate further: http://svn6.assembla.com/svn/ClientSide/Lua_Project/System/ you can grab the iteminfo.lua there and rename it
    1 point
  20. I don't see the need to move you in the Community Contributors group btw. whos this guy? gtfo?
    1 point
  21. I'd like to suggest moving the Message Of The Day to a script with OnPCLoginEvent instead of !svn/bc/16928/trunk/conf/motd.txt suggestion: trunk/npc/scripts_athena.conf // --------------------------- MOTD ----------------------------- npc: conf/motd.txt // so people will find the MOTD script in the same place it's always been // or should we go keep all NPCs in the same folder? npc: npc/motd.txt motd.txt - script rathena_MOTD -1,{ OnPCLoginEvent: if (getbattleflag("display_version")) dispbottom "SVN version: " + get_revision(); dispbottom "Welcome to rAthena SVN! Enjoy! Please report any bugs you find."; // add your custom MOTD messages and other script commands here: end; } Advantages: + easier for server owners to customize + not limited to just displaying a message + they can trigger ANY script commands (ex: a common one, atcommand "@main on" + (?) encourages new users learning rAthena to put all OnPCLoginEvent triggers in one file, thus avoiding "Event queue full" errors Disadvantages: - performance? loading one more npc script - might still cause "Event queue full" errors if they already have a bunch of separate scripts with OnPCLoginEvent.. + solution: load our MOTD script first, since it will not have any script commands that pause script execution
    1 point
×
×
  • Create New...