-
Posts
163 -
Joined
-
Last visited
-
Days Won
8
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Hyroshima
-
-
7 hours ago, Ichigo said:
Hi.
Is there any way that a monster can only be seen and attacked by a single user?
Basically it is exclusive for him.
I want to make a quest that you have to kill a mob, but that no other player can kill it without needing to restrict entry to the map.
Thank you.ever thought of doing using instance? it can be a solution if I'm not mistaken.
-
I don't remember it working like that, see the examples I made below.
1º exp:- script duplbl -1,{ OnPCLoginEvent: announce "Test dupe run msg",bc_all; end; }
2º exp:
- script duplbl::dupelbl -1,{ OnPCLoginEvent: announce "Test dupe run msg",bc_all; end; } prontera,155,155,1 duplicate(dupelbl) duplbl#1 -1
Shouldn't duplicate load the label or should it?
OnPCLogoutEvent:
OnPCLoadMapEvent:same result
-
have you tried to see if what's in conf\battle\battle.conf can help?
-
7 hours ago, Akkarin said:
For running a script each minute, attaching a timer is the best way to do it.
I understand, was thinking of something to update by the minute without having to leave a script timer tied to it.
ex:OnSec:
OnSec59: <code> end;
OnMinute:
OnMinute00: OnMinute01: OnMinute02: OnMinute03: OnMinute04: OnMinute05: OnMinute06: OnMinute07: OnMinute08: OnMinute09: OnMinute10: etc...59: <code> end;
OnInit,while,sleep:
OnInit: freeloop(1) while(1) { <code> sleep 1000; }
-
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?
Specific arrows / ammunition without consuming
in Source Requests
Posted
Hello again , would it be possible to determine an item of ammunition type not to be consumed?
the idea would be similar to consumable items but without removing the item from the inventory (item type 11).
I know can disable consumption in arrow_decrement, but the idea would be not to affect this system, but by creating an item that is not consumed of the type etc/arrow.
since already thank you very much, by Hyro~