Jump to content

[34083]Level Exp Error


Recommended Posts

  • Premium

Hallo

I am want upgrade a 2089 rev to 34083
i know i should make it to 40k but now i want use 34083

so i did all thing then level - exp
make max level 250 and work even if i did /level 250 work

but get exp error
mobs give exp not like the mob proto !

video

https://www.youtube.com/watch?v=58IQ1jHh7Mg

Help ?

If you're going to do something, then do it right.

Link to comment
Share on other sites

  • Replies 12
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

loops actively run, meaning its consistently using resources. the code above only does it when the user is getting XP or logs in with the bug. if it's only happening on X map then just do this

 

quest minus_exp begin
    state start begin
        when login or kill with pc.get_exp() < 0 and pc.get_map_index == X begin
            pc.give_exp2(-pc.get_exp())
        end
    end
end
Link to comment
Share on other sites

maybe you didnt see this part, a loop will call something X times per second causing further resource usage, this just checks if it meets the criteria like 100's if not 1000's of other functions and event handlers are doing constantly.

"with pc.get_exp() < 0"

with programming, such as this any if, when, for statement is being checked as soon as one part doesn't meet the criteria for the event to go ahead it will stop, and return the memory until the previous circumstances are met again. with a loop, at least the type of loop you're talking about, it constantly consumes the computing resources.

anyway - meaningless argument because neither would cause any noticeable problems in server stability due to resource consumption. 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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