Jump to content

Poring King

Members
  • Posts

    1016
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by Poring King

  1. 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
  2. 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
  3. 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
  4. 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
  5. Please post how you solve so other that might be have same problem as you see how you solve this
  6. 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..
  7. 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..
  8. If you don't have item_db.yml . Then you can find it to item_db.txt
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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 .
  14. 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 .
  15. /// Renewal stat calculations/// (disable by commenting the line)////// Leave this line to enable renewal calculation for increasing status/parameter points//#define RENEWAL_STAT
  16. 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; } } }
  17. 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;
  18. 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;
  19. 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;
  20. Just uncomment the Define PRERE so your server will load all pre-re
  21. YAML is very informative you can adop there easy and very user friendly
  22. Already give you answer OnMobDead: function TestFunction; Do this after the function end;
  23. 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);
×
×
  • Create New...