Felipe
-
Posts
51 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Felipe
-
-
You've said this part change a little bit :
(sg->limit - DIFF_TICK(tick, sg->tick)));
So:
sc_start4(ss, bl, SC_VACUUM_EXTREME, 100, sg->skill_lv, sg->group_id, (sg->val1<<16)|(sg->val2), ++sg->val3*500, (sg->limit - DIFF_TICK(tick, sg->tick)*2));
-
If is a text file try Notepad++ ou Visual Studio Code(Notepad++ from microsoft)
-
I look in this link (Post Number 7):
https://rathena.org/board/topic/60404-custom-skill-effects/
And I think it would work
sc_start4(ss, bl, SC_VACUUM_EXTREME, 400, sg->skill_lv, sg->group_id, (sg->val1<<16)|(sg->val2), ++sg->val3*500, (sg->limit - DIFF_TICK(tick, sg->tick)));
-
[email protected]_id = getcharid(0,"+strcharinfo(0)+");
OR
[email protected]_id = getcharid(0,"strcharinfo(0)");
-
-
I'm not good at editing src so I want all of your help please.
The problem is when I use a vacuum extreme skill of Sorcerer to person who have str more than 240 it doesn't suck them so I want to know If I want to change it more than this how can I do it?
Vacuum extreme skill
status.c
case SC_VACUUM_EXTREME:///< !CHECKME: Seems on official, there's delay before same target can be vacuumed in same area again [Cydh]sc_start2(bl, bl, SC_VACUUM_EXTREME_POSTDELAY, 100, sce->val1, sce->val2, skill_get_time2(SO_VACUUM_EXTREME,sce->val1));I try to edit this but it doesn't work at all it's still be the same result T^TSo that's why I ask your guys help ...I guess is not in this line, its look like delay not the damege of skill.
I think is this line in src/map/skill.c:
sc_start4(ss, bl, SC_VACUUM_EXTREME, 100, sg->skill_lv, sg->group_id, (sg->val1<<16)|(sg->val2), ++sg->val3*500, (sg->limit - DIFF_TICK(tick, sg->tick)));
BEFORE DO ANY THING MAKE A BACKUP OF skill.c
I would try this:
sc_start4(ss, bl, SC_VACUUM_EXTREME, 100, sg->skill_lv, sg->group_id, (sg->val1<<16)|(sg->val2), ++sg->val3*700, (sg->limit - DIFF_TICK(tick, sg->tick)));
-
-
I guess the error is not in this part, the console return some line ? Search for things like 'char' 'char_id'
-
That error has been resolved , is now giving this one when I click the npc: Runane#sara
[Error]: buildin_isbegin_quest: Player with char id '1' is not found. [Debug]: Source (NPC): Runane#sara at moc_para01 (29,95)
is probably that part of the script:
if (isbegin_quest(13181) == 1) {Antes de mais nada, obrigado pela ajuda.
What's mean the number 13181 ?
-
That error has been resolved , is now giving this one when I click the npc: Runane#sara
[Error]: buildin_isbegin_quest: Player with char id '1' is not found. [Debug]: Source (NPC): Runane#sara at moc_para01 (29,95)
Antes de mais nada, obrigado pela ajuda.
In your script have some line which is telling char id = 1, change or just add this -> //
In the begining of the line.
You're welcome
-
I'm looking around and found this, may help you: https://rathena.org/board/topic/106364-instance-is-already-in-use-while-trying-to-duplicate-npc/
Então Felipe, a instancia ela funciona normal, só que só da erro nessa parte. Minha instance_db está correta, assim creio eu. Vou posta-la aqui.
ID,Name,LimitTime,IdleTimeOut,EnterMap,EnterX,EnterY,Map2,...,Map255 15,Nightmarish Jitterbug,3600,300,[email protected]tb,16,18,[email protected]
I guess the error is here :
15,Nightmarish Jitterbug,3600,300,[email protected],16,18,1@jtb
You repeat the map [email protected], try change delete it:
15,Nightmarish Jitterbug,3600,300,[email protected],16,18
or:
15,Nightmarish Jitterbug,3600,300,[email protected],16,18,
-
Did you try to start all process with root ? Including MySQL and rAthena
And
I guess have a process already making connection, try to Kill everything related to MySQL. I think you can try MariaDB maybe work.
@edit:
I've a issue like this, I change for a FreeBSD based, idk you experience with FreeBSD or OpenBSD but let's give a try

-
I can be wrong, but I guess the problem is this line :
setarray .woe_state_0[0],1,0,0,0,0,0,0;
Try this:
setarray .woe_state_0[0],1,1,0,0,0,0,0;
and see what's happen
-
I'm looking around and found this, may help you: https://rathena.org/board/topic/106364-instance-is-already-in-use-while-trying-to-duplicate-npc/
-
Já olhou os arquivos .lua ? Senão me engano a tradução das skills fica lá, talvez a tradução que você quer também
-
I guess the array .Shops$ is global. So you get the objects from .Shops$ of the first NPC.
I just put the NPC on WordPad and replace .Shops$ to .Shops1$
I don't have rA on my PC, so idk if it worked
Try this:
mosk_in,30,248,2 script Shane The White 446,{ function Add; function Chk; function Slot; function A_An; if(.Shops1$ != "") set [email protected],1; else { set [email protected]$,""; for(set [email protected],1; [email protected]<=getarraysize(.Shops1$); set [email protected],[email protected]+1) set [email protected]$, [email protected]$+.Shops1$[[email protected]]+":"; set [email protected], select([email protected]$); } dispbottom "Select one item at a time."; callshop "qshopb"[email protected],1; npcshopattach "qshopb"[email protected]; end; function Add { if (getitemname(getarg(1))=="null") { debugmes "Quest reward #"+getarg(1)+" invalid (skipped)."; return; } for(set [email protected],5; [email protected]<127; set [email protected],[email protected]+2) { if (!getarg([email protected],0)) break; if (getitemname(getarg([email protected]))=="null") { debugmes "Quest requirement #"+getarg([email protected])+" invalid (skipped)."; return; } } for(set [email protected],2; [email protected]<[email protected]; set [email protected],[email protected]+1) set getd(".q_"+getarg(1)+"["+([email protected])+"]"), getarg([email protected]); npcshopadditem "qshopb"+getarg(0),getarg(1),((.ShowZeny)?getarg(3):0); sleep 1; return; } function Chk { if (getarg(0)<getarg(1)) { set @qe0,1; return "^FF0000"; } else return "^00FF00"; } function Slot { set [email protected]$,getitemname(getarg(0)); switch(.ShowSlot){ case 1: if (!getitemslots(getarg(0))) return [email protected]$; case 2: if (getiteminfo(getarg(0),11)>0) return [email protected]$+" ["+getitemslots(getarg(0))+"]"; default: return [email protected]$; } } function A_An { setarray [email protected]$[0],"a","e","i","o","u"; set [email protected]$, "_"+getarg(0); for(set [email protected],0; [email protected]<5; set [email protected],[email protected]+1) if (compare([email protected]$,"_"[email protected]$[[email protected]])) return "an "+getarg(0); return "a "+getarg(0); } OnBuyItem: set [email protected][0],@bought_nameid; copyarray [email protected][1],getd(".q_"[email protected]_nameid+"[0]"),getarraysize(getd(".q_"[email protected]_nameid+"[0]")); if ([email protected][1]) { message strcharinfo(0),"An error has occurred."; end; } mes "[Quest Shop]"; mes "Reward: ^0055FF"+(([email protected][1]>1)[email protected][1]+"x ":"")+Slot([email protected][0])+"^000000"; mes "Requirements:"; if ([email protected][2]) mes " > "+Chk(Zeny,[email protected][2])[email protected][2]+" Zeny^000000"; if ([email protected][3]) mes " > "+Chk(getd(.Points$[0]),[email protected][3])[email protected][3]+" "+.Points$[1]+" ("+getd(.Points$[0])+"/"[email protected][3]+")^000000"; if ([email protected][4]) for(set [email protected],4; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+2) mes " > "+Chk(countitem([email protected][[email protected]]),[email protected][[email protected]+1])+((.DisplayID)?"{"[email protected][[email protected]]+"} ":"")+Slot([email protected][[email protected]])+" ("+countitem([email protected][[email protected]])+"/"[email protected][[email protected]+1]+")^000000"; next; set @qe1, getiteminfo([email protected][0],5); set @qe2, getiteminfo([email protected][0],11); addtimer 1000, strnpcinfo(1)+"::OnEnd"; while(1){ switch(select(" ~ Purchase ^0055FF"+getitemname([email protected][0])+"^000000:"+((((@qe1&1) || (@qe1&256) || (@qe1&512)) && @qe2>0 && [email protected])?" ~ Preview...":"")+": ~ ^777777Cancel^000000")) { case 1: if (@qe0) { mes "[Quest Shop]"; mes "You're missing one or more quest requirements."; close; } if (!checkweight([email protected][0],[email protected][1])) { mes "[Quest Shop]"; mes "^FF0000You need "+((([email protected][1]*getiteminfo([email protected][0],6))+Weight-MaxWeight)/10)+" additional weight capacity to complete this trade.^000000"; close; } if ([email protected][2]) set Zeny, [email protected][2]; if ([email protected][3]) setd .Points$[0], getd(.Points$[0])[email protected][3]; if ([email protected][4]) for(set [email protected],4; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+2) delitem [email protected][[email protected]],[email protected][[email protected]+1]; getitem [email protected][0],[email protected][1]; if (.Announce) announce strcharinfo(0)+" has created "+A_An(getitemname([email protected][0]))+"!",0; specialeffect2 699; close; case 2: set @qe3, getlook(3); set @qe4, getlook(4); set @qe5, getlook(5); if (@qe1&1) atcommand "@changelook 3 "[email protected]; if (@qe1&256) atcommand "@changelook 1 "[email protected]; if (@qe1&512) atcommand "@changelook 2 "[email protected]; set @qe6,1; break; case 3: close; } } OnEnd: if (@qe6) { atcommand "@changelook 3 "[email protected]; atcommand "@changelook 1 "[email protected]; atcommand "@changelook 2 "[email protected]; } for(set [email protected],0; [email protected]<7; set [email protected],[email protected]+1) setd "@qe"[email protected],0; end; OnInit: // --------------------- Config --------------------- // Custom points, if needed: "<variable>","<name to display>" setarray .Points$[0],"#CASHPOINTS","Cash Points"; set .Announce,1; // Announce quest completion? (1: yes / 0: no) set .ShowSlot,1; // Show item slots? (2: all equipment / 1: if slots > 0 / 0: never) set .DisplayID,1; // Show item IDs? (1: yes / 0: no) set .ShowZeny,0; // Show Zeny cost, if any? (1: yes / 0: no) // Shop categories, if needed: "<Shop 1>","<Shop 2>"{,...}; // Duplicate dummy data for any additional shops (bottom of script). // If no categories, use the second line instead (remove //). setarray .Shops1$[1],"~^682FCBWhite Valkyrie Set^000000"; // set .Shops1$,"n/a"; // Add(<shop number>,<reward ID>,<reward amount>,<Zeny cost>,<point cost>, // <required item ID>,<required item amount>{,...}); // Shop number corresponds with order above (default is 1). // Note: Do NOT use a reward item more than once! //set Add(1,403,1,300000000,0,2357,1,7513,5,7450,3,7754,3,7566,3,969,500,20080,2000); Add(1,409,1,300000000,0,2524,1,7513,5,7450,3,7754,3,7566,3,969,500,20080,2000); Add(1,415,1,300000000,0,2115,1,7513,5,7450,3,7754,3,7566,3,969,500,20080,2000); Add(1,421,1,300000000,0,2421,1,7513,5,7450,3,7754,3,7566,3,969,500,20080,2000); // -------------------------------------------------- for(set [email protected],1; [email protected]<=getarraysize(.Shops1$); set [email protected],[email protected]+1) npcshopdelitem "qshopb"[email protected],909; end; } // -------- Dummy data (duplicate as needed) -------- - shop qshopb1 -1,909:-1 - shop qshopb2 -1,909:-1 - shop qshopb3 -1,909:-1 - shop qshopb4 -1,909:-1 - shop qshopb5 -1,909:-1 - shop qshopb6 -1,909:-1 - shop qshopb7 -1,909:-1 -
Boa noite pessoal,
Eu estava pensando será que consigo rodar o rA no Winserver 2003 R2, junto com o visual studio 2010 pra compilar o emulador ?
É mais leve e tal e me quebraria um galho agora rodar no winserver
-
Eu fui mexer com uns custons e não achei o item_db2, olhei no mysql não tem nada também, eu tentei colocar as linhas código no item_db e também não apareceu nada no jogo, eu uso @item e não aparece nada no jogo, fala que falhou.
-
Hello guys,
I tryed to diff 2014-10-22 Ragexe with the N.E.M.O but, didn't work, the patched hexed disappear from the folder, the NEMO generates the .txt file from hexed and for some seconds I can see the patched hexed, but very fast disapper, I don't know if the problem is the hexed, NEMO or something in my system.
@Edit:
The problem was my antivirus, I switch off for a little bit and it doesn't delete the patched.exe
-
You need to search on internet, but i think the sakexe and ragexe still working. (is different from ragexeRE).
You will need an old data folder with the old skin, the hexed may be easy to find, try to search for Xray 2009, In the past have a lot of this client on internet.
@edit
Is better search for sakexe 2009 or ragexe xray forum, doesn't online anymore (i guess)
-
Procura dentro da pasta scr o arquivo renewal.h e comenta as linhas ( poem essas barrinhas // ) e pronto só curtir
-
É na sua data, você vai ter que abrir a grf do bRo, procurar pelo arquivo skillinfobr e mudar o nome pra skillinfokr e subistituir na sua data
-
Tem que ver se voce ta preenchendo todos os campos do formulario e ou se ta certo a forma que voce preenche, eu nao comprei nada por aqui
-
Tem que ver alguma coluna da tabela estava ja sendo usada pra clans e voce pegou e colocou a classe
Problem with skill of Vacuum Extreme
in Source Support
Posted
Try a big number:
(sg->limit - DIFF_TICK(tick, sg->tick)*8));