Jump to content

Technoken

Members
  • Posts

    505
  • Joined

  • Days Won

    8

Everything posted by Technoken

  1. You need to apply the OnPCSkillUseEvent.diff Check this links on how to apply a patch https://rathena.org/board/topic/102828-how-to-apply-diff-file/ https://rathena.org/board/topic/91246-patch-with-git/ But for me, prefer to do it manually. Doing it manually means you need to look for the changes made in the diff file and apply it to your files. Sample. Index: src/map/npc.c --> open src/map/npc.c =================================================================== --- src/map/npc.c (revision 100644) +++ src/map/npc.c (working copy) @@ -4350,5 +4350,6 @@ void npc_read_event_script(void) {"Die Event",script_config.die_event_name}, {"Kill PC Event",script_config.kill_pc_event_name}, {"Kill NPC Event",script_config.kill_mob_event_name}, --> Look for this part and add the new data + { "PC Use Skill Event", script_config.useskill_event_name }, --> This is the new added data on npc.c {"Stat Calc Event",script_config.stat_calc_event_name}, };
  2. You need a mod for this in order to check and save the skill you used. Check this LINK, it might help you
  3. replace all global_reg_value with char_reg_num it was changed since the Script Engine Upgrade update
  4. 2013-08-07 clients uses iteminfo.lua check your client system folder and look for iteminfo.lua or iteminfo.lub, (YourRO/System/Iteminfo.lua.) then add your custom item info there.
  5. What client are you using? AFAIK 2012 clients and above now use System/iteminfo.lua
  6. Maybe you modified something in your mmo.h? try to look for the changes you made in mmo.h
  7. Try ti restart your server and make sure you are inside a PVP map when you test the damage.
  8. I was thinking why was this warning occurred after I updated. It wasn't there before. I tried to use 1200 on max_skill. Hoping that the mod will still work after this. lol was just about to test it. EDIT/UPDATE: I solved it by using MAX_SKILL 1200 in mmo.h and it's working fine now. Thanks for those who helped!
  9. Found out what's causing the problem with me. Because of the mod I applied OnPCUseSkillEvent. It modifies MAX_SKILL from 1200 to 4000 in mmo.h. I'm still trying to figure out how to fix it.
  10. I'm having this compilation warning after updating my git hash from 4e137d3047a9f9d5327212787c9d61a9c811a46c to d20a7cafc0c32c0d6e2ad67e58f9ba45110d7ac7 3>..\src\char\char_mapif.c(1041): warning C4305: 'initializing' : truncation from 'unsigned int' to 'uint16' 3>..\src\char\char_mapif.c(1070): warning C4305: 'initializing' : truncation from 'unsigned int' to 'uint16' 1> chrif.c 3> int_mercenary.c 3> int_party.c 3> int_pet.c 3> int_quest.c 3> int_storage.c 3> inter.c 1> clif.c 1> date.c 1>..\src\map\chrif.c(312): warning C4305: '=' : truncation from 'unsigned int' to 'uint16' I don't have any src edits in these files(char_mapif.c & chrif.c) It's pointing out to these lines \src\char\char_mapif.c(1041) \src\char\char_mapif.c(1070) \src\map\chrif.c(312) I have no idea what actually causes the warning. Can anyone help me? Thanks! EDIT: After I started my server this error appears [Error]: mmo_charstatus size = 75472 is too big to be transmitted. (must be belo w 0xFFFF)
  11. LOL you're like advertising gepard shield btw please still tell us how it is done, so servers who still can't afford to purchase gepard shield can somehow protect themselves from the serious bug you said.
  12. it is OnPCStatCalcEvent not OnPCCalcStatEvent.
  13. What client are you using? I think you need to edit it on System/ItemInfo.lub change the slotCount form 0 to 1.
  14. Try to add the path location of the script at npc/scripts_custom.conf
  15. have you tried to restart your server?
  16. Thanks for the info! I can remove the skills now by using 'skill CLONE_SKILL,0,0;' but another thing is, the skill id and level is still saved even if I relogged. I tried with this script: prontera,153,178,4 script test 52,{ .@cs = CLONE_SKILL; .@cslv = CLONE_SKILL_LV; dispbottom ""+.@cs+" "+.@cslv+""; if((select("Remove?:Cancel"))&2)close; skill .@cs,0,0; end; } After removing the skill and clicking the npc again, it still shows the skill id and lvl even if the skill is not on the misc tab. can I just remove them by CLONE_SKILL = 0; CLONE_SKILL_LV = 0; ? EDIT: Saw it at char_reg_num. Thanks Secrets!
  17. Are there ways to remove the copied skill by plagiarism using a script? Thanks!
  18. Try this one didn't test it though - script ExtraDrop -1,{ OnInit: setarray .list[0], // <monsterid>,<cash point>,<zeny>,<reward item id>,<reward item amount>... and so on 1002,5,1000000,501,1, // Poring, gives 5 cashpoint, 1m zeny, red potion 1x 1101,6,2000000,502,1; .size = getarraysize(.mon_list)/5; end; OnNPCKillEvent: for( .@i = 0; .@i < .size; .@i+=5 ) { if( killedrid == .list[.@i] ) { #CASHPOINTS += .list[.@i+1]; Zeny += .list[.@i+2]; if( rand(100) < 10 ) getitem .list[.@i+3],.list[.@i+4]; break; } } end; }
  19. - script ExtraDrop -1,{ OnInit: setarray .mon_list[0],1002,1101; // list of monster ids .mon_size = getarraysize(.mon_list); .cashpt = 10; // How much cashpoints? .zeny = 5000000; // How much zeny? .reward = 501; // Reward item id .reward_amt = 1; // Reward Amount end; OnNPCKillEvent: for( .@i = 0; .@i < .mon_size; .@i++ ) { if( killedrid == .mon_list[.@i] ) { #CASHPOINTS += .cashpt; Zeny += .zeny; if( rand(100) < 10 ) getitem .reward,.reward_amt; break; } } end; }
  20. @Akkarin, can you provide other mirror please? Can't seem to download it with a download manager. It takes 16hrs if I download it using chrome downloader. Thanks!
  21. Tanong mo ISP mo tol kung open yung ports mo. Usually kasi humihingi sila ng additional charge kapag gsto mo magpaset ng static ip at magpaopen ng ports.
  22. Try - script ExtraDrop -1,{ OnInit: setarray .mon_list[0],1002,1101; // list of monster ids .mon_size = getarraysize(.mon_list); end; OnNPCKillEvent: for( .@i = 0; .@i < .mon_size; .@i++ ) { if( killedrid == .mon_list[.@i] ) { #CASHPOINTS += 5; Zeny += 5; if( rand(100) < 10 ) getitem 501,1; break; } } end; } I didn't test it
  23. Yes. My test server is also on pre-renewal using the latest GIT.
×
×
  • Create New...