Capuche
Members-
Content Count
17 -
Joined
-
Last visited
About Capuche
-
Rank
Member
Recent Profile Visitors
1865 profile views
-
or what about unitkill ?
-
get the CLASS name of killerrid OnPCDieEvent
Capuche replied to Hadeszeus's question in Script Support
jobname( readparam( 19,rid2name( killerrid ) ) ) -
Mumbles reacted to an answer to a question: got problem with Quest_shop
-
Add(2,5378,1,1000000,0,515,50,10007,1,1065,1,7038,5,622); miss one argument. ...,622, <amount>;
-
Capuche reacted to a post in a topic: Skill Error Messages
-
ToiletMaster reacted to an answer to a question: Set trans job level 70 minimum to change job
-
Set trans job level 70 minimum to change job
Capuche replied to ToiletMaster's question in Script Support
if (Class > 21) { if (BaseLevel < .Rebirth[0] || JobLevel < .Rebirth[2]) { set .@blvl, .Rebirth[0]-BaseLevel; set .@jlvl, .Rebirth[2]-JobLevel; message strcharinfo(0),"You need "+((.@blvl>0)?.@blvl+" more base levels "+((.@jlvl>0)?"/ ":""):"")+((.@jlvl>0)?.@jlvl+" more job levels ":"")+"to continue."; } else Job_Menu(roclass(.@eac|EAJL_THIRD)); close;} -
Chatroom problem. Can someone convert this to Hercules?
Capuche replied to Helena's question in Script Support
or add a delay after oninit to let the server initialize .minplayer2start in the main npc prontera,155,182,5 script red side 100,{ end;OnInit: sleep 50; waitingroom "red", getvariableofnpc( .minplayer2start, "custom_bg#control" ) +1, "custom_bg#control::OnStart", getvariableofnpc( .minplayer2start, "custom_bg#control" ); end;}prontera,158,182,5 script blue side 100,{ end;OnInit: sleep 50; waitingroom "blue", getvariableofnpc( .minplayer2start, "custom_bg#control" ) +1, "custom_bg#control::OnStart", getvariableofnpc( .minplayer2start, "custom_bg#control" ); end;} -
or extend novending mapflag for no cashshop ?
-
Note: onnpckillevent won't work for monsters with their own event (like thanatos summoned by quest)
-
N> NPC timer to itself - HOT Support (Smoking Hot)
Capuche replied to mybitch's question in Script Support
you must use . in prefix (npc variable) or mapserv will throw an error (npc script use <none prefix> for permanent variable attached to the character) and there is already a timer in the script, it's better with a sleep here set @partymembercount,$@members; announce "Thanks for playing",0;+ set .npc_delay, 1;+ sleep 900000;+ set .npc_delay, 0; end; if ( $@start == 1 ) { mes "The Sign Ups are currently unavailable because a match is in progress. Don't hesitate to try again in a few minutes!"; close; }+ if ( .npc_delay ) {+ mes "you must wait";+ close;+ } if ( @partymembercount == $@members ) { -
atcommand "@storeall"; ? 501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ atcommand "@storeall"; },{},{}
-
Mumbles reacted to a post in a topic: Skill Error Messages
-
I can't read the text in the picture you post.
-
http://herc.ws/board/tracker/issue-7328-close-and-end/ It should be fixed now
-
2 Scripts doesn't work. hope someone can assist!
Capuche replied to ToiletMaster's question in Script Support
Make an update, it should be fixed http://herc.ws/board/tracker/issue-7328-close-and-end/ -
jaBote reacted to an answer to a question: R> Map|Mob of the Week Event
-
mybitch reacted to an answer to a question: R> Map|Mob of the Week Event
-
REKT reacted to an answer to a question: R> Map|Mob of the Week Event
-
Just a fast test and : // forgot ;set .equiprobability, 1set .map_job_exp_multiplier, 200 // forgot bracketset $@specialmap$, getd(".maps_" + .@randarray + "$["+ .@randpos +"]"; // .mobs_X type integer not stringset .@randpos, rand(0, getarraysize(getd(".mobs_" + .@randarray + "$")) - 1);set $@specialmob, getd(".mobs_" + .@randarray + "$["+ .@randpos +"]"); // This black magic is supposed to draw a random mob from the poolset $@specialmob, getd(".mobs_" + .@i + "$["+ .@draw +"]"); // display the mob IDif ($@specialmob) announce $@specialmob + " has a x" + .mob_base_exp_multiplier/100 + "." + .mob_base_exp_multiplier0 + " base exp and a x" + .mob_job_exp_multiplier/100 + "." + .mob_job_exp_multiplier0 + " job exp multiplier for the weekend!",bc_self; // must be under OnMon0000: or the config is deleted right after be loaddonpcevent strnpcinfo(3)+"::OnDelConfig"; //This way we save memory for the week at the cost of a bit of process // @set .@jobexp, getmonsterinfo($@specialmob,4)*(.@mob_job_exp_multiplier - 100)/getbattleflag("quest_exp_rate"); Also when both map + mob of the week enabled that give a strange multiplicator... dunno why
-
Yeah it makes sense, feel so noob now xD set .@draw, .@draw - .@size; // This way we approach our goal I believe it should be .@size[.@i]
-
A remake http://pastebin.com/raw.php?i=2ZtmkSvT