Jump to content

Syreldar

Premium
  • Posts

    1298
  • Joined

  • Last visited

  • Days Won

    38
  • Feedback

    100%

Everything posted by Syreldar

  1. Vanilla's solution is a good way to deal with the problem. On the other hand, if you're not a programmer and still want to fix the issue, then I can help you. If you press space and unfocus the window, you're unable to use any macros or key inputs in that window, since it's not focused. Which means the player is stuck attacking and can't do anything else. Using non-aggressive monsters (so you're forced to aggro them using the mantle) and spawning the metins and bosses in random spots (so you're forced to look for them or at least focus them if they're distant) fixes the issue, the player gains nothing that way. If you don't like that, then setting up the bosses/metins/monsters to be difficult enough so a certain degree of attention is required from the player in order to kill them is another good solution.
  2. Use your brain based on what I told you, then. duh. Said functions are inside the sources, look them up.
  3. Z coordinate is not the direction the mob is facing.. either use d.spawn_mob_ac_dir (vnum, x, y, dir [0..359]) (if you input -1 instead of a number between 0 and 359, it will choose a random dir between 0 and 359) or d.spawn_mob_dir (vnum, x, y, dir [1..8] {(direction - 1) * 45}) (if you input 0 instead of a number between 1 and 9, it will choose a random dir between 1 and 8 )
  4. I can easily code such a thing for you, for a price.
  5. You can't do such a thing on login trigger, either make a timer or use "letter" quest welcomemsg begin state start begin when login with pc.getqf("basic_weapon") == 0 begin timer("welcome", 2); end when welcome.timer begin pc.setqf("basic_weapon", 1) say_title("Welcome to the SERVERNAME ") say("") say("Blah blah blah... ") say("Blah blah blah... ") say("Blah blah...[ENTER]") wait() say("Have a nice game :)[ENTER]") end end end quest welcomemsg begin state start begin when letter with pc.getqf("basic_weapon") == 0 begin pc.setqf("basic_weapon", 1) say_title("Welcome to the SERVERNAME ") say("") say("Blah blah blah... ") say("Blah blah blah... ") say("Blah blah...[ENTER]") wait() say("Have a nice game :)[ENTER]") end end end
  6. if (ch->GetMapIndex() >= DUNGEON_INDEX*10000 && ch->GetMapIndex() <= DUNGEON_INDEX*10010) ? if (ch->GetMapIndex() >= DUNGEON_INDEX*10000 && ch->GetMapIndex() < (DUNGEON_INDEX+1)*10000)
  7. ??????? Just place the includes in between Area.h and Timer.h, like @Gurgarath said.
  8. when die with @self.CONDITION begin -- if you don't need any condition, then just "when die begin" warp_to_village(); end -- when Yes you need to implement the event by following the step inside the topic posted in the answer up here.
  9. Like my posts and set the answer above as solved. It's enough.
  10. when login begin local v = find_npc_by_vnum(NPC_VNUM) if v != 0 then target.vid("theowahdan", v, "Theowahdan") end end As expected, you're setting a target but you're not clearing it. You have 2 options: 1. Add target.remove("theowahdan") under "when NPC_VNUM.chat."What is a Sash?" begin", and the target arrow will disappear the next time you click on that option in-game. 2. Remove that whole snippet. After you did one of these 2, recompile the quest and write in game "/reload q" or restart cores.
  11. See? there's one more quest attached to that npc, send it here. sash.quest
  12. Navigate to quest/object and screenshot the content of the folder 60003
  13. Not that one, there's one quest that sets the target to the NPC, i need that one.
  14. The answer below is correct. I need some sleep.
  15. The only 2 other errors i see in the quest are the usage of game.get_event_flags to assign a personal flag to a player and deleting a clear_server_timer using get_server_timer_arg() outside of server_timer scope, but the error you're getting depends solely on you, the set_warp_location snippet is fine.
  16. The lib is there, it's the file that contains the functions like "BlazingPurgatory.ReturnData()" provide it if possible.
  17. Braxy did and sold quests to many, this guy is one of them.
  18. Your problem is unclear to me, could you please describe it better and also provide the Library file I'm sure comes with the quest? Thanks.
  19. Let me clear this up for you: The quest clearly comes from Braxy, and Braxy copied a lot of my old code. ";" is one of the little things I use in Lua, like a signature, that helps me determine wether or not that code snippet is mine, cause I'm the only one who does it, and changes virtually nothing, so there's nothing to laugh about. Also could you please not comment unless you wanna try and be helpful?
  20. I'm curious as of how you "analyzed" the problem with the game.core not even being in debug mode.
×
×
  • 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.