-
Posts
1016 -
Joined
-
Last visited
-
Days Won
22
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Poring King
-
How to change Language of private server
Poring King replied to Ghox's question in Client-side Support
Go to your server.grf find clientinfo.xml or sclientinfo.xml if the client is 2018 + onward. Below 2018 will use only clientinfo.xml . Then use American use langtype 0 if below 2018 client version . if client version is 2018+ use langtype 1 -
Closed Connection Issue on Login Server
Poring King replied to mcNyj's question in Installation Support
Login IP 127.0.0.1 Char Athena char IP: Your VPS HOST IP / Your IP login IP: 127.0.0.1 Map Athena char IP: 127.0.0.1 Map IP : VPS HOST IP check your clientinfo.xml / sclientinfo.xml inside your server.grf check the IP and the langtype Lang type 0 = Below 2018 Lang type 1= 2018 Onwards IP = your server IP Use American instead of Korean -
How to enable butterfly wing bat_b02
Poring King replied to Chasewalk's question in Scripting Support
I found this too inside the script thats why i advice you to remove it too ^_^ guild_vs3 mapflag gvg off guild_vs3 mapflag battleground 2 guild_vs3 mapflag nosave SavePoint guild_vs3 mapflag nowarp guild_vs3 mapflag nowarpto guild_vs3 mapflag noteleport guild_vs3 mapflag nomemo guild_vs3 mapflag nopenalty guild_vs3 mapflag nobranch guild_vs3 mapflag noicewall guild_vs3 mapflag hidemobhpbar -
On this Error you need to change the 0 into BL_NPC if NPC BL_PC if Player On this Error you need to use string not number & use number instead of string Ex: String = Word Number = Number On this error you need to use the NPCNAME:OnEventLabel
-
How to enable butterfly wing bat_b02
Poring King replied to Chasewalk's question in Scripting Support
Please post how you solve so other that might be have same problem as you see how you solve this -
How to enable butterfly wing bat_b02
Poring King replied to Chasewalk's question in Scripting Support
The easy way is to go to your mapflag folder right ? But also check your battleground script if there is a mapflag too and disable it.. -
FluxCP Centos 7 Error: PDOException with full permissions
Poring King replied to Rivers's question in Web Support
If you are going online or offline . Always use or base all your configuration to your database. If the database using root & admin as user and pass then put on your anyfile as a connection is root and admin only . So you will not mess up . Do the custom configuration when you know already what you are doing.. -
How to remove message when open a buff box
Poring King replied to Sikdope's question in Client-side Support
If you don't have item_db.yml . Then you can find it to item_db.txt -
[Warning]: Unable to restore stack! Double continuation!
Poring King replied to GeorgeBrian's question in General Support
There is a lot of things it might cause of server crash on item Duplicate Name Weight Buying & Selling item to NPC and you will get Higher amount on selling ex: You buy gold to npc worth of 100k but if you sell it to NPC it will give you 120k this thing im 100% sure make your server crash i experience this before when changing my item db.txt to YML. Because i want to use the re items so i load everything Script is empty etc -
[Warning]: Unable to restore stack! Double continuation!
Poring King replied to GeorgeBrian's question in General Support
Try this - Id: 656 AegisName: Awakening_Potion Name: Awakening Potion Type: Usable Buy: 1500 Weight: 150 Jobs: Alchemist: true Archer: true Assassin: true Blacksmith: true Crusader: true Gunslinger: true Hunter: true Knight: true Mage: true Merchant: true Monk: true Ninja: true Novice: true Rogue: true Sage: true SoulLinker: true StarGladiator: true SuperNovice: true Swordman: true Taekwon: true Thief: true Wizard: true EquipLevelMin: 40 Flags: BuyingStore: true Script: | sc_start SC_ASPDPOTION1,1800000,0; Error said about the invisible NPC so i assume that you create a custom script -
1 or more will only generate 1 thor patcher file . Thor patcher file is compress file and the patcher only do is to extract it that's why we have patcher on your RO folder to replace your existing files to a newer one
-
[Warning]: Unable to restore stack! Double continuation!
Poring King replied to GeorgeBrian's question in General Support
SEND your Script so we can help! -
How to switch Renewal to pre renewal (vise versa)
Poring King replied to IvanD's question in Database Requests
No need to disable everything you only need to do is uncomment like this to load all PRE-RE Modes //quick option to disable all renewal option, used by ./configure #define PRERE #ifndef PRERE -
if (countitem(itemID1) < 1 | countitem(ItemID2) < 1 | countitem(ItemID3) < 1 | so on so fort ){ mes "You dont have what i need"; end; } mes "I see you have all what i need i will warp you now"; warp "mapname",x,y; end; He just ask for item requirement before to warp i meet what he need . I give him the basic example of scripting to learn i don't give so much freebies and make this person asking always relay on freebies . He/she should learn by his self .. As you can see he don't even know how to do some condition statement its the basic one then you give him more complicated scripting . You are right he can use your script well but did he learn ? I give him more informative scripting on the NPC script dialog so he knew how the script process .
-
Converting stat calculation RE to Pre-re
Poring King replied to kalabasa's question in General Support
Add the "//" To make it pre-re calculation Ex: //#define RENEWAL_STATS If you already did that then you already get what you want. Then if you are still not satisfy then you are on your own create your custom calculation. The reason that they add that feature in renewal.hpp to make it easier to switch . -
Converting stat calculation RE to Pre-re
Poring King replied to kalabasa's question in General Support
/// Renewal stat calculations/// (disable by commenting the line)////// Leave this line to enable renewal calculation for increasing status/parameter points//#define RENEWAL_STAT -
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 .@start_day, 1, 2, 3, 4, 5, 6, 7; //Day of the week WOE Starts on. (1 for Sunday, 7 is Saturday) setarray .@start_hour, 21; //rAthena works on a 24 hour clock. .auto_update = 60; //Auto update timer in seconds. .woe_len = getarraysize( .@start_day ); for( .@i = 0; .@i < .woe_len; .@i++ ) { .woe_day[ .@i * 4 ] = .@start_day[ .@i ] -1; .woe_day[ (.@i * 4) + 1 ] = .@start_hour[ .@i ]; } .woe_len = ( ( .woe_len ) * 4 ); woe_update(); while ( 1 ) { if( !( gettimetick(2) % .auto_update ) ) woe_update(); .@woe_tick = .woe_time[.current] - gettimetick(2); .@day = .@woe_tick / 86400; .@hour = .@woe_tick % 86400 / 3600; .@min = .@woe_tick % 3600 / 60; .@sec = .@woe_tick % 60; .@mes$ = ( .@day ? .@day +" day"+ s( .@day ) : "" ) + ( .@hour ? .@hour +" hour"+ s( .@hour ) : "" ) + ( .@min ? .@min +" minute"+ s( .@min ) : "" ) + ( .@sec ? .@sec +" second"+ s( .@sec, 1 ) : "" ); delwaitingroom strnpcinfo(0); waitingroom (.woe_len ? ( agitcheck() ? "WOE is Active!" : .@mes$ ) : "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" ) ) { .@Euphy_Len = getarraysize( $WOE_CONTROL ); copyarray .woe_day, $WOE_CONTROL, .@Euphy_Len; .woe_len = .@Euphy_Len; } for( .@a = 0; .@a < .woe_len; .@a += 4 ) { .@woe_day[.@a] = ( .woe_day[.@a] - gettime(4) + 7 ) % 7 * 86400; .@woe_hour[.@a] = ( .woe_day[.@a+1] * 3600 ) - gettimetick(1); .woe_time[.@a] = gettimetick(2) + .@woe_day[.@a] + .@woe_hour[.@a]; if(gettimetick(2) > .woe_time[.@a]) .woe_time[.@a] = .woe_time[.@a] + 7 * 86400; if( .woe_time[.@a] <= .woe_time[.current] ) .current = .@a; } } }
- 1 reply
-
- 1
-
-
Trying to get WoE enabled on custom map
Poring King replied to Rivers's question in Scripting Support
Try to add the map inside Castle_db -
Jobmaster without Taekwon Class 3rd Job
Poring King replied to polong's question in Scripting Support
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; -
ADDING AMOUNT TO EXCHANGE IN THIS EXCHANGER NPC
Poring King replied to celeron0134's question in Scripting Support
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; -
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;
-
How to switch Renewal to pre renewal (vise versa)
Poring King replied to IvanD's question in Database Requests
Just uncomment the Define PRERE so your server will load all pre-re -
Converting pre-YAML custom skill to YAML
Poring King replied to Moooooon-Aisha's question in Database Support
YAML is very informative you can adop there easy and very user friendly -
call event with arguments on monster death
Poring King replied to fusqueta's question in Scripting Support
Already give you answer OnMobDead: function TestFunction; Do this after the function end; -
call event with arguments on monster death
Poring King replied to fusqueta's question in Scripting Support
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);