Jump to content

Patskie

Forum Moderator
  • Content Count

    1,681
  • Avg. Content Per Day

    1
  • Joined

  • Last visited

  • Days Won

    11

Patskie last won the day on August 31

Patskie had the most liked content!

Community Reputation

213 Excellent

About Patskie

  • Rank
    superpatskie
  • Birthday 09/22/1993

Profile Information

  • Gender
    Male
  • Location
    Philippines

Contact Methods

  • Discord
    superpatskie#0110

Recent Profile Visitors

108,492 profile views
  1. Patskie

    restock script

    https://rathena.org/board/topic/117466-utility-restock-everywhere-from-your-storage/
  2. Because you are caching the random indexed value in a variable and used them in all getitembound2 command. Remove set .Rand1, rand( getarraysize(.Ref) ); set .Rand2, rand( getarraysize(.Orb) ); And change getitembound2 .Armors[.RandA], 1, 1, .Ref[.Rand1], 0, 0, 0, 0, .Orb[.Rand2], 1; getitembound2 .Shields[.RandB], 1, 1, .Ref[.Rand1], 0, 0, 0, 0, .Orb[.Rand2], 1; getitembound2 .Garments[.RandC], 1, 1, .Ref[.Rand1], 0, 0, 0, 0, .Orb[.Rand2], 1; getitembound2 .Shoes[.RandD], 1, 1, .Ref[.Rand1], 0, 0, 0, 0, .Orb[.Rand2], 1; to getitembound2 .Armors[.RandA], 1, 1, .Ref[rand( getarraysize(.Ref) )], 0, 0, 0, 0, .Orb[rand( getarraysize(.Orb) )], 1; getitembound2 .Shields[.RandB], 1, 1, .Ref[rand( getarraysize(.Ref) )], 0, 0, 0, 0, .Orb[rand( getarraysize(.Orb) )], 1; getitembound2 .Garments[.RandC], 1, 1, .Ref[rand( getarraysize(.Ref) )], 0, 0, 0, 0, .Orb[rand( getarraysize(.Orb) )], 1; getitembound2 .Shoes[.RandD], 1, 1, .Ref[rand( getarraysize(.Ref) )], 0, 0, 0, 0, .Orb[rand( getarraysize(.Orb) )], 1;
  3. *monster "<map name>",<x>,<y>,"<name to show>",<mob id>,<amount>{,"<event label>",<size>,<ai>}; monster "prontera",150,150,"Big MvP",1832,1,strnpcinfo(3)+"::OnKill",Size_Large;
  4. Whenever you delete the item of a player from SQL, the character must be offline else it will not reflect properly.
  5. Well I have tried that script and didn't face any issue with regards to the WAV sounds. You can post your script and let others help you out.
  6. If you wouldn't try, you will never know
  7. Marami ng changes after battlegrounds ni Easycore. I doubt if someone can give the upgrade for free. Alternatively pwede mo irevert yung rAthena version mo to a previous one and then apply the Easycore diff, again and again do it at your own risk. https://github.com/rathena/rathena/tree/de9f667d2f6e3272e6eca27fd2074142f379531d
  8. You have to add up something like this OnPCKillEvent: [email protected] = getcharid(3); if (killedrid == [email protected]) end; attachrid killedrid; [email protected] = Class; attachrid [email protected]; [email protected] = inarray(class_arr, [email protected]); if ([email protected] == -1) { [email protected] = getarraysize(class_arr); class_arr[[email protected]] = [email protected]; count_arr[[email protected]] = 1; } else cleararray count_arr[[email protected]], count_arr[[email protected]] + 1, 1; end; and then you can create npc to fetch all the details like below [email protected] = getarraysize(class_arr); if ([email protected]) mes "No data"; else { mes "Your kills per class"; for ([email protected] = 0; [email protected] < [email protected]; [email protected]++) mes "> Job:" + jobname(class_arr[[email protected]]) + " | Kill Count:" + count_arr[[email protected]]; } close;
  9. query_sql ("INSERT INTO `redeembetalog` (`code`, `item_amount`,`name`, `time`) VALUES ('"+escape_sql(@voucher_code$)+"', '"[email protected]+"', '"+strcharinfo(0)+"', NOW())"); Store your data like above. Then whenever you pull the data, format them first before showing to the npc.
  10. "$" - A global permanent variable. They are stored by map-server in database table `mapreg`.
  11. Sa server main grf mo makikita yan msgstringtable.txt
  12. Warps is nasa npc folder yan, you can use below command to reload the warps @reloadnpcfile <path> Unloads and loads an NPC. Same as @unloadnpcfile and @loadnpc but ran as one command. Example: @reloadnpcfile npc/custom/jobmaster.txt
  13. We're not so genius to guess how your other script is doing. Maybe you could post both scripts which you think conflicts each other so other people could help you solve your issues.
×
×
  • Create New...

Important Information

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