-
Posts
189 -
Joined
-
Last visited
-
Days Won
24
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Posts posted by Hyroshima
-
-
Há 3 horas, Lunastra disse:
Não seria dormir e sleep2?
https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L6771
2 horas atrás, Start_ disse:Você pode adaptar os temporizadores do NPC.
O OnSec pode prejudicar o desempenho.
I don't want to attach time to the script, I just need a label to be activated per minute.
-
Hello again, it be possible to create a clone of OnMinute but with seconds?
The idea would be to call the label every time the minute was changed.
Since already thank you very much by Hyro~ ^^ -
14 hours ago, Cretino said:
Eu acho que é: killmonsterall_mod_by_cretino_rathena.diff 1,99 kB · 4 downloads
Espero ter ajudado você.
I love you man
-
Hello, could someone please change the command killmonsterall to kill all mobs of id x on map y? if possible ^^
*killmonsterall "<map name>"{,<type>}; -> *killmonsterall "<map name>"{,<type>{,<mob_id>}};
Since already thank you very much by Hyro~
-
I would just like to thank your for deleted my topic without even answering if there was something wrong with it.
Gracias...
-
hlw, would anyone tell me how to execute a
callfunc "func", param1,param2;
in src (função de npc script existente!) ?
one skill will call callfunc "func", 1, skill_id;
I need to pass param1 = 1, param2 = skil_level
-
29 minutes ago, Tanlor said:
Não tenho muita experiência com Flux, mas nosso servidor sempre apoia os novos desenvolvedores.
Sua ideia parece interessante! Caso tenha interesse em testar num servidor real, só mandar PM.
Dica: o rAthena tem uma aba de suporte ao FluxCP no Discord, quem sabe não te respondam mais rápido lá? Mas só em inglês..
Hehe, meu inglês é podre kkk mas consigo formar textos coerentes usando o tradutor kkk, vou ver se consigo falar com alguém lá.
tô trabalhando em um app android mas só irei divulga-lo quando tiver uma boa parte pronta.
-
1
-
-
bom-dia pessoal, estou criando um addon para funcionar com um projeto que estou desenvolvendo, porem estou levando uma surra dos métodos em que a flux funciona.
Consegui criar parte do addon, o problema mesmo é em criar um campo (formulário) para que o usuário consiga adicionar um código serial em sua conta, tentei usar como exemplo a função trocar email mas sem sucesso.
É bem simples, porem a parte da conexão com o banco pra fazer o update está me quebrando a cabeça kkk
desde já grato a quem puder me ajudar.
-
Hello, is there any guide on how to add an addon in fluxcp?
already grateful, Hyro
@EDIT
I am using the addon folder example, but the link is empty !?
addon.php
<?php return array( 'MenuItems' => array( 'Android APP' => array('module' => 'main'), 'HomeLabel' => array('exturl' => 'http://www.fluxro.com/community'), ) ) ?>
access.php
<?php return array( 'modules' => array( 'appacess' => array( 'index' => AccountLevel::ANYONE, ) ), 'features' => array( // None. ) ) ?>
both in \addons\appacess\
RESOLVED!
-
alter var int to str: .@item -> .@item$
-
On 2/23/2019 at 12:36 PM, brunoshp said:
Have other solution to do this?
- script AnunciadorTown -1,{ OnInit: setarray .Map$, // <mapname>,<Map Nick>, "payon"," Uma cidade na floresta ..LOL", "hugel"," Onde fica isso ?", "izlude"," Cidade dos Guerreiros ?", "prontera", "Capital de Rune Midgard", "geffen"," Cidade Mágica ?"; for( set .i,0; .i < getarraysize( .Map$ ) - 1; set .i,.i + 2 ) setmapflag .Map$[.i],mf_loadevent; end; OnPCLoadMapEvent: for( set .i,0; .i < getarraysize( .Map$ ) - 1; set .i,.i + 2 ) if( strcharinfo(3) == .Map$[.i] ) announce "Bem Vindo a "+.Map$[.i+1]+" .",bc_self,0x1affff; end; }
iawe manolo, fiz a ideia que você queria apenas manipulando a entrada dos comandos @go e @war, ta na mão, qualquer coisa fala awe xD
https://pastebin.com/raw/WkUJbpp7-
1
-
-
Sorry if I'm in the wrong place. It is an individual shop system and quantities i'm developing.
will be available in Portuguese and English...
I hope the translation is reasonably acceptable
-
Fiz esse pequeno sistema com script sem precisar de modificar src, no final do código tem uma variável onde deve por os ids dos mobs no qual não queria que seja possível localizar pelo comando @mobsearch!
- script CtrlCommands -1,{ OnCtrlLBL: if(.@atcmd_command$ != "@mobsearch") end; if(.@atcmd_parameters$[0] == "0" || .@atcmd_parameters$[0] == "") { message strcharinfo(0),"[AVISO]: Digite um ID/NOME!"; end; } if(.@atcmd_parameters$[0] != "" && getgroupid() < 99) { if(!charisalpha(.@atcmd_parameters$[0],1)) set .@rscMBID,.@atcmd_parameters$[0]; else set .@rscMBID,0; for(set .@i,0; .@i<getarraysize(.NoMbSrh_ID); set .@i,.@i+1) { if(!.@rscMBID && strtolower(.@atcmd_parameters$[0]) == strtolower(strmobinfo(1,.NoMbSrh_ID[.@i]))) { message strcharinfo(0),"[AVISO]: Você não pode procurar por este mob!"; end; } else if(.@rscMBID == .NoMbSrh_ID[.@i]) { message strcharinfo(0),"[AVISO]: Você não pode procurar por este mob!"; end; } } } atcommand "@mobsearch "+.@atcmd_parameters$[0]; end; OnInit: bindatcmd "@mobsearch",strnpcinfo(3)+"::OnCtrlLBL"; //MOB_ID setarray .NoMbSrh_ID[0],1002,1031; end; }
-
1
-
-
3 hours ago, Emistry said:
it return more than 1 field.
you need to provide the array to store other fields that returned from the query.
query_sql("SHOW COLUMNS FROM `login` LIKE 'magic_shop%'", .@field$, .@type$, .@null$, .@key$, .@default$, .@extra$); return getarraysize(.@field$);
Thanks again Emistry, I did not know I needed to specify the other column outputs.
-
Hello again! xD
I'm having a problem when using the SQL SHOW command.
I created two columns in the login table and using the command below displays the following error:
query_sql "SHOW COLUMNS FROM `login` LIKE 'magic_shop%'",.@rtn$; return getarraysize(.@rtn$);
ERRO:
Thank you very much xD
-
Como o amigo ai falou, então faz isso:
troca sleep2 por sleep nas seguintes linhas: (somente mude isso, não mexa nos valores que tiver na frente caso tenha.)
Linha: 702
Linha: 760
Acredito que só fazendo isso resolve.
-
Yes, everything worked correctly.
-
-
14 hours ago, JoshXp said:
I want to random option npc where i can pick the option for item i have equiped.
Sorry, but I still do not understand... Give me an example, talk about how it would work, that I do the script.
-
I did not understand, can exemplify?
-
^^
script_commands.txt (/map/script.cpp)
*itemskill <skill id>,<skill level>{,<keep requirement>}; *itemskill "<skill name>",<skill level>{,<keep requirement>}; This command is meant for item scripts to replicate single-use skills in usable items. It will not work properly if there is a visible dialog window or menu. If the skill is self or auto-targeting, it will be used immediately; otherwise a target cursor is shown. If <keep requirement> parameter is set to true, the skill's requirements will be checked. By default, the requirements for item skills are not checked, and therefore the default value is false. // When Anodyne is used, it will cast Endure (8), Level 1, as if the actual // skill has been used from skill tree. 605,Anodyne,Anodyne,11,2000,0,100,,,,,10477567,2,,,,,{ itemskill 8,1; },{} // When Sienna_Execrate_Scroll_1_5 is used, it will cast Sienna Execrate Level 5 and consume 2 Red_Gemstones. 23194,Sienna_Execrate_Scroll_1_5,Level 5 Sienna Execrate,11,10,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ itemskill "WL_SIENNAEXECRATE",5,true; },{},{}
-
Please explain to me what the script should do normally?
-
Add below after of OnPCLoginEvent:
if(getgroupid() == 99) end;
Ex:
OnPCLoginEvent: if(getgroupid() == 99) end; for( .@i = 13; .@i <= 18; .@i++ )
-
1
-
-
14 hours ago, Emistry said:
there exists another way for you, in case you afraid to mess up with the index value.
for (.@i = getarraysize(.@tmp_magic_shop) - 1; .@i >= 0; .@i--) if(!.@tmp_magic_shop[.@i]) deletearray .@tmp_magic_shop[.@i],1;
start looping from the end of the array to the front...
OMG, I even thought of doing so, but I was tired and did not reasoned more kkkkk
Thank you ^^
I'm creating an interesting store, i do not know if it already exists, because I've never seen something similar.
I have not been developing anything for a while, sometimes i get stuck in a small complex problem but looking at script_command.txt I'll reminding.
Thanks again ^^
A New Label Time OnSec<secound> possible ?
in Source Requests
Posted
I understand, was thinking of something to update by the minute without having to leave a script timer tied to it.
ex:
OnSec:
OnMinute:
OnInit,while,sleep: