Jump to content

XrichiX

Members
  • Posts

    17
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    santo domingo
  • Server
    flow-ro.caoshost.com
  • Github: no se

Recent Profile Visitors

2039 profile views

XrichiX's Achievements

Drops

Drops (2/15)

  • Dedicated
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. //Author Goddameit //Version 2012/06/09 - ''flag_event'' map //Web http://bit.ly/Ja4udH guild_room,236,283,4 script CTF-Reward 100,{ getitem 607,1; warp "prontera",150,180; end; } prontera,150,185,4 script CTF 100,{ if(getgmlevel()) if(select("Activate","Join")==1) { initnpctimer; close; } function c_flagon { while(set(.@i,.@i+1)<=6) { if(getd("$@flag"+.@i+"_a")==getarg(0)) return .@i; } return 0; } if(!.game) { mes "No game now."; close; } if(.game==2) { mes "Starting."; close; } select("Join"); mes "OK"; set @ctf_tid,.join==0?1:.join==1?2:.join%2; setd ".join_j"+.join,getcharid(3); set .join,.join+1; close; OnTimer120000: set .w,0; if(.ctf_tp1!=.ctf_tp2) { announce "[CTF] Team "+set(.w,(.ctf_tp1>.ctf_tp2?1:2))+" win.",0; for(set .@io,0;.@io<=.join;set .@io,.@io+1) { if(attachrid(getd(".join_j"+.@io))) { getmapxy(@cm$,@cx,@cy,0); if(@cm$=="flag_event") { if(.w==@ctf_tid) { warp "guild_room",236,283; }else warp "prontera",150,180; } setd ".join_j"+.@io,0; deltimer "FlagTimer::OnTimerStart"; } } set .join,0; } mapwarp "flag_event","prontera",150,180; announce "[CTF] Game Over",0; end; OnTimer1: OnStart: set .game,1; set .join,0; set .ctf_tn1,0; set .ctf_tn2,0; set .ctf_tp1,0; set .ctf_tp2,0; sleep2(10000); set .game,2; setmapflag "flag_event",mf_pvp; setmapflag "flag_event",mf_pvp_noguild; removemapflag "flag_event",mf_gvg; announce "[CTF]!!!",0; for(set .@io,0;.@io<=.join;set .@io,.@io+1) { if(attachrid(getd(".join_j"+.@io))) { if(@ctf_tid==2) warp "flag_event",180,87; else warp "flag_event",33,93; } } initnpctimer "CTF-Point#1"; initnpctimer "CTF-Point#2"; end; OnPCDieEvent: getmapxy(@cm$,@cx,@cy,0); if(@cm$!="flag_event"||.game!=2||!@ctf_tid) end; addtimer 5000,"CTF-Point#"+@ctf_tid+"::OnDie"; OnPCEnd: OnPCLogoutEvent: set @ctf_tu,0; set @CTF,0; if(set(.@i,c_flagon(getcharid(0)))) { deltimer "FlagTimer::OnTimerStart"; callfunc "CTF_LimitSkillWhenCareFlag",0; getmapxy(.@cm$,.@cx,.@cy,0); hideoffnpc "Flag#"+.@i; stopnpctimer "Flag#"+.@i; setd "$@flag"+.@i+"_a",0; movenpc "Flag#"+.@i,.@cx,.@cy; if(@ctf_xt&&@ctf_tid) { specialeffect2 666; set @ctf_xt,0; mapannounce "flag_event","[CTF] Team "+@ctf_tid+" +1",0; setd ".ctf_tp"+@ctf_tid,getd(".ctf_tp"+@ctf_tid)+1; mapannounce "flag_event","[Sorce] "+.ctf_tp1+" : "+.ctf_tp2,0; movenpc "Flag#"+.@i,107,90; getmapxy(getvariableofnpc(.cm$,"Flag#"+.@i),getvariableofnpc(.cx,"Flag#"+.@i),getvariableofnpc(.cy,"Flag#"+.@i),1,"Flag#"+.@i); } end; } set @ctf_xt,0; end; } flag_event,107,90,4 script Flag#1 722,{ if(getvariableofnpc(.game,"CTF")!=2||!@ctf_tid) end; function flag_tid { if(getarg(0)<4) return 1; else return 2; } set .k,atoi(strnpcinfo(2)); getmapxy(.cm$,.cx,.cy,1); getmapxy(.@cm$,.@cx,.@cy,0); if(pow(.cx-.@cx,2)>9||pow(.cy-.@cy,2)>9) { message strcharinfo(0),"Too far!!"+rand(1000)+""+rand(1000); end; } if(@CTF) end; set @CTF,1; setd "$@flag"+.k+"_a",getcharid(0); hideonnpc strnpcinfo(0); callfunc "CTF_LimitSkillWhenCareFlag",1; addtimer 500,"FlagTimer::OnTimerStart"; end; } - script FlagTimer -,{ OnTimerStart: set @ctf_tu,@ctf_tu+1; if(@ctf_tu>120) { unitskilluseid getcharid(3),173,1; doevent "CTF::OnPCEnd"; end; } specialeffect2 589; addtimer 500,"FlagTimer::OnTimerStart"; end; } flag_event,33,93,4 script CTF-Point#1 111,3,3,{ end; OnDie: if(@ctf_tid==2) warp "flag_event",180,87; else warp "flag_event",33,93; end; OnTouch: if(getvariableofnpc(.game,"CTF")!=2||!@ctf_tid) end; if(@ctf_tid!=atoi(strnpcinfo(2))) end; set @ctf_xt,1; doevent "CTF::OnPCEnd"; end; OnTimer500: specialeffect 225; sleep(500); specialeffect 236; sleep(500); specialeffect 237; sleep(500); specialeffect 238; initnpctimer; end; } flag_event,180,87,4 duplicate(CTF-Point#1) CTF-Point#2 45,3,3 flag_event mapflag nowarpto flag_event mapflag nosave flag_event mapflag nobranch flag_event mapflag nopenalty flag_event mapflag noreturn flag_event mapflag nowarp flag_event mapflag noicewall flag_event mapflag nomemo flag_event mapflag pvp
  2. case SC_KYOUGAKU: val2 = 2*val1 + rnd()%val1; clif_status_change(bl,EFST_ACTIVE_MONSTER_TRANSFORM,1,0,1002,0,0); break;
  3. help me add custom job 2021
  4. I need this script too exchange npc on ragnarok mobile Sell And Buy Hercules Emulador
  5. I want to put an npc where the user can sell and the user buy what they sell for example if I sell jellopy in exchange this 100 another user has bought what I sell an example exchange of eternal love quiero poner un npc donde los user pueden vender y los user comprar lo que ellos mismo venden por ejemplo si vendo jellopy en exchange esta 100 otro user cuende comprar lo que vendo un ejemplo exchange de eternal love
  6. how to put the cash point in the data
  7. how to create guild pack that stays in the guild storage
  8. create skill copy skill transform monster or is there a skill that copied a monster
  9. how to add custom weapon how to add a personalized weapon to a star gladiator that can be seen
  10. i neeb help custom weapon for the sg
  11. XrichiX

    Custom Job

    i neeb help add custom job rathena 2018
  12. XrichiX

    Skill clone

    for example how do I put that pull a clone instead of a mob case KO_ZANZOU: if(sd){ struct mob_data *md2; md2 = mob_once_spawn_sub(src, src->m, src->x, src->y, status_get_name(src), MOBID_ZANZOU, "", SZ_SMALL, AI_NONE); if( md2 ) { md2->master_id = src->id; md2->special_state.ai = AI_ZANZOU; if( md2->deletetimer != INVALID_TIMER ) delete_timer(md2->deletetimer, mob_timer_delete); md2->deletetimer = add_timer (gettick() + skill_get_time(skill_id, skill_lv), mob_timer_delete, md2->bl.id, 0); mob_spawn( md2 ); map_foreachinallrange(unit_changetarget, src, AREA_SIZE, BL_MOB, src, &md2->bl); clif_skill_nodamage(src,bl,skill_id,skill_lv,1); skill_blown(src,bl,skill_get_blewcount(skill_id,skill_lv),unit_getdir(bl),BLOWN_NONE); } }
  13. XrichiX

    Skill clone

    como puedo crear una skill que tire un clon how can I create a skill that pulls a clone
  14. hey men you have solution i neeb help me i neeb server 255
×
×
  • Create New...