-
Posts
591 -
Joined
-
Last visited
-
Days Won
19
Community Answers
-
EL Dragon's post in Requesting freebies npc. was marked as the answer
map,97,290,4 script Freebies 46,{
set .@n$, "[Seyra]";
setarray .@rwd[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) + "", .@lip$);
if ( getd("$" + .@lip$ + "_NG") > 0 || #NewbieGift > 0)
{
mes .@n$;
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"+@reset$; if (#set_autoloot > 0) set @st_autoloot$,@enabled$+#set_autoloot+"%"+@reset$; if (#set_showdelay == 0) set @st_showdelay$,@disabled$+"Off"+@reset$; if (#set_showdelay > 0) set @st_showdelay$,@enabled$+"On"+@reset$; if (#set_showexp == 0) set @st_showexp$,@disabled$+"Off"+@reset$; if (#set_showexp > 0) set @st_showexp$,@enabled$+"On"+@reset$; if (#set_showzeny == 0) set @st_showzeny$,@disabled$+"Off"+@reset$; if (#set_showzeny > 0) set @st_showzeny$,@enabled$+"On"+@reset$; if (#set_uptime == 0) set @st_uptime$,@disabled$+"Off"+@reset$; if (#set_uptime > 0) set @st_uptime$,@enabled$+"On"+@reset$; if (#set_rates == 0) set @st_rates$,@disabled$+"Off"+@reset$; if (#set_rates > 0) set @st_rates$,@enabled$+"On"+@reset$; menu "Auto Loot ["+@st_autoloot$+"]",e_autoloot,"Show Delay ["+@st_showdelay$+"]",e_showdelay,"Show Exp ["+@st_showexp$+"]",e_showexp,"Show Zeny ["+@st_showzeny$+"]",e_showzeny,"Uptime on login ["+@st_uptime$+"]",e_uptime,"Rates on login ["+@st_rates$+"]",e_rates; close; e_autoloot: mes @n$; mes "Auto Loot is currently "+@st_autoloot$; mes "Desc: Auto loot adds items to your inventory automatically."; next; menu "Toggle",-,"Back",UserMenu; mes @n$; mes "Auto Loot is currently "+@st_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 "+@st_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 "+@st_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 "+@st_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 "+@st_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 "+@st_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 .@pvp_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,{ .@name$ ="[^FF0000Converter^000000]"; dispbottom "You have " + #invasionpoint + " Invasion Point's."; mes .@name$; 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 .@name$; mes "How many Poring Coin(s) do you want?"; input .@num; next; if( .@num <= 0 || #invasionpoint < .@num * 100 ) { mes .@name$; mes "Sorry, you don't have enough Invasion Point!"; close; } mes .@name$; mes "This will cost ^FF0000" +(.@num * 100)+ " Invasion Point^000000."; next; if( select("Proceed:Nevermind") -1 ) { mes .@name$; mes "Goodbye!"; close; } set #invasionpoint,#invasionpoint - .@num * 100; dispbottom "Lost: " +(.@num * 100)+ " Invasion Point. Total: " +#invasionpoint +" Invasion Point."; getitem 7539, .@num; break; case 2: mes .@name$; mes "How many Poring Coin(s) will you give?"; input .@num; next; if( .@num <= 0 || countitem(7539) < .@num ) { mes .@name$; mes "Sorry, you don't have enough Poring Coin!"; close; } mes .@name$; mes "I can give you ^FF0000" +(.@num * 100)+ " Invasion Point.^000000 for this."; next; if( select("Proceed:Nevermind") -1 ) { mes .@name$; mes "Goodbye!"; close; } set #invasionpoint,#invasionpoint + .@num * 100; dispbottom "Gained: " +(.@num * 100)+ " Invasion Point. Total: " +#invasionpoint +" Invasion Point's."; delitem 7539,.@num; } 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/