Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/12/15 in all areas

  1. File Name: [Package] @itemmap & getitem_map() File Submitter: Xantara File Submitted: 18 Dec 2011 File Category: Source Modifications Content Author: Xantara Information This command will give a specific amount of specified items to all players on the map. I tried to make it a bit more challenging for myself so I have added the capability of giving the same party or guild members of that specific map as well. Makes it easier to script stuff such as events especially those including parties and guilds to participate. Atcommand version now available! Tested on rAthena Trunk 17062 Syntax Script Atcommand Documentation Script Example: Script Command (also found in doc/sample/npc_getitem_map.txt) // Sample NPC to test the custom getitem_map script command // Script and command created by Xantara prontera,156,170,3 script getitem_map test 120,{ mes "input item id"; next; input .@id; mes "input item amount"; next; input .@amt; mes "input type:"; mes "0=everyone, 1=party, 2=guild 3=bg"; next; input .@t; //getitem_map .@id,.@amt,strcharinfo(3),.@t,((.@t==1) ? getcharid(1) : (.@t==2) ? getcharid(2) : getcharid(4)); switch(.@t) { case 1: set .@type_id, getcharid(1); break; case 2: set .@type_id, getcharid(2); break; case 3: set .@type_id, getcharid(4); break; } getitem_map .@id,.@amt,strcharinfo(3),.@t,.@type_id; mes "done"; close; } Atcommand // Everyone one the same map as the who called this command will get 1 Jellopy (ID#607) @itemmap 607 // Everyone one the same map as the who called this command will get 5 Jellopy (ID#607) @itemmap 607 5 // Players who are in the party "myParty" and on the same map as the who called this command will get 2 Yggdrasil Berry (ID#608) @itemmap1 608 2, myParty // Players who are in the guild "hisGuild" and on the same map as the who called this command will get 3 Jellopy @itemmap2 "jellopy" 3, hisGuild Credits Created by Xantara BG Support Suggestion/Idea by Silvester Atcommand Suggestion/Idea by Mysterious Mirror http://downloads.artistic-coder.com/download.php?file=package_getitem_map_v2.0.1_%5BXantara%5D.patch This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Do not mirror without my consent. Click here to download this file
    1 point
  2. Xantara's FluxCP Everyone knows of FluxCP. However, with the creation of rAthena, there became a need to support renewal changes and other features such as the new group system. This is where my Control Panel comes in. Xantara's FluxCP is a free and open source control panel to work with rAthena. Forked from FluxCP by Paradox924X and Byteflux at r1121. I will continually merge updates from the original FluxCP. Demo: http://web.artistic-coder.com/fluxcp-rA Note: this site is used to test new functionality and custom addons so it may not always be functioning properly Features The original/base FluxCP already comes with a lot of features. Here I will only highlight those that came after the fork. For a full list, click here. Updated Ragnarok Data Full Birthdate Functionality Working GM Group System Mob Skills SQLized Zeny Log Page Specific Item Drop Rates Toggle for Pre-Renewal or Renewal SQL Data Alchemist Ranking Blacksmith Ranking Paginated Item Shop Character/job images (static) WIP Account management system (link one or more in-game accounts to one CP account) Queued Accepted Suggestions (have suggestions? post them here!) Search in logs page Pin code functionality Character sprites with palettes (would replace static images) Requirements Apache webserver with PHP 5.2 or greater PDO extension with MySQL support (http://www.php.net/pdo) PHP GD2 for security images (Optional) Enabled Zip extension for exporting guild emblems (Optional) Apache/mod_rewrite for using the "Clean URLs" feature Download There are three ways to get a copy of this Control Panel. For detailed installation instructions, click here (TBD). 1. GIT Clone git clone https://github.com/missxantara/fluxcp-ra.git * For Windows, you can take a look at using TortoiseGit with its friendly user interface. 2. SVN Checkout svn checkout https://github.com/missxantara/fluxcp-ra/trunk/ * For Windows, you can take a look at using TortoiseSVN with its friendly user interface. 3. ZIP Download https://github.com/missxantara/fluxcp-ra/archive/master.zip Extra Downloads Extract to the root folder of your FluxCP system Job Image Files: http://missxantara.github.io/fluxcp-ra/downloads/FluxCP_Jobs_Images_2012-04-28.zip Updated details: April 28, 2013 Credits: Xantara Monster Image Files: http://missxantara.github.io/fluxcp-ra/downloads/FluxCP_Monsters_Eclage_14.2.zip Updated details: Mob ID #2380 of Eclage (Episode 14.2) Credits: Brynner Item Icon Files: http://missxantara.github.io/fluxcp-ra/downloads/FluxCP_Item_Icons_2012-04-08.zip Updated details: April 8, 2013 Credits: Latheesan's Extractor Item Image Files: http://missxantara.github.io/fluxcp-ra/downloads/FluxCP_Item_Images_2012-04-08.zip Updated details: April 8, 2013 Credits: Latheesan's Extractor Quick Links Wiki: https://github.com/missxantara/fluxcp-ra/wiki Bug/Suggestion Reports: https://github.com/missxantara/fluxcp-rA/issues GitPage: http://missxantara.github.io/fluxcp-ra Misc. Feel free to post any suggestions here. If suitable, they may be polled by general users before being decided to be implemented or not. If you have a feature already coded that you would like to share, please do send a GIT pull request or send me an SVN diff of the work - I'd love to take a look at it! Please note that working on this open-source project will furthermore serve as a learning opportunity for me. If you find that I've implemented something that could be improved, I urge you to let me know - your knowledge on this subject would be greatly appreciated! Like my work? Rep up the topic first post
    1 point
  3. Fix Bug Vip System fix scr files 'scr/char/char_mapif.c' Find or Go To Line '737' if (operation == 2) { timediff = RFIFOL(fd, 32); val1 = RFIFOL(fd, 36); } else if (operation == 7) sex = RFIFOB(fd, 32); RFIFOSKIP(fd,44); Replace if (operation == 2) { timediff = RFIFOL(fd, 32); val1 = RFIFOL(fd, 36); } else if (operation == 6){ timediff = RFIFOL(fd, 32); val1 = RFIFOL(fd, 36); } else if (operation == 7) sex = RFIFOB(fd, 32); RFIFOSKIP(fd,44); Save and recompile Fix VIP System is Working!!
    1 point
  4. doc/script_commands.txt#L971 OnPCStatCalcEvent: This special label triggers when a player's stats are recalculated, such as when changing stats, equipment, or maps, as well as when logging in, leveling up, and mounting a job mount. This can be used to grant additional item bonuses to certain player groups, for instance.
    1 point
  5. Check your wamp's mod_rewrite configuration.
    1 point
  6. Actually it does not look really good (people in here just say "Good work, keep doing it" and not actually criticize) this thing makes you to not to improve which is very ... sucky haha. *Firstable, the green color it is not very attractive if not well used, because it is just "green", it is a common color, and most of the people are not big fan of it. It can be well used if the web page has the theme of "Woods" you know, the theme of the forest and that stuff, it is attractive if you use it like this. *You have placed Facebook thing first... Instead of your quick links? Really? That is not really good, that means that you give less importance to your web content. *I do like the font from Navigation bar, they look good, but the bad thing is that the other buttons like downloads, forums, does not have a really good contrast with the background, you can use a dark-green 1 pixel stroke. It will look good and also contrast. *I also like the triangles you have used for the "Links" "Facebook" tabs. They look good. *The space in the middle is reallyyyy short, this is where your main content will appear. *I really don't like the font you have used for most of your buttons, like Vote, Register, they look like whatever~~ *Also you've used bevel (bicel in spanish) for most of the buttons, which is something th at looks very common and does not give a professional look. *I really like that you placed the registration on top, next to the header. Registration is one of the things that has to be more attractive. *Also the Kafra next to the News content, looks like what ever other thing, and you have not well cut it. I can see white spaces next to his head. In general bad work I give you 2/5 =/ But be happy, atleast there is someone that actually worries about your work. You have a lot to do to improve, try to look the best designs in web so you can learn from them, also read articles in websites of how to improve, but always improve improve improve no matter what. Look at these designs, they look really really good, one is dark, but it also looks good. Another is really colorful, but it stills look good and professional.
    1 point
  7. Or you can use this one. This will automatically give your new player the freebies when they login. This is Account-Based. If you want to make it Character-Based, as "Master Emistry" Said, make the two "#givenStartItems" into "givenStartItems" - script ItemGiver 1,{ OnPCLoginEvent: if(!#givenStartItems) { set #givenStartItems, 1; //=== Freebies getitem <item_id>, <quantity>; } end; } PS: if you want an item to have an expiration, use "rentitem" instead of "getitem"
    1 point
×
×
  • Create New...