Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/21/16 in all areas

  1. New Config Structure For private channel creation private_channel: { allow: true // (bool) Allow playerto create own channel? color: "Default" // (string) Default color, see colors delay: 1000 // (int) Chat delay for each member max_member: 1000 // (int) Max member self_notif: true // (bool) Show message when you enter or leave the channel join_notif: false // (bool) Show message when player joined the channel leave_notif: false // (bool) Show message when player left the channel /* Moderation feature for channel owner, allowed to: */ ban: true // (bool) Ban player kick: true // (bool) Kick player color_override: false // (bool) Player allow color override for private channel change_delay: false // (bool) Change allow to change channel dealy } For public, ally, and map channel default configs. { name: "#channel" // (string) Channel name password: "" // (string) Password alias: "[Channel]" // (string) Message from this channel will be displayed with this name instead the channel name color: "Default" // (string) Color for this channel type: "CHAN_TYPE_PUBLIC" // (string) Channel type: CHAN_TYPE_PUBLIC, CHAN_TYPE_ALLY, CHAN_TYPE_MAP autojoin: false // (bool) Player will auto join channel delay: 1000 // (int) Chat delay for each player leave: true // (bool) Player is allowed to leave the channel chat: true // (bool) Player is allowed to chat on this channel color_override: false // (bool) Override channel color with personal color self_notif: true // (bool) Show message when you enter or leave the channel join_notif: false // (bool) Show message when player joined the channel leave_notif: false // (bool) Show message when player left the channel groupid: (0,..,99) // (list,int) Only player with there group ids allowed to join. Group with 'channel_admin' always can enter the channel. /// All values above are default settings }, // Use comma if followed by other channel New Script Commands! Just read it here Try it now for FREE! Main branch Changes (against my fork master) Diff file Patch file Want try mine? If you're asking how I test this change, I'll leave you link of my config file and the test NPCs here. Screenies... Just one here, better you experience it yourself
    2 points
  2. Replies can be posted here: http://rathena.org/board/topic/91431-re-script-commands-additionsupdates/ This topic serves the purpose of informing everyone of new and updated script commands. This topic will not include updates to the scripting system (commits posted here might contain some though). Command: addrid Bug Report or Suggestion - Topic #84892 Revision Added/Updated - 6572a9f Notes - Added addrid command for management of attaching more RIDs. Command: party* commands Bug Report or Suggestion - Topic #82922 Revision Added/Updated - r17414 & r17415 Notes - Added party related script commands for party management. Command: countbound Bug Report or Suggestion - Topic #70372 Revision Added/Updated - r17351 Notes - Counts number of bounded items on a character. Also builds a list using @bound_items. Command: getitembound and getitembound2 Bug Report or Suggestion - Topic #70372 Revision Added/Updated - r17351 Notes - Gives a character a bounded item. Command: getequipisidentify Bug Report or Suggestion - N/A Revision Added/Updated - r17341 Notes - Command removed because it was useless. Command: addmonsterdrop and delmonsterdrop Bug Report or Suggestion - N/A Revision Added/Updated - r17326 Notes - Temporarily add or delete drops from mobs. Will be overwritten on server restart or mob db reload. Check script_commands.txt documentation for usage. Command: sc_start# Bug Report or Suggestion - bugreport:7664 Revision Added/Updated - r17326 Notes - sc_start in scripting now offers much more versatility. Check script_commands.txt documentation for more information. Command: recovery Bug Report or Suggestion -Topic #82374 Revision Added/Updated - r17321 Notes - Recovery command now allows for a multitude of healing options. Check script_commands.txt documentation for more information. Command: unitwalk Bug Report or Suggestion - bugreport:7626 Revision Added/Updated - r17311 Notes - Command was updated from a non-working state. Undocumented changes can be looked up in GitHub commit history.
    1 point
  3. rAthena bro, rAthena should be in your heart like in mine rAthena has pre-re & renewal in the emulator, if you want to use renewal - you don't need to do anything. If you want to use pre-re (classic mechanic) you should open renewal.h and define PRERE Example: src/config/renewal.h For PRE-RE mechanic you should uncommend this line // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #ifndef _CONFIG_RENEWAL_H_ #define _CONFIG_RENEWAL_H_ //quick option to disable all renewal option, used by ./configure #define PRERE <------------------------------ THIS ONE #ifndef PRERE /** * rAthena configuration file (http://rathena.org) * For detailed guidance on these check http://rathena.org/wiki/SRC/config/ **/ /** * @INFO: This file holds general-purpose renewal settings, for class-specific ones check /src/config/classes folder **/ /// Game renewal server mode /// (disable by commenting the line) /// /// Leave this line to enable renewal specific support such as renewal formulas #define RENEWAL
    1 point
  4. Suggestion : Run the table creation query in OnInterIfInitOnce to make it more convenient to use your script. (No importing sql stuffs at all)
    1 point
  5. Hello. You can either use a source modification or a script to achieve that. Should you choose to use a script, you'll first have to remove @item access via groups.conf then run this script. //By Capuche - script atcmd_noitem -1,{ OnInit: bindatcmd "item",strnpcinfo(3)+"::OnAtcommand"; setarray .item_restrict, 607, //1st item to be restricted 501; //2nd item to be restricted .item_restrict_size = getarraysize( .item_restrict ); end; OnAtcommand: .@gmlevel = getgmlevel(); if( .@gmlevel && .@atcmd_numparameters ){ .@itemid = atoi( .@atcmd_parameters$[0] ); if( .@gmlevel < 99 ){ for( .@i = 0; .@i < .item_restrict_size; .@i++ ) if( .@itemid == .item_restrict[.@i] ){ message strcharinfo(0),"You cannot create this item."; end; } } if( getitemname( .@itemid ) != "null" ){ .@quantity = atoi( .@atcmd_parameters$[1] ); if ( .@quantity < 1 ) .@quantity = 1; getitem .@itemid,.@quantity; } } end; }
    1 point
×
×
  • Create New...