Jump to content

Syreldar

Premium
  • Posts

    1297
  • Joined

  • Last visited

  • Days Won

    38
  • Feedback

    100%

Community Answers

  1. Syreldar's post in Belt Bonuses was marked as the answer   
    You should study a bit and learn by yourself to debug and look into the code.
    in item_attribute.cpp:
    Basically, if the piece of equipment found is not included in this switch set, it returns -1,
    The previous if statement, states that if this check returns -1, you can't put any bonuses, which is normal since you normally aren't able to insert bonuses in a belt, thus you have to adapt it.
     
    Solution: Add the item attribute to the switchset.
  2. Syreldar's post in quest compile problem was marked as the answer   
    return False; then; ??????????????????????????????????????????????????????????????????
    quest shoper1 begin state start begin when 20090.chat."استبدال المواد" begin say("أأه يا هذا أهلا بك ") say("لقد سمعت ما حصل منذ فتره") say("لقد أقدم بعض الخونه على سرقه مجموعة من عتادي المحبوب مني") say("وأريدك أن تردها لي بأٌرب وقت") say("إن ما سرق مني أعظم من غلال الزعماء") say("حط هنا الكلام تبيه من السرقه مثلا خبز للفقراء ككلام") say("ولاكن بوقت معين لأني أحاول إيجاد بعض منها بنفسي") say("وكمكافأة بسيطه") say("سأعطيك:xxx") say_item_vnum(19); say("سأحتاج أعداد معينه") if (game.get_event_flag("acheive") == 1) then say("حسنا أتريد تسليم المواد لي") if (select("Yes", "No") == 1) then say("التسليم أمر مهم حقا") if (pc.count_item(10) == 1) then say("لقد جلبت لي العدد المطلوب هاك مكافئتك") pc.remove_item(10, 1); pc.give_item2(19, 1); else say("إنك مخادع تريد تسليمي أغراض أخرى") end -- if/else end -- if else say(" إني لست متواجد الحدث غير متوفر") end -- if/else end -- when end -- state end -- quest  
  3. Syreldar's post in Progressive quest? was marked as the answer   
    quest 1 end > set_quest_state("quest2name", "run");
     
    for this to work, the "start" state on the 2nd quest must be empty.
  4. Syreldar's post in Quest error was marked as the answer   
    syschat("Hello "..pc.get_name(()) nice one.
    syschat("Hello "..pc.get_name()) or syschat(string.format("Hello %s", pc.get_name()))  
  5. Syreldar's post in dungeon problem was marked as the answer   
    I said they must be in the same core.
  6. Syreldar's post in Where does game events save themselves? was marked as the answer   
    database, player.quest.
  7. Syreldar's post in Skill Select Instantly was marked as the answer   
    quest get_skill_group begin state start begin when login or levelup with pc.get_level() >= 5 and pc.get_skill_group() == 0 begin send_letter("Choose your path"); end -- when when button or info with pc.get_level() >= 5 and pc.get_skill_group() == 0 begin local ways_per_job = { [0] = {"Body", "Mental"}, [1] = {"Blade-Fight", "Archery"}, [2] = {"Weaponry", "Black Magic"}, [3] = {"Dragon Force", "Healing Force"} }; say_title("Choose your path:[ENTER]") say(string.format("Congratulazions %s,", pc.get_name())) say("you've reached level 5, this means you are now") say("able to obtain access to tour hidden skills.[ENTER]") say("Choose the path you want to take:[ENTER]") table.insert(ways_per_job[pc.get_job()], "No, I'll choose later."); local skill_select = select_table(ways_per_job[pc.get_job()]); if (skill_select ~= table.getn(ways_per_job)) then say_title("Choose your path:[ENTER]") say(string.format("You've selected %s.", ways_per_job[pc.get_job()][skill_select])) say("Are you sure of it?[ENTER]") if (select("Yes, I'm sure of it.", "No, I'll choose later.") == 1) then pc.clear_skill(); pc.set_skill_group(skill_select); else send_letter("Choose your path"); end -- if/else else send_letter("Choose your path"); end -- if/else end -- when end -- state end -- quest  
  8. Syreldar's post in [QUESTION]introLogo.py, the mistery of run videos before serverInfo was marked as the answer   
    Solved with a self-compiled binary and the source-intrologo.py, with some changes.
  9. Syreldar's post in [PROBLEM]Enemy Guild Leader is offline. was marked as the answer   
    Solved, solution:
     
    Do not level guilds from database.
×
×
  • 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.