manabeast Posted December 26, 2011 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Share Posted December 26, 2011 (edited) function script Minner { if(getarg(0)==2){ undisguise; if(strcharinfo(3)=="manuk"){warp "SavePoint",0,0;} end; } if(getarg(0)==1&&strcharinfo(3)=="manuk"){ if(getequipid(4)!=6010||getequipid(1)!=5009){end;} set .@r,rand(1,1000); if(.@r<700){ getitem 1002,1; } if(.@r>=700&&.@r<990){ getitem 757,1; } if(.@r>=990){ getitem 756,1; } specialeffect2 154; end; } bonus bAspd,-30; bonus bCritical,100; bonus bAtkRate,-100; if(getequipid(1)==5009) disguise 1169; else{ undisguise; } return; } - script Minnerx -1,{ OnDo: callfunc "Minner",1; end; OnLill: set .@t,1; OnInit: if(!.@t)set .@t,100; monster "manuk",0,0,"--ja--",1907,.@t,"Minnerx::OnLill"; end; } [Error]: script error on autobonus line 0 not found '{' 0 : 'd'oevent @i$; Edited January 19, 2012 by manabeast Quote Link to comment Share on other sites More sharing options...
Diconfrost VaNz Posted December 26, 2011 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 996 Reputation: 47 Joined: 11/13/11 Last Seen: Saturday at 06:24 PM Share Posted December 26, 2011 that's an item right?and when you try to double-click the item, nothing happens? Quote Link to comment Share on other sites More sharing options...
manabeast Posted December 26, 2011 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Author Share Posted December 26, 2011 (edited) Remove to prevent confuse Edited January 19, 2012 by manabeast Quote Link to comment Share on other sites More sharing options...
Diconfrost VaNz Posted December 26, 2011 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 996 Reputation: 47 Joined: 11/13/11 Last Seen: Saturday at 06:24 PM Share Posted December 26, 2011 try to edit the item's script Quote Link to comment Share on other sites More sharing options...
Sneaky Posted December 26, 2011 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 392 Reputation: 47 Joined: 11/18/11 Last Seen: July 8, 2024 Share Posted December 26, 2011 Not sure if I got what you want; if i using 6010 > Pickaxe < this pick axe is Miscellaneous i cannot use it. i try double click on it. zzz From what I've noticed in the script, the pickaxes are supposed to be like that, non-wearable. If you want them wearable then use this: item_db2.txt 22011,c_Pickaxe,custom pickaxe,4,30000,,100,1,1,,0,0xFFFFFFFF,7,2,2,1,1,,6,{},{},{} Quote Link to comment Share on other sites More sharing options...
manabeast Posted January 19, 2012 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Author Share Posted January 19, 2012 (edited) Refer post 1 bump =) Edited January 19, 2012 by Arcenciel Quote Link to comment Share on other sites More sharing options...
Joseph Posted January 19, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 341 Reputation: 43 Joined: 01/10/12 Last Seen: June 29, 2020 Share Posted January 19, 2012 Can I see your item script? I think it should be like this: 6010,Pickaxe,Pickaxe,4,10,,10,10,,1,0,0xFFFFFFFF,7,0,34,0,0,0,0,{ callfunc "Minner",0; set @i$,"Minnerx::OnDo"; autobonus "{ doevent @i$; }",10000,1,BF_WEAPON; },{},{callfunc "Minner",2;} Quote Link to comment Share on other sites More sharing options...
manabeast Posted January 30, 2012 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Author Share Posted January 30, 2012 yes, me is using Sql so i have to convert txt to sql. REPLACE INTO `item_db` VALUES (6010,'Pickaxe','Pickaxe',4,10,NULL,10,10,NULL,1,0,0xFFFFFFFF,7,0,34,0,0,0,0,'callfunc \"Minner\",0; set @i$,\"Minnerx::OnDo\"; autobonus \" doevent @i$; \",10000,1,BF_WEAPON;',NULL,'callfunc \"Minner\",2;'); bump... the txt same as you. after convert it's like that. Quote Link to comment Share on other sites More sharing options...
Question
manabeast
[Error]:
script error on autobonus line 0
not found '{'
0 : 'd'oevent @i$;
Edited by manabeastLink to comment
Share on other sites
7 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.