lekkereten Posted November 5, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 148 Reputation: 46 Joined: 11/02/11 Last Seen: November 25, 2024 Share Posted November 5, 2012 I was looking at the monster command and some lines¹ gave me the idea to merge killmonster and killmonster2 into one function, and use killmonster2 as duplicate of killmonster, just like monstersmall/monsterbig and monster. Patch: killmonster(2)_merge.patch [¹] if (strcmp(command+1, "monstersmall") == 0) strcpy(eventname, "2"); else if (strcmp(command+1, "monsterbig") == 0) strcpy(eventname, "4"); 3 Link to comment Share on other sites More sharing options...
pandaplaygames Posted November 6, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 113 Reputation: 2 Joined: 10/29/12 Last Seen: September 21, 2017 Share Posted November 6, 2012 but those two have different functions :/ killmonster with drops and killmonster2 without drops Link to comment Share on other sites More sharing options...
EvilPuncker Posted November 6, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share Posted November 6, 2012 but those two have different functions :/ killmonster with drops and killmonster2 without drops seems like you did not took a look at the patch, +1 to this merge! Link to comment Share on other sites More sharing options...
Euphy Posted November 6, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted November 6, 2012 Agreed. Link to comment Share on other sites More sharing options...
pandaplaygames Posted November 6, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 113 Reputation: 2 Joined: 10/29/12 Last Seen: September 21, 2017 Share Posted November 6, 2012 opened the diff. got it now. +1 Link to comment Share on other sites More sharing options...
xazax Posted November 6, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 427 Reputation: 123 Joined: 11/17/11 Last Seen: December 31, 2022 Share Posted November 6, 2012 It seems to be ok to me, good idea. Link to comment Share on other sites More sharing options...
Michael D. Posted November 9, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 87 Reputation: 0 Joined: 10/28/12 Last Seen: December 23, 2012 Share Posted November 9, 2012 why is that when i use killmonster my server got DC ?? is that normal ? Link to comment Share on other sites More sharing options...
Brian Posted November 9, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted November 9, 2012 Added by mkbu95 in r16881/rathena/trunk/src/map/atcommand.c Link to comment Share on other sites More sharing options...
Recommended Posts