Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/28/22 in all areas

  1. Hi all ? I haven't written any updates for a long time. Causes covid, life, work and more... Other full server configuration , i decide to implements a visual scripting editor like Blue Print (Unreal Engine) How to work is very simple, Just connect Node to Node, setting value, and the program, generate the npc script. The source code work like that. All nodes contains this function to generate code relative to parameters setting. public string CreateCode() { return map.Text + "," + x.Text + "," + y.Text + "," + dir.Text + " script " + name.Text + " " + graphics.Text + ",{"; } Really simple. And, this is Frontend Hope like this new NPC Editor. Actually need more time to create all Node and function relative to all npc command and sql operation. Follow for more news or join in rAthena Studio on discord ??
    1 point
  2. Before " IgnoreCheck: " in the script add. if( compare( .blacklist$, "|"+getequipid(.@part)+"|" ) ) { mes "[ Keitenai ]"; mes "It looks like I can't enhance that item."; close; } After price " set .Price,10000000; // Prize of random option " in the script add. set .blacklist$, "|1599|2199|512|"; Just follow my formatting to add more items.
    1 point
  3. try this... http://pastebin.com/raw.php?i=euHQksK6 edit the setting here OnInit: // required item .item_id = 671; .item_quantity = 1; // Colour Name List setarray .color_name$,"RED","BLUE"; setarray .color_code$,"FF0000","0055FF"; .color_name_menu$ = implode( .color_name$,":" ); // Filter Words setarray .filter_word$,"fuck","you"; .filter_word_check$ = ":"+implode( .filter_word$,":" )+":";
    1 point
  4. prontera,150,180,5 script restricted_manner -1,{ OnInit: setarray .@bad_word$, "noob", "coward"; // add as your content lol .@size_b = getarraysize( .@bad_word$ ); for( ; .@i < .@size_b; .@i++ ) defpattern 1, "([^:]+):.*\\s"+ .@bad_word$[.@i] +".$", "warning"; activatepset 1; end; warning: @warning++; if ( @warning == 3 ) { @warning = 0; deltimer strnpcinfo(0) +"::OnDelay"; atcommand "@mute 5 "+ strcharinfo(0); } else { deltimer strnpcinfo(0) +"::OnDelay"; addtimer 300000, strnpcinfo(0) +"::OnDelay"; message strcharinfo(0), "Be careful with your language... Warning "+ @warning +"/3"; } end; OnDelay: @warning = 0; end; } But it works only in the range of the hidden npc.
    1 point
×
×
  • Create New...