Jump to content

Poring King

Donators
  • Posts

    842
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by Poring King

  1. /// Renewal stat calculations/// (disable by commenting the line)////// Leave this line to enable renewal calculation for increasing status/parameter points//#define RENEWAL_STAT
  2. Here Full coded prontera,149,193,4 script WOE Information 420,{ doevent "WOE_CONTROL::OnMenu"; end; OnAgitStart: while(agitcheck() || agitcheck2() || agitcheck3()) { sleep 425; specialeffect EF_BEGINSPELL6; } end; OnInit: function s; function woe_update; // CONFIG // ...If you're not using Euphy's Woe Controller. setarray [email protected]_day, 1, 2, 3, 4, 5, 6, 7; //Day of the week WOE Starts on. (1 for Sunday, 7 is Saturday) setarray [email protected]_hour, 21; //rAthena works on a 24 hour clock. .auto_update = 60; //Auto update timer in seconds. .woe_len = getarraysize( [email protected]_day ); for( [email protected] = 0; [email protected] < .woe_len; [email protected]++ ) { .woe_day[ [email protected] * 4 ] = [email protected]_day[ [email protected] ] -1; .woe_day[ ([email protected] * 4) + 1 ] = [email protected]_hour[ [email protected] ]; } .woe_len = ( ( .woe_len ) * 4 ); woe_update(); while ( 1 ) { if( !( gettimetick(2) % .auto_update ) ) woe_update(); [email protected]_tick = .woe_time[.current] - gettimetick(2); [email protected] = [email protected]_tick / 86400; [email protected] = [email protected]_tick % 86400 / 3600; [email protected] = [email protected]_tick % 3600 / 60; [email protected] = [email protected]_tick % 60; [email protected]$ = ( [email protected] ? [email protected] +" day"+ s( [email protected] ) : "" ) + ( [email protected] ? [email protected] +" hour"+ s( [email protected] ) : "" ) + ( [email protected] ? [email protected] +" minute"+ s( [email protected] ) : "" ) + ( [email protected] ? [email protected] +" second"+ s( [email protected], 1 ) : "" ); delwaitingroom strnpcinfo(0); waitingroom (.woe_len ? ( agitcheck() ? "WOE is Active!" : [email protected]$ ) : "WOE is Disabled!" ), 0; sleep 1000; } end; OnAgitEnd: woe_update(); end; function s { return ( getarg(0) > 1 ? "s" : "" ) + ( getarg(1,0) ? "" : " " ); } function woe_update { if( getnpcid( 0, "WOE_CONTROL" ) ) { [email protected]_Len = getarraysize( $WOE_CONTROL ); copyarray .woe_day, $WOE_CONTROL, [email protected]_Len; .woe_len = [email protected]_Len; } for( [email protected] = 0; [email protected] < .woe_len; [email protected] += 4 ) { [email protected]_day[[email protected]] = ( .woe_day[[email protected]] - gettime(4) + 7 ) % 7 * 86400; [email protected]_hour[[email protected]] = ( .woe_day[[email protected]+1] * 3600 ) - gettimetick(1); .woe_time[[email protected]] = gettimetick(2) + [email protected]_day[[email protected]] + [email protected]_hour[[email protected]]; if(gettimetick(2) > .woe_time[[email protected]]) .woe_time[[email protected]] = .woe_time[[email protected]] + 7 * 86400; if( .woe_time[[email protected]] <= .woe_time[.current] ) .current = [email protected]; } } }
  3. Check your Jobmaster.txt if you have this kind of control on your script The controls inside OnInit is very informative you will get what you want OnInit: // Initialisation, do not edit these .NPCName$ = "[Job Master]"; // Settings .ThirdClass = false; // Enable third classes? .RebirthClass = true; // Enable rebirth classes? .SecondExpanded = true; // Enable new expanded second classes: Ex. Super Novice, Kagerou/Oboro, Rebellion? .BabyNovice = true; // Enable Baby novice classes? Disable it if you like player must have parent to get job baby. .BabyClass = true; // Enable Baby classes? .BabyThird = true; // Enable Baby third classes? .BabyExpanded = true; // Enable Baby Expanded classes: Ex. Baby Ninja, Baby Taekwon, etc. .BabySummoner = true; // Enable Baby Summoner? .LastJob = true; // Enforce linear class changes? .SkillPointCheck = true; // Force player to use up all skill points? .Platinum = true; // Get platinum skills automatically? .GetJobEquip = false; // Get job equipment (mostly weapons) on job change? // Level Requirements setarray .Req_First[0],1,10; // Minimum base level, job level to turn into 1st class setarray .Req_Second[0],1,40; // Minimum base level, job level to turn into 2nd class setarray .Req_Rebirth[0],99,50; // Minimum base level, job level to rebirth setarray .Req_Third[0],99,50; // Minimum base level, job level to change to third class setarray .Req_Exp_NJ_GS[0],99,70; // Minimum base level, job level to turn into Expanded Ninja and Gunslinger setarray .Req_Exp_SNOVI[0],99,99; // Minimum base level, job level to turn into Expanded Super Novice .SNovice = 45; // Minimum base level to turn into Super Novice // Setting adjustments by PACKETVER if( PACKETVER < 20161207 ) { if( .BabyExpanded ) debugmes "jobmaster: BabyExpanded is disabled due to outdated PACKETVER."; if( .BabySummoner ) debugmes "jobmaster: BabySummoner is disabled due to outdated PACKETVER."; .BabyExpanded = false; .BabySummoner = false; } end;
  4. IF ( @AMOUNT > 100 ){ // NPC DIALOG HERE IF TRUE // // EXAMPLE: MES "Nice your input is below 100"; END; // CLOSE NPC DIALOG } //IF FALSE DO THIS MES "Sorry you cant input more than 100"; END;
  5. Just add this before warp On this code . It will required player to have 1 Apple in he/her inventory to mes "[Quest Person]"; if (countitem(512) < 1) { // 512 is the item ID for Apple, found in db/item_db.yml mes "This is what NPC do if he/she dont have apple"; mes "Can you please bring me an apple?"; close; } mes "Oh, you brought an Apple!"; mes "I will warp you now since you have what i need."; warp "mapname",x,y; close;
  6. Just uncomment the Define PRERE so your server will load all pre-re
  7. YAML is very informative you can adop there easy and very user friendly
  8. Already give you answer OnMobDead: function TestFunction; Do this after the function end;
  9. NPC Function Script function%TAB%script%TAB%<function name>%TAB%{<code>} This is how you call a NPC function inside NPC script function TestFunction; This is how you call a NPC function inside the item_db script section callfunc( "function",$parameter);
  10. You can try making it a castle for breaker test script . Add the map to the castle_db
  11. Each year there is a stable client . But currently i think the most popular is the 2018-06-21 and most stable . But rAthena already support 2020 client but still got lot of bug's and need to fix ...
  12. View File Fix Blank Eye Error from Custom Hairstyle Have you been experience error from Blank eye using Custom Hairstyle ? I made it for you and it support up to Hairstyle 99 Female and Male Hairstyle . Well to be honest its not really fix the whole custom hairstyle but it provides you what the client is looking for to remove the error Submitter Poring King Submitted 12/02/2020 Category Client Resources Video Content Author Poring King  
  13. Version 1.0.0

    87 downloads

    Have you been experience error from Blank eye using Custom Hairstyle ? I made it for you and it support up to Hairstyle 99 Female and Male Hairstyle . Well to be honest its not really fix the whole custom hairstyle but it provides you what the client is looking for to remove the error
    Free
  14. Revise the script and add the getinventoryitem script
  15. Get thor patcher ( Thor Patch guide ) Simple guide Create a New folder ( put your system files or any files that you want to put to your player RO folder to make them updated ) Use thor generator and select the new folder that you made save it to the desktop Select root then generate WebHost Open your webhost using your WinSCP or your Cpanel go to your patcher folder put your generated thor files from your desktop and add it to your webhost data folder Open your plist add there your thor generated file name example : 1[space]Update2020files.thor Make sure your thor patcher is connected to your webhost . To do that you need to setup the configuration at your thor folder at config file name
  16. Its same thing from old but YML is more informative the only thing is different from the past is its txt file now its yml
  17. Add data in your client/system/iteminfo.lua or lub Find the corresponding ID if not there then that is the cause of apple by default
  18. Announce "This is how you use announce",BC_ALL; Your mega phone is this "announce strcharinfo(0) + ": " + [email protected]$,bc_all,0xFF0000;" To correct that . use the default syntax Announce "[ Streamer ]: "+strcharinfo(0)+":"[email protected]$+"",bc_all;
  19. New question is new topic . Select up if the post is has been solve . Create a new tread if new question ! To answer your question . Its either you will disable the achievement from conf/battle/feature.conf or the announce will stay there
  20. Use sprite editor if you are well know how to edit a sprite act
  21. They reply thru there own website ticket section
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.