oblinez
Members-
Content Count
9 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by oblinez
-
jaBote pre-renewal is 1-1e, 2-1, 2-1a, 2-1e, 2-2, 2-2a, 2-2e and novice correct? without 3-1 and 3-2 correct? the single way to change to 3rd is by command correct?
-
ola galera como nao tem uma area de pedido vou pedir ake alguem tem codigo para adicionar a src para fazer funcionar o comando costume sem isso um npc que eu tenho aqui nao funciona... que justamente faz um headgear virar um costume...
-
hey jabote! you asked me for information about npc... here is the information: this npc will work with sql and here is the table who npc will work ALTER TABLE `login` ADD `globalpoints` INT NOT NULL ; this npc will give hourly points(each hour)... but i need an security sistem within... like this: the npc does not deliver points if the player stay away,afk by 15minuts or more. (to prevent the player let the char online all night long) the npc does not deliver points if the player is under @at,@autotrade or any command to open shop. (to prevent the player let the char in @autotrade to gain poits) if you can do this information configurable like "afkmaxtime, points" will be better sorry to ask so much =/ and sorry my bad english... Thank you in advance p.s now this is not private support =D (i need this npc u.u)
-
então basta tira esse meu script do emulador e colocar isso na linha do item_db2? #Edit testei aqui fico muito bom o ticket Zeny.. então ele não precisa do script? como ficaria o ticket cash ? para ficar igual o zeny? noobsmok olhe esse exemplo e edite os valores para o que voce quiser... e as ids e o nome tbm ^^, respondendo sua pergunta... sim voce pode tirar todas aqueles scripts de "function" que adiciona o cash e o zeny... porq o item mesmo vai tazer a parada toda sem as scripts... entendeu? "pelo - seu server fica + leve e isso eh otimo... quanto mais leve e limpo melhor" 20014,Ticket_Zeny,Vale Zeny 1kk,2,10000,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ set #CASHPOINTS,#CASHPOINTS+1000000;announce "Você acaba de receber 1kk de Cash.",bc_self; },{},{}20015,Ticket_Zeny,Vale Zeny 5kk,2,10000,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ set #CASHPOINTS,#CASHPOINTS+5000000;announce "Você acaba de receber 1kk de Cash.",bc_self; },{},{}20016,Ticket_Zeny,Vale Zeny 10kk,2,10000,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ set #CASHPOINTS,#CASHPOINTS+10000000;announce "Você acaba de receber 1kk de Cash.",bc_self; },{},{}20017,Ticket_Zeny,Vale Zeny 100kk,2,10000,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ set #CASHPOINTS,#CASHPOINTS+100000000;announce "Você acaba de receber 1kk de Cash.",bc_self; },{},{} se resolveu, nao esqueça de clikar no botao verde perto do quote ^^
-
use isso como exemplo e edite o resto =D onde esta >tab< substitua por tab do teclado(botao) //==========================================================================================================================// Função que adiciona 1kk ao usar o item Vale zeny 1kk.//==========================================================================================================================function >tab< script >tab< zeny1000000 >tab< { set Zeny,Zeny+1000000; announce "Você acaba de receber 1kk de Zeny.",bc_self; end;} 20014,Ticket_Zeny,Vale Zeny 1kk,2,10000,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "zeny1000000"; },{},{}20015,Ticket_Zeny,Vale Zeny 5kk,2,10000,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "zeny5000000"; },{},{}20016,Ticket_Zeny,Vale Zeny 10kk,2,10000,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "zeny10000000"; },{},{}20017,Ticket_Zeny,Vale Zeny 100kk,2,10000,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "zeny100000000"; },{},{} o ticket tem de estar no tipo 2 nao 0 (primeira virgula depois do nome)... ou se voce preferir pra nao seixar seu emulador pesado com muita funçao... pode fazer o ticket mesmo entregar sem funçao... 20014,Ticket_Zeny,Vale Zeny 1kk,2,10000,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ set Zeny,Zeny+1000000;announce "Você acaba de receber 1kk de Zeny.",bc_self; },{},{}20015,Ticket_Zeny,Vale Zeny 5kk,2,10000,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ set Zeny,Zeny+5000000;announce "Você acaba de receber 1kk de Zeny.",bc_self; },{},{}20016,Ticket_Zeny,Vale Zeny 10kk,2,10000,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ set Zeny,Zeny+10000000;announce "Você acaba de receber 1kk de Zeny.",bc_self; },{},{}20017,Ticket_Zeny,Vale Zeny 100kk,2,10000,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ set Zeny,Zeny+100000000;announce "Você acaba de receber 1kk de Zeny.",bc_self; },{},{} voce pode fazer isso pro cash tbm para deixar o emulador + leve.... se ajudei da um like, se funcionou da um like, se resolveu da um like.
-
ohhh bro i love you! rsrsr i'm joke! kkkkk thx for the npc thx alot but =/ i forget to say one detail u.u can you edit this npc to work with a "horlypoints" table in the logindb? this npc dont give point to player under @at, @autotrade or any command to open shop? checkvending() <<is it? how this npc will do a loop on timer? to stay giving points all the hours can you explain this?? sorry, i'm new on scripting... u.u jaBote can i do this? - script hourly_points -1,{ OnInit: //Configs .time = 60 * 60 * 1000; // Time in milliseconds. Default: 1 hour (60 * 60 * 1000) .max_idle = 15 * 30; // Maximum idle time in seconds .points = 1; // Points to give the user each active hour. .hptab$ = "hourlypoints"; // table name on logindb end; OnPCLoginEvent: addtimer .time, strnpcinfo(3)+"::OnPoints"; end; OnPoints: if (checkidle() < .max_idle && checkvending() != 2) { query_sql "SELECT `account_id` FROM `char` WHERE `name`='"+strcharinfo(0)+"'",.@id; query_sql "UPDATE `login` SET `"+.hptab$+"` = `"+.hptab$+"`+"+.points+" WHERE `account_id`='"+.@id+"'"; dispbottom "You received "+.points+" Point by staying in-game for 1 hour"; query_sql "SELECT `"+.hptab$+"` FROM `login` WHERE `account_id`='"+.@id+"'",.@hp; dispbottom "Current Balance = "+.@hp+" Cash"; } dispbottom "You will not earn points if you stay afk for 15 minutes or open shop."; dispbottom "Current Balance = "+.@hp+" Cash"; end; }
-
hi can i request an npc? a simple npc who gives hourly points with a sistem security this npc dont give points for player who stay stopped for more than 15 minutes and this npc dont give points for players under @autotrade Thanks in advance
-
(Novo) ♣ Sistema de Refine ♣ By: Filipesaj 1.0
oblinez replied to filipesaj's topic in Lançamentos de Scripts
belo npc testado e aprovado 100% obrigado por compartilhar... -
alguem tem uma ideia?? eu istalei o npc seguindo passo a passo... nao deu erro nenhum no console... mas o npc nao apareceu...