Jump to content

jKing

Member
  • Posts

    29
  • Joined

  • Last visited

  • Feedback

    0%

About jKing

Informations

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

jKing's Achievements

Enthusiast

Enthusiast (6/16)

  • Dedicated
  • Reacting Well
  • First Post
  • Collaborator
  • Conversation Starter

Recent Badges

0

Reputation

  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.
×
×
  • 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.