Jump to content
×
×
  • Create New...
  • 0

questlua_global problem


dripone

Question

Hey guys!

I have a problem in my questlua_global.cpp.

 


SYSERR: Oct 19 14:37:03.891320 :: number_ex: number(): first argument is bigger than second argument 1 -> 0, questlua_global.cpp 50

This keeps crashin' my CH1 after a while and other Channels random.

What is the problem, and how can I fix it?

Many thanks.

Link to comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
  • Moon

you have something like this in one of your quests:

number(3,2)

first argument (3) is bigger then scound argument (2). this is all what i can tell. there is no bug in your src about this (it will happen to anyone if he has the same bugged quest).

Link to comment
Share on other sites

  • 0

Questscroll5.quest

        function reward_table_get_value(item_array)
            local prob_sum=questscroll5.reward_table_get_prob_sum(item_array)
            local prob_pos=number(0, prob_sum)

 training_grand_master_skill.quest

                       pc.change_alignment(-number(need_alignment/3, need_alignment/2))

main_quest_lv14.quest

            local i = stones[number( 1, 3 )];
            local stone =  (i+number(1,14)-1) 

levelup.quest

                    local ll = lev - 20
                    if lev < 26 then

                        local n = table.getn(special.levelup_reward_item_21[ll])
                        local t = special.levelup_reward_item_21[ll][number(1, n)]
                        say_reward(gameforge.levelup._80_sayReward)
                        if type(t) == 'table' then

 hair.quest

             local vnum = input_number()

 deviltower_zone.quest

    function get_4floor_stone_pos()
        local positions =
            {
                {368, 629}, {419, 630}, {428, 653}, {422, 679},
                {395, 689}, {369, 679}, {361, 658},
        }
        for i = 1, 6 do
            local j = number(i, 7)
            if i != j then
                local t = positions;
                positions = positions[j];
                positions[j] = t;
            end
        end 

Link to comment
Share on other sites

  • 0
  • Moon

At first, it's not a reason to occur game.core or down core. If you check number function,  you will understand exactly what I mean. That error is only for warning in syserr.

A simple about it.

Number (64, 32) -> The function read this like that number (32, 64) 

Do not be sorry, be better.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 14

      CRK - Cronikal [Play now][Official start on April 24, 2022 at 16:00][11 languages available]

    2. 57

      Forever Metin2

    3. 1

      NPC direct item enchant

    4. 37

      Official Mailbox

    5. 0

      [Request] Underground-MT2 Serverfiles, Database , Homepage & Client

    6. 0

      3 countries 3 phrases

    7. 1

      NPC direct item enchant

    8. 0

      Origins2 Global | International | A new concept - 10.06.2022

  • Recently Browsing

    • No registered users viewing this page.

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.