Request ticket_refiner, blessed refiner work for 3ceam

dikapramantya

New member
Messages
80
Points
0
Hello, anyone have script ticket_refiner / blessed refiner work to 3ceam?

i've try copy from hercfules/rathena but still have error after i insert f_insert_comma function is still showing error

globalfunction.jpg

thats error from function and this error from ticket_refiner

ticketrefiner.jpg

pls help me

 
set .@str$, insertchar '(' .@str$, "," .@i); ????

Example of insertchar
insertchar("laughter", "s", 0); //returns "slaughter"

should be set .@str$, insertchar(.@str$,",",.@i);


Example of successrefiem
successrefitem(<equipment slot>{, <upgrade_count>})

 
what's wrong with this code-line? ...
 

 
Last edited by a moderator:
sorry @chao93 , can you explain me about f_insertcomma and successrefitem?

you say should be set .@str$, insertchar(.@str$,",",.@i);

but its same with script before it
default_sad.png
 


function    script    F_InsertComma    {
    set .@str$, getarg(0);
    for (set .@i,getstrlen(.@str$)-3; .@i>0; set .@i,.@i-3)
    set .@str$, insertchar(.@str$,",",.@i);
    return .@str$;
}
 
i just dont know whats wrong with
 
    set .@str$, insertchar(.@str$,",",.@i);
 
or 
 
    for (set .@i,getstrlen(.@str$)-3; .@i>0; set .@i,.@i-3)
 
Back
Top