Jump to content

bWolfie

Members
  • Content Count

    850
  • Joined

  • Last visited

  • Days Won

    34

Everything posted by bWolfie

  1. bWolfie

    Slotted Items

    If you scope around the forums, I remember seeing an entry generator for itemInfo.lub. Can't remember where.
  2. I just use the older Browedit. Far less bugs.
  3. One of the best releases in RO fullstop. With more and more being added to the game, 2gb downloads were getting ridiculous. Too damn good.
  4. bWolfie

    KoE Bug

    As the error says, you have hooking disabled. plugins.conf uncomment HPMHooking
  5. bWolfie

    Slotted Items

    Yes in item_db.conf have 'Slots: 4' or whatever you want it. Then itemInfo.lub put 'slotCount = 4' or whatever it is.
  6. I guess the easiest way would be to set a variable when the quest is complete. And then just use if and else. Probably more efficient ways to do it, but this is an easy way I've found. // Put this where the quest completes or wherever you want it quest_complete$ = 1; // When you are trying to stop them from warping, something like this if (quest_complete$ == 1) { mes "This is where you can continue the npc talking."; } else { mes "You are not authorized to enter this map!"; close; }
  7. You have to close your script. Forgot your curly at the end of these. Also you have do OnCountFunds: and OnPayFunds: for each shop. Each shop is a new script (enclosed by { }). So you have to do this five times, changing few things around in each. That part has to be apart of below. Goes inside that script, after OnInit: section. - script HeadgearPods FAKE_NPC,{ OnInit: tradertype(NST_CUSTOM); sellitem 501,1,1; // Sells 1 Red Potion for 1 Currency (Pods) end; }
  8. kRO is not gonna make it configurable unless they plan to have a lot of races (>10 maybe)Thats true too And that won't happe for more 10 years xD you're giving them too much credit
  9. I'll give this a go. Quick scratch together, hope it helps. prontera,150,150,3 script Pods Exchanger 4_F_NPC,{ .@name$ = Pods Exchanger; mes .@name$; mes "I can exchange pods for stuff."; next; .@menu = select("Headgear:Armor:Shield:Shoes:Weapons"); switch(.@menu) { case 1: mes .@name$; mes "Headgears cost pods and something something"; openshop("HeadgearPods"); close; break; // do the same for case 1 to below case 2: openshop("ArmorPods"); close; break; case 3: openshop("ShieldPods"); close; break; case 4: openshop("ShoesPods"); close; break; case 5: openshop("WeaponsPods"); close; break; } } // Enter your headgears here // Repeat script for ArmorPods, ShoesPods, etc. - script HeadgearPods FAKE_NPC,{ OnInit: tradertype(NST_CUSTOM); sellitem 501,1,1; // Sells 1 Red Potion for 1 Currency (Pods) end; // Sets Pods as the store currency OnCountFunds: setcurrency(countitem(PODS ID HERE)); end; // I don't know about this I just copied it from the trader sample. // The 's'/'have'/'has' is about getting the correct grammar/plural OnPayFunds: dispbottom ""+price+" Pod" + (@price == 1?"":"s") + " " + (@price == 1?"has":"have") + " been deducted from your inventory."; // put @ before '+price+' so it is '+@price+' if( countitem(pods) < @points || countitem(PODS ID HERE) < price-points) // put @ before each one, forum is censoring them end; delitem PODS ID HERE,@points; delitem PODS ID HERE,@price-@points; purchaseok(); end; }
  10. You can use the OnTouch: label. I don't know about movements, but you could use this for when a player touches it. I don't know if this even works, I randomly thought it up. Hopefully somebody more knowledgeable can help you. prontera,150,150,3 script Angeling#prontera 4_F_NPC,{ OnTouch: sc_start SC_INC_AGI,600000,10; // Level 10 Increase Agility for 10 minutes. npctalk "Increase Agility !!","Angeling#prontera"; end; }
  11. The wiki...you really have to read between the lines. It sends you in the general direction, but really is quite difficult to decipher, especially as a newbie. Plus. most of the stuff that exists on the wiki isn't on the main page. I found myself googling 'herc.ws <thing i needed>' being more helpful than actually searching the forums and wiki. Back on topic: great job guys. Excellent.
  12. You should paste to a site like pastebin or put it in a 'code' box. Easier to read that way.
  13. bWolfie

    Rentalitems

    In your item_db, you can set trade options such as: Just chuck it above your script and you should be good to go. Trade: { nodrop: true notrade: true nocart: true nostorage: true nogstorage: true nomail: true noauction: true }
  14. You need to edit it into conf/groups.conf, alias/alt commands (if any) in conf/atcommand.conf. And I think upon failure help message is conf/help.txt.
  15. Hi, I am struggling to get my script to force an emotion from an NPC from another script. Bit of info: - Both NPCs are on the same map. - Player cannot see both NPCs at the same time on their screen (too far apart). - NPC 1 (who you are talking to) warps you in front of NPC 2, who talks a bit then responds with emotions. What is wrong with this? Thank you in advance for any help. prontera,100,100,5 script NPC1 53,{ mes "[NPC1]"; mes "I am now warping you to NPC2"; next; warp "prontera",150,150,0; mes "[NPC1]; mes "This is NPC2. Say hello to the player, NPC2."; set .@emote, e_paper; next; donpcevent "NPC2::OnEmote"; //Conversation 'mes' continues from here //At the bottom of NPC1's script (but still inside it) OnEmote: emotion .@emote; end; }
  16. I think the plugin is a patch, you still have to use the script.
  17. 2014-02-05b Most recent stable release and it supports this
  18. I don't understand what's going on, but Hercules emulator is my favorite so more power to ya!
  19. Thanks a bunch guys. This is exactly what I was looking for. https://rathena.org/board/files/file/2701-553251-old-dyes-palettes-working-all-classes/
  20. C'mon man, use the boxes or pastebin.
  21. Try using this effect. Not sure if it's the right one, I don't know which effect speed potion uses. skilleffect EF_HASTEUP,0; If that's not it, you'll have to search through the 1k effects for the one you're looking for. Sorry I can't be of help. https://github.com/HerculesWS/Hercules/blob/master/doc/constants.md
  22. Have you tried using SC_MOVHASTE_POTION
  23. Do you mean you are trying to make an item with that same effect, but it's on a different ID/possibly name? What is the item info in item_db.conf?
×
×
  • Create New...

Important Information

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