Jump to content
  • 0

R>De-Refiner


Question

12 answers to this question

Recommended Posts

Posted

prontera,155,187,3	script	Instant Refiner	710,{
	select "Refine", "Derefine";
	for ( .@i = 1; .@i <= 10; .@i++ ) {
		if ( getequipisequiped( .@i ) ) {
			if ( getequipisenableref( .@i ) ) {
				if ( @menu == 1 ) {
					while ( getequiprefinerycnt( .@i ) < 10 )
						successrefitem .@i;
				}
				else {
					while ( getequiprefinerycnt( .@i ) > 0 )
						downrefitem .@i; // me still using old emu ...
				//	downrefitem .@i, getequiprefinerycnt( .@i ); // perhaps you also using old version like me
				}		
			}
		}
	}
	close;
}
actually I just realise that *getequipis.... command always return 0 when nothing equip there ... erm ...

my previous statement was incorrect

Posted (edited)
if( .@refine == 1 ){

refresh that page .. clear the cache of that page..sometime it wont update the  raw contents with just normal refresh.

 

 

I already do @reloadscript but still NPC just appear in game but totally not working.

Edited by Budots-RO
Posted (edited)

muahahaha me already got a support PM on the 1st day on return, I can't even believe it

 

prontera,155,187,3	script	Instant Refiner	710,{
	select "Refine", "Derefine";
	for ( .@i = 1; .@i <= 10; .@i++ ) {
		if ( getequipisequiped( .@i ) ) {
			if ( getequipisenableref( .@i ) ) {
				if ( @menu == 1 ) {
					while ( getequiprefinerycnt( .@i ) < 10 )
						successrefitem .@i;
				}
				else {
				//	while ( getequiprefinerycnt( .@i ) > 0 )
				//		downrefitem .@i; // me still using old emu ...
					downrefitem .@i, getequiprefinerycnt( .@i );
				}		
			}
		}
	}
	close;
}
Emistry problem is because he didn't add *getequipisequiped check

after read the source script.c file only realise it doesn't cause that error

Edited by AnnieRuru
Posted

muahahaha me already got a support PM on the 1st day on return, I can't even believe it

 

prontera,155,187,3	script	Instant Refiner	710,{
	select "Refine", "Derefine";
	for ( .@i = 1; .@i <= 10; .@i++ ) {
		if ( getequipisequiped( .@i ) ) {
			if ( getequipisenableref( .@i ) ) {
				if ( @menu == 1 ) {
					while ( getequiprefinerycnt( .@i ) < 10 )
						successrefitem .@i;
				}
				else {
				//	while ( getequiprefinerycnt( .@i ) > 0 )
				//		downrefitem .@i; // me still using old emu ...
					downrefitem .@i, getequiprefinerycnt( .@i );
				}		
			}
		}
	}
	close;
}
Emistry problem is because he didn't add *getequipisequiped check

 

Still not working, although NPC APPEARS in game but then its not doing anything.

post-20873-0-53454700-1387300208_thumb.png

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...