Jump to content

Bin4ry

Members
  • Posts

    782
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Bin4ry

  1. If you mean how to write diff files in their format, maybe take a look at those old .diff files at here http://svn6.assembla.com/svn/ClientSide/Diff_Project/kRO/ to refer their formatting. (Not the hex of course, hehs)
  2. So what will happen when the 3 monsters died? Here's the script, edit the part OnMobKilled: http://www.heypasteit.com/clip/0I16
  3. Maybe you should go PreRE instead of RE for those fast-paced PVP server. Go renewal.h and comment those RE feature which you want to disable. Eg: #define RENEWAL_CAST to //#define RENEWAL_CAST
  4. Under /conf/battle/skill.conf // Allow use of ES-type magic on players? allow_es_magic_player: no
  5. You should call your designer to update to code?
  6. I personally like Mid Rate with full official behavior, max levels and so. I'm comparing to high rate. Doesn't have to bot to level. 150 doesn't break any skills, statuses (Stun, curses and so) or jobs. Enjoy casting MVP with difficulty compared to High Rate where champ always get 1-HIT KO almost any bosses. Limited skill points where balances player. Can't figure out what else in this moment
  7. Maybe if you could wait, I'll script for you. It's 2AM here, maybe I will do it tomorrow.
  8. Yeah thats why I edited my post hold on a little while I'm cleaning the script for him.
  9. Change OnHour2 > OnHour0200 Oops, hold on... kinda messy hehs, here's another mistake. if(.@partymembercount == 5) [ Should be if(.@partymembercount == 5) {
  10. We definitely need to setup a sticky FAQ post. People aren't searching...
  11. Follow this guide, http://www.openkore.com/index.php/ServerType until step 4.
  12. Change the calculation in status.c case SC_DEATHBOUND: val2 = 500 + 100 * val1; break; 500% Base + (100% * Per Skill Level);
  13. Because your default data.grf / rdata.grf have the same files overriding your server custom grf/data folder's indoorrswtable.txt I think. Edit: Oops, didn't see your edit.
  14. 5121, 6161, 6900 all done? Did you un-comment those //map_ip, //char_ip or //login_ip in those .conf files and had your WAN IP written correctly?
  15. If u wan it equipped on Customs, u have to add an entry to item DB like GMOcean says. I'd recommend you make an item which ppl usually call it 'dyna' hat. Using function to set look, can be set to any Headgear look depends on ur script.
  16. Here is another script that only used @afk for both enable and disable. - script atcmd_afk -1,{ OnInit: bindatcmd("afk","atcmd_afk::OnAFK"); end; OnAFK: if (@AFK) { set @AFK, 0; changelook 4,headupper; dispbottom "Away From Keyboard mode disabled."; end; } else { set @AFK, 1; headupper=getlook(4); changelook 4,471; dispbottom "Away From Keyboard mode enabled."; end; } }
  17. Failed. Undeclared function int i;
  18. Is under your Data / GRF, just remove your map entry at data/indoorrswtable.txt
  19. Wait. Little confused here. If I use rand(2,3) when it divided by 100. Poring 20 Job EXP * 2 or 3 / 100 = -40 So I should make it divide by 10 instead?
  20. amatsu,13,152,4 script npcname 767,{ mes "Hi there"; close; OnSat1930: monster "iz_dun05",225,23,"Stone of God Athena",2548,1,"npcname::OnThisMobDeath"; end; OnThisMobDeath: announce "Hey, "+strcharinfo(0)+" just broke the stone!",bc_all; end; } Use this as reference.
  21. I don't understand what is '2 period of the character' but for movement speed increase you can try: sc_start SC_SpeedUp0,300000,0;
  22. This only happens rarely, but still annoying to see error in console :[ Here is the script: - script ROTD -,{ end; OnClock0000: OnInit: setarray .ROTD$[0], "Formless", "Undead", "Brute", "Plant", "Insect", "Fish", "Demon", "Demi-Human", "Angel", "Dragon"; set .Race, rand(9); set .BonusEXP, rand(15,30); set .ExpLvlRange, 10; announce "Players will get " + .BonusEXP + "% bonus EXP from hunting " + .ROTD$[.Race] + " monsters today!",0; end; OnNPCKillEvent: if (getmonsterinfo(killedrid,19) != .Race) end; if (getcharid(1)) { set .@Location$, strcharinfo(3); set .BaseLvl, BaseLevel; getpartymember getcharid(1),1; getpartymember getcharid(1),2; for (set .@a, 0; .@a < .partymembercount; set .@a, .@a + 1) if (isloggedin(.partymemberaid[.@a])) attachrid (.partymemberaid[.@a]); if (strcharinfo(3) == .Location$ && ( .BaseLevel - BaseLevel) <= .ExpLvlRange) getexp (getmonsterinfo(killedrid,3) * .BonusEXP / 100), (getmonsterinfo(killedrid,4) * .BonusEXP/100); } else { getexp (getmonsterinfo(killedrid,3) * .BonusEXP / 100), (getmonsterinfo(killedrid,4) * .BonusEXP/100); } end; OnPCLoginEvent: dispbottom "Players will get " + .BonusEXP + "% bonus EXP from hunting " + $mobrace$ + " monsters today!"; end; } Error output: [Warning]: script:op_2num: overflow detected op=C_MUL i1=625000000 i2=26 [Debug]: Source (NPC): ROTD (invisible/not on a map)
×
×
  • Create New...