Jump to content

Cretino

Members
  • Posts

    50
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Cretino

  1. O problema está nessa parte do código, ele está verificando uma variável que não está declarada no script, variável '.lv'. Você só precisa fazer isto: De: Para: Espero que tenha entendido o problema e tenha te ajudado. ?
  2. The problem is '.round' variable, your script don't reset the value when executes the first time. Try this one I changed: I not tested, but I think will work. Good luck. ?
  3. You can see here: https://github.com/rathena/rathena/blob/master/src/map/status.cpp#L3888
  4. Have 2 problems in your function. First: Second:
  5. To put a announce is simple, you just need this script command: announce "<text>",<flag>{,<fontColor>{,<fontType>{,<fontSize>{,<fontAlign>{,<fontY>}}}}}; Just add the 'announce' after the 'getitem': Now, about show a countdown timer... You'll need to remake the script, changing 'addtimer' to other function. I suggest you look at 'doc/script_commands.txt' file or look for one script with hourly reward to get a example. Good luck.
  6. if (@bought_nameid[@n] == .ItList[@a]) { set @PriceT, .ItList[@a + 1] * @bought_quantity[@n]; if (#fidelidade < @PriceT) { end; } else { set #fidelidade, #fidelidade - @PriceT; getitem @bought_nameid[@n], @bought_quantity[@n]; } }
  7. Here is the problem: The script are checking if player have '#fidelidade' or 'Zeny' and if have one of them, will give the item. So you need to change only to check '#fidelidade' points or '#fidelidade' points and 'Zeny'. Like this:
  8. Yes, I saw the problem, I was using one variable not declared. ('@char[0]', '@char[1]' instead of '.@char[0]', '.@char[1]') You guys need change this: To: And this: To: Thanks to notify me.
  9. I think is it you want: new_item_enchanter_v1.1.txt You can go to line '364' to configure it and see more for changes.
  10. You want to put delay after enchant and add npc usage limit? If you want enchant delay, you want for account or character or global? After NPC reaches 100 usages, players can remove enchantments or disable completely the npc?
  11. I think is it you want: new_item_enchanter_v1.0.txt I've tested and is working well... You can go to line '347' to configure it. Sorry for my English. ?
  12. Hey guys, try this: Change this part: To: I've not tested, but probably will work.
  13. Actually, I'm riding a "Hardcore Mode" system. It's working, I plan to post later. It even manages to identify the uses of commands to kill players and avoids the same. Thus, the player can only be killed by another player or monsters and delete it if you added the option. I'm still doing some modifications. Putting "advantages" to play in the "HardCore Mode". PS: I'm using google translator.
  14. I will still try, but congratulations. Certainly was a very difficult job. You deserve all the thanks.
  15. I found very interesting, because now I will not worry about translation of scripts, I get the official written and replace. @Yommy, +1 You won by his great project.
×
×
  • Create New...