-
Posts
761 -
Joined
-
Last visited
-
Days Won
19
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by crazyarashi
-
It doesn't support https.. An alternative is to get a sub-domain for it which is usually free.
-
The pull request is for both pre-re and re.
-
No it won't since the its attached to the character and the CD is attached to the account Variables
-
prontera,229,310,3 script Ingacio#daily_mass 123,{ if(gettime(DT_DAYOFWEEK) == SATURDAY){ if(daily_mass < 3){ mes "The Daily Mass will start again tomorrow."; close; } else { if(daily_mass < 4){ [email protected] = 1; } else if(daily_mass < 6){ [email protected] = 2; } else if(daily_mass == 7){ [email protected] = 3; } mes "Here is your reward for attending the daily mass."; [email protected] = ([email protected] - 1) * 2; daily_mass = 0; getitem .reward[[email protected]],.reward[[email protected] + 1]; end; } } if(#daily_mass_cd > gettimetick(2)){ mes "Thank you for attending the mass today."; mes "Come back again tomorrow."; close; } if(gettime(HOUR) >= 19 && gettime(HOUR) <= 23){ mes "Thank you for attending the daily mass."; mes "Please come back again tomorrow."; if(gettime(DT_DAYOFWEEK) == SUNDAY){ daily_mass = 0; } daily_mass += 1; #daily_mass_cd = gettimetick(2) + 18000; } else { mes "We are having the daily mass between 17:00~23:00."; } end; OnHour19: enablenpc strnpcinfo(0); end; OnHour23: disablenpc strnpcinfo(0); end; OnInit: setarray .reward, //= ITEM ID, AMOUNT 501,5, //= <4 DAY REWARD 502,5, //= <6 DAY REWARD 503,7; //= 7 DAY REWARD end; } Haven't tested it yet, do try it. As for no dual there are several scripts out there for that like this one. Just add your map.
-
-
I updated the query
-
- script server_cash -1,{ query_sql("SELECT sum(`value`) FROM `acc_reg_num` WHERE `key` = '#CASHPOINTS'",[email protected]$); mes "Total Server Cash : " + [email protected]$; end; }
-
Requesting for mvp points with different value
crazyarashi replied to behemothcze's question in Script Requests
- script mvp_point -1,{ end; OnNPCKillEvent: if(!getmonsterinfo(killedrid,MOB_MVPEXP) || inarray(.mvp_point, killedrid) == -1) end; [email protected] = inarray(.mvp_point, killedrid) + 1; if(!getcharid(1)){ #MVP_POINT += .mvp_point[[email protected]]; dispbottom "You got " + .mvp_point[[email protected]] + " MVP Points for killing " + getmonsterinfo(killedrid,MOB_NAME) +"."; } else { getmapxy([email protected]$,[email protected],[email protected],BL_PC); getpartymember getcharid(1),1; getpartymember getcharid(1),2; for([email protected] = 0; [email protected] < [email protected]; [email protected]++){ if(attachrid([email protected][[email protected]])){ if(strcharinfo(3) == [email protected]$ && isloggedin([email protected][[email protected]], [email protected][[email protected]])){ [email protected]_id[getarraysize([email protected]_id)] = [email protected][[email protected]]; } detachrid; } } [email protected] = getarraysize([email protected]_id); if([email protected] == 1){ #MVP_POINT += .mvp_point[[email protected]]; dispbottom "You got " + .mvp_point[[email protected]] + " MVP Points for killing " + getmonsterinfo(killedrid,MOB_NAME) +"."; end; } if([email protected] > .mvp_point[[email protected]] || [email protected] == .mvp_point[[email protected]]){ [email protected] = 1; } else { [email protected] = (.mvp_point[[email protected]]/[email protected]); } for([email protected] = 0; [email protected] < [email protected]; [email protected]++){ setd "#MVP_POINT",getd("#MVP_POINT") + [email protected],[email protected]_id[[email protected]]; dispbottom "You got " + .mvp_point[[email protected]] + " MVP Points for killing " + getmonsterinfo(killedrid,MOB_NAME) +".",0x00FF00,[email protected]_id[[email protected]]; } } end; OnInit: setarray .mvp_point, //= MVP ID, Points 1039,10, 1046,20, 1112,30; end; } I haven't tested it yet. Just add all your MVP ID, Point on the array. -
You'll need to edit the src for pc_allskillup and add specific checks for the skill you want excluded.
-
skill "BS_GREED",1; itemskill is for triggering skills when used. ex : fly wing, scrolls, etc..
-
I don't know why you are looking for Endless Tower, but here https://github.com/rathena/rathena/blob/master/npc/instances/EndlessTower.txt
-
@BFPkiller Fixed it. Just copy again
-
- shop food_vendor -1,12043:20000,12058:20000,12053:20000,12063:20000,12068:20000 map,123,123,1 script Food Vendor 123,{ if(!vendor_unlocked){ mes "[ Food Vendor ]"; mes "Can you give me one " + getitemname(12128) +"?"; next; if(countitem(12128)){ if(select("Give the "+getitemname(12128)+":Cancel") == 2){ mes "[ Food Vendor ]"; mes "That's unfortunate."; close; } mes "[ Food Vendor ]"; mes "Thank you, now I can prepare my foods."; delitem 12128,1; vendor_unlocked = 1; end; } else { mes "[ Food Vendor ]"; mes "Please bring me a " + getitemname(12128) +"?"; end; } } mes "[ Food Vendor ]"; mes "How can I help you?"; next; callshop "food_vendor",1; end; }
-
Find the line in your job_exp and change it to 120 //Job - Ninja/Gunslinger 70,24:25,..... to 120,24:25,..... //Job - Star Gladiator 50,4047:4048,..... to 120,4047:4048,.....
- 1 reply
-
- 1
-
-
- script item_swap -1,{ for([email protected] = 0; [email protected] < .size; [email protected]++){ [email protected]$ += "List " + ([email protected]+1) + ":"; } mes "Select a list."; next; [email protected] = select([email protected]$) - 1; explode([email protected]$,.item_list$[[email protected]],","); for([email protected] = 0; [email protected] < getarraysize([email protected]$); [email protected]++){ [email protected] = atoi([email protected]$[[email protected]]); [email protected][[email protected]] = [email protected]; if(countitem([email protected])){ [email protected][getarraysize([email protected])] = [email protected]; [email protected]$ += getitemname([email protected]) + ":"; } else { continue; } } mes "Select the item you want to swap."; next; [email protected] = select([email protected]$) - 1; [email protected]_id = [email protected][[email protected]]; [email protected] = inarray([email protected],[email protected]_id); for([email protected] = 0; [email protected] < getarraysize([email protected]); [email protected]++){ if([email protected] == [email protected]) continue; [email protected][getarraysize([email protected])] = [email protected][[email protected]]; [email protected]$ += getitemname([email protected][[email protected]]) + ":"; } mes "select the item you want to swap into."; next; [email protected] = select([email protected]$) - 1; delitem [email protected]_id,1; getitem [email protected][[email protected]],1; end; OnInit: setarray .item_list$,"501,502,503,504,505","506,507,508,509,510"; .size = getarraysize(.item_list$); end; } Haven't tested this but pretty sure it will work..
-
Hello, help about editing the exp rate via script
crazyarashi replied to G-RO's question in Script Requests
You can use bonus2 bExpAddClass if(fame >= 100){ bonus2 bExpAddClass,Class_All,20; //= Increase EXP gain from killing mobs by 20% } -
You can easily change the client side to korean language items/etc but not the scripts in the server side, but you should be able to find one. There is a forum that translates rA into korean language i just dont remember the forum name anymore.
-
Help to change skill damage SRC File problems
crazyarashi replied to pueblodefairy's question in Source Support
Recompile your server. -
Change Korean language on some buttons
crazyarashi replied to Maybach's question in Client-side Support
Use a full translation file Zackdreaver English Translation -
Just add an account variable tick to it if you want it to have an account cd, just match the cd to your quest_db cd. //= Instance Creation Check if (is_party_leader() == false) { mes "[Civilization Explorer]"; mes "Ah. You aren't the party leader. Take me to your leader! Or perhaps take your leader to me."; close; } if(#CentralLabCD > gettimetick(2)){ mes "[Civilization Explorer]"; mes "Account CD Mes"; close; } //= Instance Enter case IE_OK: mapannounce "verus01", "" + strcharinfo(0) + " of the party, " + getpartyname([email protected]_id) + ", is entering Central Laboratory.",bc_map,"0x00FF99"; #CentralLabCD = gettimetick(2) + 9999999; //= Account CD setquest 12347;// Trace of Laboratory Access end;
-
[Debug]: Source (NPC): dualclientkicker (invisible/not on a map)
crazyarashi replied to ermac's question in Scripting Support
setarray .current_maps$[0] ,"payg_cas04", to setarray .current_maps$[0] ,"payg_cas04"; -
Nightmarish Jitterbug never destorys intance...
crazyarashi replied to Peopleperson49's question in Scripting Support
I don't see the need too add instance_destroy checks. That is why we have the IdleTimeOut in the instance db.