Jump to content

Onitsuka

Members
  • Posts

    33
  • Joined

  • Last visited

Posts posted by Onitsuka

  1. - script GlobalMvP::GlobalMvP -1,{

    OnNPCKillEvent:

    switch (killedrid) {

    // Amon Ra

    case 1511:

    announce "The user: "+ strcharinfo(0) +" has killed: Amon Ra",bc_blue;

    set MVPTotal, MVPTotal + 1;

    set LAmonRa, LAmonRa + 1;

    set @nom$, strcharinfo(0);

    callfunc ("rankmvp",MVPTotal,@nom$);

    end;

    if i use mvp anouncer like where where to add getitem?

  2. ok me try with this,

    thanx,

    but how about yes/no when open box?etc yggberry box?

    can u help me

    docubo,

    Thanx for your info. .

    btw can i ask u,

    #define MAX_CART 100 <--- chnge this rite?

    max value can put is what?

  3. can anyone help me?

    1. how to increase damge cart termination n also sharp shooting?

    2. how to disable yes/no when open box,etc yggberry box

    realy need your help

    thanx

  4. Help me to edit this script,

    autorecall all guild member win to sumwhere after woe,

    then i will place then mailbox there,

    thanx ^_^

    //Author : Goddameit
    //Version : 2011/7/13 - 21:53
    function script AllGuildMemberEvent {
    if(!set(.@gid,getcastledata(getarg(0),1)))
    	return;
    query_sql("select account_id, char_id from `guild_member` where guild_id = '"+.@gid+"'", .@gmaid, .@gmcid);
    for(set .@i,0;.@i<getarraysize(.@gmcid);set .@i,.@i+1)
    {
    	if(isloggedin(.@gmaid[.@i]))
    		message rid2name(.@gmaid[.@i]),getarg(9);
    	if(!isloggedin(.@gmaid[.@i])&&!getarg(1))
    		continue;
    	query_sql "insert into mail ( send_name, dest_id, title, message, nameid, amount, identify, zeny, time ) values ( '"+escape_sql(getarg(2))+"',"+.@gmcid[.@i]+", '"+escape_sql(getarg(3))+"', '"+escape_sql(getarg(4))+"', "+getarg(5)+", "+getarg(6)+", "+getarg(7)+", "+getarg(8)+", unix_timestamp( now() ) )";
    }
    return;
    }
    - script AGME -1,{
    OnAgitEnd:
    setarray .@maps$[0],"aldeg_cas02";
    setarray .@maps$[10],"payg_cas04";
    setarray .@maps$[15],"prtg_cas03";
    for( set .@i,0; .@i <= 19; set .@i, .@i+1)
    {
    	callfunc "AllGuildMemberEvent",.@maps$[.@i],1,
    		"System","WoE Victory Reward","Congratulations! Your guild succeeded in   occupying "+ getcastlename(.@maps$[.@i]) +". This is your rewards.",
    		7539,10,1,0,
    		"[You got a mail!! Please relogin to reupdate your mail list.]";
    }
    end;
    }
    

  5. i realy can find what should i do,

    act, i change my directadmin pass,

    n also pass on phpmyadmin,

    but when i restart server,

    it become like this,

    : Access denied for user 'crew14'@'localhost' (using password: YES)
×
×
  • Create New...