goddameit Posted August 29, 2012 Posted August 29, 2012 Idea : http://j.mp/SA5jEh [media=] [/media]This script need to add source code before using, all information is in file. Monster Defense.rar How to start this event ? create a party and click npc. Reward : no. Set each wave monster amount : setarray .@lv_amount[0],10,12,13,15,20; Set wave monster : --->1002 for(set .@i,1;.@i<=4;set .@i,.@i+1) { for(set .@j,0;.@j<.@lv_amount[.level-1];set .@j,.@j+1) callSub OnSpawn,.@i,.@j,1002; } 3 Quote
Dissidia Posted September 2, 2012 Posted September 2, 2012 error @ my server.. Defense Mob Event.txt if(getmapmobs("guild_vs1")==1) <-- line 58 DefMob Event Walk.txt set .@n,getmapmobs("guild_vs1"); <-- line 54 Quote
Emistry Posted September 2, 2012 Posted September 2, 2012 you have to add this into your emulator http://pastebin.com/raw.php?i=EBWgqEpr it is included inside the file attached by Goddameit.... put it inside here.. trunk/src/map/script.c and make sure you recompile.. Quote
Dissidia Posted September 2, 2012 Posted September 2, 2012 yah i already add that. XD the problem is "getmapmobs" <-- rathena dont have that script, im using the latest svn.. Quote
Elijah23 Posted September 2, 2012 Posted September 2, 2012 Change getmapmob with mobcount.. It's the counterpart script of getmapmob in rathena.. --------------------------------------- *mobcount("<map name>","<event label>") This function will count all the monsters on the specified map that have a given event label and return the number or 0 if it can't find any. Naturally, only monsters spawned with 'monster' and 'areamonster' script commands can have non-empty event label. If you pass this function an empty string for the event label, it will return the total count of monster without event label, including permanently spawning monsters. With the dynamic mobs system enabled, where mobs are not kept in memory for maps with no actual people playing on them, this will return a 0 for any such map. If the event label is given as "all", all monsters will be counted, regardless of having any event label attached. If the map name is given as "this", the map the invoking character is on will be used. If the map is not found, or the invoker is not a character while the map is "this", it will return -1. --------------------------------------- Quote
goddameit Posted September 3, 2012 Author Posted September 3, 2012 error @ my server.. ... copy from eA http://pastebin.com/download.php?i=jucrEFeT Quote
Dissidia Posted September 9, 2012 Posted September 9, 2012 another problem.. BLOCK_SIZE <-- getmapmobs Quote
GM Takumirai Posted September 13, 2012 Posted September 13, 2012 God can u fix the problem for rathena? Quote
goddameit Posted September 13, 2012 Author Posted September 13, 2012 (edited) God can u fix the problem for rathena? #7 another problem.. BLOCK_SIZE <-- getmapmobs BLOCK_SIZE = 8 Edited September 13, 2012 by goddameit Quote
hakuren Posted September 24, 2012 Posted September 24, 2012 (edited) i got error [Error]: run_script: infinity loop ! [Debug]: Source (NPC): DefMob_Event_Walk at guild_vs1 (0,0) [Error]: run_script: infinity loop ! [Debug]: Source (NPC): DefMob_Event_Walk at guild_vs1 (0,0) Edited September 24, 2012 by hakuren Quote
stydianx Posted October 16, 2012 Posted October 16, 2012 can someone help me finding the "source code"?? Quote
Kichi Posted January 8, 2013 Posted January 8, 2013 (edited) infinity looping i still don't get this game's goal @_@ Edited January 8, 2013 by Kichi Quote
SwaTik Posted April 16, 2013 Posted April 16, 2013 HI pls could any one help? If i make setarray .@lv_amount[0],10,12,13,15,20; i have got an error Ifinitu loop if i make setarray .@lv_amount[0],2,2,2,2,2; it is working well... How to fix it? Quote
Easycore Posted April 25, 2013 Posted April 25, 2013 i got error [Error]: run_script: infinity loop ! [Debug]: Source (NPC): DefMob_Event_Walk at guild_vs1 (0,0) [Error]: run_script: infinity loop ! [Debug]: Source (NPC): DefMob_Event_Walk at guild_vs1 (0,0) I have the same error, I'm using 3ceam Help pls Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.