Jump to content
  • 0

beginner zone


KoriAK

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

I want to set this area as the beginner zone with mob only in this area of the map help please, mob i want in there is poring (1002) and i want only about 50 at a time in that area with a warp back can someone please help me.

niflheim,205,162,5	script	Newbie Zone	83,{;
if (class == 0) goto event;
if (class == 4001) goto event;
if (class > 0) goto NO;
if (class > 4001) goto NO;
event:
mes "[^0000FFNewbie Zone^000000]";
mes "Do you wish to get inside the Newbie Zone?";
next;
switch(select("Yes","No")) {
case 1:
	sc_end SC_ALL;
	sc_start SC_INCREASEAGI,500000,10;
	sc_start SC_KYRIE,500000,10;
	sc_start SC_BLESSING,500000,10;
	sc_start SC_IMPOSITIO,500000,3;
	percentheal 100,100;
	warp "force_2-1",174,174;
	end;
	break;
case 2:
	mes "[^0000FFNewbie Zone^000000]";
	mes "Hello!Come in.";
	close;
	break;
NO:
	mes "[^0000FFNewbie Zone^000000]";
	mes "I'm sorry, but only Novices and High novices are allowed here.";
	close;
}
OnInit:
disablenpc "Newbie Zone";
disablenpc "Prize";
end;
}

Link to comment
Share on other sites

17 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

you can refer this part to spawn a permanent monster in that map

Permanent_Monster_Spawn

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  154
  • Reputation:   6
  • Joined:  04/26/12
  • Last Seen:  

niflheim,0,0,0,0 monster Poring 1002,50,0,0,0

add to your script.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

//Entering Beginner Zone
prontera,170,180,5 script Beginner Zone 877,{
waitingroom "Beginner Zone",0;

mes "[ ^ffaa7fBeginner Zone^000000 ]";
mes "Would you like to go to the Beginner Zone?";
if(select("Yes [^FF0000" + getmapusers("force_1-1.gat") + "^000000]", "No") == 1) goto B_room;
close;

B_room:
if(class == 0 || class == 4001) {
warp "force_1-1" ,25,24;
}
else {
mes "Only Novice and High Novice Can Enter This Room";
}
close;

}

//The Exit to Amatsu

force_1-1.gat,25,26,3 script Exit 729,{
mes "[ ^ffaa7fBeginner Zone^000000 ]";
mes "Do You want to leave?";
next;
menu "Yes",ok,"No",fine;
ok:
warp "prontera" ,156,191;
close;
fine:
mes "Then you can still leveling in this room";
close;

}
force_1-1,9,9,42,42 monster Poring 1002,100,5000,5000;
force_1-1,9,9,42,42 monster Drops 1113,100,5000,5000;
force_1-1,9,9,42,42 monster Poporing 1031,100,5000,5000;

//mapflag
force_1-1 mapflag nowarp
force_1-1 mapflag nowarpto
force_1-1 mapflag noteleport
force_1-1 mapflag nomobloot

Edited by Emistry
Please use [CODEBOX] or Attachments for long contents.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

how can i add baby novice in there too, with allow gm to enter, its not loading in my server, im using rathena.

//Entering Beginner Zone
new_1-1,59,114,6 script Beginner Zone 803,{
waitingroom "Beginner Zone",0;
mes "[ ^ffaa7fBeginner Zone^000000 ]";
mes "Would you like to go to the Beginner Zone?";
if(select("Yes [^FF0000" + getmapusers("force_1-1.gat") + "^000000]", "No") == 1) goto B_room;
close;
B_room:
if(class == 0 || class == 4001) {
warp "force_1-1" ,25,24;
}
else {
mes "Only Novice and High Novice Can Enter This Room";
}
close;
}
//The Exit to Amatsu
force_1-1.gat,25,26,3 script Exit 803,{
mes "[ ^ffaa7fBeginner Zone^000000 ]";
mes "Do You want to leave?";
next;
menu "Yes",ok,"No",fine;
ok:
warp "new_1-1" ,53,111;
close;
fine:
mes "Then you can still leveling in this room";
close;
}
force_1-1,9,9,42,42 monster Poring 1002,100,5000,5000;
force_1-1,9,9,42,42 monster Drops 1113,100,5000,5000;
force_1-1,9,9,42,42 monster Poporing 1031,100,5000,5000;
//mapflag
force_1-1 mapflag nowarp
force_1-1 mapflag nowarpto
force_1-1 mapflag noteleport
force_1-1 mapflag nomobloot

Edited by Yachiru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

