Jump to content

Patskie

Members
  • Posts

    1702
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Patskie

  1. Patskie

    N>help

    conf/maps_athena.conf map: <map name> map: alb_ship map: alb2trea map: alberta map: alberta_in map: alde_dun01 map: alde_dun02 map: alde_dun03 db/map_index.txt //====================================================================================== //Place your custom maps with a starting ID here. //====================================================================================== //Example: // <map name> 1250 db/re(pre-re)/map_cache.dat - Open map_cache.dat using WeeMapCache - Map on your server should pop in - Click file and find the .gat file for your custom map - Once set. Save - Restart your server
  2. prontera,150,150,0 script Sample 100,{ .@npc$ = strnpcinfo(1); mes .@npc$; mes "Exchange gold to zeny?"; next; if (select("Yes:No") - 1) end; mes .@npc$; mes "Input amount of gold you want to exchange"; next; input @amount; if ( @amount == 0 || countitem(969) < @amount ) { mes .@npc$; mes "Invalid amount"; close; } Zeny = Zeny + ( @amount * 10000 ); delitem 969, @amount; mes .@npc$; mes "Done!"; close; }
  3. Patskie

    @command

    OnInit: bindatcmd("<any command you want to use>",strnpcinfo(3)+ "::OnExe"); end; OnExe: // Execute code when the binded command was triggered by the user
  4. Do data folder have column name? Topic title already implies what my answer is all about
  5. Patskie

    help

    https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/breeder.txt
  6. For what reason? you just need the data and not the column name
  7. http://rathena.org/wiki/Diff cd /path/to/your/server/folder patch -p0 < /path/to/patch/file/filename.extension
  8. Cool design love it! 10/10!
  9. And it's a GG

  10. Read announce script
  11. https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/db/item_delay.txt 1000 ms = 1 second. // Item Delay Database // There is a max concurrent number of entries modifiable in src/map/itemdb.h as MAX_ITEMDELAYS // // Structure: // Item ID,Delay in Milliseconds //12202,60000 //Str_Dish10_ //12203,60000 //Agi_Dish10_ //12204,60000 //Int_Dish10_ //12205,60000 //Dex_Dish10_ //12206,60000 //Luk_Dish10_ //12207,60000 //Vit_Dish10_ 12208,60000 //Battle_Manual 12210,60000 //Bubble_Gum 14538,300000 //Glass_Of_Illusion 14586,180000 //Spark_Candy 607,5000 // Yggdrasil_Berry 608,3000 // Yggdrasil_Seed // Bifrost Items 11522,1000 // Red_Raffle_Sap 11523,2000 // Yellow_Raffle_Sap 11524,3000 // White_Raffle_Sap 11525,5000 // Mora_Hip_Tea
  12. What you mean? A certain group_id will not show their information? .bypass = 99; // GM LEVEL if ( getgmlevel() >= .bypass ) end; // greater than or equal to .bypass level terminate the script
  13. Like this? prontera,150,150,0 script Sample 100,{ query_sql "SELECT `name` , `class` FROM `char` WHERE `online` = '1'", .@name$, .@class; mes "-----------------------------------"; mes "Online Users: " + getusers(1); mes "-----------------------------------"; for( set .@a,0; .@a < getarraysize(.@name$); set .@a,.@a + 1) mes .@name$[.@a]+ " | Job: " +jobname(.@class[.@a]); mes "-----------------------------------"; close; }
  14. Tons of guides throughout on this forum. Maybe you can check them using search engine sometimes you need to read in order for you to learn. Depending on other people will not help you out in the future. 1. rAthena Wiki 2. rAthena SVN 3. Popular requested links 4. TortoiseSVN 5. Setup guide (Part 1) 6. Setup guide (Part 2) Just try creating a server on yourself and if you encounter a problem throughout the journey then there's a lot of section here you can post on and definitely developers here will help you out as soon as possible.
  15. Add a check if a character that will talk to the npc is a novice. Anyway too lazy to read Anakid codes and modify it. You can do this i guess. if (!Class) { mes "[ ^ff0000Buy / Deduct Skillpoints^000000 ]"; mes "I'm afraid I am not allowed to help you, young adventurer. You should do it on your own."; } For zeny check : if ( Zeny < ( @amt * .buy ) ) mes "I'm sorry you don't have enough money for that..."; Goodluck!
  16. Sample : // Test( 7227,5 ) function Test { //.id = getarg(0); //.amount = getarg(1); if (countitem(getarg(0))) { delitem getarg(0),getarg(1); } return; }
  17. What you mean? Server creation? From your title of thread up to the description of your topic thread i never understand where you are coming from.
  18. Make sure you completely back up your files on your old host and do accurately migrate them on new host. If you don't know what to do then you can ask your provider if they offer or somewhat help you to migrate.
  19. Patskie

    Name

    conf/battle/guild.conf // Limit Guild alliances. Value is 0 to 3. // If you want to change this value, clear the guild alliance table. // Default is 3 max_guild_alliance: 3 making names mean character name? if so, then : conf/char_athena.conf : // Set the letters/symbols that you want use with the 'char_name_option' option. // Note: Don't add spaces unless you mean to add 'space' to the list. char_name_letters: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890
  20. Yes you can //===== Description: ========================================= //= A dynamic quest shop based on Lunar's, with easier config. //= Includes support for multiple shops & cashpoints. //= Item Preview script by ToastOfDoom. //===== Additional Comments: =================================
  21. How to execute : http://www.siteground.com/tutorials/phpmyadmin/phpmyadmin_mysql_query.htm Execute this query : CREATE TABLE IF NOT EXISTS `mail` ( `id` bigint(20) unsigned NOT NULL auto_increment, `send_name` varchar(30) NOT NULL default '', `send_id` int(11) unsigned NOT NULL default '0', `dest_name` varchar(30) NOT NULL default '', `dest_id` int(11) unsigned NOT NULL default '0', `title` varchar(45) NOT NULL default '', `message` varchar(255) NOT NULL default '', `time` int(11) unsigned NOT NULL default '0', `status` tinyint(2) NOT NULL default '0', `zeny` int(11) unsigned NOT NULL default '0', `nameid` int(11) unsigned NOT NULL default '0', `amount` int(11) unsigned NOT NULL default '0', `refine` tinyint(3) unsigned NOT NULL default '0', `attribute` tinyint(4) unsigned NOT NULL default '0', `identify` smallint(6) NOT NULL default '0', `card0` smallint(11) NOT NULL default '0', `card1` smallint(11) NOT NULL default '0', `card2` smallint(11) NOT NULL default '0', `card3` smallint(11) NOT NULL default '0', `unique_id` bigint(20) unsigned NOT NULL default '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM;
  22. Set a privilege by creating a user on your database.
  23. waitingroom OnInit: waitingroom "Welcome to my FGRO",0; end;
  24. Set the <ID> on this code to the id of the ygg box which contains a certain amount of berries prontera.gat,144,173,3 script Berry Trader#1:BT 91,{ set $@npcname_mpq$, "^4000C0[Trader]^000000"; mes $@npcname_mpq$; mes "Hi, I'm the Yggdrasil Berry Trader, I can pack them into boxes for easir trading! Would you like to do some packing?"; next; menu "Yes, Please!",L_Berry,"No Thanks.",L_Exit; L_Berry: mes $@npcname_mpq$; mes "Input the amount of yggberry you want to pack"; next; input .@amount; if ( .@amount == 0 || countitem(607) < .@amount ) { mes $@npcname_mpq$; mes "Invalid amount"; close; } delitem 607, .@amount; mes $@npcname_mpq$; mes "You really have " +.@amount+ " berrys? Okay, Let's trade!"; getitem <ID>,1; mes ". . ."; mes "Thank you sweety. Dont ygg too much!"; close; LNotEnough: mes "You dont have the required items...?"; mes "Come back when you are actually ready. Now gtfo!"; close; Lnotenuff: mes "Wtf, come back when you got the goods!"; close; L_Exit: close; }
  25. Patskie

    guys

    Create tons of merchants and use @autotrade.
×
×
  • Create New...