goddameit Posted August 29, 2012 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: August 3, 2024 Share 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 Link to comment Share on other sites More sharing options...
GM Takumirai Posted August 31, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Share Posted August 31, 2012 Thanks god Quote Link to comment Share on other sites More sharing options...
Akbare Posted September 2, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 491 Reputation: 20 Joined: 11/19/11 Last Seen: June 5, 2023 Share Posted September 2, 2012 nice release master Quote Link to comment Share on other sites More sharing options...
Dissidia Posted September 2, 2012 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted September 2, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 1 minute ago Share 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 Link to comment Share on other sites More sharing options...
Dissidia Posted September 2, 2012 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share 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 Link to comment Share on other sites More sharing options...
Elijah23 Posted September 2, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 292 Reputation: 17 Joined: 12/12/11 Last Seen: 13 hours ago Share 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 Link to comment Share on other sites More sharing options...
goddameit Posted September 3, 2012 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: August 3, 2024 Author Share Posted September 3, 2012 error @ my server.. ... copy from eA http://pastebin.com/download.php?i=jucrEFeT Quote Link to comment Share on other sites More sharing options...
Dissidia Posted September 9, 2012 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted September 9, 2012 another problem.. BLOCK_SIZE <-- getmapmobs Quote Link to comment Share on other sites More sharing options...
GM Takumirai Posted September 13, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Share Posted September 13, 2012 God can u fix the problem for rathena? Quote Link to comment Share on other sites More sharing options...
goddameit Posted September 13, 2012 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: August 3, 2024 Author Share 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 Link to comment Share on other sites More sharing options...
hakuren Posted September 24, 2012 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Share 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 Link to comment Share on other sites More sharing options...
stydianx Posted October 16, 2012 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 390 Reputation: 27 Joined: 07/12/12 Last Seen: October 24, 2022 Share Posted October 16, 2012 can someone help me finding the "source code"?? Quote Link to comment Share on other sites More sharing options...
Kichi Posted January 8, 2013 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 509 Reputation: 80 Joined: 11/20/11 Last Seen: October 3, 2020 Share Posted January 8, 2013 (edited) infinity looping i still don't get this game's goal @_@ Edited January 8, 2013 by Kichi Quote Link to comment Share on other sites More sharing options...
SwaTik Posted April 16, 2013 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 21 Reputation: 0 Joined: 02/16/12 Last Seen: April 2, 2018 Share 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 Link to comment Share on other sites More sharing options...
Easycore Posted April 25, 2013 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 220 Reputation: 257 Joined: 04/08/13 Last Seen: August 24, 2023 Share 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 Link to comment Share on other sites More sharing options...
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.