Jump to content

moneymuch

Members
  • Posts

    20
  • Joined

  • Last visited

About moneymuch

  • Birthday 05/10/1987

Profile Information

  • Gender
    Male

Recent Profile Visitors

3838 profile views

moneymuch's Achievements

Poring

Poring (1/15)

0

Reputation

  1. @malufett else if(sd->inventory_data[index]->type == IT_ARMOR) { int r; if ( (r = sd->status.inventory[index].refine) ) refinedef += refine_info[REFINE_TYPE_ARMOR].bonus[r-1]; if(sd->inventory_data[index]->script) { if( i == EQI_HAND_L ) //Shield sd->state.lr_flag = 3; run_script(sd->inventory_data[index]->script,0,sd->bl.id,0); if( i == EQI_HAND_L ) //Shield sd->state.lr_flag = 0; if (!calculating) //Abort, run_script retriggered this. [skotlex] return 1; } + if(sd->status.inventory[index].card[0]==CARD0_FORGE) + { + status->def_ele = (sd->status.inventory[index].card[1]&0x0f); + status->ele_lv = 1; + clif_displaymessage(sd->fd, "yes,it is here!!!"); + } } } if(sd->equip_index[EQI_AMMO] >= 0){ index = sd->equip_index[EQI_AMMO]; if(sd->inventory_data[index]){ // Arrows sd->bonus.arrow_atk += sd->inventory_data[index]->atk; sd->state.lr_flag = 2; i add it , i equip produced armor ,i can display "yes,it is here!!!" but it is not effect , how do i need to alter, can you give me a tip. or i need to add function like as "weapon_atk" in status.h struct weapon_atk { unsigned short atk, atk2; unsigned short range; unsigned char ele; };
  2. yes, i find them in GRF files ,but i find all files ,i do not find
  3. @malufett thank you very much can i answer new question? after I read 'skill_produce_mix', i find if(rnd()%10000 < make_per || qty > 1){ //Success, or crafting multiple items. struct item tmp_item; memset(&tmp_item,0,sizeof(tmp_item)); tmp_item.nameid=nameid; tmp_item.amount=1; tmp_item.identify=1; if(equip){ tmp_item.card[0]=CARD0_FORGE; tmp_item.card[1]=((sc*5)<<8)+ele; tmp_item.card[2]=GetWord(sd->status.char_id,0); // CharId tmp_item.card[3]=GetWord(sd->status.char_id,1); } else { //Flag is only used on the end, so it can be used here. [skotlex] i think , i need to find the thing that is 'tmp_item.card[1]=((sc*5)<<8)+ele;' i want to alter this part, at present, its effect is let weapon is add atk , fire status and so on. i need the effect that is let Armor is add HP or def and fire status, but it is not that damage is fire , yet it is that def is fire, so i think that 'tmp_item.card[1]=((sc*5)<<8)+ele;' is key ! but i do not understand the Usage of this , can you help me ?
  4. I find all files ,but i can't find the buff icon, so i need help who can tell me where is the buff icon
  5. I want to know where is the source of smith's producing weapon about property oh,my English is bad , i don't know how to say, let me give an example when smith is producing weapon , he need to put 'Flame Heart', 'Mystic Frozen', 'Rough Wind', 'Great Nature' and 'Star Crumb' ,like as this kind of thing. how does system determine the effect of these thing . for example , 'Flame Heart' can give fire status to weapon, 'Star Crumb' can give atk to weapon like skill's damage is in battle.c/damage , then , where is the source of smith's producing weapon about property?
  6. @lengchaileo thank you very much /kis2it is ok.
  7. @lengchaileo yes , there is " WDGSkipPacketHeaderObfuscation.dll " in " ShinsDiffPatcher -> plugins -> WeeDiffGen ". ShinsDiffPatcher is svn , too but when diff 20120618 , it does not display " Skip Packet HeaderObfuscation "
  8. I don't find " SkipPacketHeaderObfuscation " options but i can find " WDGSkipPacketHeaderObfuscation.dll " how will I add " WDGSkipPacketHeaderObfuscation.dll " ?
  9. ShinsDiffPatcher , how does it add " WDGSkipPacketHeaderObfuscation.dll" ?? i have not [ Skip Packet Header Obfuscatio ] options Client is 20120618
  10. Laugh ~~~ I want to use this mode , too. But I have not found the solution. My idea is the way that resemble "manner_system", 1 + 2 + 4 + 8 + 16.............,but i don't know to edit it
  11. I don't know whether it is a bug . I don't know whether other people has this problem , too. The first buyer is not searched . he must close buying store . reset open buying store again . then he can be searched.
  12. hey Lilith i have a problem while i buy anything in vending with any way, map server displayer error,then server restart i use 1.8.1,but it is not upgrade from 1.6 before i use 1.6,it is ok.but i change rathena version to 16096, i add 1.8.1 to svn again i think maybe i make mistake when i add to it ,so i try to find mistake but i don't find any mistake [Error] Server received crash signal ! Attempting to save all online characters ! oh ,it don't let me Send pictures T Ti i have sloved the problem . it is the megs 707 ,amount and item_name , i invert their order
  13. i want to rent a Magic Gear,but i can't find the script about it like as :setreding; setcart;
  14. First,thank you very very very much. To FatalEror: Thank you for your answer, 1. i discover that it has not place for set up skill's damage.The beginning , i think that "hitrate" means the damage when hit.so where do i set up skill's damage.? 2.bl = The target of status (src = self, bl = enemy) , the target is member in party or player,what do i use function. 3.I edit skill is quest, so i don't change. if skill is quest, is this matter? To Rytech: Thank you for your answer. no, i don't add a guild skill.i don't know this set like this. monster's skill ,also has this type of set,has it?
  15. i want to study create new skill, but i don't know how to creat new skill, so i try to alter it on the basis of "SM_BASH". i find "SM_BASH" in battle.c skill.c skill.h status.c according to its scheme , add in battle.c case AS_SONICBLOW: if(sd && pc_checkskill(sd,AS_SONICACCEL)>0) hitrate += hitrate * 50 / 100; break; case GC_VENOMPRESSURE: hitrate += 10 + 4 * skill_lv; break; //========================under=========================== case DIY_QIAN: hitrate += hitrate * 100 * skill_lv / 100; break; //========================above========================== } // Weaponry Research hidden bonus if (sd && (skill = pc_checkskill(sd,BS_WEAPONRESEARCH)) > 0) hitrate += hitrate * ( 2 * skill ) / 100; hitrate = cap_value(hitrate, battle_config.min_hitrate, battle_config.max_hitrate); =================Dividing lines======================= add in skill.c status_change_end(bl, SC_HARMONIZE, INVALID_TIMER); status_change_end(bl, SC_WINKCHARM, INVALID_TIMER); status_change_end(bl, SC_SONGOFMANA, INVALID_TIMER); status_change_end(bl, SC_DANCEWITHWUG, INVALID_TIMER); status_change_end(bl, SC_LERADSDEW, INVALID_TIMER); status_change_end(bl, SC_MELODYOFSINK, INVALID_TIMER); status_change_end(bl, SC_BEYONDOFWARCRY, INVALID_TIMER); status_change_end(bl, SC_UNLIMITEDHUMMINGVOICE, INVALID_TIMER); } break; //========================under=========================== case DIY_QIAN: if( sd && skilllv > 0 ){ sc_start(bl,SC_STUN,(50*skilllv+(int)sd->status.base_level/10), skilllv,skill_get_time(skillid,skilllv)); } breakb; //========================above========================== } if (md && battle_config.summons_trigger_autospells && md->master_id && md->special_state.ai) { //Pass heritage to Master for status causing effects. [skotlex] sd = map_id2sd(md->master_id); src = sd?&sd->bl:src; =================Dividing lines======================= add in skill.h EL_CIRCLE_OF_FIRE = 8401, EL_FIRE_CLOAK, EL_FIRE_MANTLE, EL_WATER_SCREEN, EL_WATER_DROP, EL_WATER_BARRIER, EL_WIND_STEP, EL_WIND_CURTAIN, EL_ZEPHYR, EL_SOLID_SKIN, EL_STONE_SHIELD, EL_POWER_OF_GAIA, EL_PYROTECHNIC, EL_HEATER, EL_TROPIC, EL_AQUAPLAY, EL_COOLER, EL_CHILLY_AIR, EL_GUST, EL_BLAST, EL_WILD_STORM, EL_PETROLOGY, EL_CURSED_SOIL, EL_UPHEAVAL, EL_FIRE_ARROW, EL_FIRE_BOMB, EL_FIRE_BOMB_ATK, EL_FIRE_WAVE, EL_FIRE_WAVE_ATK, EL_ICE_NEEDLE, EL_WATER_SCREW, EL_WATER_SCREW_ATK, EL_TIDAL_WEAPON, EL_WIND_SLASH, EL_HURRICANE, EL_HURRICANE_ATK, EL_TYPOON_MIS, EL_TYPOON_MIS_ATK, EL_STONE_HAMMER, EL_ROCK_CRUSHER, EL_ROCK_CRUSHER_ATK, EL_STONE_RAIN, //========================under=========================== DIY_QIAN = 10016, //========================above========================== }; /// The client view ids for land skills. =================Dividing lines======================= add in status.c set_sc( NPC_BLINDATTACK , SC_BLIND , SI_BLANK , SCB_HIT|SCB_FLEE ); set_sc( NPC_BLEEDING , SC_BLEEDING , SI_BLEEDING , SCB_REGEN ); set_sc( NPC_POISON , SC_DPOISON , SI_BLANK , SCB_DEF2|SCB_REGEN ); //The main status definitions add_sc( SM_BASH , SC_STUN ); //========================under=========================== add_sc( DIY_QIAN , SC_STUN ); //========================above========================== set_sc( SM_PROVOKE , SC_PROVOKE , SI_PROVOKE , SCB_DEF|SCB_DEF2|SCB_BATK|SCB_WATK ); add_sc( SM_MAGNUM , SC_WATK_ELEMENT ); =================Dividing lines======================= after release ok ,add information of skill in lua. icon effect sprite ok.skill_db ok(these is copy "SM_BASH",but i have altered name.) but ,when i enter the game, i can not find skill in skill bar, so,i don't know whether to finish for create a new skill, (i have used @allskill GM order) the steps of editor ,where is the mistake? sorry,i forget SVN version,but it is in less than this week. p.s. if you can , can you tell me what is effect of the command ?the command is purple.
×
×
  • Create New...