-
Posts
29 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by KRMizu
-
-
4 hours ago, Kreustoo said:
Parece que a primeira pesquisa de script em mvp_ranking e a outra em hourly_points?
Então você pode ser classificado em 6 em um e 9 em outro?
Already managed to solve by adding an option ORDER BY `xpmineracao` DESC , `account_hourly` ASC , thank you very much I'm using the code you created.
-
Thank you very much, what you did is perfect, I only have one problem, I have an NPC that also shows the Top 20, and the positions do not match the one shown for my character, for example this showing that I am the top 6, more in this than you made it for me shows that i am the top 9
This is just to show my position in the rank :
This shows the overall rank for all players:
Quoteset .rank,20;
next;
mes " ^0412cc[TOP "+.rank+" Mineradores]^000000";
mes " ";
for(.@i = 0;.@i<.rank;.@i++){
query_sql( "select `First_Name`, `xpmineracao`, `nvmineracao` from `hourly_points` where `xpmineracao` > '0' order by `xpmineracao` DESC", .@nomizin$[.@i], .@xpzera[.@i], .@nvzera[.@i] );
set .@z,.@i + 1;
mes "^2c16d0[»]^000000Rank : ^f80505"+.@z+"° Colocado^000000";
mes "^2c16d0[»]^000000Jogador : ^0e1ecc"+.@nomizin$[.@i]+"^000000 ";
switch(.@nvzera[.@i]){
case 1:
set .nvrank$[.@i],"^0e1ecc[Novato]^000000";
break;
case 2:
set .nvrank$[.@i],"^0e1ecc[Aprendiz]^000000";
break;
case 3:
set .nvrank$[.@i],"^0e1ecc[Artesão]^000000";
break;
case 4:
set .nvrank$[.@i],"^0e1ecc[Especialista]^000000";
break;
case 5:
set .nvrank$[.@i],"^0e1ecc[Mestre]^000000";
break;
case 6:
set .nvrank$[.@i],"^0e1ecc[Grão-Mestre]^000000";
break;
case 7:
set .nvrank$[.@i],"^0e1ecc[Ancião]^000000";
break;
}
mes "^2c16d0[»]^000000Nv de Profissão: "+.nvrank$[.@i]+"";
mes "^2c16d0[»]^000000Experiência Total : ^0e1ecc" + .@xpzera[.@i] + "^000000";
mes "^f80505===========================^000000";
.@z++; -
4 hours ago, Kreustoo said:
Olá,
Isso deve funcionar (não testado):
Esteja ciente de que a classificação quando eles têm o mesmo número de pontos dependeria da entrada no banco de dados, não do tempo em que eles tiveram seus pontos. Se não estiver claro, por exemplo:
Suponha que o Jogador 2 matou um mvp antes do jogador 3 => ele foi adicionado na mesa antes que o jogador 3
--Jogador 3 tenha 400 pontos primeiro, o Jogador 3 tenha uma classificação melhor
Jogador 3: 400 Exp
Jogador 2: 399 Exp
--Jogador 2 para 400 pontos, o Jogador 2 agora tem uma classificação melhor
Jogador 2: 400 Exp
Jogador 3: 400 ExpI understand what you mean, unfortunately I have no other criteria for the tiebreaker or... I have an online time field, would it be possible to use it for the tiebreaker?
-
Hello, I'm trying to show the player's classification, I found an example but he doesn't count the position if the amount is equal, for example:
Player 1: 600Exp
Player 2: 400 Exp
Player 3: 400 Exp
Player 4: 300 ExpThe way I found the position of player 2 and 3 is the same as:
Player 1: Top 1
Player 2: Top 2
Player 3: Top 2
Player 4: Top 3I would like it to look like this:
Player 1: Top 1
Player 2: Top 2
Player 3: Top 3
Player 4: Top 4Here is an example I found below:
dispbottom "============== My Rank ==============", 0xffe066; query_sql( "SELECT `points`, 1 + (SELECT COUNT(1) FROM `mvp_ranking` t1 WHERE t1.`points` > t2.`points`) FROM `mvp_ranking` t2 WHERE `char_id` = "+ getcharid(0), .@points, .@rank); dispbottom "My Rank is: " + .@rank+ ".", 0x6666ff; dispbottom "My Points is: " + .@points+ ".", 0x6666ff; dispbottom "==========================================", 0xffe066;
-
I just didn't want it to show the available examples .
For example, in this case, I would like to show only the 3 colors available:
-
6 hours ago, Naruto said:
Well there might be an easier way but if your using this script command to access the dress room "opendressroom"
then you can try looking at this
script.c
*/ BUILDIN_FUNC(opendressroom) { #if PACKETVER >= 20150513 int flag = 1; TBL_PC* sd; if( script_hasdata(st,2) ) flag = script_getnum(st,2); if (!script_charid2sd(3, sd)) return SCRIPT_CMD_FAILURE; clif_dressing_room(sd, flag); return SCRIPT_CMD_SUCCESS; #else return SCRIPT_CMD_FAILURE; #endif }
and now you see the function through clif_
clif.c
void clif_dressing_room(struct map_session_data *sd, int flag) { #if PACKETVER >= 20150513 int fd = sd->fd; nullpo_retv(sd); WFIFOHEAD(fd, packet_len(0xa02)); WFIFOW(fd,0) = 0xa02; WFIFOW(fd,2) = flag; WFIFOSET(fd, packet_len(0xa02)); #endif }
I would just make a second one if i had no choice . . .
I'll take a look, thank you very much
-
If I run a second case, the player will not be able to use a color, but that window will continue showing the available colors and showing all black sprites
-
Is it possible to open two different dressrooms? For example if it is a class x opens dressroom x, if it is class y opens dressroom y.
I wonder where I need to go to add a second dressroom
-
On 4/10/2020 at 2:41 PM, Emistry said:
modify it into something like this.
int rate = pc_level_penalty_mod(md->level - tmpsd[i]->status.base_level, md->status.class_, md->status.mode, 1); if (tmpsd[i]->status.base_level >= (MAX_LEVEL - 5)) rate = 50; // reduce EXP rate by half for last 5 base level. if (rate != 100) { if (base_exp) base_exp = (unsigned int)cap_value(apply_rate(base_exp, rate), 1, UINT_MAX); if (job_exp) job_exp = (unsigned int)cap_value(apply_rate(job_exp, rate), 1, UINT_MAX); }
Thanks
-
The channels created on @channel appear only in the PUBLIC chat, is there a way to change it, to appear in the PRIVATE chat for example?
-
I would like to make the last 5 levels of my server very difficult but I do not know how, Is it possible to add an exp penalty from a specific level? If so, how?
-
Boa noite, Estou quebrando a cabeça tentando descobrir como posso selecionar a % de chances do equipamento refinar, estou fazendo um npc que por exemplo se eu der dois itens a ele, vai ficar 100 % de chance de refinar, se eu der apenas 1 fica com 50%, consigo apenas usar a % das próprias regras estabelecidas pelo jogo mas dessa forma não consigo estabelecer um bônus de % por item, se alguém puder me dar uma luz, não quero script pronto, só quero ter um norte pra saber oque precisa ser feito, deis de já obrigado.
-
3 hours ago, sader1992 said:
the name of the first tab is too lang
i suggest you decreases the name of the first tab
msgstring file
it may fix the problem
Ohhh thanks man, its worked
-
Hi guys, my titles tab disappeared, don't have the option to choose titles, was it because i put pre-ré ? if yes, how can i use the pre-re title option ?
-
Alguém tem um sistema de vip por ticket, que mostre uma msg de quantos dias faltam sempre que logar, eu encontrei só no brathena mais não é compativel .
-
Consegui resolver, o problema estava na data, estava usando a data ROenglishRE-master e por algum motivo não estava funcionando com hexed 2018 talvez por algum erro meu ou própria compatibilidade
-
16 minutes ago, Tyrfing said:
Topic titles such as "Help me" do not describe your issue at all, so please avoid them.
You need to know what client version you are using. RE clients typically load information from the System\itemInfo.lub file, whereas non-RE clients load item information from data\idnum2itemresnumtable.txt. By diffing your RE client, you can also change that to System\itemInfo.lua.
The basic difference is that the .lub file format is encrypted, while the .lua isn't, making it easier to add or remove custom items.
Since the user is Brazilian, I'll provide a portuguese translation of the post.Estou usando uma das ultimas versões 2018-02-13aRagexeRE e configurei tudo usando o iteminfo.lub
-
4 minutes ago, Tyrfing said:
Como você sabe que a ROenglishRE-master é uma pasta data de 2017?
A ROenglishRE é um projeto de tradução para o inglês da pasta data do kRO realizado pelo zackdreaver. O arquivo itemInfo.lua, por exemplo, foi atualizado há 2 meses.
Se você procura uma pasta data em inglês mais atualizada do que essa, eu acho que não existe. Você pode tentar extrair os arquivos da GRF do iRO, mas eu acho que estão menos atualizados do que a ROenglishRE, ou tentar traduzir você mesmo os arquivos do kRO.
Mano aproveitando, to com um problema que n aparece nenhum hat do jogo nem os originais do bro, vc sabe oque pode ser ? consigo equipar jogar no chao e tudo mais n mostra no personagem
-
-
4 hours ago, Poring King said:
is this are you looking for ?
or you are looking for GRF Data ?
oh, I need data folder, but thanks
-
Hi guys, help me pls
Where is the error ? ---->
-
Por acaso já existem datas 2018 ? a mais recente que encontrei foi uma 2017 chamada ROenglishRE-master, se alguém souber e puder me falar agradeço . Deis de já obrigado .
-
5 hours ago, Haziel said:
Have you marked down for item_db, mob_db and derivatives to be used in SQL instead of text?
It's an option to be marked on inter_athena.conf.No, I'll check thanks
@Haziel This line ?
// Use SQL item_db, mob_db and mob_skill_db for the map server? (yes/no)
use_sql_db: yesnot show any items in the character
-
@srhmike Thanks guys, this is same process of brathena, i 'm using "MARIADB database" and after make all process says "invalid item id" why ? i'm using client 2018
acessoryid , accname, sprite, texture same name "visual01"
iteminfo.lub
KVM Could not find
in Client-side Support
Posted · Edited by KRMizu
Hello guys, I'm trying to use a BG from the game itself, but when I try to enter kvm I have the following problem :
Entering battleground.cpp, I noticed that it always enters this validation
Can anyone tell me what the problem is?