When my server is loading so you can see the error, Being ran under centos 6.3 64 bit
login server
rAthena Development Team presents
___ __ __
_____/ | / /_/ /_ ___ ____ ____ _
/ ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
/ / / ___ / /_/ / / / __/ / / / /_/ /
/_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/
http://rathena.org/board/
[info]: SVN Revision: '17054'.
[Warning]: You are running rAthena with root privileges, it is not necessary.
[info]: Server supports up to '1024' concurrent connections.
[info]: Finished reading conf/import/inter_conf.txt.
[info]: Finished reading conf/inter_athena.conf.
[info]: Finished reading conf/import/login_conf.txt.
[info]: Finished reading conf/login_athena.conf.
[status]: The login-server is ready (Server is listening on the port 6900).
[info]: Connection request of the char-server 'rAthena' @ XXX.XXX.XXX.XXX:6121 (account: 'ragognnet', pass: 'tenngogar', ip: 'XXX.XXX.XXX.XXX')
[Notice]: Authentication accepted (account: ragognnet, id: 1, ip: XXX.XXX.XXX.XXX)
[status]: Connection of the char-server 'rAthena' accepted.
[info]: Closed connection from '127.0.0.1'.
[info]: Closed connection from '127.0.0.1'.
[status]: Request for connection of riceprincess (ip: XXX.XXX.XXX.XXX).
[Notice]: Authentication accepted (account: riceprincess, id: 2000002, ip: XXX.XXX.XXX.XXX)
[status]: Connection of the account 'riceprincess' accepted.
[info]: Closed connection from 'XXX.XXX.XXX.XXX'.
[info]: Closed connection from '127.0.0.1'.
[status]: Request for connection of riceprincess (ip: XXX.XXX.XXX.XXX).
[Notice]: Authentication accepted (account: riceprincess, id: 2000002, ip: XXX.XXX.XXX.XXX)
[status]: Connection of the account 'riceprincess' accepted.
[info]: Closed connection from 'XXX.XXX.XXX.XXX'.
[status]: set users rAthena : 1
[info]: Setting accounts from char-server 1 offline.
[status]: Char-server 'rAthena' has disconnected.
[info]: Connection request of the char-server 'rAthena' @ XXX.XXX.XXX.XXX:6121 (account: 'ragognnet', pass: 'tenngogar', ip: 'XXX.XXX.XXX.XXX')
[Notice]: Authentication accepted (account: ragognnet, id: 1, ip: XXX.XXX.XXX.XXX)
[status]: Connection of the char-server 'rAthena' accepted.
Char Server
rAthena Development Team presents
___ __ __
_____/ | / /_/ /_ ___ ____ ____ _
/ ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
/ / / ___ / /_/ / / / __/ / / / /_/ /
/_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/
http://rathena.org/board/
[info]: SVN Revision: '17054'.
[Warning]: You are running rAthena with root privileges, it is not necessary.
[info]: Server supports up to '1024' concurrent connections.
[info]: Done reading conf/import/char_conf.txt.
[info]: Done reading conf/char_athena.conf.
[info]: Done reading conf/import/inter_conf.txt.
[info]: Done reading conf/inter_athena.conf.
[info]: Done reading conf/import/inter_conf.txt.
[info]: Done reading conf/inter_athena.conf.
[info]: Connect Character DB server.... (Character Server)
[status]: Done reading '49' entries in 'db/re//exp_guild.txt'.
[status]: Finished Reading GeoIP Database.
[status]: Characters per Account: '9'.
[status]: Multiple interfaces detected.. using XXX.XXX.XXX.XXX as our IP address
[status]: The char-server is ready (Server is listening on the port 6121).
[info]: Attempt to connect to login-server...
[status]: Connecting to XXX.XXX.XXX.XXX:6900
[Error]: make_connection: connect failed (socket #5, error 111: Connection refused)!
[info]: Attempt to connect to login-server...
[status]: Connecting to XXX.XXX.XXX.XXX:6900
[Error]: make_connection: connect failed (socket #5, error 111: Connection refused)!
[info]: Attempt to connect to login-server...
[status]: Connecting to XXX.XXX.XXX.XXX:6900
[status]: Connected to login-server (connection #5).
[status]: Awaiting maps from map-server.
[status]: Map-Server 0 connected: 804 maps, from IP XXX.XXX.XXX.XXX port 5121.
[status]: Map-server 0 loading complete.
[info]: Loaded guild castle (0 - guild 0)
[info]: Loaded guild castle (1 - guild 0)
[info]: Loaded guild castle (2 - guild 0)
[info]: Loaded guild castle (3 - guild 0)
[info]: Loaded guild castle (4 - guild 0)
[info]: Loaded guild castle (5 - guild 0)
[info]: Loaded guild castle (6 - guild 0)
[info]: Loaded guild castle (7 - guild 0)
[info]: Loaded guild castle (8 - guild 0)
[info]: Loaded guild castle (9 - guild 0)
[info]: Loaded guild castle (10 - guild 0)
[info]: Loaded guild castle (11 - guild 0)
[info]: Loaded guild castle (12 - guild 0)
[info]: Loaded guild castle (13 - guild 0)
[info]: Loaded guild castle (14 - guild 0)
[info]: Loaded guild castle (15 - guild 0)
[info]: Loaded guild castle (16 - guild 0)
[info]: Loaded guild castle (17 - guild 0)
[info]: Loaded guild castle (18 - guild 0)
[info]: Loaded guild castle (19 - guild 0)
[info]: Loaded guild castle (20 - guild 0)
[info]: Loaded guild castle (21 - guild 0)
[info]: Loaded guild castle (22 - guild 0)
[info]: Loaded guild castle (23 - guild 0)
[info]: Loaded guild castle (24 - guild 0)
[info]: Loaded guild castle (25 - guild 0)
[info]: Loaded guild castle (26 - guild 0)
[info]: Loaded guild castle (27 - guild 0)
[info]: Loaded guild castle (28 - guild 0)
[info]: Loaded guild castle (29 - guild 0)
[info]: Loaded guild castle (30 - guild 0)
[info]: Loaded guild castle (31 - guild 0)
[info]: Loaded guild castle (32 - guild 0)
[info]: Loaded guild castle (33 - guild 0)
[Notice]: Sending users of map-server 0 offline.
[status]: Map-server #0 has disconnected.
[status]: Map-Server 0 connected: 804 maps, from IP XXX.XXX.XXX.XXX port 5121.
[status]: Map-server 0 loading complete.
[info]: request connect - account_id:2000002/login_id1:2081597443/login_id2:1982253405
[info]: Loading Char Data (2000002)
[info]: Char load request (150007)
[info]: storage load complete from DB - id: 2000002 (total: 69)
[info]: Loaded char (150007 - Viel): status memo inventory cart storage skills friends hotkeys mercenary
[info]: Selected char: (Account 2000002: 0 - Viel)
[info]: Subnet check [XXX.XXX.XXX.XXX]: WAN
[info]: Guild loaded (2 - UWRO Staff)
[info]: Party loaded (3 - UWRO Staff).
[info]: mail load complete from DB - id: 150007 (total: 0
Map Server
rAthena Development Team presents
___ __ __
_____/ | / /_/ /_ ___ ____ ____ _
/ ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
/ / / ___ / /_/ / / / __/ / / / /_/ /
/_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/
http://rathena.org/board/
[info]: SVN Revision: '17054'.
[Warning]: You are running rAthena with root privileges, it is not necessary.
[info]: Server supports up to '1024' concurrent connections.
[Error]: Map configuration file not found at: npc/scripts_athena.conf
[Warning]: Not all IP addresses in map_athena.conf configured, autodetecting...
[Notice]: Multiple interfaces detected...
[info]: Defaulting to XXX.XXX.XXX.XXX as our IP address
[info]: Map Server IP Address : 'XXX.XXX.XXX.XXX' -> 'XXX.XXX.XXX.XXX'.
[info]: Char Server IP Address : 'XXX.XXX.XXX.XXX' -> 'XXX.XXX.XXX.XXX'.
[status]: Using SQL dbs: no
[info]: Logging item transactions to table 'picklog'.
[info]: Logging commands to table 'atcommandlog'.
[info]: Connecting to the Map DB Server....
[status]: connect success! (Map Server Connection)
[info]: [sql]: Connecting to the Log Database ragnarok At 127.0.0.1...
[status]: [sql]: Successfully 'connected' to Database 'ragnarok'.
[status]: Loading maps (using db/re/map_cache.dat as map cache)...
[info]: Successfully loaded '804' maps.
[status]: Done reading '60' command aliases in 'conf/atcommand_athena.conf'.
[status]: Done reading packet database from 'packet_db.txt'. Using default packet version: 30.
[status]: Done reading '6936' entries in 're/item_db.txt'.
[status]: Done reading '0' entries in 'item_db2.txt'.
[status]: Done reading '190' entries in 'item_combo_db'.
[status]: Done reading 'item_group_db.txt'.
[status]: Done reading '1' entries in 'db/item_avail.txt'.
[status]: Done reading '19' entries in 'db/re/item_noequip.txt'.
[status]: Done reading '1701' entries in 'db/re/item_trade.txt'.
[status]: Done reading '10' entries in 'db/item_delay.txt'.
[status]: Done reading '10' entries in 'db/item_stack.txt'.
[status]: Done reading '1057' entries in 'db/re/item_buyingstore.txt'.
[status]: Done reading '1049' entries in 'db/re/skill_db.txt'.
[status]: Done reading '818' entries in 'db/re/skill_require_db.txt'.
[status]: Done reading '774' entries in 'db/re/skill_cast_db.txt'.
[status]: Done reading '38' entries in 'db/re/skill_castnodex_db.txt'.
[status]: Done reading '139' entries in 'db/re/skill_unit_db.txt'.
[status]: Done reading '106' entries in 'db/re/skill_nocast_db.txt'.
[status]: Done reading '263' entries in 'db/produce_db.txt'.
[status]: Done reading '136' entries in 'db/create_arrow_db.txt'.
[status]: Done reading '205' entries in 'db/abra_db.txt'.
[status]: Done reading '17' entries in 'db/spellbook_db.txt'.
[status]: Done reading '23' entries in 'db/magicmushroom_db.txt'.
[status]: Done reading '133' entries in 'db/skill_reproduce_db.txt'.
[status]: Done reading '25' entries in 'db/skill_improvise_db.txt'.
[status]: Done reading '75' entries in 'db/skill_changematerial_db.txt'.
[status]: Done reading '0' entries in 'db/mob_item_ratio.txt'.
[status]: Done reading 'mob_chat_db.txt'.
[status]: Done reading '1298' entries in 'db/re/mob_db.txt'.
[status]: Done reading '0' entries in 'db/mob_db2.txt'.
[status]: Done reading '7377' entries in 'db/re/mob_skill_db.txt'.
[status]: Done reading '0' entries in 'db/mob_skill_db2.txt'.
[status]: Done reading '0' entries in 'db/mob_avail.txt'.
[status]: Done reading 're/mob_branch.txt'.
[status]: Done reading 're/mob_poring.txt'.
[status]: Done reading 're/mob_boss.txt'.
[status]: Done reading 'mob_pouch.txt'.
[status]: Done reading 'mob_classchange.txt'.
[status]: Done reading '6' entries in 'db/re/mob_race2_db.txt'.
[status]: Done reading 'exp.txt'.
[status]: Done reading '5324' entries in 'db/re/skill_tree.txt'.
[status]: Done reading '35' entries in 'db/re/level_penalty.txt'.
[status]: Done reading 'attr_fix.txt'.
[status]: Done reading 'statpoint.txt'.
[status]: Done reading '1' entries in 'conf/motd.txt'.
[status]: Done reading '8' groups in 'conf/groups.conf'.
[status]: Done reading '133' entries in 'db/re/job_db1.txt'.
[status]: Done reading '132' entries in 'db/job_db2.txt'.
[status]: Done reading '3' entries in 'db/size_fix.txt'.
[status]: Done reading '5' entries in 'db/re/refine_db.txt'.
[status]: Done reading '34' entries in 'db/castle_db.txt'.
[status]: Done reading '15' entries in 'db/guild_skill_tree.txt'.
[status]: Done reading '58' pets in 'pet_db.txt'.
[status]: Done reading '0' pets in 'pet_db2.txt'.
[status]: Done reading '13' entries in 'db/homunculus_db.txt'.
[status]: Done reading '150' levels in 're/exp_homun.txt'.
[status]: Done reading '82' entries in 'db/homun_skill_tree.txt'.
[status]: Done reading '44' entries in 'db/mercenary_db.txt'.
[status]: Done reading '118' entries in 'db/mercenary_skill_db.txt'.
[status]: Done reading '12' elementals in 'db/elemental_db.txt'.
[status]: Done reading '36' entries in 'db/elemental_skill_db.txt'.
[status]: Done reading '1954' entries in 'quest_db.txt'.
[Error]: npc_parsesrcfile: Unknown syntax in file 'conf/mapflag/pvp.txt', line '16'. Stopping...
* w1=guild_vs3
* w2=mapflag pvp
* w3=
* w4=
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/airports/izlude.txt', line '14' : Airship_Staff_izlude
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/alberta.txt', line '17' : Sea_Captain_amatsu
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/alberta.txt', line '21' : Aibakthing_ayothaya
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/alberta.txt', line '25' : Kunlun_Envoy_gonryun
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/alberta.txt', line '29' : Girl_louyang
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/alberta.txt', line '33' : PR_Officer_moscovia
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/alberta.txt', line '37' : Sailor_alberta
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/alberta.txt', line '38' : Turtle_Scholar_alberta
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/izlude.txt', line '16' : Sailor_izlude
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/izlude.txt', line '17' : Bonne_izlude
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/izlude.txt', line '18' : Charfri_izlude
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/izlude.txt', line '19' : Cuskoal_izlude
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/izlude.txt', line '20' : Dega_izlude
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/izlude.txt', line '21' : Kylick_izlude
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/izlude.txt', line '22' : Red_izlude
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/izlude.txt', line '23' : Cebalis_izlude
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/izlude.txt', line '24' : Soldier_izlude
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/izlude.txt', line '25' : bdt
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/izlude.txt', line '26' : mdk
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/cities/jawaii.txt', line '15' : Honeymoon_Helper_Izlude
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/kafras/kafras_izl.txt', line '15' : kaf_izlude
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/other/mercenary_rent.txt', line '16' : Mercenary Manager#main
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/other/mercenary_rent.txt', line '17' : MercMerchant
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/quests/mrsmile.txt', line '16' : SmileHelper
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/quests/quests_izlude.txt', line '15' : Edgar_izlude
[Error]: npc_parse_script: original npc not found for duplicate in file 'npc/re/quests/quests_lighthalzen.txt', line '15' : Scamp
[Error]: npc_parsesrcfile: Unknown syntax in file 'npc/uwro-script/pvp.txt', line '47'. Stopping...
* w1=guild_vs3 mapflag pvp
* w2=
* w3=
* w4=
[Error]: npc_parsesrcfile: Unknown syntax in file 'npc/uwro-script/beginner.txt', line '2'. Stopping...
* w1=new_1-1,59,114,6 script Beginner Zone 877,{
* w2=
* w3=
* w4=
[Error]: Loading NPC file: npc/uwro-script/event.txt
script error on npc/uwro-script/event.txt line 87
parse_simpleexpr: unmatch ')'
82 : mes .@nombre$;
83 : mes "Do you want to do the event in this map or another?";
84 : mes "^880000Is not commendable do event in citys.^000000";
85 : set .@b, select ( "In this map", "In other map", "^db0202Back^000000" );
86 : donpcevent "event::OnDen0";
* 87 : while ( getmapmobs '(' .@m$ ) == -1 ) {
88 : if ( .@b == 1 ) getmapxy ( .@m$, .@x, .@y, 0 ) ;
89 : else {
90 : mes "Input the map.";
91 : mes "^e8052f* Is not commendable do events in citys *^000000";
92 : input .@m$ ;
[Warning]: npc_parsename: Duplicate unique name in file 'npc/custom/warper.txt', line'341'. Renaming 'Warper#1' to '1_171_159_192'.
[Debug]: this npc:
display name 'Warper#1'
unique name 'Warper#1'
map=prontera, x=159, y=192
[Debug]: other npc in 'npc/custom/warper.txt' :
display name 'Warper#1'
unique name 'Warper#1'
map=new_1-1, x=53, y=114
[Warning]: npc_parsename: Duplicate unique name in file 'npc/custom/healer.txt', line'37'. Renaming 'Healer#alb' to '1_2_25_240'.
[Debug]: this npc:
display name 'Healer#alb'
unique name 'Healer#alb'
map=alberta, x=25, y=240
[Debug]: other npc in 'npc/custom/healer.txt' :
display name 'Healer#alb'
unique name 'Healer#alb'
map=new_1-1, x=44, y=111
[info]: Done loading '6039' NPCs:
-'3057' Warps
-'53' Shops
-'2929' Scripts
-'2581' Spawn sets
-'177206' Mobs Cached
-'0' Mobs Not Cached
[status]: Event 'OnInit' executed with '270' NPCs.
[status]: Server is 'ready' and listening on port '5121'.
[status]: Attempting to connect to Char Server. Please wait.
[status]: Connecting to XXX.XXX.XXX.XXX:6121
[status]: Logging in to char server...
[status]: Successfully logged on to Char Server (Connection: '6').
[status]: Sending maps to char server...
[status]: Event 'OnInterIfInit' executed with '0' NPCs.
[status]: Event 'OnInterIfInitOnce' executed with '0' NPCs.
[status]: Requested '34' guild castles from char-server...
[status]: Map Server is now online.
[info]: Received Fame List of '0' characters.
[status]: Received '34' guild castles from char-server.
and if you can help me with my other error that would be lovely.
my other script
event npc could you look over it i cant seem to open it. No menu, nothing.
/*
||======================================================||
||======================================================||
|| NPC: ||
||======================================================||
|| Event Manager ||
||======================================================||
|| Version 1.0.1 ||
||======================================================||
|| Made by Streiker ||
||======================================================||
|| Updates: ||
|| (5 latests) ||
|| ||
|| Version 1.0.1: ||
|| Fixed mistakes. ||
||======================================================||
|| Description: ||
|| ||
|| Make easy events with this event manager. ||
|| 2 Events for now: survivor pvp, search the correct ||
|| mob. ||
||======================================================||
|| Additional Comments: ||
|| ||
|| To Do? More events? make me suggestions (i'll make ||
|| possible things!). ||
|| Optimization ||
|| Remember you have to whisp to npc:event . ||
||======================================================||
||======================================================||
*/
new_1-1,58,112,9 script event 975,{
OnInit:
set .GM, 99; // Minimum gm level for access to the npc
// Survivor PVP Mapflags.
setarray .Mapflags1[0], 1, 0, 2, 3, 6, 7, 8, 13, 14, 22, 33, 34, 37, 41, 42, 43;
// Search the mob mapflags.
setarray .Mapflags2[0], 1, 3, 31;
// Survivor PVP Prizes,
// Max: 128.
setarray .Premios1[0], 616; // IDS
setarray .Cantidad1[0], 5; // Amounts.
// Search the correct mob Prizes,
// Max: 128.
setarray .Premios2[0], 616; // IDS
setarray .Cantidad2[0], 5; // Amounts.
set .MobModo, 1; // Name of correct mob.
// 1 = Correct mob 2 = Normal name.
disablenpc "Sobrevivencia" ;
disablenpc "Correctmob" ;
end;
OnWhisperGlobal:
jump_zero ( .GM, OnInit ) ;
if ( getgmlevel ( ) < .GM ) end ;
set .@nombre$, "^2b86b5Event Manager^000000";
mes .@nombre$;
if ( .de ) {
mes "I'm sorry, but now is other gm using this npc.";
close ;
}
set .de, 1;
donpcevent "event::OnDen0";
mes "Hi "+ strcharinfo(0) +", how i can see you're a GM.";
mes "^FF0000*It's commendable do 1 event per time^000000*";
mes "Which event do you want to organize?";
next ;
while ( ! .@a || .@b == 3 || .@c == 1 ) {
donpcevent "event::OnDen0";
set .@a,prompt("Survivor PvP","Search the correct mob");
mes .@nombre$;
mes "Do you want to do the event in this map or another?";
mes "^880000Is not commendable do event in citys.^000000";
set .@b, select ( "In this map", "In other map", "^db0202Back^000000" );
donpcevent "event::OnDen0";
while ( getmapmobs ( .@m$ ) == -1 ) {
if ( .@b == 1 ) getmapxy ( .@m$, .@x, .@y, 0 ) ;
else {
mes "Input the map.";
mes "^e8052f* Is not commendable do events in citys *^000000";
input .@m$ ;
}
}
mes "Are you sure?";
next ;
set .@c, select ( "No", "Yes!" );
if (.@a == 1) {
setd "$@mapa"+ ( ( .@a == 1 ) ? "" : .@a )+"$", .@m$;
while ( .@nivel1 < 1 ) {
mes "^f61c26Input the minimum level.";
input .@nivel1 ;
}
mes "^080585Input the maximum level.";
mes "^150cff0 for any level.^000000";
input .@nivel2 ;
if ( getd( "$@M_"+.@m$ ) != 1 ) {
next ;
mes .@nombre$;
mes "Event activated.";
deletearray $@ev_m, 128;
for ( set .@a, 0; .@a < getarraysize ( .Mapflags1 ) ; set .@a, .@a + 1 ) {
if ( ! getmapflag ( $@mapa$, .Mapflags1[.@a] ) ) {
setmapflag $@mapa$, .Mapflags1[.@a];
set $@ev_m1[getarraysize ( $@ev_m1 )], .@a + 1;
}
}
setmapflagnosave $@mapa$, "prontera", 156, 161 ;
enablenpc "Sobrevivencia" ;
setd "$@M_"+$@mapa$, 1;
warp $@mapa$, 0, 0 ;
set $@item, getarraysize ( .Premios1 );
set $@nivelm, .@nivel1;
set $@nivelmx, .@nivel2;
atcommand "@recallall" ;
announce "Event activated: Survivor PvP in "+$@mapa$, bc_all, 0xdbc10f;
}
else mes "It map actually has a active event...";
}
if (.@a == 2) {
if (getd("$@M_"+.@m$) != 1) {
while ( getmonsterinfo ( .@id, 0 ) == "null" ) {
mes "^067c00Input the ID of common mobs.";
input .@id ;
}
while ( .@cantidad < 1 ) {
mes "^067c00Input the amount of common mobs.";
input .@cantidad ;
}
while ( getmonsterinfo ( .@id2, 0 ) == "null" ) {
mes "^007c66Input the ID of correct mob.";
input .@id2 ;
}
while ( .@cantidad2 < 1 ) {
mes "^007c66Input the amount of the correct mob.";
input .@cantidad2 ;
}
next;
mes .@nombre$;
mes "Event activated.";
deletearray $@ev_m2, 128;
for ( set .@a, 0; .@a < getarraysize ( .Mapflags2 ) ; set .@a, .@a + 1 ) {
if ( ! getmapflag ( $@mapa$, .Mapflags2[.@a] ) ) {
setmapflag $@mapa2$, .Mapflags2[.@a];
set $@ev_m2[getarraysize ( $@ev_m2 )], .@a + 1;
}
}
enablenpc "Correctmob" ;
setd "$@M_"+$@mapa2$, 1;
monster $@mapa2$, 0, 0, "--ja--", .@id, .@cantidad, "Correctmob::OnX" ;
set $@mons, .@cantidad2;
monster $@mapa2$, 0, 0, ( ( .MobModo != 1 ) ? "--ja--" : "Correct Mob" ), .@id2, .@cantidad2, "Correctmob::OnWin" ;
set $@item2,getarraysize(.Premios2);
announce "Event activated: Search the correct mob in "+ $@mapa2$, bc_all, 0xdbc10f;
}
else mes "It map actually has a active event...";
}
set .de, 0;
}
if ( .@a == 255 || .@b == 255 || .@c == 255 ) set .de, 0;
else set .de, 0;
close ;
OnDen0:
set .@s, gettimetick ( 2 ) - .de1;
set .de1, 0;
if ( .@s >= 300 ) set .de, 0;
else if ( playerattached ( ) ) set .de, 1;
if ( ! .de1 ) set .de1, gettimetick ( 2 );
end ;
}
- script Sobrevivencia -1,{
OnPCKillEvent:
getmapxy ( .@mapa$, .@x, .@y, 0 );
if ( .@mapa$ == $@mapa$ ) {
set .@u, getmapusers ( $@mapa$ );
if ( .@u == 1 ) {
announce strcharinfo(0) +" has won the Survivor PVP!", bc_all, 0x9ad488;
for ( set .@i,0; .@i < $@item ; set .@i,.@i + 1 ) {
announce "You won "+ getvariableofnpc ( .Cantidad1[.@i],"event") +" "+ getitemname ( getvariableofnpc ( .Premios1[.@i], "event" ) ), bc_self, 0x05e8db ;
getitem getvariableofnpc ( .Premios1[.@i], "event" ), getvariableofnpc ( .Cantidad1[.@i], "evento" );
}
for ( set .@a, 0; .@a < getarraysize ( $@ev_m1 ) ; set .@a, .@a + 1 ) {
set .@b, $@ev_m1[.@a] - 1;
removemapflag $@mapa$, getvariableofnpc ( .Mapflags1[.@b], "event" );
}
setd "$@M_"+$@mapa$, 0;
disablenpc "Sobrevivencia" ;
}
}
end ;
OnPCDieEvent:
getmapxy ( .@mapa$, .@x, .@y, 0 );
if ( .@mapa$ == $@mapa$ ) warp "SavePoint", 0, 0;
end ;
OnPCLoadMapEvent:
set @W, @W + 1;
getmapxy ( .@mapa$, .@x, .@y, 0 );
if ( ( .@mapa$ == $@mapa$ && @W > 1 ) || ( BaseLevel < $@nivelm ) || ( BaseLevel > $@nivelmx && $@nivelmx ) ) warp "SavePoint", 0, 0 ;
end ;
}
- script Correctmob -1,{
OnX:
end ;
OnWin:
set $@nmobs, $@nmobs + 1;
announce strcharinfo(0) +" has won the Search the correct mob event!", bc_all, 0x9ad488;
for ( set .@i,0; .@i < $@item2 ; set .@i,.@i + 1 ) {
announce "You won "+ getvariableofnpc ( .Cantidad2[.@i], "evento" ) +" "+ getitemname( getvariableofnpc ( .Premios2[.@i],"evento" ) ), bc_self, 0x05e8db ;
getitem getvariableofnpc ( .Premios2[.@i],"evento" ), getvariableofnpc ( .Cantidad2[.@i],"evento" );
}
if ( $@nmobs >= $@mons ) {
killmonster $@mapa2$,"Correctmob::OnX";
disablenpc "Correctmob" ;
for ( set .@a, 0; .@a < getarraysize ( $@ev_m2 ) ; set .@a, .@a + 1 ) {
set .@b, $@ev_m2[.@a] - 1;
removemapflag $@mapa2$, getvariableofnpc ( .Mapflags2[.@b], "event" );
}
setd "$@M_"+$@mapa2$, 0;
set $@nmobs, 0;
}
end ;
}
PVP warper not sure why there a error can you fix it too please
//===== eAthena Script =======================================
//= PvP
//===== By: ==================================================
//= Destinee~
//===== Description: =========================================
//= A basic PVP script.
//===== Additional Comments: =================================
//= Dont copyright this and claiming that you've made this. Use it only for your own server.
//============================================================
new_1-1,47,114,6 script PvP Warper 951,{
mes "[PvP Warper]";
mes "Do you want to warp to the PvP Arena and fight your enemies?";
menu "Sure, Bring it on!",L_Yes,"Nah, I'm not ready yet.",L_No;
L_Yes:
mes "[PvP Warper]";
mes "Which PvP Arena do you want to enter?";
menu "PvP Arena 1 [" + getmapusers("guild_vs3.gat") + " / 20]",L1,
"PvP Arena 2 [" + getmapusers("guild_vs5.gat") + " / 20]",L2,
"PvP Arena 3 [" + getmapusers("guild_vs4.gat") + " / 20]",L3;
L1:
if (getmapusers("guild_vs3.gat") > 19) goto Lsorry;
warp "guild_vs3",49,49;
close;
L2:
if (getmapusers("guild_vs5.gat") > 19) goto Lsorry;
warp "guild_vs5",49,49;
close;
L3:
if (getmapusers("guild_vs4.gat") > 19) goto Lsorry;
warp "guild_vs4",49,49;
close;
Lsorry:
mes "[PvP Warper]";
mes "Sorry but this PvP Arena is full, maybe you could try another one.";
close;
L_No:
close;
}
// Mapflags
guild_vs3 mapflag pvp
guild_vs5 mapflag pvp
guild_vs4 mapflag pvp