Jump to content

Bin4ry

Members
  • Posts

    782
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Bin4ry

  1. If not mistaken, NPC/re/script_main.conf Add a line to ur custom conf
  2. You can either hex the name or open up with BrowEdit and save as another name.
  3. Sorry but I don't get it. Its only for local use and what's the problem using data before grf? Nothing bugged me using /data in 05-15 and before the diff was release I'm even using the batch execute method to force read data.
  4. I'm using the same client, why not?
  5. Please show us your custom item entry in accessoryid.lua, accname.lua and iteminfo.lua as well as item_db2 so we can troubleshoot instead of guessing here and there.
  6. If not mistaken current BrowEdit has copy/paste function but does not work in different map. Center of Prontera, isn't just a fountain changes? Wouldn't take you much time.
  7. Check your view ID in accessoryid.lua and item_db2
  8. In battle.c if ( (!skill_num || skill_num == PA_SACRIFICE) && tstatus->flee2 && rnd()%1000 < tstatus->flee2 ) { //Check for Lucky Dodge wd.type=0x0b; wd.dmg_lv=ATK_LUCKY; if (wd.div_ < 0) wd.div_*=-1; return wd; } Remove !skillnum || and it will affected by skills. (You can also remove PA_SACRIFICE line if you want Sacrifice has chance to miss)
  9. No need of Adobe Fireworks tho, MS paint has ability to save .png to 24bit bitmap. For your issue, I'm not sure have you tried this first > I usually have 2 folders - Local Folder (Read Data before GRF, for Local), and 1 is Public Folder (That every players' using). So I will usually do everything in local folders first and see if no problem, then I move the copy files to patcher and let Public client update them.
  10. @PapaZola, why would you want to compile your .lua? You can just rename them into .lub for easier edit.
  11. 9. The map should have 6 players. 10. Will the reward npc show up when only last man standing? I have thought of scripting this week ago, then I realize - should I uses queue script to queue players or instances. Queue will make the event lasts hours (Depends on your server popularity) and instances is the only option I thought. What if players multi window and fooling the system. Don't really have idea and then I stopped
  12. Maybe dynamic mob setting in /conf/battle/mob.conf?
  13. You need to make it to a script with rand pick in array and callfunc from the item script.
  14. Here is the raw file http://subversion.assembla.com/svn/ClientSide/Lua_Project/System/itemInfo.lua and you don't have to compile into .lub, renaming its extension to .lub works well too!
  15. Source compiling has nothing to do with scripting, what o/s are you using?
  16. Can't reproduce, it just works for everyone Before you disable renewal drops is it 20%+-?
  17. Bin4ry

    item combo

    Replace this into Expert Ring's script: bonus bDelayRate,-5; bonus bUseSPrate,5; if(isequipped(2703,4403)) { bonus bDelayRate,-15; } It work like this: Kiel 1 - 30% Kiel 2 - 30% (Effect nil) Expert Ring 1 - 5% Expert Ring 2 - 5% 1 Pair Bonus - 15% 2 Pair Bonus = 30% (Covered up Kiel 2 nil effect) This will give bonus -15% delay when 1 Expert Ring and 1 Kiel is worn. So when you have 2 Kiel and 2 Expert Ring it will return a bonus of -30% delay (Which covered up your previous script that blocks 2nd Kiel effect).
  18. Yes you have to compile.
  19. Bin4ry

    item combo

    You don't have to do anything, by default when they wear 2 Expert and 2 Kiel it will already be -70%. (30% * 2 + 5% * 2)
  20. Reloading? You have to re-compile the whole source not reloading script
  21. Bin4ry

    item combo

    It will be total of 70% if you wearing 2 Kiel, 2 Expert Ring and now you are doing item combo effect, which will bring another 70% (According your script).
  22. Renewal drops is just a factor that calculate your level and target mob level then modify the drop rate. So if you disable it, and monster dropping 100% (Which you don't want) it must be your drop rate setting. Show us the equip_drop_mvp
  23. We don't have getmapmobs in rA, but we have countmob so change them into countmob and I don't understand why is it getting map monster from map "this". Is your map named "this"? *mobcount("<map name>","<event label>")
  24. Here is the block for ASPD in status.c #ifndef RENEWAL_ASPD status->aspd_rate = status_calc_aspd_rate(bl, sc, b_status->aspd_rate); if(status->aspd_rate != 1000) amotion = amotion*status->aspd_rate/1000; #else // aspd = baseaspd + floor(sqrt((agi^2/2) + (dex^2/5))/4 + (potskillbonus*agi/200)) amotion -= (int)(sqrt( (pow(status->agi, 2) / 2) + (pow(status->dex, 2) / 5) ) / 4 + (status_calc_aspd(bl, sc, 1) * status->agi / 200)) * 10; if( (status_calc_aspd(bl, sc, 2) + status->aspd_rate2) != 0 ) // RE ASPD percertage modifier amotion -= ( amotion - ((sd->class_&JOBL_THIRD) ? battle_config.max_third_aspd : battle_config.max_aspd) ) * (status_calc_aspd(bl, sc, 2) + status->aspd_rate2) / 100; if(status->aspd_rate != 1000) // absolute percentage modifier amotion = ( 200 - (200-amotion/10) * status->aspd_rate / 1000 ) * 10;
  25. Bin4ry

    item combo

    Alright lets do this in item_db then. But I'm not sure what do you want from this script. You used ! argument. if(!isequipped(2703=2,4403=2)) { bonus bDelayRate,-70; } If you are trying to make If 2 Expert Ring and 2 Kiel is worn, decrease 70% delay. Then it would result total of 140% delay decrease which doesn't make any sense.
×
×
  • Create New...