Jump to content

Skorm

Forum Moderator
  • Posts

    1268
  • Joined

  • Last visited

  • Days Won

    33

Skorm last won the day on March 19

Skorm had the most liked content!

About Skorm

  • Birthday 06/01/1991

Profile Information

  • Gender
    Male
  • Location
    Ɵ Chosen Hopeless Nothing
  • Server
    rAthena
  • Github: Skormie
  • Discord: Skorm#0649
  • Interests
    Scripting, C++, and Game Development.

Contact Methods

Recent Profile Visitors

17033 profile views

Skorm's Achievements

  1. I'm just now seeing this and don't have the time to test things out, but I've had problems warping players with similar BG scripts. I can't exactly remember what the problem was because its been years, but you should try collecting all of the players cids/aids for each team and then warping them individually instead of mapwarp/partywarp.
  2. Oh I love this! Fantastic script idea.
  3. - script loginnnnnn -1,{ OnPCLoginEvent: announce strcharinfo(0) + " Logged in.",bc_all; end; } -<tab>script<tab>loginnnnnn<tab>-1,{
  4. I love the concept also the site is very responsive and minimal, but includes all of the data and shortcuts to it you might expect. Keep up the good work.
  5. Skorm

    MVP points

    Search for "MVP ladder" you will find plenty of scripts that do just this.
  6. If you're looking for something clientside there are various launchers with some serverside communication. For example rgzlauncher. You'd need to send a custom packet/message to the launcher which exists at the same time as the client and then run the application from that launcher. You could also just create your own launcher which does something similar.
  7. I'm pretty sure detecting if a player produced an item requires a source mod probably with an event similar to the OnPC events.
  8. The points are just a custom temporary character variable. rathena/doc/script_commands.txt at master · rathena/rathena · GitHub I think it might be more appropriate to use a permanent character variable for that instead. This is how you can define a shop that uses the custom points. rathena/doc/script_commands.txt at master · rathena/rathena · GitHub Here it describes how the different shop points are used. rathena/doc/script_commands.txt at master · rathena/rathena · GitHub @Racaae's answer shows pretty clearly how you can do something from an item. "Task" is very vague. What do you want the player to do specifically?
  9. @Tero Great stuff. I love your enthusiasm for modding and learning. Wish we all still had it. Keep it up.
  10. 四千九百六十八
  11. @xilence01 Updated! You should @ me next time.
  12. Ehh this is what I got when I asked awhile ago. In other word garbage because of the email filter. - script Item Exchange -1,{ // Item IDs and exchange rates setarray .itemList,501,502,503,504; setarray .exchangeRates,10,20,30,40; // Reward IDs and amounts setarray .rewardList,1001,1002,1003,1004; setarray .rewardAmounts,1,2,3,4; mes "Hello there! I am the Item Exchange NPC."; mes "I can exchange certain items for rewards."; next; mes "Here is the list of items that I accept:"; for (set [email protected],0; [email protected] < getarraysize(.itemList); set [email protected],[email protected]+1) { mes "- " + getitemname(.itemList[[email protected]]) + " x " + .exchangeRates[[email protected]]; } next; mes "What would you like to exchange today?"; [email protected] = select("Exchange an item for a reward","I'll come back later"); if ([email protected] == 2) { close; } mes "Great! Please select the item that you would like to exchange."; [email protected] = menu("Please select the item:", getitemname(.itemList)); if ([email protected] == 0) { mes "You don't have any of the required items."; close; } [email protected] -= 1; mes "You have selected " + getitemname(.itemList[[email protected]]) + "."; mes "How many of these items would you like to exchange?"; [email protected] = input("Please enter the quantity:"); if ([email protected] <= 0) { mes "You must enter a valid quantity."; close; } if ([email protected] > getitemcount(.itemList[[email protected-1]])) { mes "You don't have enough of the selected item."; close; } mes "You have selected to exchange " + [email protected] + " " + getitemname(.itemList[[email protected-1]]) + "."; mes "Here is the list of rewards that you can choose from:"; for (set [email protected],0; [email protected] < getarraysize(.rewardList); set [email protected],[email protected]+1) { mes "- " + getitemname(.rewardList[[email protected]]) + " x " + .rewardAmounts[[email protected]]; } next; mes "Which reward would you like to receive?"; [email protected] = menu("Please select your reward:", getitemname(.rewardList)); if ([email protected] == 0) { mes "You must select a valid reward."; close; } [email protected] -= 1; mes "You have selected " + getitemname(.rewardList[[email protected]]) + "."; mes "Here is your reward:"; getitem .rewardList[[email protected]], .rewardAmounts[[email protected]]; delitem .itemList[[email protected]], .exchangeRates[[email protected]] * [email protected]; close; }
  13. @Enoch It's just easier to make two separate npcs and just disable the one for that player after they've completed the quest. But you might be able to use these two commands I'm pretty sure they work on npcs. rathena/script_commands.txt at master · rathena/rathena · GitHub rathena/script_commands.txt at master · rathena/rathena · GitHub Then you could get the npcs position and branch on that. ---- If you wanted to go about disabling the npc for just that player you could try... rathena/script_commands.txt at master · rathena/rathena · GitHub With like a proximity trigger and then just add a condition within the npc to ignore clicks from people that have completed that part of the quest.
  14. I forgot to escape the quotations. Edit: Also as it might not be clear, the first line of what I posted goes within the item_db while the remaining portion of the content is a separate NPC that should be loaded as such. Also, I recommend having @SM_BASH_BONUS = 0; within the equip and unequip script calls and not the main script call as that gets triggered irregularly.
×
×
  • Create New...