mleo1
-
Content Count
314 -
Joined
-
Last visited
Posts posted by mleo1
-
-
-
Protip:
Step 1. make a new account to make you somewhat anon (optional)
Step 2. scrape da threads, get da filesStep 3. post them here with proper credits even without the authors knowing it, hahah
Step 4. ?
Step 5. PROFIT -
sample
allowable max +7
if you go to prontera you will unequip it if above the allowable max
if you equip + above on prontera it will not equip -
LU meeting room: no profit let RO go
-
where can I find it?
-
Did not test it, but this will get you the idea
1. get this https://rathena.org/board/files/file/2344-fluxcp-addon-vote-for-points/- script voteexp -1,{ OnDay11: //jan 1 OnDay21: //feb 1 OnDay31: //mar 1 //your normal rate setbattleflag("base_exp_rate",100); setbattleflag("base_exp_rate",100); query_sql("SELECT SUM(points) FROM cp_v4p_voters", .@votes); if(.@votes>=2000){ query_sql "DELETE FROM cp_v4p_voters"; //your 2x rate setbattleflag("base_exp_rate",200); setbattleflag("job_exp_rate",200); }}
prontera,144,120,6 script Da Vote 1_F_ORIENT_04,{query_sql("SELECT SUM(points) FROM cp_v4p_voters", .@votes);mes "da vote is currently "+ .@votes;close;}2.
- script autopoints -1,{OnInit: //############# C O N F I G ############# set .max_idle, 10; // seconds start idle mode //####################################### check player.conf end;OnPCLogoutEvent: set #seconds_ap, @seconds_ap; set #iseconds_ap, @iseconds_ap; end;OnPCLoginEvent: set @seconds_ap, #seconds_ap; set @iseconds_ap, #iseconds_ap;OnSec: if( checkvending()!=2 ){ if( checkidle()==.max_idle ){ set @iseconds_ap, @iseconds_ap + 1; }else{ set @seconds_ap, @seconds_ap + 1; } if( @seconds_ap>=3600 ){ set @seconds_ap, 0; getitem 7179, 2; dispbottom "You get 2 pods every 1 hr online"; } if( @iseconds_ap>=3600 ){ set @iseconds_ap, 0; getitem 7179, 2; dispbottom "You get 1 pods every 1 hr idle"; } addtimer 1000, strnpcinfo(3)+"::OnSec"; }}
3. have 2 maps
- script nightday -1,{OnClock0600: //daymapwarp "mapnight","mapday",0,0;enablenpc "spinx#day";disablenpc "spinx#night";end;OnClock1800: //nightmapwarp "mapday","mapnight",0,0;enablenpc "spinx#night";disablenpc "spinx#day";}//the portals that lead to spinksprontera,99,64,0 warp spinx#day 2,2,mapday,204,90prontera,99,64,0 warp spinx#night 2,2,mapnight,204,90
//mon spawnmapday,0,0,0,0 monster Side Winder 1037,2,360000,180000,1mapnight,0,0,0,0 monster Bigfoot 1060,2,360000,180000,1 -
- script kickidle -1,{OnInit: //############# C O N F I G ############# set .max_idle, 10; // seconds //####################################### check player.conf end;OnPCLoginEvent:OnSec: if( checkvending()!=2 ){ if( checkidle()==.max_idle ) atcommand "@kick " + strcharinfo(0); addtimer 1000, strnpcinfo(3)+"::OnSec"; }}
test it, i did not tried it
-
is the map the same but with different models? do I need to update my mapcache? any npcs miss positions lol?
-
I updated my RO now this shows but it still runs, Im using 2013-12-23cRagexe
https://i.imgur.com/uJVg7Ts.png
can you give me your _new_2dlayerdir_f.lua ? -
I'm not sure with this too please correct me if im wrong..
- script PvP -1,{ end;OnInit: while(1) { sleep2 5000; waitingroom "PvP Area [ " + getmapusers("prontera") + " / 100 ] ",0; end; }}
you should use sleep not sleep2 because there is no need for RID?,
and theres an end inside the while loop, it will end, it will make static pub prolly
- script PvP -1,{ end;OnInit: while(1) {
the end here is good so if you click the npc it will not run the OnINit code again.
Answering to your second question (as the other ones have alreay been addressed): yes, you can omit the end; sentence if it's the last line of code before the closing curly brace of the NPC since it'll be assumed. Anyways, it's good practice to place it to end your script in any case wherever you'd want to end it, to avoid any possibly unexpected behavior.
thanks, Im getting mindfuck since allmost all scripts in other replies has unnessesary end; im gonna use end if necessary only thanks.
3.
OnClock<hour><minute>:OnMinute<minute>:OnHour<hour>:On<weekday><hour><minute>:OnDay<month><day>:This will execute when the server clock hits the specified date or time.Hours and minutes are given in military time. ('0105' will mean 01:05 AM).Weekdays are Sun,Mon,Tue,Wed,Thu,Fri,Sat. Months are 01 to 12, days are 01to 31. Remember the zero.okie thanks, if I searched OnMinute on scriptcommands.txt I should have seen it and not be stucked. Unluckily, I dont remember anything, lol
-
thanks, people need this, might be useful if this is on downloads
-
-
>was scripting, it does not work
>i googled, this shows
>bump, lol
-
I forgot scripting, rebeginner
Questions1 I wanna make the npc make a pub/waitingroom that shows count of players on specific map for may pvp warper, I dunno how, How please
lol maybe something like this, testing.while(1){waitingroomsleepdelwaitingroom}
2 Do you always need an 'end' in the end of script? I always see guys use it, but I dont.- script test -1,{ announce "1",0; end;}
- script test -1,{ announce "1",0;}
Same?
3. How to run a script once every week, like 12am sunday. what will i say? -
hello all, may i know with one of the best stable client ?
to be used ?
mleo ? help me.
dunno ill try this too, ill use this or yommy's 2013-12-23c
-
Can anybody post it here?
-
if I saw ice cream stuff and canadian goats there I will lulz, peace
-
I wanna make specific equips untradable until specifc date,
I dunno how (lol) or posible? Please help
EDIT: nevermind I'm checking out itembind.txt, and lurking more. -
-
Does anyone here got the def values in prenewal? (not all, but allmost all the prere items) or is there a tool that will help me achieve this?
I want to create a server using new clients but in prerenewal.
http://herc.ws/board/topic/398-client-translation-project/
-
How about add captcha to antibots script
rathena.org/board/topic/98175-recaptcha
it would be demotivational
-
forget password not working, cant login
-
Was gonna post but I dont remember scripting ffffuuuu
-
post mo db design dito, baka may makatulong
I want to deequip armors with +8refine and above in specific map. How?
in Source Support
Posted · Edited by mleo1
lets say
max refine is 7
map is pvpizlude
if you go to pvpizlude, you will unequip the armor if it is above the allowable max refine
if you try to equip armor with above refine in the map, it will not equip
How?