Jump to content
  • 0

Safe Limit refiner npc


allenpogi

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   1
  • Joined:  11/16/12
  • Last Seen:  

I'm having a hard time finding one. please help. thanks in advance:)

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  193
  • Reputation:   14
  • Joined:  12/02/11
  • Last Seen:  


prontera,x,y,z    script    Safe Limit Refine    907,{

setarray .@slots[0],1,2,3,4,5,6,9,10;

for( set .@a,0; .@a < getarraysize(.@slots); set .@a,.@a + 1 ) {

     if( getequipisequiped(.@slots[.@a]) ) {

                  if( .@slots[.@a] == 3 || .@slots[.@a] == 4) {

                       switch( getequipweaponlv(.@slots[.@a]) ) {

                            case 0:

                                 set .@r, 4;

                                 break;

                            default:

                                 set .@r, 8 - getequipweaponlv(.@slots[.@a]);

                                 break;

                            }

                       } else { set .@r, 4; }

          if(getequiprefinerycnt(.@slots[.@a]) < .@r && getequipisenableref(.@slots[.@a]) ) {

               for( set .@i,0; .@i < .@r; set .@i,.@i + 1)

                    successrefitem .@slots[.@a];

               }

         }

      sleep2 100;

      }

}

Edited by 2essy2killu
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   1
  • Joined:  11/16/12
  • Last Seen:  

Thanks. I'll try this:)



Sir it doesnt work on my server

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  193
  • Reputation:   14
  • Joined:  12/02/11
  • Last Seen:  

What's the error message on the map server?

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...