KaitoKid Posted March 30, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 268 Reputation: 27 Joined: 12/06/11 Last Seen: March 13, 2015 Share Posted March 30, 2012 I have seen the @dance command somewhere here at the forums but now it doesn't support the latest SVN revision of rAthena due to the changes of the structure for player commands. Here is the update to support the latest SVN revision for rAthena On your atcommand.c, find the function: ACMD_FUNC(partyrecall) Below its closing brace '}' Add this function /*========================================== * @dance by OnNplay * inspired by Anarchist * Updated by Kaito_Kid to support the latest rev. for rAthena * => Special effects with dance style *------------------------------------------ */ ACMD_FUNC(dance) { nullpo_retr(-1, sd); if (!message || !*message) { clif_displaymessage(fd, "usage: @dance 1-9"); return -1; } if ( atoi(message) == 1 ) { clif_specialeffect(&sd->bl, 413, ALL_CLIENT); } else if ( atoi(message) == 2 ) { clif_specialeffect(&sd->bl, 414, ALL_CLIENT); } else if ( atoi(message) == 3 ) { clif_specialeffect(&sd->bl, 415, ALL_CLIENT); } else if ( atoi(message) == 4 ) { clif_specialeffect(&sd->bl, 426, ALL_CLIENT); } else if ( atoi(message) == 5 ) { clif_specialeffect(&sd->bl, 458, ALL_CLIENT); } else if ( atoi(message) == 6 ) { clif_specialeffect(&sd->bl, 466, ALL_CLIENT); } else if ( atoi(message) == 7 ) { clif_specialeffect(&sd->bl, 501, ALL_CLIENT); } else if ( atoi(message) == 8 ) { clif_specialeffect(&sd->bl, 540, ALL_CLIENT); } else if ( atoi(message) == 9 ) { clif_specialeffect(&sd->bl, 550, ALL_CLIENT); } return 0; } Then find the line ACMD_DEF2("newmount", new_mount), and then place this line of code below ACMD_DEF(dance), Then recompile your source code. NOTE: I didn't create a diff file cause I don't know how to make one ;P, if someone can then it would be helpful 4 1 Quote Link to comment Share on other sites More sharing options...
Brynner Posted June 24, 2012 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1962 Reputation: 202 Joined: 01/08/12 Last Seen: 14 hours ago Share Posted June 24, 2012 (edited) is this working for a latest revision? Edited June 24, 2012 by Brynner Quote Link to comment Share on other sites More sharing options...
Eurydice Posted June 25, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 414 Reputation: 103 Joined: 11/13/11 Last Seen: September 28, 2013 Share Posted June 25, 2012 Yes it works for the latest revision. 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.