Jump to content

jKing

Member
  • Posts

    29
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by jKing

  1. Try to change also resist_poison column in mob_proto - set it to 100
  2. So as I said above, make shure you put your immune flags in correct order
  3. Show your game.py file. This error typically occurs when you try to get element in square bracket from variable that contains None value, for example: my_list = None print(my_list[0]) # Raises 'NoneType' object has no attribute '__getitem__' error
  4. I don't really understand your question. If you want to change the skill point from GM command, just type: /setsk SKILL_ID SKILL_POINT For example if you want to make Aura of Sword to P level just type: /setsk 4 40 or other skill point you want
  5. Check bool CHARACTER::IsImmune(DWORD dwImmuneFlag) in char_resist.cpp Also make shure to put immune_flags in correct order in setImmuneFlag in mob_proto. For example if you have enum: IMMUNE_STUN = (1 << 0), IMMUNE_SLOW = (1 << 1), IMMUNE_FALL = (1 << 2), IMMUNE_CURSE = (1 << 3), IMMUNE_POISON = (1 << 4), IMMUNE_TERROR = (1 << 5), IMMUNE_REFLECT = (1 << 6), then immune_stun should be firsst, next slow etc. It cannot be like IMMUNE_POISON | IMMUNE_CURSE | IMMUNE_TERROR
  6. You just missing BLEND_IDX_START in your python script
  7. Isn't this because you have totally disabled fog?
  8. To unmount player after teleport you can just simply do something like this in input_login.cpp, Entergame function: if (ch->GetMapIndex() == INDEX) { ch->UnMount(true); } For disable moving item into slot, the method bool CHARACTER::MoveItem in char_item.cpp is what you are looking for
  9. Put your translations into locale_game.txt (in locale folder) and use it like localeInfo.YOUR_STRING -> use localeInfo inside root scripts (remember about import) If you want text in uiscript (ui_jack_kingdom in your case) use locale_interface.txt, import uiScriptLocale and use it like. uiScriptLocale.YOUR_STRING Example: locale_interface.txt MY_TEXT[TAB]There goes your translation in polish In your script: import uiScriptLocale (...) { "name" : "text_kingdom_01_01", "type" : "text", "x" : 223 / 2 + 22, "y" : 155+18*0, "text_horizontal_align" : "center", "fontname" : "Tahoma:13", "color" : 0xffCECECE, "text" : uiScriptLocale.MY_TEXT, }, (...)
  10. Hi, how to add a border like this (on the python side): to this image: Thanks for help.
  11. Thank you! It works fine, but its a one little problem. When i buff myself on specify map LC_TEXT is showing. Is there a option to showing LC_TEXT only when im trying to buff other player?
  12. Hello devs, i have one question. I want to set flag "SELFONLY" on shaman skills buffs on specfiy map, is that real to do in source? If yes please give me some tips. Regards.
  13. Hello devs! I have a little problem with notice_all command. I hope anybody knows how to fix that, or how to remove that border on top screen. Thanks for help, greetings jking.
  14. Hello devs, i have a problem with new weapon shining by Kirige. As you can see on this video
  15. Hello guys, i used this theard: all works fine, but i have 2 problems: 1) When i change channel, its works, but under minimap is still CH1 (when im on ch2 for example) 2) The information: "You're already in the selected channel!" works only on CH1, for example, im on CH1, trying to change channel to CH1, information works, but when im on CH2 and trying change to CH1 there is that information and i cant change channel. I know its hard to understand me, but i hope u will help me, sorry for bad english guys
  16. Hi guys, can you tell me how to make toggle items like autopotions? Im trying to make Pet Toggle, but it's not working. I tryed to make it like autopotion function (IsActive) but still not working. Sry for bad English
  17. How should I edit that quest to don't unsummon pet after teleport?
×
×
  • 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.