-
Posts
24 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by LordJasz
-
-
same here! all my files are up to date.
-
Hello rAthenees.
could someone help me creating a NPC that makes a Raffle Everyday?This is the very beggining of the script with the main idea.
query_sql("select `value` from acc_reg_num where `key` = '#evento' order by `value` desc limit 1",.@winner); mes "Hello! Do you want to entry or receive your reward?"; next; menu "Yes",SIM,"No",NAO,"Reward",Recompensa; SIM: if(#evento<1){ set #evento, rand(1,10000); mes "Done. Your Number is "+#evento+"."; mes "Good Luck!"; } else{ mes "You're already participating. Your number is "+#evento+"."; mes "Good Luck!"; } close; end; NAO: mes "Okay! ^^"; close; end; Recompensa: if (#winner = 1){ mes "C O N G R A T U L A T I O N S!" getitem 607, 10; set #winner,0; } else{ mes "Sorry, you're not the winner."; mes "Good luck next time!"; } close; end; OnClock1915: set #winner,1; // how can i set the winner here where #evento == .@winner? query_sql("UPDATE `acc_reg_num` SET `value` = '0' WHERE `key` ='#evento'");
Im stuck on how im gonna make it reset every day to make a new winner.
someone could shine my mind?
Thx -
5 hours ago, Skorm said:
It looks like there is a hidden character between 0 and ) after gettimetick just open it in any text editor and retype that part.
Nicee, there was a hidden character.
but...
It's still not workingReasons
1. cooldown not working
2. the effect is appearing almost all the time when i get hit. -
On 7/10/2018 at 3:04 PM, Skorm said:
autobonus2 "{ if( Hp <= MaxHp * 5 / 10 && @item_cooldown <= gettimetick(0) ){ set @item_cooldown, gettimetick(0) + 300000; percentheal 100,0; sc_start SC_KYRIE,6000000,10; } }",1000,1,BF_SHORT|BF_LONG,"{ specialeffect2 EF_FIRESPLASHHIT; }";
everytime i get hit this message popsup.
what could it be?
-
-
On 6/19/2018 at 6:03 AM, crazyarashi said:
Did you add it correctly to your mob_db? :))
Yep. I couldn't find any solution to set that ID.
To solve im replacing "ghost" mobs. -
2 hours ago, Skorm said:
autobonus2 "{ if(readparam(Hp)<=readparam(MaxHp)*5/10){ percentheal 100,0; sc_start SC_KYRIE,60000,10; } }",1000,1,BF_SHORT|BF_LONG,"{ specialeffect2 EF_FIRESPLASHHIT; }";
i doesn't have the trigger time, but it's better than i wanted!
Thank you so much! -
11 hours ago, crazyarashi said:
if(readparam(MaxHp) <= 50){ percentheal 10,0; sc_start SC_KYRIE,60000,10; }
(MaxHp) is it right?
I tried but it didn't work fine.
Sometimes it heals a bunch of times, sometimes it casts Kyrie 6x.Any Improvement?
-
Can someone help me with a script for a item?
What I want is:
Script Basic for the Items
When a player suffer damage and reach 'X'% HP he's healed by 'Y'% HP.And...
If possible a buff trigger for the same item but 3 versions (3 different items but with the same above script + script below).Like:
Item 1: Heal 'Y'% HP + Cast : Kyrie Eleison [Lv. 10]
Item 2: Heal 'Y'% HP + Cast : Safety Wall [Lv. 10] (no need gems)
Item 3: Heal 'Y'% HP + Cast : Blessing [Lv.10] + AgiUp [Lv. 10]
Trigger CoolDown: 5 Minutes -
12 hours ago, Emistry said:
while (input (.@email$,5,39)); query_sql ( "UPDATE `login` SET `email` = '"+escape_sql(.@email$)+"' WHERE `account_id` LIKE "+.@accountid+"");
Thanks! 100% Working.
-
Sup people.
I'm trying to create a npc that will update the emails and I don't know what is wrong...
Here is the script.prontera,156,145,4 script Test NPC::test 589,{ set .@accountid,getcharid(3); mes "Do you want to register your email to receive our news?"; menu "Let's go!",-,"Nah, I'm okay.",L_No; next; mes "Type your email."; input (.@email,5,39); query_sql ( "UPDATE `login` SET `email` VALUE "+.@email" WHERE `account_id` LIKE "+.@accountid+""); next; mes "Muito bem seu e-mail foi cadastrado/atualizado!"; close; L_No: mes "Tudo bem." close; }
Is anything right at least? Lol
-
How can I fix the positions of NPCs where GM's can select the offer by the npcs.
I'm on Morocc and the quest is set only for Geffen. But I can't pick it in Geffen but I can pick on Morroc.
prontera,151,171,4 duplicate(mission_board) Prontera Quests#1 837 payon,186,104,4 duplicate(mission_board) Payon Quests#2 837 morocc,164,110,4 duplicate(mission_board) Morroc Quests#3 837 geffen,115,165,4 duplicate(mission_board) Geffen Quests#4 837
These are my 4 NPCs
-
On 6/16/2017 at 3:20 PM, AinsLord said:
the problem here is it doesnt save on the SQL..
just create it on phpmyadmin going into 127.0.0.1> YOURDB_db > MySQL
type it thereCREATE TABLE rebirth_system ( accountid INT(11), name VAR(30), num_rebirth INT(3), last_ip VAR(100) );
When created you will have to go onto the created label > Structure > go to the line NAME, click on "MORE" and make it UNIQUE.
- It will make you have only 1 log for each name. Without it you'll have a bugged Top50 rank.
-
50 minutes ago, sader1992 said:
please try this
from
if (rand(100) < .brack_chance){ set .@item, getequipid(.s_all_loc[s_all_selected]); // <<<<<<<<<<<<<<<<<<<<<<<<< delitem .@item,1; mes "and it broke!!"; specialeffect EF_SUI_EXPLOSION; }
to
if (rand(100) < .brack_chance){ set .@item, getequipid(.s_all_loc[.@s_all_selected]); // <<<<<<<<<<<<<<<<<<<<<<<<< delitem .@item,1; mes "and it broke!!"; specialeffect EF_SUI_EXPLOSION; }
100% working now!
thank you.youre a beast o/
-
11 hours ago, sader1992 said:
as i see there is no problems in the code
can you post the error you see in the terminal ?
Yeah I agree...
but somehow it doesn't work for me, and doesn't show any kinda error, it just popup the window and i cannot move more.
I put a close behind the brack_chance to at least when it fails i can close the window, but it seems that it is making the break not work:}else{ specialeffect2 155; mes "I am sorry"; mes "We did Fail"; specialeffect2 EF_PHARMACY_FAIL; close; <- [THIS ONE] if (rand(100) < .brack_chance){ set .@item, getequipid(.s_all_loc[s_all_selected]); delitem .@item,1; mes "and it broke!!"; specialeffect EF_SUI_EXPLOSION; } close; } end;
i actually don't know how it's not working, seems ok for me either.
Imma look for any news and I will post here what I find
-
The chance for breaking the item is not working for me. (im using the 2.5V ALPHA)
And when I fail it just pop up the next message and i cant do anything after this
And I tried to put all values on
.brack_chance = 100; //the chanse that it will brack if it fail
and it never breaks the item.
Could you help?
}else{ specialeffect2 155; mes "I am sorry"; mes "We did Fail"; specialeffect2 EF_PHARMACY_FAIL; if (rand(100) < .brack_chance){ set .@item, getequipid(.s_all_loc[s_all_selected]); delitem .@item,1; mes "and it broke!!"; specialeffect EF_SUI_EXPLOSION; } close; } end;
-
Idk what else I Could do.
Everything is working 100% fine.I even got the same spr/act as the custom of a guy made a tutorial of.
Can someone help me?
data\luafiles514\lua files\datainfo\jobname.lub
[jobtbl.JT_ZERO] = "ZERO",
data\luafiles514\lua files\datainfo\npcidentify
JT_ZERO = 30000,
trunk\src\map\mob.c
#define MIN_MOB_DB 1000 #define MAX_MOB_DB 3999 #define MIN_MOB_DB2 20020 #define MAX_MOB_DB2 31999
When I spawn the mob, the client just crashes.
-
@Litro Endemic You = Insane. THX mate! The best way to solve it
-
Thank you so much!!
What did I do?
I changed all file achievement_list.lub and i put only itachievement_tbl = {} end
[EDIT] I had to clear the logs and change
rathena\db\pre-re\achievement_db.yml
and
rathena\db\re\achievement_db.yml
in order to dont show up more debugs
-
Heello ppl.
This is my 1st time posting on rAthena (sorry if the post is not on the right place).
How can I remove the entire Achievements System in order to don't receive any message when doing anything.I checked on Hexed the option Hide Achievements Button but it still popup messages when killing mvp, reaching some level etc.
I found a way to "disable" but the server always debug errors (and i want the server working 100% Healthy).
THX
-
how can I remove all the system? i tried to find the commands but i couldnt.
ive already checked achievement_db.yml; achievement.c; and achievement.h.
Quests, Games: Daily Raffle / Sorteio Diário
in Game, Event, Quest Script Releases
Posted
View File
Daily Raffle / Sorteio Diário
How does it work?
It gives a random ticket to a player (between 1 ~ 10000).
Como Funciona?
Ele dá um ticket para o jogador (entre 1 ~ 10000)
At 20:00 o'clock it triggers the biggest value and sets as the winner ticket.
Às 20:00h ele configura o maior valor como valor do vencedor.
And it will give 5~10 Yggdrasil Berry
E ele vai dar entre 5~ 10 Frutos de Yggdrasil
Any Question?
Qualquer dúvida fale comigo
fb.com/JoaoMarcoA
discord: LordJasz#2310