kairu

Members
  • Content count

    19
  • Joined

  • Last visited

  1. is it possible to globally increase the mobs damage globally to have a higher/lower damage by a percent? (maybe) i think its a good way to add this as a configuration in monster.conf for those who run high rate servers so that PvE content will still be challenging.
  2. So.. a follow up on this.. has there been any solution for it? because i need a higher heal rate value above 32767. if possible would you mind showing me where in the hex editor to change the limit? gratefully appreciated! Edit: its actually about the life potions(SC_M_LIFEPOTION) where it heals a percentage of your life per x interval. it is limited to only 32767 while Heal on acolyte is working fine Edit2: Drop this i just set the flag to not show the healed amount. thanks for reading!
  3. Thanks! i will try this one when i get back... is there also a way to pass arguments/variables into the script?
  4. This may probably be moved to the source support section. Heres an update/work around of it for now: i went in and inputted the items that will be having the hidden abilities in itemdb.h ofcourse i have declared the missing ones and included sql and inter files. nameid = sd->status.inventory[index].nameid; if(itemdb_is_cweapon(nameid)){ unique_id = sd->status.inventory[index].unique_id; if(SQL_ERROR == SQL->Query(inter->sql_handle, "SELECT `description` FROM `randombonus` WHERE `unique_id`='%s'", unique_id)){ Sql_ShowDebug(inter->sql_handle); } else{ char str[500]; SQL->GetData(inter->sql_handle, 1, &data, NULL); str[0] = data; clif->disp_message(&(sd)->bl,str,CHAT); SQL->FreeResult(inter->sql_handle); } } The problem now is im stuck of the error it gives and i dont know what to do with it next.
  5. Is there any workaround in this? or atleast a guide on how to call a function on src
  6. i basically have a randomized skill system where equipments give skills and/or stats etc.. so id like players to know what they got on it and if theyre going to trade it to another player it shows them. so if they put in the item on the trade window theres a dispbottom that shows the hidden attributes.
  7. So i was wondering if this is possible if you put in an item in the trade window a function will be called. i tried looking at trade.c of trade_tradeadditem; but i dont know how to call the function if i put it in the source code. or is there like an "OnTradeAdd" command?
  8. i now kind of get it. last question: lets say if i want the heal interval to be like 30ms or lower will that cause any problems to the server on how its "stress" level can handle it?
  9. That what i was thinking i just dont know what values to use and how to use 2 ticks in it.
  10. oh i didnt see that however can it be percentage of your max hp instead? Yup. bonus2 bHPRegenRate, (MaxHp/100), 1000;This script would drain 1% of max hp every 1000ms (1 second). it should gain 1% every 1s. But thanks i understand now next problem is how long it will linger; was going to put this in ygg berries changing it instead of instant healing to overtime healing. like lets say if you use the berry you would heal 3% of your max hp every 1second for 5second linger time. is it possible still with this item bonus? sorry for being unspecific.
  11. oh i didnt see that however can it be percentage of your max hp instead?
  12. does anyone have a src code for heal over time like Renovatio skill on Arch bishop does? however the tick rate is configurable so maybe it'll work like an item bonus code like bonus3 bHealOverTime,x,y,z; where x= hp; y= sp; z= tick rate; Also does this increase the server load? i feel like ticks plays a heavy role on it.
  13. Menu without mes is always a problem.Try put mes before select, and see if original problem exists or not Also, you don't need to do attachrid in the code you posted above. I tried it with mes but its still the same. however, instead of "doevent" on the script i used addtimer and no more errors
  14. The Test npc script is the one i called on doevent. it may have something to do with my other scripts but it should show what current script i have open it with. Edit: ive disabled all my custom scripts but still the same. It also crashes if i call the doevent on the item
  15. Hi, Thanks for replying i will try this tomorrow when i get up in bed and will let you know if it works. i tried to do this but i got errors saying this: [Warning]: Unable to restore stack! Double continuation [Debug]: Previous script (lost): [Debug]: Current script: [Debug]: Source (NPC): Test (invisible/not on a map)