-
Posts
591 -
Joined
-
Last visited
-
Days Won
18
Community Answers
-
EL Dragon's post in Requesting freebies npc. was marked as the answer
map,97,290,4 script Freebies 46,{
set [email protected]$, "[Seyra]";
setarray [email protected][0],2115,1,2357,1,2421,1,2524,1; // Rewards: <item id>,<item amount>
query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + getcharid(3) + "", [email protected]$);
if ( getd("$" + [email protected]$ + "_NG") > 0 || #NewbieGift > 0)
{
mes [email protected]$;
mes "I'm sorry, the rewards are exclusively for new players.";
close;
}
-
EL Dragon's post in edit max character stats was marked as the answer
pls use Google
https://www.google.de/#q=rathena+max+stats
conf/battle/player.conf change ur max parameter max_parameter: youre_max_stats src/map/battle.c and look for this line
{ "max_parameter", &battle_config.max_parameter, 99, 10, 10000, } change the 99 to youre_max_stats
{ "max_baby_parameter", &battle_config.max_baby_parameter, 80, 10, 10000, } change the 80 to youre_max_stats or whatever you want your baby parameters to be
{ "max_third_parameter", &battle_config.max_third_parameter, 20, 0, INT_MAX, } this is for 3rd job, change the 20 to youre_max_stats or whatever u want them to be.
after you do all your changes don't forget to recompile your server or the changes wont occur.
-
EL Dragon's post in Adding Custom NPC's for New Client 2014 was marked as the answer
edit src/map/npc.h
#define MAX_NPC_CLASS2_END 10095 -
EL Dragon's post in How to change all the birthday in SQL to 0000-00-00 was marked as the answer
run in mysql
update login set birthdate = '0000-00-00' -
EL Dragon's post in Need Help changing time on script. was marked as the answer
change
OnMinute00: OnMinute60: to
OnClock0000: OnClock0300: OnClock0600: OnClock0900: OnClock1200: OnClock1500: OnClock1800: OnClock2100: -
EL Dragon's post in ###### at command manager NPC was marked as the answer
here
prontera,147,175,5 script Settings 61,{ set @n$,"[^484848Settings^000000]"; set @reset$,"^000000"; set @disabled$,"^BE1C1C"; set @enabled$,"^0DB40D"; UserMenu: mes @n$; mes "You can change the way the game works here..."; mes "Note: These are all account based, not per-character."; mes "Note 2: You must relog for them to take effect."; next; if (#set_autoloot == 0) set @st_autoloot$,@disabled$+"Off"[email protected]$; if (#set_autoloot > 0) set @st_autoloot$,@enabled$+#set_autoloot+"%"[email protected]$; if (#set_showdelay == 0) set @st_showdelay$,@disabled$+"Off"[email protected]$; if (#set_showdelay > 0) set @st_showdelay$,@enabled$+"On"[email protected]$; if (#set_showexp == 0) set @st_showexp$,@disabled$+"Off"[email protected]$; if (#set_showexp > 0) set @st_showexp$,@enabled$+"On"[email protected]$; if (#set_showzeny == 0) set @st_showzeny$,@disabled$+"Off"[email protected]$; if (#set_showzeny > 0) set @st_showzeny$,@enabled$+"On"[email protected]$; if (#set_uptime == 0) set @st_uptime$,@disabled$+"Off"[email protected]$; if (#set_uptime > 0) set @st_uptime$,@enabled$+"On"[email protected]$; if (#set_rates == 0) set @st_rates$,@disabled$+"Off"[email protected]$; if (#set_rates > 0) set @st_rates$,@enabled$+"On"[email protected]$; menu "Auto Loot ["[email protected]_autoloot$+"]",e_autoloot,"Show Delay ["[email protected]_showdelay$+"]",e_showdelay,"Show Exp ["[email protected]_showexp$+"]",e_showexp,"Show Zeny ["[email protected]_showzeny$+"]",e_showzeny,"Uptime on login ["[email protected]_uptime$+"]",e_uptime,"Rates on login ["[email protected]_rates$+"]",e_rates; close; e_autoloot: mes @n$; mes "Auto Loot is currently "[email protected]_autoloot$; mes "Desc: Auto loot adds items to your inventory automatically."; next; menu "Toggle",-,"Back",UserMenu; mes @n$; mes "Auto Loot is currently "[email protected]_autoloot$; mes "Enter the minimum rate an item must drop at before it it looted, 100 will loot all items, 99 will only loot cards, 0 disables it."; next; input @rate; if ((@rate >= 0) && (@rate <= 100)) set #set_autoloot,@rate; goto UserMenu; e_showdelay: mes @n$; mes "Show Delay is currently "[email protected]_showdelay$; mes "Desc: When a skill fails because of delay, it will be hidden."; next; menu "Toggle",-,"Back",UserMenu; if (#set_showdelay == 0) { set #set_showdelay,1; goto UserMenu; } if (#set_showdelay == 1) { set #set_showdelay,0; goto UserMenu; } set #set_showdelay,1; mes "unknown error"; next; goto UserMenu; e_rates: mes @n$; mes "Rates on login is currently "[email protected]_rates$; mes "Desc: Displays the current server rates on login."; next; menu "Toggle",-,"Back",UserMenu; if (#set_rates == 0) { set #set_rates,1; goto UserMenu; } if (#set_rates == 1) { set #set_rates,0; goto UserMenu; } set #set_rates,1; mes "unknown error"; next; goto UserMenu; e_showexp: mes @n$; mes "Show Exp is currently "[email protected]_showexp$; mes "Desc: When you gain exp, it will be displaied."; next; menu "Toggle",-,"Back",UserMenu; if (#set_showexp == 0) { set #set_showexp,1; goto UserMenu; } if (#set_showexp == 1) { set #set_showexp,0; goto UserMenu; } set #set_showexp,1; mes "unknown error"; next; goto UserMenu; e_showzeny: mes @n$; mes "Show Zeny is currently "[email protected]_showzeny$; mes "Desc: When you gain zeny, it will be displaied."; next; menu "Toggle",-,"Back",UserMenu; if (#set_showzeny == 0) { set #set_showzeny,1; goto UserMenu; } if (#set_showzeny == 1) { set #set_showzeny,0; goto UserMenu; } set #set_showzeny,1; mes "unknown error"; next; goto UserMenu; e_uptime: mes @n$; mes "Uptime on login is currently "[email protected]_uptime$; mes "Desc: When you log in, server uptime will be displaied."; next; menu "Toggle",-,"Back",UserMenu; if (#set_uptime == 0) { set #set_uptime,1; goto UserMenu; } if (#set_uptime == 1) { set #set_uptime,0; goto UserMenu; } set #set_uptime,1; mes "unknown error"; next; goto UserMenu; close; OnPCLoginEvent: sleep2 1000; if (#set_autoloot > 0) atcommand "@autoloot " + #set_autoloot; if (#set_showdelay == 1) atcommand "@showdelay"; if (#set_showexp == 1) atcommand "@showexp"; if (#set_showzeny == 1) atcommand "@showzeny"; if (#set_rates == 1) atcommand "@rates"; if (#set_uptime == 1) atcommand "@uptime"; atcommand "@main on"; end; } -
EL Dragon's post in @storage town only was marked as the answer
- script storage -1,{
OnInit:
bindatcmd("storage",strnpcinfo(0)+"::OnStorage");
end;
OnStorage:
if( !getmapflag( strcharinfo(3),mf_town ) ) {
message strcharinfo(0), "not autorized";
end;
}
openstorage;
end;
}
-
EL Dragon's post in Gepard shield was marked as the answer
This game guard isn't the best one. You can try Harmony or Internal guard. The creator of Gepard Game Guard is Functor.
https://rathena.org/board/user/20454-functor/ -
EL Dragon's post in Request This Font/Style was marked as the answer
is a custom grf
http://www.file-upload.net/download-10647813/status.rar.html
-
EL Dragon's post in adding multiple maps in waitingroom was marked as the answer
remove set [email protected]_maps,getmapusers("pvp_y_room") + getmapusers("pvp_y_1-2") + getmapusers("pvp_2v2");
waitingroom
waitingroom "PvP Room ["+( getmapusers("pvp_y_room") + getmapusers("pvp_y_1-2") )+"]",0; -
EL Dragon's post in Need a modification of this was marked as the answer
here
http://pastebin.com/erUYdMcA
-
EL Dragon's post in Npc event manager was marked as the answer
youre server have no PCRE script commands.
https://rathena.org/wiki/PCRE -
EL Dragon's post in Need a Script . 3rd Job Shop Script was marked as the answer
here
quiz_02,352,334,3 shop Mechanic Shop 777,1549:2000000,2139:2000000,2800:2000000,2801:2000000,2802:2000000,2803:2000000,2804:2000000,2805:2000000,2806:2000000,2807:2000000,2808:2000000,2809:2000000,2810:2000000,6145:1000,6146:2000,6147:20000,12392:15000,12393:15000,12394:15000,18000:3000,18001:3000,18002:3000,18003:3000,18004:3000 quiz_02,354,334,3 shop Warlock Shop 777,6189:2000000,6190:2000000,6191:2000000,6192:2000000,6193:2000000,6194:2000000,6195:2000000,6196:2000000,6197:2000000,6198:2000000,6199:2000000 quiz_02,356,334,3 shop Genetic Shop 777,6210:30000,6211:30000,6212:30000,6213:30000,6214:30000,6215:30000,6216:30000,6217:30000,6244:30000,6245:30000,6246:50000,6247:50000,6248:50000,6249:50000,6250:50000,6251:50000,6252:50000,6253:50000,6254:50000,6255:50000,6256:50000,6257:50000,6258:50000,6259:50000,6260:50000,6261:50000,6262:50000,6263:50000,6264:50000,6265:50000,6279:100000,6280:100000,6281:100000,6282:100000,6283:100000,6284:100000,6285:100000,6297:20000,11022:100000,11023:100000,11024:100000,12417:3000012418:30000,12419:30000,12420:30000,12421:30000,12422:30000,12423:30000,12424:30000,12425:30000,12426:30000,12427:30000,12428:30000,12429:30000,12430:30000,12431:30000,12432:30000,12433:30000,12434:30000,12435:30000,12436:30000,12437:30000,12475:30000,13260,35000,13261,35000,13262,35000,13263,35000,13264,35000,13265,35000,13266,35000,13267,35000,13268,35000 quiz_02,368,334,3 shop Genetic Shop 02 777,13269:30000,13270:30000,13271:30000,13272:30000,13273:30000,13274:30000,13275:30000,13276:30000,13277:30000,13278:30000,13279:30000,13280:30000,13281:30000,13282:30000,13283:30000,13284:30000,13285:30000,13286:30000,13287:30000,13288:30000,13289:30000,13290:30000 quiz_02,358,334,3 shop Guillotine Cross Shop 777,7931:5000,7932:5000,7933:5000,7934:5000,7935:5000,7936:5000,7937:5000,12717:30000,12718:30000,12719:30000,12720:30000,12721:30000,12722:30000,12723:30000,12724:30000 quiz_02,360,334,3 shop Rune Knight Shop 777,7938:5000,7939:5000,12725:30000,12726:30000,12727:30000,12728:30000,12729:30000,12730:30000,12731:30000,12732:30000,12733:30000,12734:5000,12735:5000,12736:5000,12737:5000,12738:5000 quiz_02,362,334,3 shop Ranger Shop 777,7940:1000 quiz_02,364,334,3 shop Mins & Wand Shop 777,11513:30000 quiz_02,366,334,3 shop Arc Shop 777,12333:5000 quiz_02,370,334,3 shop All Weapon 3rd Class 778,1191:2000000,1287:2000000,1649:2000000,6122:2000,6123:20000,1196:5000000,1433:5000000,1654:5000000,1830:5000000,1930:5000000,1984:5000000,1985:5000000,2153:5000000,13061:5000000,13062:5000000,13431:5000000,16010:5000000,18103:5000000 -
EL Dragon's post in scr_logo.Help was marked as the answer
your image is png
here : http://www.file-upload.net/download-10194605/bild.rar.html
-
EL Dragon's post in Some simple itens bonus ^^ was marked as the answer
if(getrefine()>9) { bonus2 bAddMonsterDropItem,512,10; }
-
EL Dragon's post in H>How to make item like Card Album? was marked as the answer
open ra/db/item_db2.txt
make a new item -
25500,Custom_Box,Custom Box,2,10000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem groupranditem(IG_whatever),1; },{},{}
next step is
open ra/db/const.txt
Find IG_Advanced_Weapons_Box 61
below add this
IG_whatever 63 //IG_whatever must be same in the item_db2.txt script command
next step
open ra/db/item_group_db.txt
import: db/item_whatever.txt - put this
next step
make a new script named
item_whatever.txt - place this in ra/db/
next step
open item_whatever.txt - in ra/db/item_whatever.txt
//Explanation 63 - is the number you input in const.txt
// - 1111 - this is the itemID
// - 9 - this is the rate
63,1111,9
63,<Item ID>,<Rate>
next step
open ra/src/map/itemdb.h
find this part
#define MAX_ITEMGROUP #62
the number is 62 where in const.txt the max group number is 62 - but you add another item group..
- just add + 1 in 62 so make it
#define MAX_ITEMGROUP #63
-
EL Dragon's post in nocommand in map job_sage was marked as the answer
npc/mapflag make a new text data z.b Custom.txt open it.
no commands for Player
job_sage mapflag nocommand 10 add the new Text data in scripts_mapflags.conf
npc: npc/mapflag/Custom.txt reload your Scripts.
use the Make Solved Button.
-
EL Dragon's post in R> How to change max party limit was marked as the answer
#define MAX_PARTY 12 to 100 but I think max is 76
for linux Server http://www.pony-vpshosting.com/knowledgebase.php?action=displayarticle&id=2
for local host Server open rAthena-10.sln with Microsoft Visual C++ right of char-server_sql, login-server_sql and map-server_sql an Create New
-
EL Dragon's post in Help with .TGA Sprite Problem was marked as the answer
ah I have the problem found
-
EL Dragon's post in Requesting NPC Trader was marked as the answer
here 100 x #invasionpoint to 1 x Poring Coins and 1x Poring coin to 100x #invasionpoint
prontera,155,155,4 script Converter 83,{ [email protected]$ ="[^FF0000Converter^000000]"; dispbottom "You have " + #invasionpoint + " Invasion Point's."; mes [email protected]$; mes "Hello, 100 Invasion Point is equals to 1 Poring Coin."; mes "What would you like to do?"; next; switch( select("Invasion Point to Poring Coin","Poring Coin to Invasion Point") ) { case 1: mes [email protected]$; mes "How many Poring Coin(s) do you want?"; input [email protected]; next; if( [email protected] <= 0 || #invasionpoint < [email protected] * 100 ) { mes [email protected]$; mes "Sorry, you don't have enough Invasion Point!"; close; } mes [email protected]$; mes "This will cost ^FF0000" +([email protected] * 100)+ " Invasion Point^000000."; next; if( select("Proceed:Nevermind") -1 ) { mes [email protected]$; mes "Goodbye!"; close; } set #invasionpoint,#invasionpoint - [email protected] * 100; dispbottom "Lost: " +([email protected] * 100)+ " Invasion Point. Total: " +#invasionpoint +" Invasion Point."; getitem 7539, [email protected]; break; case 2: mes [email protected]$; mes "How many Poring Coin(s) will you give?"; input [email protected]; next; if( [email protected] <= 0 || countitem(7539) < [email protected] ) { mes [email protected]$; mes "Sorry, you don't have enough Poring Coin!"; close; } mes [email protected]$; mes "I can give you ^FF0000" +([email protected] * 100)+ " Invasion Point.^000000 for this."; next; if( select("Proceed:Nevermind") -1 ) { mes [email protected]$; mes "Goodbye!"; close; } set #invasionpoint,#invasionpoint + [email protected] * 100; dispbottom "Gained: " +([email protected] * 100)+ " Invasion Point. Total: " +#invasionpoint +" Invasion Point's."; delitem 7539,[email protected]; } close; } -
EL Dragon's post in gold room mob sprite was marked as the answer
http://www.green-peach.net/?a=sprite&type=mob&name=Bomb_Poring
-
EL Dragon's post in Sprite from a long time ago was marked as the answer
http://rathena.org/board/files/file/3201-valkyrie-helm/
-
EL Dragon's post in getmap user error was marked as the answer
waitingroom "[PvP Arena ["+getmapusers("guild_vs2")+"]",0;
-
EL Dragon's post in Character deletion was marked as the answer
conf/ char_athena.conf search char_del_delay: 86400 change 86400 to 120 is 2min and compile you server
-
EL Dragon's post in Fixed Palettes? was marked as the answer
which lies at the head sprites
http://rathena.org/board/files/file/2438-head-sprite-fix/