//Entering Beginner Zone
prontera,170,180,5 script Beginner Zone 877,{
   waitingroom "Beginner Zone",0;
mes "[ ^ffaa7fBeginner Zone^000000 ]";
mes "Would you like to go to the Beginner Zone?";
if(select("Yes [^FF0000" + getmapusers("force_1-1.gat") + "^000000]", "No") == 1) goto B_room;
close;
B_room:
if(class == 0 || class == 4001 || class == 4023) {
warp "force_1-1" ,25,24;
}
else {
mes "Only Novice and High Novice Can Enter This Room";
}
close;

}
//The Exit to Amatsu
force_1-1.gat,25,26,3 script Exit 729,{
mes "[ ^ffaa7fBeginner Zone^000000 ]";
mes "Do You want to leave?";
next;
menu "Yes",ok,"No",fine;
ok:
warp "prontera" ,156,191;
close;
fine:
mes "Then you can still leveling in this room";
close;

}
force_1-1,9,9,42,42 monster Poring 1002,100,5000,5000;
force_1-1,9,9,42,42 monster Drops 1113,100,5000,5000;
force_1-1,9,9,42,42 monster Poporing 1031,100,5000,5000;
//mapflag
force_1-1 mapflag nowarp
force_1-1 mapflag nowarpto
force_1-1 mapflag noteleport
force_1-1 mapflag nomobloot

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

the script wont load.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

@reloadscript

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

done it still don't work.

may time and i use @load

add me on skype (djkawaii) and ill show you.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

I done @reloadscript i done @load and i restarted the server and i cant get the script to load, im using rathena.

//Entering Beginner Zone
new_1-1,59,114,6 script Beginner Zone 877,{
waitingroom "Beginner Zone",0;
mes "[ ^ffaa7fBeginner Zone^000000 ]";
mes "Would you like to go to the Beginner Zone?";
if(select("Yes [^FF0000" + getmapusers("force_1-1.gat") + "^000000]", "No") == 1) goto B_room;
close;
B_room:
if(class == 0 || class == 4001 || class == 4023) {
warp "force_1-1" ,25,24;
}
else {
mes "Only Novice and High Novice Can Enter This Room";
}
close;
}
//The Exit to Amatsu
force_1-1.gat,25,26,3 script Exit 729,{
mes "[ ^ffaa7fBeginner Zone^000000 ]";
mes "Do You want to leave?";
next;
menu "Yes",ok,"No",fine;
ok:
warp "prontera" ,156,191;
close;
fine:
mes "Then you can still leveling in this room";
close;
}
force_1-1,9,9,42,42 monster Poring 1002,100,5000,5000;
force_1-1,9,9,42,42 monster Drops 1113,100,5000,5000;
force_1-1,9,9,42,42 monster Poporing 1031,100,5000,5000;
//mapflag
force_1-1 mapflag nowarp
force_1-1 mapflag nowarpto
force_1-1 mapflag noteleport
force_1-1 mapflag nomobloot

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  218
  • Reputation:   16
  • Joined:  01/24/12
  • Last Seen:  

Post a picture of your map server, see if there's any errors within that first.

Try this.


new_1-1,59,114,6 script Beginner's Zone 877,{
mes "[ ^ffaa7fBeginner Zone^000000 ]";
mes "Would you like to go to to the Beginner Zone?";
switch(select("Yes[^FF0000"+getmapusers("force_1-1.gat")+"^000000]:No")) {
case 1:
if(class == 0 || class == 4001 || class == 4023) {
warp "force_1-1" ,25,24;
}
else {
mes "I'm sorry but you need to be a Novice or High Novice in order to enter this room.";
close;
}

case 2:
close;
}

OnInit:
waitingroom "Beginner Zone",0;
end;
}

force_1-1,25,26,3 script Exit 729,{
mes "[^ffaa7fBeginner Zone^000000]";
mes "Would you like to leave?";
menu "Yes let me leave!",-,"No I want to stay!",L_Stay;
mes "Goodbye!";
close2;
sleep 500;
warp "prontera",156,191;

L_Stay:
mes "Then stay in this room!";
close;
}

force_1-1,9,9,42,42 monster Poring 1002,100,5000,5000;
force_1-1,9,9,42,42 monster Drops 1113,100,5000,5000;
force_1-1,9,9,42,42 monster Poporing 1031,100,5000,5000;
//mapflag
force_1-1 mapflag nowarp
force_1-1 mapflag nowarpto
force_1-1 mapflag noteleport
force_1-1 mapflag nomobloot

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

always remember use <tab>

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

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

Edited by Emistry
Please use [CODEBOX] or Attachments for long contents.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

new_1-1,59,114,6<tab>script<tab>Beginner Zone<tab>877,{

Edited by ll LopakTikey ll
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

What you mean <tab> the key on the keybored. cause if so i did.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  154
  • Reputation:   6
  • Joined:  04/26/12
  • Last Seen:  

that script is incomplete. i tried it when i was a new on rathena.

Edited by nicoscene
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   0
  • Joined:  12/08/12
  • Last Seen:  

can i ask something do canform ur server has 877 npc sprite..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   11
  • Joined:  11/20/11
  • Last Seen:  

i use that i use 112 and it still not working, http://www.dotalux.com/ro/npclist/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...