Jump to content

Rynbef

Members
  • Posts

    509
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Rynbef

  1. @Sephiroth91 1st suggestion change: bindatcmd("dailyreward",strnpcinfo(3)+"::OnLoginCmnd"); To: bindatcmd("dailyreward",strnpcinfo(3)+"::OnLoginCmnd",0,0); 2nd suggestion: U've also tested with my function? This function attach the player and use the command. Rynbef~
  2. @Ylen X Walker @Norse Please post any console error. Rynbef~
  3. @JHONDOMINICmaybe like this: OnDeath: if(getcharid(0)) end; else if(killedrid >= 150000 || killerrid >= 150000) end; else { //do ur stuff } end; Rynbef~
  4. @Sephiroth91Maybe try charcommand "@dailyreward"; This should exactly like typing in by keyboard. Rynbef~
  5. @Erossmaybe it use the twitter support of newer clients. Or a WebView. Idk if it is implemented yet if not it's could be an extension injected as dll file in the client. In my opinion one of the hackshield does support WebView but idk which one. Rynbef~
  6. @Sephiroth91Try to change: bindatcmd("dailyreward",strnpcinfo(3)+"::OnLoginCmnd",0,99); To: bindatcmd("dailyreward",strnpcinfo(3)+"::OnLoginCmnd"); Or if it won't work: bindatcmd("dailyreward","LOGIN::OnLoginCmnd"); Rynbef~
  7. @ErossTest the modification on both and then let me know if it works or not. Rynbef~
  8. @acaciomilkI've optimized u're script a bit. NOTE: I can't test it yet but it's should work. Suggestions: Use close2; to close the dialog and afterwards u can kick player or else cause he will keep attached to the script. Then end; the script. I can recommend to use switch(getgmlevel()) instead of calling so much script labels. U readparam before checking it and call it in the if statement again. This makes no sense if u don't store it in an array or variable. On the event labels u used close; but there was no dialog therefore its causes errors. U need to end; the script. Don't declair labels inside an if statement. U're own labels needs to declaired like the default labels "OnInit" or "OnPCLoginEvent". The close2; is better if u give/delete items or set variables cause auto-close can be abused. Seguranca_Aviso optimized.txt Rynbef~
  9. Oh my mistake. Change: if(!attachedrid()) To: if(!getattachedrid()) Rynbef~
  10. Change the slot amount at the item_db_equip.yml at ur server and the visual slots at the iteminfo.lub located in ur ragnarok folder. Notice that u've to patch the iteminfo.lub to every user so they can see it too. Rynbef~
  11. @Sephiroth91Try to add this above to ur item: callfunc "REWARDCMD",getcharid(3); And use this modified version (not tested): DailyReward_changed.txt Rynbef~
  12. @Akbaremaybe remove "disable_items;" after: mes "Requirements:"; Normally it blocks changing equipment while talking to npc but it could be possible that it couldn't count ur item because it is an equipment item. Rynbef~
  13. @Erossmaybe u used the wrong file. But I've added an if-statement to check if mob class is boss too. ChangedMob v2.cpp Rynbef~
  14. @ErossTry this changes but the MVPs need MVP Exp to multiply the stats. Changed Mob.cpp Rynbef~
  15. @ErossPls let us know this at the begin of ur request than it will be much easier to help u. In ur case it begin at line 4134. I've already changed everything and attached the changed file. Changed Mob.cpp Rynbef~
  16. @Sephiroth91Rename the Label by replacing all OnLoginCmnd to OnCommandLogin. Than call cmdothernpc "LOGIN","Login"; Don't forget to replace every label calls like Bindcommand and else. Rynbef~
  17. @Sephiroth91try: cmdothernpc "LOGIN","OnLoginCmnd"; Rynbef~
  18. @SurefirerDo u replaced the cps.dll on ur folder with the new one? Rynbef~
  19. @Sephiroth91Maybe add this on ur item: cmdothernpc "<npc name>","<command>"; This is simply "donpcevent <npc name>::OnCommand<command>". It is an approximation of official server script language's 'cmdothernpc'. Returns true if the command was executed on the other NPC successfully, false if not Rynbef~
  20. @Sephiroth91Maybe change: prontera,5,5,5 script LOGIN 111,{ To: - script LOGIN -1,{ Rynbef~
  21. @ErossAt src/map/mob.cpp on line 4544 it begins. Just change: mob->status.str = max(1, stat); To: mob->status.str = max(1, (stat*6)); And the same on the other stats below the other stats. Attack change on line 4452 from: mob->status.rhw.atk = atk; To: mob->status.rhw.atk = atk*6; Defense change on line 4486 from: def = cap_value(def, DEFTYPE_MIN, DEFTYPE_MAX); To: def = cap_value(def*6, DEFTYPE_MIN, DEFTYPE_MAX); Recompile ur server after. Ps: NOT TESTED!! Rynbef~
  22. @Yuna @arcada Pease post ur pet script here. That we can take a look on it to solve the problem maybe. petloot <max items>; This command will turn on pet looting, with a maximum number of items to loot specified. Pet will store items and return them when the maximum is reached or when pet performance is activated. Source: https://raw.githubusercontent.com/rathena/rathena/master/doc/script_commands.txt Maybe add on the Egg on OnEquip part or on the "Script: >" part of the pet "petloot <max items>;" Rynbef~
  23. Maybe put it at "Sctipt: >" the petloot n; or put it on the Egg on the OnEquip part. petloot <max items>; This command will turn on pet looting, with a maximum number of items to loot specified. Pet will store items and return them when the maximum is reached or when pet performance is activated. References under 10.1 at https://raw.githubusercontent.com/rathena/rathena/master/doc/script_commands.txt Rynbef~
  24. @BlazingSpearpls let other users know how u solved ur problem if someone have similar interests. Rynbef~
×
×
  • Create New...

Important Information

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