-
Posts
268 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by KaitoKid
-
[Collection+DL] Custom Towns (Updated: 18/12/2011)
KaitoKid replied to Najara's topic in Maps & 3D Modeling Showcase
Nice maps!! Thank you for sharing some of your works -
@tron Still the same error
-
Love your scripts Emistry! I have a problem with your hourly announcer script. It says Missing 1 right curlys at file 'npc/custom/sys_announcer.txt', line '1' Here is the NPC script: - script sys_announce -1,{ OnInit: set .Time,1; // Announce every x Minute. setarray .News$[0], // Random Message to be Announced "If you have enjoy your stay here please don't forget to invite more friends ", "If you found bugs, exploits or you need assistance then you can drop by on our community forums(---------).", "Please also like our fanpage on Facebook - -----------------------", "If you have questions you can use @request to notify our Support GMs"; while( 1 ){ announce .News$[ rand( getarraysize( .News$ ) ) ],0; sleep ( .Time * 60000 ); } end; } I have checked the script structure and it seems valid. But I don't know why it produce an error. Here is a screenshot
-
Need help on checking duplicate IP address
KaitoKid replied to KaitoKid's question in Scripting Support
Thanks for the replies but I was able to solve my own problem. -
Hey guys can I ask for some help on how to use the query_sql to check duplicate IP address that is logged in on the server?? I'm implementing a Freebies NPC and some of my players have 2 or more accounts and I want to check their IP address so that even when they switch accounts still they be using the same IP address (Ofcourse if they don't know that they will just gonna reset the router to change their dynamic IP address) Can someone help me with the code?
-
The only thing you need to read lua files is to open them via Notepad or preferably Notepad++
-
Karul's Scripts~ [Latest: Game Master Event Starter]
KaitoKid replied to iFoxkun's topic in Script Collections
Thanks for sharing your script! It seems fun and I'll got to try it -
Nakalimutan mo ata i edit yung sa database ragnarok database -> login table -> user/pass Yung "s1" at "p1" dun i change mo kung ano ang nilagay mo na userid at passwrd sa char_athena.conf make sure same rin xa dun sa userid at passwrd sa map_athena.conf
-
Thanks! The command works perfectly!
-
What do you mean how do you add files to be reloaded?
-
On you skill_unit_db.txt find the "RA_FIRINGTRAP" change its flag from "0x006" to "0x002" Note that: 0x004(UF_NOFOOTSET) Spell cannot be cast near/on targets
-
How can I reset all the Stats of players using SQL?
KaitoKid replied to Yummy's question in General Support
Sorry. My bad didn't understand the topic -
How can I reset all the Stats of players using SQL?
KaitoKid replied to Yummy's question in General Support
On your ragnarok database find the "char" table in there you find all the details related to the character. -
Chris' Script Collection [Last Update: 04-06/2021]
KaitoKid replied to llchrisll's topic in Script Collections
There is simple error on your guild ranking script. There is a double closing brace '}' causing the script to have an error "npc_parsesrcfile: unkown synatx in file.....line '165'. Stopping.... " You will just have to delete the closing brace at line 164 or 163 to fix the error -
Toasty's WoE Controller
KaitoKid replied to ToastOfDoom's topic in PvP, GvG, WoE, Battleground Script Releases
bump ( -
[Help] Adaptation to Circumstances Skill Delay
KaitoKid replied to PapaZola's question in General Support
You can find that on your db/skill_cast_db.txt Just find the skill ID there. comments inside the text will help you out. -
Under "//Base - Normal Jobs except Ninja/Gunslinger" change 99 to 150
-
Hmm. I have already did what you have said but still it doesn't save the remaining time to the player. Here is the edited script pvp_n_1-5,99,113,4 script Battleground Warper::bg_warper 416,{ if(@bg_session == 1) { B_Session: set @BGRemaintT,(getnpctimer(00,"bg_warper")/1000); if(@BGRemainT >= 60) set @BGRemain$, (@BGRemainT / 60)+" minute/s^000000"; else set @BGRemain$, @BGRemainT+" second/s^000000"; mes "[Gate Keeper]"; mes "Hello "+strcharinfo(0)+"!"; mes "You have a remaining time of ^008000"+@BGRemain$; mes "What do you want?"; switch(select("Return to the Battlegrounds:I want to end my session:Where can I trade this points?")) { case 1: mes "[Gate Keeper]"; mes "As you wish."; next; attachrid getcharid(3); attachnpctimer strcharinfo(0); startnpctimer "bg_warper",getcharid(3); warp "kro_bat",0,0; close; case 2: mes "[Gate Keeper]"; mes "As you wish."; next; set @bg_session,0; stopnpctimer "bg_warper",getcharid(3); detachnpctimer "bg_warper"; mes "[Gate Keeper]"; mes "You're session is closed."; close; case 3: mes "[Gate Keeper]"; mes "You can trade you're Battlepoints on the Battleground shops."; next; } goto B_Session; } mes "[Gate Keeper]"; mes "In the battleground there are tons of monsters you can defeat and earn ^008000Battleground Points^000000."; mes "Which you can exchange for items at the ^0000FFBattleground Shop^000000"; next; mes "[Gate Keeper]"; mes "A fee of 10k Zeny is charged per hour."; mes "Would you like to enter the grounds?"; if(select("Yes:No") == 2) close; next; if(Zeny < 10000) { mes "[Gate Keeper]"; mes "Please don't make me look stupid"; mes "I know how to count money."; close; } mes "[Gate Keeper]"; mes "Just a little reminders:"; mes "I will Automatically deduct your zeny to extend your time."; mes "If you want to stop your time just talk to me again."; mes "Incase you got killed you're time will paused and will be resumed once you enter again."; mes "^FF0000NOTE: If ever your character logged out you're time will be automatically terminated.^000000"; next; set @bg_session, 1; set @auto_extend, 1; set Zeny,Zeny - 10000; attachrid getcharid(3); attachnpctimer strcharinfo(0); initnpctimer "bg_warper",getcharid(3); warp "kro_bat",0,0; close; OnTimer10000: dispbottom "First 10 seconds of your time has begun!"; end; OnTimer20000: dispbottom "Another 10 seconds have passed."; end; OnTimer30000: set @BGRemaintT,getnpctimer(0,"bg_warper"); dispbottom " "+@BGRemainT; end; OnTimer3000000: if(Zeny < 10000) dispbottom "You don't have enough zeny left."; announce "You have 10 minutes remaining.",bc_self,0x008000; end; OnTimer3600000: OnTimer3600001: if(@auto_extend == 1) { if(Zeny < 10000) { dispbottom "You don't have enough zeny left. Warping you out."; stopnpctimer "bg_warper",getcharid(3); detachnpctimer "bg_warper"; warp "mellina",85,83; end; } set Zeny,Zeny - 5000; initnpctimer "bg_warper",getcharid(3); announce "10k Zeny is deducted. I have extended your time",bc_self,0xC0C0C0; end; } else { stopnpctimer "bg_warper",getcharid(3); detachnpctimer "bg_warper"; set @bg_session, 0; announce "You're time is up!",bc_self; warp "mellina",85,83; end; } OnTimerQuit: stopnpctimer "bg_warper",getcharid(3); detachnpctimer "bg_warper"; set @bg_session, 0; end; OnPCKillEvent: stopnpctimer "bg_warper",getcharid(3); attachrid getcharid(3); if(strcharinfo(3) == "kro_bat") warp "pvp_n_1-5",99,107; end; }
-
Hmm. This is interesting. But would this be free?
-
I'm making a script that involves NPC timer. The rule is that the player will pay a zeny per hour and when a player dies the timer should pause and resumes when the player enters the map again. But the problem is after the player dies the timer won't attach to the player anymore and doesn't resume the time used by the player. pvp_n_1-5,99,113,4 script Battleground Warper::bg_warper 416,{ if(@bg_session == 1) { B_Session: set @BGRemaintT,(getnpctimer(0)/1000); if(@BGRemainT >= 60) set @BGRemain$, (@BGRemainT / 60)+" minute/s^000000"; else set @BGRemain$, @BGRemainT+" second/s^000000"; mes "[Gate Keeper]"; mes "Hello "+strcharinfo(0)+"!"; mes "You have a remaining time of ^008000"+@BGRemain$; mes "What do you want?"; switch(select("Return to the Battlegrounds:I want to end my session:Where can I trade this points?")) { case 1: mes "[Gate Keeper]"; mes "As you wish."; next; startnpctimer "bg_warper",getcharid(0); warp "bat_b02",87,89; close; case 2: mes "[Gate Keeper]"; mes "As you wish."; next; set @bg_session,0; stopnpctimer "bg_warper",getcharid(0); detachnpctimer "bg_warper"; mes "[Gate Keeper]"; mes "You're session is closed."; close; case 3: mes "[Gate Keeper]"; mes "You can trade you're Battlepoints on the Battleground shops."; next; } goto B_Session; } mes "[Gate Keeper]"; mes "In the battleground there are tons of monsters you can defeat and earn ^008000Battleground Points^000000."; mes "Which you can exchange for items at the ^0000FFBattleground Shop^000000"; next; mes "[Gate Keeper]"; mes "A fee of 10k Zeny is charged per hour."; mes "Would you like to enter the grounds?"; if(select("Yes:No") == 2) close; next; if(Zeny < 10000) { mes "[Gate Keeper]"; mes "Please don't make me look stupid"; mes "I know how to count money."; close; } mes "[Gate Keeper]"; mes "Just a little reminders:"; mes "I will Automatically deduct your zeny to extend your time."; mes "If you want to stop your time just talk to me again."; mes "Incase you got killed you're time will paused and will be resumed once you enter again."; mes "^FF0000NOTE: If ever your character logged out you're time will be automatically terminated.^000000"; next; set @bg_session, 1; set @auto_extend, 1; set Zeny,Zeny - 10000; initnpctimer "bg_warper",getcharid(0); warp "bat_b02",87,75; close; OnTimer10000: dispbottom "First 10 seconds of your time has begun!"; end; OnTimer20000: dispbottom "Another 10 seconds have passed."; end; OnTimer30000: set @BGRemaintT,(getnpctimer(0)/1000); dispbottom " "+@BGRemainT; end; OnTimer3000000: if(Zeny < 10000) dispbottom "You don't have enough zeny left."; announce "You have 10 minutes remaining.",bc_self,0x008000; end; OnTimer3600000: OnTimer3600001: if(@auto_extend == 1) { if(Zeny < 10000) { dispbottom "You don't have enough zeny left. Warping you out."; stopnpctimer "bg_warper",getcharid(0); detachnpctimer "bg_warper"; warp "mellina",85,83; end; } set Zeny,Zeny - 5000; initnpctimer "bg_warper",getcharid(0); announce "10k Zeny is deducted. I have extended your time",bc_self,0xC0C0C0; end; } else { stopnpctimer "bg_warper",getcharid(0); detachnpctimer "bg_warper"; set @bg_session, 0; announce "You're time is up!",bc_self; warp "mellina",85,83; end; } OnTimerQuit: stopnpctimer "bg_warper",getcharid(0); detachnpctimer "bg_warper"; set @bg_session, 0; end; OnPCKillEvent: stopnpctimer "bg_warper",getcharid(0); if(strcharinfo(3) == "bat_b02") warp "pvp_n_1-5",99,107; end; }
-
Chris' Script Collection [Last Update: 04-06/2021]
KaitoKid replied to llchrisll's topic in Script Collections
Thank you for the wonderful scripts! Almost all of them are flexible no sweat on configuring. I love your ingame cp script. Very useful for players no need to login to the web control panel. ) -
Thank you very much.