Currently Posted March 26, 2013 Group: Members Topic Count: 162 Topics Per Day: 0.03 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Share Posted March 26, 2013 2301,Cotton_Shirt,Cotton Shirt,5,10,,100,,10,,4,0xFFFFFFFF,7,2,16,,0,1,0,{ atcommand "@disguise rand(2521,2616)";},{},{} I know it's wrong, but this is pretty much the idea. Quote Link to comment Share on other sites More sharing options...
PewN Posted March 26, 2013 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Share Posted March 26, 2013 (edited) how about if you unequip your cotton shirt hahahaha { },{ disguise rand(2521,2616); },{undisguise; } Edited March 26, 2013 by TrojanWorm Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted March 26, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted March 26, 2013 cannot disguise as mob Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 26, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted March 26, 2013 2301,Cotton_Shirt,Cotton Shirt,5,10,,100,,10,,4,0xFFFFFFFF,7,2,16,,0,1,0,{ atcommand "@disguise rand(2521,2616)";},{},{} I know it's wrong, but this is pretty much the idea. atcommand "@disguise "+rand( 2521,2616); and for the another post....check for any error ... the script look fine ~ 1 Quote Link to comment Share on other sites More sharing options...
Euphy Posted March 26, 2013 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 March 26, 2013 query_sql("SELECT ID FROM `mob_db` WHERE left(Sprite, 4) != 'meta' AND left(Sprite, 2) != 'E_' AND EXP > 0 AND DropCardid > 4000 AND DropCardid < 5000 AND ID < 2000 ORDER BY rand() LIMIT 1", .@mob); disguise .@mob; Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted March 26, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted March 26, 2013 2301,Cotton_Shirt,Cotton Shirt,5,10,,100,,10,,4,0xFFFFFFFF,7,2,16,,0,1,0,{ atcommand "@disguise rand(2521,2616)";},{},{} I know it's wrong, but this is pretty much the idea. atcommand "@disguise "+rand( 2521,2616); and for the another post....check for any error ... the script look fine ~ i just put it the item_db. but still cannot sir.. query_sql("SELECT ID FROM `mob_db` WHERE left(Sprite, 4) != 'meta' AND left(Sprite, 2) != 'E_' AND EXP > 0 AND DropCardid > 4000 AND DropCardid < 5000 AND ID < 2000 ORDER BY rand() LIMIT 1", .@mob); disguise .@mob; wah sir, this is for ? should i add this to sql ? query_sql("SELECT ID FROM `mob_db` WHERE left(Sprite, 4) != 'meta' AND left(Sprite, 2) != 'E_' AND EXP > 0 AND DropCardid > 4000 AND DropCardid < 5000 AND ID < 2000 ORDER BY rand() LIMIT 1", .@mob);[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'query_sql("SELECT ID FROM `mob_db` WHERE left(Sprite, 4) != 'meta' AND left(Spri' at line 1 WEW~ Quote Link to comment Share on other sites More sharing options...
Currently Posted March 26, 2013 Group: Members Topic Count: 162 Topics Per Day: 0.03 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Author Share Posted March 26, 2013 2301,Cotton_Shirt,Cotton Shirt,5,10,,100,,10,,4,0xFFFFFFFF,7,2,16,,0,1,0,{ atcommand "@disguise rand(2521,2616)";},{},{} I know it's wrong, but this is pretty much the idea. atcommand "@disguise "+rand( 2521,2616); and for the another post....check for any error ... the script look fine ~ Last thing, how to make it like except ID 2549, 2569, and 2575? Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 26, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted March 26, 2013 //callfunc( "disguide_mob",2521,2616 ); function script disguise_mob { .@min_mob_id = getarg(0); .@max_mob_id = getarg(1); do{ .@mob_id = rand( .@max_mob_id,.@min_mob_id ); }while( .@mob_id == 2549 || .@mob_id == 2569 || .@mob_id == 2575 ); return .@mob_id; } try Quote Link to comment Share on other sites More sharing options...
Currently Posted March 26, 2013 Group: Members Topic Count: 162 Topics Per Day: 0.03 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Author Share Posted March 26, 2013 (edited) //callfunc( "disguide_mob",2521,2616 ); function script disguise_mob { .@min_mob_id = getarg(0); .@max_mob_id = getarg(1); do{ .@mob_id = rand( .@max_mob_id,.@min_mob_id ); }while( .@mob_id == 2549 || .@mob_id == 2569 || .@mob_id == 2575 ); return .@mob_id; } try the // part is the one to put in database right? When I put "callfunc( "disguide_mob",2521,2616 );" to the database, It doesn't work no more saying Disguise Failed. I already loaded the script too. Edited March 26, 2013 by Dreamworks Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 26, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted March 26, 2013 i just show the way to call the func.. LOL.. it should be like this inside the item_db.txt ..........{}{ disguise callfunc( "disguide_mob",2521,2616 ); }{ undisguise; } Quote Link to comment Share on other sites More sharing options...
Currently Posted March 26, 2013 Group: Members Topic Count: 162 Topics Per Day: 0.03 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Author Share Posted March 26, 2013 Like this? 2301,Cotton_Shirt,Cotton Shirt,5,10,,100,,10,,4,0xFFFFFFFF,7,2,16,,0,1,0,{},{disguise callfunc( "disguide_mob",2521,2616 ); },{ atcommand "@undisguise";} Quote Link to comment Share on other sites More sharing options...
Currently Posted March 26, 2013 Group: Members Topic Count: 162 Topics Per Day: 0.03 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Author Share Posted March 26, 2013 i just show the way to call the func.. LOL.. it should be like this inside the item_db.txt ..........{}{ disguise callfunc( "disguide_mob",2521,2616 ); }{ undisguise; } -bump- Quote Link to comment Share on other sites More sharing options...
Question
Currently
I know it's wrong, but this is pretty much the idea.
Link to comment
Share on other sites
11 answers to this question
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.