Jump to content

QQfoolsorellina

Members
  • Posts

    587
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by QQfoolsorellina

  1. BUILDIN_FUNC(getdirection) { int udir; struct block_list* bl; struct unit_data *ud = NULL; bl = map_id2bl(script_getnum(st,2)); if( bl == NULL ){ script_pushint(st,-1); return 0; } ud = unit_bl2ud(bl); if(ud == NULL){ script_pushint(st,-1); return 0; } udir = ud->dir; script_pushint(st,udir); return 0; } BUILDIN_DEF(getdirection,"i"), if GID not exist return -1 not tested ,try it
  2. yes, .mindistance was for set the distance from NPC. array .npcnamelist$ was for set wihich npc you dont allow player to block when use @afk I updated my script , try again
  3. - script test123456 -1,{ end; OnInit: .mindistance=3; setarray .npcnamelist$[0],"aaaa","bbbb","CCC"; bindatcmd "afk", strnpcinfo(0)+"::OnAFK"; end; OnAFK: .@size=getarraysize(.npcnamelist$); getmapxy(.@mp$,.@mpx,.@mpy,0); for(;.@i<.@size;.@i++){ if(!getmapxy(.@mn$,.@mnx,.@mny,1,.npcnamelist$[.@i])){ if( distance(.@mpx,.@mpy,.@mnx,.@mny) < .mindistance){ dispbottom " you can't use @afk command ,cause You're too near the npc"; end; } } } atcommand "@afk"; end; }
  4. use getmapxy getmapxy(.@m$,.@mx,.@my,0,rid2name( killedrid ))
  5. Taming any monster or killing the last monster on a floor with a mercenary or pet will cause the instance to not register the kill Kill monster by an uncommon way , you won't be allowed to entry the next floor broadcast mode sorry for my broken English , just try to translate
  6. conf/char-server.conf char_name_option: 2 char_name_letters:@#
  7. Hi~, I downloaded the Hillslion Doll from old Eathena forum. It's very cute , but there was a trouble about the sprite,that's when I do the pick item actions my client go crash , I have no idea how to fix it( noob in act /spr) , Could someone kindly help me to fix it? Thank you in advance
  8. vending.c > and i can't open any vending shop. if( count < 7 || count > MAX_VENDING || count > 2 + vending_skill_lvl ) { // invalid item count clif_skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0); return; }
  9. maybe he use *Amod pcblock ,0,1;
  10. just copy rathena' s specific code here I think that should work
  11. try to remove EQI_MAX_BONUS = 10, and recompile
  12. pc.h EQI_AMMO must equal EQI_MAX-1 position in the enum equip_index { } EQP_AMMO must be the last one position in the enum equip_pos {}
  13. Have you ever modified costume system?
  14. data\ indoorrswtable.txt viewpointtable.txt try to comment the specific map
  15. Hi ~Myzter, rAthena has implemented new job Kagerou/Oboro Could you add it ? Anyway, thanks for the convenient tool
  16. try to find this line if (((@qe[1] & 1) || (@qe[1] & 256) || (@qe[1] & 512)) && @qe[2] > 0) and replace with if (((@qe[1] & 1) || (@qe[1] & 256) || (@qe[1] & 512) || (@qe[1] & 1024) || (@qe[1] & 2048) || (@qe[1] & 4096)) && @qe[2] > 0)
  17. or use bindatcmd script command - script asdf -1,{ end; OnInit: bindatcmd "command", strnpcinfo(0)+"::OnCommand"; end; OnCommand: if(gettimetic(2) < cooldowntime ){ dispbottom "Please wait 5 seconds!"; end; } atcommand "@command"; set cooldowntime,gettimetic(2)+5; end; }
  18. if( strcharinfo(3) == "job3_rune02" ) change to if( strcharinfo(3) != "job3_rune02" ) end;
  19. glad to hear this info... ,and hope we will have a full renewal mechanics asap
  20. conf\battle\client.conf max_lv: 150 aura_lv: 160
  21. Here you go.. The newbie set was from China and credit to 妖西(Yocci) Newbie Set.7z
  22. prontera,155,188,0 script asdf 910,{ close; OnHeal: getmapxy(.@nm$,.@nx,.@ny,1); getmapxy(.@pm$,.@px,.@py,0); set .@d,distance( .@px, .@py, .@nx, .@ny); if(.@d>=5 && .@d<=10 ){ percentheal 100,100; specialeffect2 EF_HEAL; } end; OnInit: defpattern 1, "([^:]+):.*\\sheal.*", "OnHeal"; activatepset 1; end; }
  23. When will the full renewal mechanics be implemented in rathena?
×
×
  • Create New...