Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/27/17 in all areas

  1. Was hat rathena denn mit C# zu tun? Ich würde schon in erster Linie git updates/merges empfehlen. Das geht meist schneller und man kann nur schwer etwas übersehen. Die Konflikte sind letztendlich genau dafür da, dass der Entwickler sich die stellen nochmal genauer ansieht. Ich würde git allgemein als DAS wichtigste Tools bezeichnen, wenn es um Entwicklungen (im Team oder von Forks) geht. Vor allem, wenn man seine Änderungen mit anderen mergen möchte. Das Git Handbuch ist da sehr ausführlich. Lesen lohnt: https://git-scm.com/book/en/v2 Für Syntax Highlighting kann ich für rathena Scripts schlichtweg das C Highlighting empfehlen. Das ist in den meisten Editoren von Haus aus mit dabei und es ist besser als nichts.
    1 point
  2. OnInit: waitingroom "Warper",0; end; } Add this to the waiting room :))
    1 point
  3. at the first script getitem .itemrew,itemrewq; it's .itemrewq not itemrewq prontera,164,219,4 script Collector 116,{ if (getgmlevel()>60) goto admin; if (.help == 1) goto reward; mes "Welcome "+strcharinfo(0)+","; mes "I'm Collector rune midgard item"; switch(select("What item do you collect:Ok, nice to meet you")) { case 1: next; if (.itemcoll == 0) { mes "Sorry, I'm not collecting item for now."; end;} mes "please collect "+getitemname(.itemcoll)+" for "+.itemquan +" pcs."; mes "and i will reward you "+getitemname(.itemrew)+" for "+.itemrewq +" pcs."; set .help,1; end; case 2: next; mes "Okay, see you later."; end; } reward: set .amounts, countitem(.itemcoll); if ( .amounts <= .itemquan) {mes "the quantity item not enough.";} mes "Thanks for your help"; mes "here my reward for you."; delitem .itemcoll,.itemquan; getitem .itemrew,.itemrewq; set help,0; end; admin: mes "Welcome "+strcharinfo(0)+","; mes "Please input what item for player to collect."; next; input .itemcoll; //set .itemcoll,.itemcoll; next; mes "Please input how many item to collect."; next; input .itemquan; //set .itemquan,.itemquan; next; mes "Please input what the reward item."; input .itemrew; //set .itemrew,.itemrew; next; mes "Please input how many item reward."; input .itemrewq; //set .itemrewq,.itemrewq; next; mes "Are you done?"; switch(select("Yes:No.")) { case 1: mes "Item to collect "+getitemname(.itemcoll)+" for "+.itemquan +" pcs."; mes "Item reward "+getitemname(.itemrew)+" for "+.itemrewq +" pcs."; end; case 2: mes "Okay, to re entry, please start form the begining."; end; } end; OnInit: set .itemrew,0; set .itemrewq,0; set .itemcoll,0; set .itemquan,0; end; }
    1 point
  4. npc/other/card_trader.txt you can try this.
    1 point
  5. Put the one that I sent in db/import
    1 point
  6. You can also use auto delete non-existing items from trunk/conf/battle/items.conf // On map change it will check for items not tagged as "available" and // auto-delete them from inventory/cart/storage. // NOTE: An item is not available if it was not loaded from the item_db or // specified as unavailable in db/item_avail.txt // 0x1: Inventory // 0x2: Cart // 0x4: Storage item_check: 0x0 Change the item_check: 0x0 to item_check: 0x7
    1 point
  7. 1 point
  8. Hi dear community! So, I found this map recently while I was going through my previous laptops' HDD and thought I should put it here for display since it's Easter/spring themed and it'll soon be that season again. This map has originally been created/requested in 2015. You might think 'why is this seeding field here?', 'what's that big bunny doing there?' etc - All of it is part of the requested design so if you're confused by the concept, worry not because it's more or less understandable. As of 2024, the map can now be purchased through my Payhip Dashboard. Thank you for watching. Like always, any feedback/criticism is very welcome. ♥ - Najara
    1 point
×
×
  • Create New...