Jump to content

Technoken

Members
  • Posts

    505
  • Joined

  • Days Won

    8

Everything posted by Technoken

  1. What git hash are you using? Anyways try this one - script point_cmd -1,{ OnInit: bindatcmd("eventpt","point_cmd::OnAtcommand",0,99); end; OnAtcommand: .@points = atoi(.@atcmd_parameters$[1]); if( .@atcmd_parameters$[0] == "" || .@points < 1 || .@atcmd_numparameters != 2 ) { message strcharinfo(0),"Please enter correct parameters (usage: @evenpt <character name> <number of event points>)"; message strcharinfo(0),"@evenpt failed."; end; } .@charname$ = .@atcmd_parameters$[0]; .@accid = getcharid(3,.@charname$); .@rewarder$ = strcharinfo(0); if( attachrid(.@accid) ) { #EVENTPOINTS += .@points; dispbottom "You received "+.@points+" event points."; dispbottom "Total Event Points: "+#EVENTPOINTS+""; message .@rewarder$, ""+.@points+" Event Points was rewarded to "+.@charname$+"."; } else { message strcharinfo(0),"No character found."; message strcharinfo(0),"Might be offline or a non-existing character name."; message strcharinfo(0),"@evenpt failed."; } end; }
  2. That's weird. I tried it in my server and it's working fine. Does the name has space character?
  3. Try - script woe_storage -1,{ OnInit: bindatcmd("storage","woe_storage::OnAtcommand",0,99); end; OnAtcommand: if( .@atcmd_numparameters > 0 || !agitcheck() || !agitcheck2() ) unittalk 0, "@storage " +implode(.@atcmd_parameters$, " "); else openstorage; end; }
  4. https://github.com/rathena/rathena/wiki/Custom_Items
  5. You need to include the manner.txt inside your GRF/client data files As for diffing, you need to UNCHECK disable swear filter
  6. Sample of manner.txt which you need to include in your grf file
  7. It has swear filter. Try to use the latest nemo https://github.com/MStr3am/NEMO
  8. Its always my bad habit. I forgot to add $ on strings variable. lol Try this again and let me know if it works - script point_cmd -1,{ OnInit: bindatcmd("eventpt","point_cmd::OnAtcommand",0,99); end; OnAtcommand: .@points = .@atcmd_parameters$[1]; if( .@atcmd_parameters$[0] == "" || .@points < 1 || .@atcmd_numparameters != 2 ) { message strcharinfo(0),"Please enter the exact character name (usage: @evenpt <character name> <number of event points>)"; message strcharinfo(0),"@evenpt failed."; end; } .@charname$ = .@atcmd_parameters$[0]; .@charid = getcharid(0,.@charname$); .@accid = getcharid(3,.@charname$); if( !isloggedin(.@accid,.@charid) ) { message strcharinfo(0),"No character found."; message strcharinfo(0),"Might be offline or a non-existing character name."; message strcharinfo(0),"@evenpt failed."; end; } set #EVENTPOINTS, #EVENTPOINTS + .@points, .@charid; message strcharinfo(0),""+.@points+" Event Points was rewarded to "+.@charname$+""; dispbottom "You received "+.@points+" event points.", 0x63D1F4, .@charid; dispbottom "Total Event Points: "+#EVENTPOINTS+"", 0x63D1F4, .@charid; end; }
  9. Sorry, please change this line bindatcmd("eventpt","commands_limit::OnAtcommand",0,99); to bindatcmd("eventpt","point_cmd::OnAtcommand",0,99);
  10. Try - script mvpdrop -1,{ OnNPCKillEvent: if ( getmonsterinfo( killedrid, MOB_MVPEXP ) ) { if ( getcharid(1) ) { getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; getmapxy(.@mapname$,.@mapx,.@mapy,UNITTYPE_PC); for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( !isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) || // what happens if someone in the party member is offline =/ strcharinfo(3,$@partymembercid[.@i]) != .@mapname$ || // If the party member is not on the same map of the killer checkidle(rid2name($@partymemberaid[.@i])) > 30 ) // If player is idle for 30 seconds continue; getitem 6941, 2, $@partymemberaid[.@i]; getitem 30027, 2, $@partymemberaid[.@i]; } announce "Wow! A party named [ "+ strcharinfo(1) +" ] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" at "+ strcharinfo(3) +"! Awesome work guys!",bc_all,0x6666CC; } else { getitem 30027,2; getitem 6941,2; announce "Amazing! A lone wolf named [ "+ strcharinfo(0) +" ] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" himself at "+ strcharinfo(3) +"! Reckless, but still, good work!",bc_all,0x6666CC; } } end; } Just change the 30 on how many seconds before you can consider the character as AFK
  11. Try - script point_cmd -1,{ OnInit: bindatcmd("eventpt","commands_limit::OnAtcommand",0,99); end; OnAtcommand: if( .@atcmd_parameters$[0] == "" || .@atcmd_parameters$[1] < 1 || .@atcmd_numparameters > 2 ) { message strcharinfo(0),"Please enter the exact character name (usage: @evenpt <character name> <number of event points>)"; message strcharinfo(0),"@evenpt failed."; end; } .@charname = .@atcmd_parameters$[0]; .@points = .@atcmd_parameters[1]; .@charid = getcharid(3,.@charname); if( !isloggedin(.@charid) ) { message strcharinfo(0),"No character found."; message strcharinfo(0),"Might be offline or a non-existing character name."; message strcharinfo(0),"@evenpt failed."; end; } set #EVENTPOINTS, #EVENTPOINTS + .@points, .@charid; message strcharinfo(0),""+.@points+" Event Points was rewarded to "+.@charname+""; end; } Try to change the poring coin in item_db.txt to 7539,Poring_Coin,Poring Coin,0,0,,0,,,,,0xFFFFFFFF,7,2,,,,,,{ set #EVENTPOINTS, #EVENTPOINTS + 5; },{},{} PS: Didn't test it. Please let me know if it works.
  12. at conf/msg_conf/map_msg.conf /̶/̶ ̶@̶m̶o̶b̶i̶n̶f̶o̶ ̶ 1̶2̶3̶9̶:̶ ̶P̶l̶e̶a̶s̶e̶ ̶e̶n̶t̶e̶r̶ ̶a̶ ̶m̶o̶n̶s̶t̶e̶r̶ ̶n̶a̶m̶e̶/̶I̶D̶ ̶(̶u̶s̶a̶g̶e̶:̶ ̶@̶m̶o̶b̶i̶n̶f̶o̶ ̶<̶m̶o̶n̶s̶t̶e̶r̶_̶n̶a̶m̶e̶_̶o̶r̶_̶m̶o̶n̶s̶t̶e̶r̶_̶I̶D̶>̶)̶.̶ 1̶2̶4̶0̶:̶ ̶M̶V̶P̶ ̶M̶o̶n̶s̶t̶e̶r̶:̶ ̶'̶%̶s̶'̶/̶'̶%̶s̶'̶/̶'̶%̶s̶'̶ ̶(̶%̶d̶)̶ 1̶2̶4̶1̶:̶ ̶M̶o̶n̶s̶t̶e̶r̶:̶ ̶'̶%̶s̶'̶/̶'̶%̶s̶'̶/̶'̶%̶s̶'̶ ̶(̶%̶d̶)̶ 1̶2̶4̶2̶:̶ ̶ ̶L̶v̶:̶%̶d̶ ̶ ̶H̶P̶:̶%̶d̶ ̶ ̶B̶a̶s̶e̶ ̶E̶X̶P̶:̶%̶u̶ ̶ ̶J̶o̶b̶ ̶E̶X̶P̶:̶%̶u̶ ̶ ̶H̶I̶T̶:̶%̶d̶ ̶ ̶F̶L̶E̶E̶:̶%̶d̶ ̶ 1̶2̶4̶3̶:̶ ̶ ̶D̶E̶F̶:̶%̶d̶ ̶ ̶M̶D̶E̶F̶:̶%̶d̶ ̶ ̶S̶T̶R̶:̶%̶d̶ ̶ ̶A̶G̶I̶:̶%̶d̶ ̶ ̶V̶I̶T̶:̶%̶d̶ ̶ ̶I̶N̶T̶:̶%̶d̶ ̶ ̶D̶E̶X̶:̶%̶d̶ ̶ ̶L̶U̶K̶:̶%̶d̶ ̶ 1̶2̶4̶4̶:̶ ̶ ̶A̶T̶K̶:̶%̶d̶~̶%̶d̶ ̶ ̶R̶a̶n̶g̶e̶:̶%̶d̶~̶%̶d̶~̶%̶d̶ ̶ ̶S̶i̶z̶e̶:̶%̶s̶ ̶ ̶R̶a̶c̶e̶:̶ ̶%̶s̶ ̶ ̶E̶l̶e̶m̶e̶n̶t̶:̶ ̶%̶s̶ ̶(̶L̶v̶:̶%̶d̶)̶ ̶ 1̶2̶4̶5̶:̶ ̶ ̶D̶r̶o̶p̶s̶:̶ ̶1̶2̶4̶6̶:̶ ̶T̶h̶i̶s̶ ̶m̶o̶n̶s̶t̶e̶r̶ ̶h̶a̶s̶ ̶n̶o̶ ̶d̶r̶o̶p̶s̶.̶ ̶ 1̶2̶4̶7̶:̶ ̶ ̶M̶V̶P̶ ̶B̶o̶n̶u̶s̶ ̶E̶X̶P̶:̶%̶u̶ 1̶2̶4̶8̶:̶ ̶ ̶M̶V̶P̶ ̶I̶t̶e̶m̶s̶:̶ 1̶2̶4̶9̶:̶ ̶T̶h̶i̶s̶ ̶m̶o̶n̶s̶t̶e̶r̶ ̶h̶a̶s̶ ̶n̶o̶ ̶M̶V̶P̶ ̶p̶r̶i̶z̶e̶s̶.̶ EDIT: Sorry I didn't read the topic carefully.
  13. Try - script mvpdrop -1,{ OnNPCKillEvent: if ( getmonsterinfo( killedrid, MOB_MVPEXP ) ) { if ( getcharid(1) ) { getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; getmapxy(.@mapname$,.@mapx,.@mapy,UNITTYPE_PC); for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( !isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) || // what happens if someone in the party member is offline =/ strcharinfo(3,$@partymembercid[.@i]) != .@mapname$ ) // If the party member is not on the same map of the killer continue; getitem 6941, 2, $@partymemberaid[.@i]; getitem 30027, 2, $@partymemberaid[.@i]; } announce "Wow! A party named [ "+ strcharinfo(1) +" ] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" at "+ strcharinfo(3) +"! Awesome work guys!",bc_all,0x6666CC; } else { getitem 30027,2; getitem 6941,2; announce "Amazing! A lone wolf named [ "+ strcharinfo(0) +" ] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" himself at "+ strcharinfo(3) +"! Reckless, but still, good work!",bc_all,0x6666CC; } } end; }
  14. You can just revert the changes to avoid the mapcrash. Then update it when the fix is done
  15. It's related to this issue https://github.com/rathena/rathena/commit/90e3f89df2f353c18efb936a73804709c47faf2d It's either you use the previous revision, revert changes, or wait for it to be fixed. But i'm sure the devs will work with it as soon as possible.
  16. @Cydh I have also watched Accel World, GATE S1 and S2. I'll skim some of it on your list. Thanks for sharing!
  17. I was kinda bored today cos I got a long vacation. I was looking for an RPG like adventure anime to watch and thought that posting here might help me look for a better one. What i've watched so far are these: Sword Art Online S1 and S2 Ragnarok The Animation Log Horizon S1 and S2 Hai to Gensou No Grimgar DanMachi I might have watched others, but I already forgot them. What I really like the most from the list is Sword Art Online Season 1. Anyways, do you guys mind to share what RPG like anime have you watched that makes you excited to watch the next episode/season?
  18. Try - script jfksdhfkjs -1,{ OnNPCKillEvent: if ( !getmonsterinfo( killedrid, MOB_MVPEXP ) ) end; if ( getcharid(1) ) { getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( !isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) // what happens if someone in the party member is offline =/ continue; getitem 607, 3, $@partymemberaid[.@i]; } announce "Party ["+ strcharinfo(1) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" at "+ strcharinfo(3), 0; } else { getitem 607, 3; announce "Player ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" at "+ strcharinfo(3), 0; } end; }
  19. Sorry, I was talking about the folder name of the theme. Check your cp/config/application.php and look for 'ThemeName'. If you're using 'default', the folder name of your addon theme should be 'default' too. ( path: cp/addons/voteforpoints/themes/<theme folder name>/ )
  20. What theme are you using in your CP? Does your addon use the same theme?
  21. Are you using any source mods? You can report this kind of issue here(https://github.com/rathena/rathena/issues) so it will be fixed accordingly.
  22. Do you mean the player will perform '@reset' when it warp on prt_maze03? try - script resetonprtmaze -1,{ OnPCLoadMapEvent: if(strcharinfo(3) == "prt_maze03") atcommand "@reset"; end; } prt_maze03 mapflag loadevent
  23. How about your item_db.txt? Did you put the correct file name in idnum2resnametable? Try to read the guide here https://github.com/rathena/rathena/wiki/Custom_Items
  24. Please avoid double posting. Can you state what you did to add your custom items?
×
×
  • Create New...