Jump to content

Flaid

Members
  • Posts

    398
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Flaid

  1. Flaid

    Automated Events

    All you have to do is add OnMinute30: for example. So the event will run on every full 30 minutes.
  2. I explained it -HERE- and did it already there...
  3. You probably accidentally removed a comma or a colon and that's why you're getting the error. Check again, else try to use a fresh version of the exp.txt and edit it carefully.
  4. I am not sure if this works but try it prontera.gat,xxx,xxx,4 script Trader 666,{ set $@npcname_mpq$, "^4000C0[Trader]^000000"; mes $@npcname_mpq$; mes "Would you want to trade some of your items to boxes?"; next; menu "Yggdrasil Berry",L_Berry,"Yggdrasil Seed",L_Seed,"Box of Thunder",L_BOT,"Cancel",L_Exit; L_Berry: mes $@npcname_mpq$; mes "This is what I need to make you a Yggdrasil Berry Box!"; next; mes "100x - Yggdrasil Berry"; next; mes $@npcname_mpq$; mes "So, you want it or not?"; next; mes $@npcname_mpq$; menu "Sure!",-,"No, thanks.",Lnotenuff; mes $@npcname_mpq$; mes "How many boxes do you want?"; input @berry; if(countitem(607) < (100*@berry)) goto LNotEnough; delitem 607,(100*@berry); mes "You really have that many Berrys? Okay, let's trade!"; getitem YGGBERRYBOXIDHEREIDKTHEID,(1*@berry); mes ". . ."; mes "Thank you sweety. Dont ygg too much!"; close; L_Seed: mes $@npcname_mpq$; mes "This is what I need to make you a Yggdrasil Seed Box!"; next; mes "100x - Yggdrasil Seed"; next; mes $@npcname_mpq$; mes "So, you want it or not?"; next; mes $@npcname_mpq$; menu "Sure!",-,"No, thanks!",Lnotenuff; mes $@npcname_mpq$; mes "How many boxes do you want?"; input @seed; if(countitem(608) < (100*@seed)) goto LNotEnough; delitem 608,(100*@seed); mes "You really have that many Seeds? Okay, let's trade!"; getitem YGGSEEDBOXIDHEREIDKTHEID,(1*@seed); mes ". . ."; mes "Thank you sweety. Dont ygg too much!"; close; L_BOT: mes $@npcname_mpq$; mes "This is what I need to make you a Box of Thunder box!"; next; mes "100x - Box of Thunder"; next; mes $@npcname_mpq$; mes "So, you want it or not?"; next; mes $@npcname_mpq$; menu "Sure!",-,"No, thanks!",Lnotenuff; mes $@npcname_mpq$; mes "How many boxes do you want?"; input @bot; if(countitem(12028) < (100*@bot)) goto LNotEnough; delitem 12028,(100*@bot); mes "You really have that many Boxes of Thunder? Okay, let's trade!"; getitem BOXOFTHUNDERIDGOESHERE,(1*@bot); mes ". . ."; mes "Thank you sweety. Dont abuse it too much!"; close; LNotEnough: mes "You dont have the required items...?"; mes "Come back when you are actually ready. Now gtfo!"; close; Lnotenuff: mes "Wtf, come back when you got the goods!"; close; L_Exit: close; }
  5. Fixed it, sorry. Jam, you didn't edit the box id you get by the way.
  6. Here you are... You'll need to set the IDs for the boxes and the cordinates yourself. prontera.gat,xxx,xxx,4 script Trader 666,{ set $@npcname_mpq$, "^4000C0[Trader]^000000"; mes $@npcname_mpq$; mes "Would you want to trade some of your items to boxes?"; next; menu "Yggdrasil Berry",L_Berry,"Yggdrasil Seed",L_Seed,"Box of Thunder",L_BOT,"Cancel",L_Exit; L_Berry: mes $@npcname_mpq$; mes "This is what I need to make you a Yggdrasil Berry Box!"; next; mes "100x - Yggdrasil Berry"; next; mes $@npcname_mpq$; mes "So, you want it or not?"; next; mes $@npcname_mpq$; menu "Sure!",-,"No, thanks.",Lnotenuff; mes $@npcname_mpq$; if(countitem(607) < 100) goto LNotEnough; delitem 607,100; mes "You really have 100 Berrys? Okay, let's trade!"; getitem YGGBERRYBOXIDHEREIDKTHEID,1; mes ". . ."; mes "Thank you sweety. Dont ygg too much!"; close; L_Seed: mes $@npcname_mpq$; mes "This is what I need to make you a Yggdrasil Seed Box!"; next; mes "100x - Yggdrasil Seed"; next; mes $@npcname_mpq$; mes "So, you want it or not?"; next; mes $@npcname_mpq$; menu "Sure!",-,"No, thanks!",Lnotenuff; mes $@npcname_mpq$; if(countitem(608) < 100) goto LNotEnough; delitem 608,100; mes "You really have 100 Seeds? Okay, let's trade!"; getitem YGGSEEDBOXIDHEREIDKTHEID,1; mes ". . ."; mes "Thank you sweety. Dont ygg too much!"; close; L_BOT: mes $@npcname_mpq$; mes "This is what I need to make you a Box of Thunder box!"; next; mes "100x - Box of Thunder"; next; mes $@npcname_mpq$; mes "So, you want it or not?"; next; mes $@npcname_mpq$; menu "Sure!",-,"No, thanks!",Lnotenuff; mes $@npcname_mpq$; if(countitem(12028) < 100) goto LNotEnough; delitem 12028,100; mes "You really have 100 Boxes of Thunder? Okay, let's trade!"; getitem BOXOFTHUNDERIDGOESHERE,1; mes ". . ."; mes "Thank you sweety. Dont abuse it too much!"; close; LNotEnough: mes "You dont have the required items...?"; mes "Come back when you are actually ready. Now gtfo!"; close; Lnotenuff: mes "Wtf, come back when you got the goods!"; close; L_Exit: close; }
  7. You just have to change the cordinates of the character if using SQL is possible.
  8. I was admin on a bigger server and did everything with functions, never experienced any lag.
  9. The skills work fine with normal classes, your only problem are custom classes?
  10. Did you change groups.conf to your needs and set your GM level?
  11. Wrong section. Upload the orginal sprites to mediafire and PM me the link and the color you want them, I'll recolor them for you.
  12. Here you go. { if(Hp < (MaxHP / 100 * 5)){ bonus3 bAutoSpellWhenHit,"PR_KYRIE",1,25; }},{},{}
  13. Item script: 7539,Poring_Coin,Poring Coin,0,0,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "poringcoin"; },{},{} Function function script poringcoin { atcommand "@cash " + 2; dispbottom "You just got 2 cash points!"; } That should work.
  14. You could also make a function for that, I personally prefer functions for this because it looks cleaner. Here's an example. Item script: { callfunc "yourfunctionname"; },{},{} And here is an example for your function: function script yourfunctionname{ bonus bAllStats,10; //This is the item bonus without any other part equiped if(isequipped(itemid1) || isequipped(itemid2)) { //You can of course remove the second isequipped if you want. bonus bAllStats,10; //This is the item bonus with one of the above parts equiped. To change it to both replace the || with &&. }
  15. This won't require a database edit but a lua edit. Alternatively you can also change to the pre-renewal skill window.
  16. You would have to change the time on your VPS/Dedicated Server. Contact your hosting company to find out how to do that.
  17. Cart is char bounded means if you delete the char you'll loose the items in cart. It's the same with an alchemist for example, you put items into his cart and delete him, make a new alchemist on the very same spot but the items are gone anyways.
  18. When do you get the error? After equiping it? When clicking the icon? Does it even have the correct icon?
  19. Here's a jobmaster without third classes. http://pastebin.com/jQxS3uC5
  20. It's skill_tree.txt not skill_db. http://pastebin.com/NQqnKeFU
  21. Flaid

    Restock

    What exactly is a restock script?
  22. Did you change where to put the cards?
  23. Also, make sure you edited the correct exp.txt. There's 2, renewal and pre renewal.
×
×
  • Create New...