Jump to content

naruto10890

Members
  • Content Count

    11
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

2 Neutral

About naruto10890

  • Rank
    Poring

Profile Information

  • Gender
    Male
  • Location
    Costa Rica
  • Server
    Amethys
  • Github: naruto10890

Recent Profile Visitors

804 profile views
  1. Buenas quiero aumentar la max skill de los homunculus pero trabajando con la src no se puede lograr nada aunque se aumente desde allí. Por lo que he leído esto se debe al cliente que tiene un límite y solo se puede editar hexadecimalmente pero al usar el HxD la verdad es que me perdí. Si alguien conoce que debo editar exactamente del cliente o como hacerlo de otra forma. Espero su ayuda gracias!!!
  2. Hi, I am trying to fix a code that is of my interest. But with this part of the code I can not find out the problem. First through the rest skill the hom_vaporize is done. struct item tmp_item; struct s_homunculus *hom; struct homun_data *hd; int rate; hd = sd->hd; rate =(hd->homunculus.class_) + 5530; hom = &hd->homunculus; //sd->status.lock = 0; if(hom->ditto == 1){ rate = 8162; }else{ rate =(hd->homunculus.class_) + 5530; } hom_save(hd); //hom->char_id = sd->status.char_id; memset(&tmp_item,0,sizeof(tmp_item)); tmp_item.nameid = rate; tmp_item.identify = 1; //tmp_item.refine=5; tmp_item.card[0] = CARD0_HUN; tmp_item.card[1] = GetWord(hd->homunculus.hom_id,0); tmp_item.card[2] = GetWord(hd->homunculus.hom_id,1); tmp_item.card[3] = 0; if((flag = pc_additem2(sd,&tmp_item,1))) { clif_additem(sd,0,0,flag); map_addflooritem(&tmp_item,1,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0,0); } sd = hd->master; hd->homunculus.intimacy = 0; return unit_remove_map(&hd->bl,CLR_OUTSIGHT); } The idea is to save card[1] and card[2] ids same as in the pet.cpp when it comes to obtaining an egg. Then in pc.cpp / pc_isUseitem switch( nameid ) { case 50844: if(hd){ if(hom->evomoment == 1){ clif_displaymessage(sd->fd, "Usted no puede retornar."); return 0; } break; } case 8031: if(sd){ if(hd) if(hom->evomoment == 1){ clif_displaymessage(sd->fd, "No puedes invocar otro pokemon mientras tu pokemon activo esta evolucionando."); return 0; } if (sd->sc.data[SC_NOCHAT]) return 0; if(sd->hd != NULL) return 0; if(sd->inventory.u.items_inventory[n].card[3] > 2){ hom_create_request(sd, (sd->inventory.u.items_inventory[n].card[3])); clif_specialeffect(&sd->bl,41,AREA); return 1; } if(sd->inventory.u.items_inventory[n].card[3] == 1){ clif_displaymessage(sd->fd, msg_txt(sd,718)); return 0; } if(sd->inventory.u.items_inventory[n].card[3] == 0){ sd->status.hom_id = MakeDWord(sd->inventory.u.items_inventory[n].card[1], sd->inventory.u.items_inventory[n].card[2]); intif_homunculus_requestload(sd->status.account_id, sd->status.hom_id); clif_specialeffect(&sd->bl,1049,AREA); return 1; } break; } By having tmp_item.card [3] = 0; will perform this action, which should return the homunculus if(sd->inventory.u.items_inventory[n].card[3] == 0){ When not using the item does not recover the homunculus, someone has some idea of the problem. Thanks for any help!!!
  3. Hello, my idea is that when you throw an item on a mob, do different actions. Skill: case SM_PROVOKE2: clif_skill_nodamage(src,bl,skill_id,skill_lv,1); if( sd == NULL ) break; if( dstsd ) { clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); break; } if (sd && dstmd) { skillidtest(sd, dstmd->mob_id); } break; skillidtest: int skillidtest(struct map_session_data *sd,int target_id) { struct mob_data* md; nullpo_retr(1, sd); md = (struct mob_data*)map_id2bl(target_id); if (sd->itemid == 33001) { clif_displaymessage(sd->fd, "perfect"); return 1; } else if(sd->itemid == 28606) { clif_displaymessage(sd->fd, "perfect2"); return 1; } else if(sd->itemid == 28607) { clif_displaymessage(sd->fd, "perfect3"); return 1; } else { clif_displaymessage(sd->fd, "perfect4"); //clif_emotion(&md->bl, ET_ANGER); return 1; } return 0; } I use the id 33001 33001,test,test,11,1000,500,10,,,,,0xFFFFFFFF,7,2,,,,,,{ itemskill "SM_PROVOKE2",1; },{},{} But he throws me the else, perfect4 How could I fix
  4. It did not help but I added 2 more lines and it's ok sd->pd->target_id = 0; pet_stop_attack(sd->pd); pet_stop_walking(sd->pd,1); Thank you
  5. Hi need help to fix command pet stop attack ACMD_FUNC(stop) { struct pet_data *pd; pet_stop_attack(pd); return 0; } that I should add since it gives gravity like that
  6. No [email protected] is the name of the variables, where you must place the account id after the "==", remember that placing the account id only is for the accounts in which the system will not add anything. You can add more id with "||" but always with the same format [email protected] == account id.
  7. View File No double login in one map ip and gepard unique_id main code of ConfindecE and improved by Tauro to gepard and remove by account inhibition About this file: Anti-double login system in a specific map example: pvp, woe, events, etc. It has ip system or unique_id by gepard Account protection for accounts of the type: Gm, brothers, relatives, couples, etc ... By downloading this file, you accept the following terms: It is not allowed to remove my written signature within the script. You are not allowed to sell, resell or earn any kind of money or incentives to use my work. You are not allowed to claim my work as yours. The terms mentioned above may change without prior notice. Submitter naruto10890 Submitted 10/19/2018 Category Utilities Video Content Author Tauro  
  8. Version 1.0.0

    694 downloads

    main code of ConfindecE and improved by Tauro to gepard and remove by account inhibition About this file: Anti-double login system in a specific map example: pvp, woe, events, etc. It has ip system or unique_id by gepard Account protection for accounts of the type: Gm, brothers, relatives, couples, etc ... By downloading this file, you accept the following terms: It is not allowed to remove my written signature within the script. You are not allowed to sell, resell or earn any kind of money or incentives to use my work. You are not allowed to claim my work as yours. The terms mentioned above may change without prior notice.

    Free

  9. Bueno mira cuando vas a la group.conf y le colocas disable_pvm toda esa group no puede atacar a los monstruos yo quiero hacer eso mismo pero en una zona especifica así que me fui a la src específicamente "battle.c" case BL_MOB: // Source => PC, Target => MOB if (pc_has_permission((TBL_PC*)s_bl, PC_PERM_DISABLE_PVM) ) return 0; break; Eso lo que hace es como anteriormente dije hacer que no se pueda atacar así que lo modifique de esta forma case BL_MOB: // Source => PC, Target => MOB if ( map[m].flag.restricted || pc_has_permission((TBL_PC*)s_bl, PC_PERM_DISABLE_PVM) ) return 0; break; Y me sirve pero obviamente quita todos los mapas que esten en restricted y entonces quería quitar solo en la zona 2 por ende le metí map[m].zone == 2 case BL_MOB: // Source => PC, Target => MOB if ( map[m].zone = 2 || pc_has_permission((TBL_PC*)s_bl, PC_PERM_DISABLE_PVM) ) return 0; break; El punto es que por alguna razón quita el pvm en todo el juego no es la zona que elijo igual intente con 8 y 16 por ser hexadecimal y nada. Espero alla quedado un poco más claro lo que busco y me puedan ayudar.
  10. Buenas alguno me podría ayudar u orientar que debo modificar en la src para que en un mapa sea imposible atacar a los monstruos pero solo en uno especifico por ejemplo prontera. Algo como en la groups.conf que al colocar disable_pvm le quita el poder atacar a los monstruos pero a todo el groups.
  11. Hola primero que todo soy nuevo por acá en rAthena, agradezco cualquier ayuda!!!. Buenas quería saber si es posible, configurar el servidor para que en mapas específicos "pvp,woe,bg" para rankings no se pueda usar el doble login
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.