Jump to content

Syreldar

Premium
  • Posts

    1297
  • Joined

  • Last visited

  • Days Won

    38
  • Feedback

    100%

Everything posted by Syreldar

  1. Thank guys, it works, i forgot to put pc.get_guild() inside guild.get_name().
  2. Hello everyone, I've got problems with string.format, it don't work, and i can't explain why. an example: Quest: [Hidden Content] Fail screen: [Hidden Content] Why?
  3. Look closely, it's in my code, anyway vanilla, you forgot this part.
  4. You encounter this error because you don't use CTOA, so, the client will not be able to convert integer numbers to C long, goint into an error. Solution: Add this to system.py: def StringColorToInt(colorstring): import grp colorstring = colorstring.strip() if len(colorstring) != 8: raise ValueError, "input #%s is not in #AARRGGBB format" % colorstring a, r, g, b = colorstring[:2], colorstring[2:4], colorstring[4:6],colorstring[6:8] a, r, g, b = [int(n, 16) for n in (a, r, g, ] return grp.GenerateColor(float® / 255.0, float(g) / 255.0, float( / 255.0, float(a) / 255.0) __builtin__.CTOA = StringColorToInt Search for 0xff codes in the client root/locale/uiscript and change them like this: 0xffFFB96D = CTOA("ffFFB96D")
  5. I've the same bug, and the skill-proto is like shogun said, why it persists?
  6. i've got some problem with those functions: MIN_ADDON_DSS: int Sets the minimum normal hit bonus dmg you can have. MAX_ADDON_DSS: int Sets the maximum normal hit bonus dmg you can have. They're not int, they're smallint, the maximum is 32767, as the shell says. Metin2's official damages can go up to > 200k, i suggest you to put "int" instead of "smallint". if i put in CONFIG MIN_ADDON_FKS: 1 MAX_ADDON_FKS: 20000 MIN_ADDON_DSS: 1 MAX_ADDON_DSS: 20000 The shell returns : MIN_ADDON_FKS: 1 MAX_ADDON_FKS: 20000 MIN_ADDON_DSS: 20000 Strange, huh?
  7. If there isn't a function to set the success percentage of stones i suggest you to do it. Or maybe to enable setting it at 100% directly, so: stone_success_pct: unsigned int (set the success percentage of inserting a stone [0-100%]) stones_always_add: 1/0 (100% success pct of inserting a stone if enabled) i also suggest this: minerals_success_pct: unsigned int (set the success percentage of inserting a mineral [0-100%]) minerals_always_add: 1/0 (100% success pct of inserting a mineral if enabled)
  8. i can't run it, it gives me problems with lib folder, and i don't have time to check all files. And it has [ ] in name and level, don't like it. anyway, thanks for the explanation.
  9. I said it's blank. I would have been able to correct if it wasn't blank, no?
  10. Open images in order: 1st [Hidden Content] 2nd [Hidden Content] 3rd [Hidden Content]
  11. I think u don't understand what i'm saying. i login and create a new char. the pg's text is shown at the beginning. I change char and the text is not shown anymore If i return in the initial char isn't shown as well. same with empires.
  12. Problem img: When i try to select an empire or char after login the text is shown, but if i change empire/char the text is blank, why? Thanks
  13. Á , not à :/ alt + 0193 and do_dice is not a command , it's the function of that command.
  14. /Á -2147483648 2147483647, same do_dice function as /dice.
  15. The query hasn't refine_set 530. 11299 Èæ½Åö°©+9 ITEM_ARMOR ARMOR_BODY 2 ANTI_ASSASSIN | ANTI_SURA | ANTI_MUDANG | ANTI_SELL ITEM_TUNABLE WEAR_BODY NONE 120000 0 12010 530 15 LEVEL 70 LIMIT_NONE 0 APPLY_MOV_SPEED -6 APPLY_RESIST_MAGIC 20 APPLY_NONE 0 0 90 0 12 0 27 100 3 0
  16. The quest i posted isn't actually equal 100% to yours, it's more intuitive and looking-good to users, thanks to some functions i've used, like item_name and say_item_vnum. I suggest you to use it, p.s: i'm sorry for italian language, but i needed that and i've got the idea not to only improve it but to even translate it. :asd:
  17. This quest was written many years ago, just saying... also a part of it is from the original written by Ymir. which errors do you mean? I've improved it to the best of my possibilities. If you want a quest ~200 lines smaller and more professional.. [Hidden Content]
  18. Although this quest seems written by a duckbill. I can make it < 200 lines and more clear. Although the mob_get_level function is....just crazy and.. i can't find an adept to define it. There are some errors that.. i just can't even explain how can this work to you.
  19. return; pc.change_gold(-NEED_MONEY); monarch_election.candidacy(); This isn't C Language Shogun, keep attention to " ; " !.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.