-
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
-
Topic: Help! How to add items missing in my Rathena Emulator?
Poring King replied to Charlemagne19's question in Scripting Support
Server Data ? Then download the database and use it later on after updating it . Integrate your old data to new data -
How to switch Renewal to pre renewal (vise versa)
Poring King replied to IvanD's question in Database Requests
Multiple answer but pointing on one info -
Are there better ways to learn this language?
Poring King replied to justice123's question in Scripting Support
Yes by reading script_commands . I learn a lot of things from there its very informative and user friendly . As you can see when i reply to people . I always advise them to read script_commands and before asking here in forums check in script commands -
HOW CAN I CHANGE THE LEVEL REQUIREMENT OF AN ITEM?
Poring King replied to Charlemagne19's question in General Support
You just need to change the requirement . I think rAthena already use yaml . The last time i see the item_db is the time when yaml format is introduce . The item_db in server side is now more informative than before and its more user friendly . -
HOW CAN I CHANGE THE LEVEL REQUIREMENT OF AN ITEM?
Poring King replied to Charlemagne19's question in General Support
Its server side . Go to your item db in server side find the item name or id change the value of required level -
HOW CAN I CHANGE THE LEVEL REQUIREMENT OF AN ITEM?
Poring King replied to Charlemagne19's question in General Support
If you want to change the item description in game . You can change it inside your client files . Find System info . But if you want to change it also on server side do it on item_db -
Yellow name on char without using gm sprite
Poring King replied to GoldRoger's question in General Support
You can do that by declairing inside your client grf find clientinfo.xml. Add your gm account id there -
Issue: How to fix unavailable items and missing sprites?
Poring King replied to Charlemagne19's question in Graphics Requests
Use Chris Translation -
rAthena Wiki is very informative one
-
Which patcher to use and any guides out there that we can follow?
Poring King replied to OffGrid's question in Installation Support
Why trying to get a new one ? If you can use the most stable one with lot of support which is "Thor Patcher" -
Quests, Games: Alon Event
Poring King replied to Poring King's topic in Game, Event, Quest Script Releases
Player must bring Leaf to resurrect party member or priest . It is a team base game play -
rathena-master\npc\scripts_custom.conf nor works for me
Poring King replied to Topzin's question in Source Support
Have you tried @reloadnpcscript command ingame ? -
Use this as your referrence
-
Yes you can do this . I made a simple twek to work this inside fluxcp by alter and adding a "server" column to feth all account that are using for certain server
-
He said server not connection . Because if im not mistaken connection do first before login promp after that is server selection
-
creating it using clientinfo is just 5-10% of it . You must configure the Database, SRC , Server files . That guide wont fix his request im just lazy to write it here because lot of things to do
-
Yes i do this a lot of time . But only few people know how to do this After log in account you will must select which server you want to log in . Example: Valkyrie (99 current online) Nightmare server 255/120 ( 658 currently online ) Test Server ( 0 current online ) Thats how it look like to my end when i do this or you are referring to a proxy server ? Which this is how it works for proxy server . When client launch it will display all proxy connection that you want to connect like PROXY ( ASIA ) PROXY ( US SERVER) Etc then after selecting you will go to promp to LOGIN account ? . Which one you are looking for ?
-
Script command 'callfunc' returned failure.
Poring King replied to Dolphin86's question in Scripting Support
Try to re-write the script okay ? At least try it to your self . Do it with clean function first and try 1 by 1 so you can solve your things by your self . Because it might happen to you everytime -
Script command 'callfunc' returned failure.
Poring King replied to Dolphin86's question in Scripting Support
Its a tab not space And make sure there is a "}" in the end of function . The error already tell the complete detail of whats going wrong function%TAB%script%TAB%funcNPC%TAB%{ -
Script command 'callfunc' returned failure.
Poring King replied to Dolphin86's question in Scripting Support
This is your error [Error]: buildin_callfunc: Function not found! [F_restore] So meaning you write your call function it should be The bold script is the one you are missing Function should be written like this . reference of writing npc script can be found inside script_commands line 1638 *callfunc "<function>"{,<argument>,...<argument>}; *callfunc("<function>"{,<argument>,...<argument>}) This command lets you call up a function NPC. A function NPC can be called from any script on any map server. Using the 'return' command it will come back to the place that called it. place,50,50,6%TAB%script%TAB%Woman%TAB%115,{ mes "[Woman]" mes "Let's see if you win..."; callfunc "funcNPC"; mes "Well done, you have won!"; close; } function%TAB%script%TAB%funcNPC%TAB%{ .@win = rand(2); if (.@win == 0) return; mes "Sorry, you lost."; close; } So it will look like this place,50,50,6%TAB%script%TAB%Woman%TAB%115,{ mes "[Woman]" mes "Let's see if you win..."; callfunc "funcNPC"; mes "Well done, you have won!"; close; } function%TAB%script%TAB%funcNPC%TAB%{ .@win = rand(2); if (.@win == 0) return; mes "Sorry, you lost."; close; } -
Script command 'callfunc' returned failure.
Poring King replied to Dolphin86's question in Scripting Support
moc_para01,46,36,4 script Guild Blacksmith 826,{ if(countitem(40056) < 1){ goto notmember; } //============================ // functions //============================ // F_restore function F_restore { .@rental_item = getarg(0); .@item_1 = getarg(1); .@item_2 = getarg(2); .@item_3 = getarg(3); if(rentalcountitem(.@rental_item) < 1){ clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "You don't have a "; mes ""+ getitemname(.@rental_item) +"."; close; } if(countitem(.@item_1) < 1){ clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "You don't have a "+ getitemname(.@item_1) +"."; close; } if(countitem(.@item_2) < 10){ clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "You don't have 10 "+ getitemname(.@item_2) +"."; close; } clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "Great, here is your new "+ getitemname(.@item_3) +"."; delitem (.@rental_item, 1); delitem (.@item_1, 1); delitem (.@item_2, 10); getitem (.@item_3, 1); close; } // Text //============================= soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "Oh hello there, how can I help you ?"; switch(select("- Restore:- Upgrade Item Grade:- Cancel")){ case 1: goto restore1; case 2: goto upgradeclass; case 3: end; } // Restore //============================= restore1: clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "Oh, you need restore?"; switch(select("- Restore Information:- Restore Item:- Cancel")){ case 1: clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "Well, your item usually comes" mes "with a 7-day rental period,"; mes "but if you wish to extend"; mes "that rental period,"; mes "you can come to me"; mes "for a complete restore."; next; clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "To restore weapons or armor, I will need"; mes "- 1 Restore Token"; mes "- 10 Durengo Coins"; next; clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "Just for the record, I will only"; mes "restore Tier 2 and above items."; next; clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "For tools, I will just need"; mes "- 1 Restore Token"; mes "- 5 Durengo Coins"; close; case 2: clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "Ok then, what item do you need to restore?"; switch(select("- Weapon:- Armor:- Tools:- Cancel")){ case 1: goto wep_restore; case 2: goto armor_restore; case 3: goto tool_restore; case 4: end; } case 3: end; } wep_restore: clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "Select Weapon Tier"; switch(select("- Tier 2:- Cancel")){ case 1: clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "Select the weapon you wish to restore"; switch(select("- Improvise Dagger:- Cancel")){ case 1: goto improdaggres; case 2: end; } case 2: end; } improdaggres: clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "Select Dagger Grade"; switch(select("- Grade A:- Grade B:- Grade C:- Grade D:- Grade E:- Cancel")){ case 1: callfunc "F_restore",40081,40225,40016,40082; break; case 2: end; case 3: end; case 4: end; case 5: end; case 6: end; } armor_restore: clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "Work In Progress"; close; tool_restore: clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "Work In Progress"; close; // Upgrade //============================= upgradeclass: clear; soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "Work In Progress"; close; // Members //============================= notmember: soundeffect "menu.wav",0; mes "^ce7e00 === Hafiz === ^000000"; mes "You need to be a member before I can assist you."; close; } Try this Added missing semicolons. Corrected "Upgread Item Gred" to "Upgrade Item Grade". Fixed indentation and logical flow. Corrected misspelled words. Ensured all cases in switches are properly closed with end; or break;. -
Here i have top 30 or you can adjust it using the configuration //============================= // NPC Script: Top 30 Deaths //============================= prontera,150,150,4 script Top Deaths 837,{ // Configuration Section OnInit: // Configurable variables .npc_name$ = "[Top Deaths]"; .limit = 30; // Limit of players to display // End of Configuration end; OnTalk: // Fetch the top 30 players with the most deaths query_sql("SELECT `name`, `death` FROM `char` ORDER BY `death` DESC LIMIT " + .limit, .@name$, .@deaths); // Display the top 30 players mes .npc_name$; mes "Top " + .limit + " Players Who Died the Most:"; for (.@i = 0; .@i < getarraysize(.@name$); .@i++) { mes (.@i + 1) + ". " + .@name$[.@i] + " - " + .@deaths[.@i] + " deaths"; } close; }
-
You can use "npcwalkto" . You can see it on your server files script_commands to properly guide you how to use all npc script syntax
-
List of things to work on to "change" episode
Poring King replied to ragger00's question in General Support
I am also looking for it and planning to create a trend that will specify each episode NPC , Warp Portal , Storyline etc ..