Jump to content
  • 0
Alexandria

Hack to npc?

Question

10 answers to this question

Recommended Posts

  • 0

Alright, do you have an idea on how to secure this script OR a better (safer) script to recommend please? By the way the server uses Harmony; Never had this kind of troubles before until today... Thanks for your help/recommandations

Share this post


Link to post
Share on other sites
  • 0

OnBuyItem is easily hacked with WPE

Is it really so??

If yes, one can enable packet encryption to stop wpe.

Share this post


Link to post
Share on other sites
  • 0

the below Code Snippet is dangerous , after submitting the select option,

 

script should ValidateCost again

                        if( select( "^0000FFPurchase^000000:Cancel" ) == 1 ){                                if( getitemname( atoi( @Currency$ ) ) != "null" )                                        delitem atoi( @Currency$ ),@TotalCost;                                else{                                        set getd( @Currency$ ),getd( @Currency$ ) - @TotalCost;                                }                                for(set @i,0; @i < getarraysize( @bought_nameid ); set @i,@i+1)                                        getitem @bought_nameid[@i],@bought_quantity[@i];                                //message strcharinfo(0),"Received "+getarraysize( @bought_nameid )+" Items.";                                message strcharinfo(0),"[Cash Shop] Transaction completed.";                                mes "thx!";                        }

Share this post


Link to post
Share on other sites
  • 0

what about the regular npc's we have by default out of the box from the git?

What about them ?

 

Are you asking if they are safe or are you saying they are safe and should be used instead ?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.