Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/28/14 in Posts

  1. Idea: Unlimited Bottle Grenade and Fire Bottle Settings?, first release Now, Download: current bNoRequireItem-rA-2018017-ae89b3a7.diff for rAthena Git Hash: ae89b3a7 bNoRequireItem-rA.diff
    1 point
  2. File Name: Support Ticket for FluxCP - FREE File Submitter: Feefty File Submitted: 23 Mar 2013 File Category: Web Resources Content Author: Feefty FluxCP Addon [support Ticket] Features: Title Notification (ex. Flux Control Panel (1) - means you have 1 unread support ticket.) Sidebar Notification (ex. View Tickets [3] - means you have 3 unread support ticket) You can easily subscribe/unsubscribe to a ticket even a staff member can unsubscribe to a support ticket. Subscribing (0 to disable the subscribing or 1 to enable. This will affect everyone.) Ticket Delay (0 to disable this feature. They have to wait for 'TicketDelay' hours to open a new ticket.) Priority (Low, Medium or High. To help organize the priority - Can be edited by the staff if it's misleading) Status (Closed, Open, Resolved, Replied) Department (You can add, edit or delete a Department. Group is for the level of the department that can be handled by the staff members.) Reply (Staff Reply will be highlighted and will have an icon to avoid the confusion.) WYSIWYG Settings (For staff only) Nickname (Use ~ character if you want to use your username. By default it will use your username when replying to a ticket.) Email (This email will only be used for support ticketing. Use ~ character if you want to use your account email. By default it will use your account email when receiving emails.) Subcription (Receive email notifications when someone opened or updated a support ticket.) 'Last updated on' will show right next to Save Button. [*]Character affected (Select the character where the problem occurred. Disabled if the account doesn't a character yet.) [*]Search Engine (If your account is a staff member you can search using their account id, email, char id) [*]Ticket Editing (Only the staff can edit a support ticket.) [*]Ticket Listing (List of all support tickets. For staff only.) [*]Unread ticket will be highlighted in the list. [*]Normal Player can open/close their own ticket and only a staff member can resolve/delete a ticket. [*]Player/Staff can use @checkunread/@cu in-game to check if they have an unread support ticket. [*]PM me if i miss something. Compability: Tested on Xantara's FluxCP for rAthena - https://github.com/m...ntara/fluxcp-rA Tested on FluxCP for eAthena - https://code.google.com/p/fluxcp/ Rules: Do not steal the credit of this work. How to Install: Make a folder named support in addons folder. Extract the files to support folder. Copy the file inside the addons/support/support_templates and paste it to data/templates folder. Add the line below themes/default/header.php - Before: <?php if (!defined('FLUX_ROOT')) exit; After: <?php if (!defined('FLUX_ROOT')) exit; require_once(FLUX_ROOT.'/'.FLUX_ADDON_DIR.'/support/modules/support/function.php'); themes/default/main/sidebar.php - Before: (You will get 2 results. You will have to do it twice too.) <span><?php echo htmlspecialchars($menuItem['name']) ?></span> After: <?php if ($menuItem['module'] == 'support'): ?> <span><?php echo sprintf($menuItem['name'], " [<strong".($unread > 0 ? " style='color:#d84646'" : "").">".$unread."</strong>") ?>]</span> <?php else: ?> <span><?php echo htmlspecialchars($menuItem['name']) ?></span> <?php endif ?> [*]Update your database and make sure cp_support_tickets, cp_support_reply, cp_support_dep and cp_support_settings does exists [*]Add a Department first so players can open a ticket. [*]Copy addons/support/npc/ticket_notification.txt to your server npc/custom folder or whataver folder you want. [*]Paste this line npc: npc/custom/ticket_notification.txt inside your npc/scripts_custom.conf [*]You can find all the configuration in addons/support/config/addon.php [*]Done. If you find a bug, please contact me. Github Download: https://github.com/Feefty/FluxCP_Addons-SupportTicket/archive/master.zip Github: http://github.com/Feefty Email: [email protected] rAthena: Feefty Feel free to buy me a coffee Paypal: [email protected] Click here to download this file
    1 point
  3. Autotrade Persistence & Live Vendor Data 27cbc7f brings two major vending features to rAthena. Live Vendor Data All vending data is now stored in SQL tables `vendings` and `vending_items`, making the data easily accessible to third party applications. This makes it possible to display and search through player shops on web pages or control panels without any server modifications. The vending data can also be accessed through scripts, which opens similar possibilities for players to search for shop items. [spoiler=Table Structures:] CREATE TABLE IF NOT EXISTS `vending_items` ( `vending_id` int(10) unsigned NOT NULL, `index` smallint(5) unsigned NOT NULL, `cartinventory_id` int(10) unsigned NOT NULL, `amount` smallint(5) unsigned NOT NULL, `price` int(10) unsigned NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; CREATE TABLE IF NOT EXISTS `vendings` ( `id` int(10) unsigned NOT NULL, `account_id` int(11) unsigned NOT NULL, `char_id` int(10) unsigned NOT NULL, `sex` enum('F','M') NOT NULL DEFAULT 'M', `map` varchar(20) NOT NULL, `x` smallint(5) unsigned NOT NULL, `y` smallint(5) unsigned NOT NULL, `title` varchar(80) NOT NULL, `autotrade` tinyint(4) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; Autotrade Persistence Vendors in auto-trade mode (@autotrade/@at) will now automatically be logged in after a server restart. In other words, it is no longer necessary for players to re-open their shops following each reboot or maintenance, made possible due to saving of vending data. This feature can be disabled in conf/battle/feature.conf. [spoiler=Options:] // Autotrade persistency (Note 1) // Should vendors that used @autotrade be restored after a restart? feature.autotrade: on // In which direction should respawned autotraders look? // Possible values are from 0-7 // Default: 4(South) feature.autotrade_direction: 4 // Do you want your autotraders to sit? (Note 1) feature.autotrade_sit: yes Credits Thanks to @Lemongrass for coding this update, and @Ind for the original idea. Don't forget to run sql-files/upgrades/upgrade_20140114.sql!
    1 point
  4. View Full Size Here: http://i.imgur.com/kSoAMVW.jpg
    1 point
  5. if (readpain2 >= 1) { mes "[Pain]"; mes "Did you capture the tailed beast?"; menu "Yes", L_YES, "What are those again?", L_list; L_YES: if (AddaxKills < 2 || TGCKills < 2 || BHZKills < 2 || FabKills < 2) { mes "[Pain]"; mes "I don't see them complete!!"; close; } if (AddaxKills >= 2 || TGCKills >= 2 || BHZKills >= 2 || FabKills >= 2 ) { mes "[Pain]"; mes "This is it.....!"; next; mes "Now,"; mes "Lets go to Uchiha Madara"; set donepain2, 1; close; warp "niflheim",304,76; end; } L_list: mes "[Pain]"; mes "Hmmm. You are missing..."; if (AddaxKills < 2) mes "^FF0000"+(2 - AddaxKills) +"^000000 Addax"; if (TGCKills < 2) mes "^FF0000"+(2 - TGCKills) +"^000000 Green Teen Chipmunks"; if (BHZKills < 2) mes "^FF0000"+(2 - BHZKills) +"^000000 Blue Hell Centaur"; if (FabKills < 2) mes "^FF0000"+(2 - FabKills) +"^000000 Fabilsag"; close; } mes "[Pain]"; mes "Yes?"; next; mes "[" + strcharinfo(0) + "]"; mes "I want to meet"; next; mes "[" + strcharinfo(0) + "]"; mes "Uchiha Madara"; next; mes "[Pain]"; mes "meet Uchiha Madara huh?"; next; mes "[Pain]"; mes "I'll let you meet him"; mes "but I need you to hunt/capture this beast"; next; mes "2 Blue Hell Centaur"; mes "2 Green Teen chipmunks"; mes "2 Addax"; mes "1 fabilsag"; set npc, 1; set readpain2, 1; next; menu "I will!",-,"Are you kidding me?",l_v; mes "[Pain]"; mes "Go now!"; close; l_v: mes "[Pain]"; mes "Do I look like I am kidding?!!!"; next; mes "[Pain]"; mes "Nimpu"; mes "Deva path!"; close2; percentheal -100,0; end; OnNPCKillEvent: if (killedrid == 3221) { set AddaxKills,AddaxKills + 1; if (AddaxKills == 2) announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } else if (killedrid == 3249) { set TGCKills,TGCKills + 1; if(TGCKills == 2) announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } else if (killedrid == 3218) { set BHZKills,BHZKills + 1; if(BHZKills == 2) announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } else if (killedrid == 3250) { set FabKills,FabKills + 1; if(FabKills == 2) announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } end; }
    1 point
  6. //==================== Informacion ========================== //==== Recompensa Diaria========================== //************************************************************************* //=========================== Conf ================================================================================== //******************************************************************************************************************** prontera,150,206,4 script Prize 563,{ set .@rewname$,"^0000FF[ Premio Diario ]^000000"; setarray .items[0],507,506,508,509,510; //items .@tick = gettimetick(2); if(.@tick - lastTimeTalked > (60 * 60 * 24)) { query_sql "select 1 from login join `char` on `char`.account_id = login.account_id join global_reg_value as g on g.char_id = `char`.char_id where last_ip = '"+ getcharip() +"' "+ "and g.`str` = 'lastTimeTalked' and value > ("+ .@tick +" - 86400)", .@tmp; if ( .@tmp == 0 ) { mes .@rewname$; mes "Wanna get your daily reward?"; next; switch(select("-Yush!:-No,thx!:-Cancel")) { case 1: set lastTimeTalked,gettimetick(2); mes .@rewname$; mes "Allright!"; getitem .items[ rand( getarraysize(.items) ) ], rand( 1,25 ); close; case 2: mes .@rewname$; mes "Okay bye!"; close; case 3: close; } } } mes .@rewname$; mes "Sry "+strcharinfo(0)+", you already got this"; mes "Wait 24 hours!!"; close; }
    1 point
  7. The date of the packet which is contained in "packet_db" of "rAthena" from the beginning is to "2013-08-07." 2013-12-23cRagexe.exe Packet Data http://rathena.org/board/topic/91317-2013-12-23cragexeexe-packet-data/ The postscript to this "packet_db" the data. https://github.com/rathena/rathena/blob/master/db/packet_db.txt The defined in mmo.h. https://github.com/rathena/rathena/blob/master/src/common/mmo.h Reference. 2013-12-23 Full Client Download http://hercules.ws/board/topic/3768-2013-12-23-full-client-download/ The "Hercules" seems to have been already defined … https://github.com/HerculesWS/Hercules/blob/master/src/map/packets.h https://github.com/HerculesWS/Hercules/blob/master/src/common/mmo.h Explanation is poor, and I'm sorry.
    1 point
×
×
  • Create New...