-
Content Count
259 -
Joined
-
Last visited
-
Days Won
1
Posts posted by Virtue
-
-
is there a way to add custom potions on alchemist creation ( Pharmacy )
-
Solved this. LOL. very minor error. Should be char_id ,not charid. lol
-
Hi All,
I need help with a quick SQL query script.
- script testcharname#Testserver FAKE_NPC,{ OnInit: bindatcmd("testingname","testcharname#Testserver::OnTestName",99); OnTestName: mes "GO"; input .@name$; next; query_sql "SELECT charid,name FROM `char` WHERE `name` = "+.@name$,.@charid,.@gname$; if(.@gname$ == .@name$){ mes "Hey"; dispbottom ("["+.@charid+"]",0x00FA9A); close; } else { mes "Hoy"; dispbottom ("Character doesn't exist.",0x00FA9A); close; } }
I need to get results if the input is valid, if not will display "character doesn't exist". Got no errors on script checker but script doesn't proceed. I think there's something wrong with my query and I'm not getting results
-
sent a request on discord and pm on facebook.
-
Hi,
I'm at a loss about this script. No Errors on script checker, it's just that once the set VIP time expires sometimes it goes on negative and the VIP time doesn't end.
Any help would be appreciated!
Script below
function script timeleft__ { if ( ( .@left = getarg(0) ) <= 0 ) return getarg(0); .@day = .@left / 86400; .@hour = .@left % 86400 / 3600; .@min = .@left % 3600 / 60; .@sec = .@left % 60; if ( .@day ) return .@day +" day "+ .@hour +" hour"; else if ( .@hour ) return .@hour +" hour "+ .@min +" min"; else if ( .@min ) return .@min +" min "+ .@sec +" sec"; else return .@sec +" sec"; } prontera,150,150,0 script VIP Administrator 4_F_KAFRA5,{ set .@npcname$,"^0000FF[ TEst ]^000000"; if ( getgroupid() > 1 ) { mes .@npcname$; mes "Hell no, you shouldn't use me !"; close; } if ( #viptimeleft ) { mes .@npcname$; mes "Your time left for being a VIP is "+ callfunc( "timeleft__", #viptimeleft - gettimetick(2) )+"."; close; } mes .@npcname$; mes "How can I help?"; next; if ( select( "What's a VIP?", "Nothing" ) == 2 ) close; mes .@npcname$; mes "You'll get the following benefits for being a VIP:"; mes "Server rates increased while on VIP Status"; mes "^9ACD32Base & Job Exp - 12x^000000"; mes "^FF4500Equipment - 6x^000000"; mes "^FF0000Cards - 0.12%^000000"; mes "^00BFFFUsable, Healing & Common Drop - 7x^000000"; mes "^FF0000Death Penalty - 0.5%^000000"; close; OnPCLoginEvent: if ( #viptimeleft >= 0 ) { ModExp = 125; ModDrop = 125; ModDeath = 50; dispbottom ("VIP: Your time left for being a VIP is "+ callfunc( "timeleft__", #viptimeleft - gettimetick(2) ) +".",0xFF7256); } if ( #viptimeleft < gettimetick(2) ) set #viptimeleft,0; else if ( #viptimeleft - gettimetick(2) < 2147483 ) // don't execute addtimer if over integer limit addtimer(( #viptimeleft - gettimetick(2))*1000, strnpcinfo(NPC_NAME_UNIQUE)+"::OnTimeUp"); else if ( #viptimeleft < 0) ModExp = 100; ModDrop = 100; ModDeath = 100; end; OnTimeUp: announce "[ VIP : Your VIP Subcription has Expired. ]",bc_self,0xffbc90; dispbottom ("VIP: Your VIP Subcription has Expired.",0xFF7256); #viptimeleft = 0; ModExp = 100; ModDrop = 100; ModDeath = 100; end; }
-
pm sent on skype. requested discord
-
Found a simpler way to do this though, just so that people would know.
ALTER TABLE `login` ADD COLUMN `reg_date` TIMESTAMP;
No modifications needed on whichever theme or CP you'll be using.
-
-
will look into it later.
-
Thanks for your idea. Although I'm thinking something about pre-registration and stuff. I think this would be done as a plugin on the website when users are creating their accounts though
-
Very Quick response with my inquiry Hoping to hear from you soon about my other question
-
Hi All,
Is there a way to check when an account was created? If not, can I add something to make it possible?
-
On 11/11/2017 at 9:10 AM, Functor said:For 2015-09-16aRagexe you have to use:
<ITEM> and </ITEM>
instead of:
<ITEMLINK> and </ITEMLINK>
-
Great! That worked! Thanks!
-
will try that.
-
It's basically the same.
both that and
mes "<ITEMLINK>Valkyrie Shield<INFO>2115</INFO></ITEMLINK> ."; mes("<ITEMLINK>Poring Card<INFO>4001</INFO></ITEMLINK>");
won't work as intended. That's why I am thinking that it's disabled in my client version just want to confirm it though
-
ITEMLINK doesn't seem to work on this client? Or, does it? I've tried <URL></URL> and it works, but can't seem to get ITEMLINK to work.SOLVED:
On 11/11/2017 at 9:10 AM, Functor said:For 2015-09-16aRagexe you have to use:
<ITEM> and </ITEM>
instead of:
<ITEMLINK> and </ITEMLINK>
-
Not that I know of. That's just the most common error you'll encounter since it's for pets.
-
19 minutes ago, Gra Des Illus said:OIS does thies error still not yet fix? so when you feed pet you client will crash is it something like that?
Fixing it is really easy, just change the line 2579 on your msgstringinfo to
Feeding the pet. '%s' (%d) remaining#
(this is also applicable to client date 2015-09-16aRagexe.exe)
-
You'd have to keep in mind that when you use
- 2014-10-22
you might encounter errors when feeding pets
-
Can't wait for this. Do you have a time frame
-
Won't work as intended. But, will not let you create a doram character. thanks!
-
I'll try that and see what happens. Thanks!
-
Error Before client opens (2015-09-16 / 2015-11-04 RAGEXE)
I'm getting this error before client opens.
client will load after getting that message. using most recent translation files
Question:Alchemist Creation
in Database Support
Posted
will try that thanks!