mrlongshen 22 Posted July 3, 2015 - script buff -1,{OnInit: bindatcmd("buff",strnpcinfo(0)+"::OnBuff",0,99); end;OnBuff: percentheal 100,100; skilleffect 384,0; sc_start SC_MELTDOWN,360000,10; skilleffect 383,0; sc_start SC_WINDWALK,360000,10; skilleffect 378,0; sc_start SC_EDP,360000,10; skilleffect 465,0; sc_start SC_KAITE,360000,10; skilleffect 464,0; sc_start SC_KAUPE,360000,10; skilleffect 463,0; sc_start SC_KAAHI,360000,10; skilleffect 462,0; sc_start SC_KAIZEL,360000,10; skilleffect 8,0; sc_start SC_ENDURE,360000,10; skilleffect 33,0; sc_start SC_ANGELUS,360000,10; skilleffect 45,0; sc_start SC_CONCENTRATE,360000,10; skilleffect 74,0; sc_start SC_MAGNIFICAT,360000,10; skilleffect 75,0; sc_start SC_GLORIA,360000,500; skilleffect 459,0; sc_start SC_ADRENALINE2,360000,10; skilleffect 66,0; sc_start SC_IMPOSITIO,360000,10; skilleffect 67,0; sc_start SC_SUFFRAGIUM,360000,500; skilleffect 34,0; sc_start SC_BLESSING,360000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,360000,10; skilleffect 112,0; sc_start SC_WEAPONPERFECTION,360000,10; skilleffect 113,0; sc_start SC_OVERTHRUST,360000,10; skilleffect 114,0; sc_start SC_MAXIMIZEPOWER,360000,10; skilleffect 357,0; sc_start SC_CONCENTRATION,360000,10; skilleffect 355,0; sc_start SC_AURABLADE,360000,10; skilleffect 155,0; sc_start SC_LOUD,360000,10; skilleffect 157,0; sc_start SC_ENERGYCOAT,360000,10; sc_start SC_ASPDPOTION2,360000,10; sc_start SC_STRFOOD,360000,10; sc_start SC_AGIFOOD,360000,10; sc_start SC_VITFOOD,360000,10; sc_start SC_INTFOOD,360000,10; sc_start SC_DEXFOOD,360000,10; sc_start SC_LUKFOOD,360000,10; sc_start SC_HitFOOD,1200000,30; sc_start SC_FleeFOOD,1200000,30; sc_start SC_BATKFOOD,1200000,10; sc_start SC_MATKFOOD,120000,10; skilleffect 380,0; sc_start SC_TRUESIGHT,360000,10; skilleffect 361,0; sc_start SC_ASSUMPTIO,360000,10; end;} Hello, How come player can bypass this ? Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted July 3, 2015 0,99 first is needed player level, and since it is 0, they can use it. Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted July 3, 2015 @@evilpuncker so, if i change 99,99, only me can use it ? right ? only admin ? Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted July 3, 2015 @@evilpuncker so, if i change 99,99, only me can use it ? right ? only admin ? yes Quote Share this post Link to post Share on other sites
0 Kuya Jeo 120 Posted July 3, 2015 @@mrlongshen try this code - script buff -1,{OnInit: bindatcmd "buff",strnpcinfo(3)+"::OnBuff"; end;OnBuff: if ( getgmlevel() > 0 ){ percentheal 100,100; skilleffect 384,0; sc_start SC_MELTDOWN,360000,10; skilleffect 383,0; sc_start SC_WINDWALK,360000,10; skilleffect 378,0; sc_start SC_EDP,360000,10; skilleffect 465,0; sc_start SC_KAITE,360000,10; skilleffect 464,0; sc_start SC_KAUPE,360000,10; skilleffect 463,0; sc_start SC_KAAHI,360000,10; skilleffect 462,0; sc_start SC_KAIZEL,360000,10; skilleffect 8,0; sc_start SC_ENDURE,360000,10; skilleffect 33,0; sc_start SC_ANGELUS,360000,10; skilleffect 45,0; sc_start SC_CONCENTRATE,360000,10; skilleffect 74,0; sc_start SC_MAGNIFICAT,360000,10; skilleffect 75,0; sc_start SC_GLORIA,360000,500; skilleffect 459,0; sc_start SC_ADRENALINE2,360000,10; skilleffect 66,0; sc_start SC_IMPOSITIO,360000,10; skilleffect 67,0; sc_start SC_SUFFRAGIUM,360000,500; skilleffect 34,0; sc_start SC_BLESSING,360000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,360000,10; skilleffect 112,0; sc_start SC_WEAPONPERFECTION,360000,10; skilleffect 113,0; sc_start SC_OVERTHRUST,360000,10; skilleffect 114,0; sc_start SC_MAXIMIZEPOWER,360000,10; skilleffect 357,0; sc_start SC_CONCENTRATION,360000,10; skilleffect 355,0; sc_start SC_AURABLADE,360000,10; skilleffect 155,0; sc_start SC_LOUD,360000,10; skilleffect 157,0; sc_start SC_ENERGYCOAT,360000,10; sc_start SC_ASPDPOTION2,360000,10; sc_start SC_STRFOOD,360000,10; sc_start SC_AGIFOOD,360000,10; sc_start SC_VITFOOD,360000,10; sc_start SC_INTFOOD,360000,10; sc_start SC_DEXFOOD,360000,10; sc_start SC_LUKFOOD,360000,10; sc_start SC_HitFOOD,1200000,30; sc_start SC_FleeFOOD,1200000,30; sc_start SC_BATKFOOD,1200000,10; sc_start SC_MATKFOOD,120000,10; skilleffect 380,0; sc_start SC_TRUESIGHT,360000,10; skilleffect 361,0; sc_start SC_ASSUMPTIO,360000,10; end; } else { dispbottom "You cannot use this command"; end; }} Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted July 3, 2015 @@mrlongshen try this code - script buff -1,{OnInit: bindatcmd "buff",strnpcinfo(3)+"::OnBuff"; end;OnBuff: if ( getgmlevel() > 0 ){ percentheal 100,100; skilleffect 384,0; sc_start SC_MELTDOWN,360000,10; skilleffect 383,0; sc_start SC_WINDWALK,360000,10; skilleffect 378,0; sc_start SC_EDP,360000,10; skilleffect 465,0; sc_start SC_KAITE,360000,10; skilleffect 464,0; sc_start SC_KAUPE,360000,10; skilleffect 463,0; sc_start SC_KAAHI,360000,10; skilleffect 462,0; sc_start SC_KAIZEL,360000,10; skilleffect 8,0; sc_start SC_ENDURE,360000,10; skilleffect 33,0; sc_start SC_ANGELUS,360000,10; skilleffect 45,0; sc_start SC_CONCENTRATE,360000,10; skilleffect 74,0; sc_start SC_MAGNIFICAT,360000,10; skilleffect 75,0; sc_start SC_GLORIA,360000,500; skilleffect 459,0; sc_start SC_ADRENALINE2,360000,10; skilleffect 66,0; sc_start SC_IMPOSITIO,360000,10; skilleffect 67,0; sc_start SC_SUFFRAGIUM,360000,500; skilleffect 34,0; sc_start SC_BLESSING,360000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,360000,10; skilleffect 112,0; sc_start SC_WEAPONPERFECTION,360000,10; skilleffect 113,0; sc_start SC_OVERTHRUST,360000,10; skilleffect 114,0; sc_start SC_MAXIMIZEPOWER,360000,10; skilleffect 357,0; sc_start SC_CONCENTRATION,360000,10; skilleffect 355,0; sc_start SC_AURABLADE,360000,10; skilleffect 155,0; sc_start SC_LOUD,360000,10; skilleffect 157,0; sc_start SC_ENERGYCOAT,360000,10; sc_start SC_ASPDPOTION2,360000,10; sc_start SC_STRFOOD,360000,10; sc_start SC_AGIFOOD,360000,10; sc_start SC_VITFOOD,360000,10; sc_start SC_INTFOOD,360000,10; sc_start SC_DEXFOOD,360000,10; sc_start SC_LUKFOOD,360000,10; sc_start SC_HitFOOD,1200000,30; sc_start SC_FleeFOOD,1200000,30; sc_start SC_BATKFOOD,1200000,10; sc_start SC_MATKFOOD,120000,10; skilleffect 380,0; sc_start SC_TRUESIGHT,360000,10; skilleffect 361,0; sc_start SC_ASSUMPTIO,360000,10; end; } else { dispbottom "You cannot use this command"; end; }} Nah, bindatcmd have gm level specification.Just changing to bindatcmd("buff",strnpcinfo(0)+"::OnBuff",99,99); Would do the job. 1 mrlongshen reacted to this Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted July 3, 2015 @@Dastgir thanks alot Quote Share this post Link to post Share on other sites
Hello,
How come player can bypass this ?
Share this post
Link to post
Share on other sites