Jump to content

johnbond

Members
  • Posts

    457
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by johnbond

  1. I think its working now. The annoucnements are already good. Thank you for your help E M I S T R Y!
  2. Wow this is nice Mr. Capuche. But can you debugg this for me because I get an error when I run it using 3ceam. script error on npc/extras/stalker.txt line 15 parse_line: expect command, missing function name or calling undeclared func tion 10 : } 11 : mes "are you sure you want to copy "+ .skill$[.@menu * 3] +"?"; 12 : mes "you'll need to relogin again"; 13 : next; 14 : if ( select ( "Yes", "No" ) == 2 ) close; * 15 : '.'@text$ = atoi( .skill$[.@menu * 3 +2] ) > 1 ? "-" + .skill$[. @menu * 3 +2] : "" ; 16 : mes "choose a level (1" + .@text$ + ")"; 17 : if ( input( .@input, 1, ( atoi( .skill$[.@menu * 3 +2] ) > 1 ? a toi( .skill$[.@menu * 3 +2] ) : 1 )) != 0 ) { 18 : mes "wrong level"; 19 : close; 20 : } Thank you sir.
  3. I have heard of a script that is like a bet match script wherein players can register through NPC with a party then put a bet on it then the NPC will shout that there is a party asking for a bet match. The 2nd team will register as well and but the required bet and their war can begin. Best of 3 rounds and max of 7 players on each side with no job repetition. Is there a script like this? Or maybe can someone do this for me? I can pay for the service if needed since I know this is kinda hard to make and complicated. Thank you guys.
  4. Hello, I currently use this PvP Dota script with built in ladder which came from my website. (credits to the maker of the script ~AnnieRuru~) http://pastebin.com/raw.php?i=bAJZVzab I want to use the script twice not just duplciate the ladder but load it twice. I basically want 2 separate ladders which gets kills from 2 different set of maps. The first script will be use for a separate set of maps and this second script shall be used for a different pvp map (pvp_y_8-2) but the problem is I cannot duplicate it properly. I changed NPC names but the variables are the same so the kills are being duplicated. It shouts "double kill" even if the kill was only once, and counts the kill twice in the ladder. Please somebody help me duplicate this script so that I can run 2 of these at the same time in my server. I think varaibles for my 2nd script should be changed but I am afrain to touch it which might only ruin things with my noob scripting skills hehe. Somebody maybe kind enough to give me a help on this, it will be well appreciated. http://pastebin.com/raw.php?i=bAJZVzab Thank you for your time guys.
  5. I also like this. Where exactly to put line if I only want the NPC to automatically run every 10am and 10pm? Thanks guys.
  6. Hello everyone, is it possible for the effect that when a player gets hit he cant use bwing for like 10 seconds? Like the reconnection rule, when players get hit they cannot log out of the map. Is this possible for the bwing? 602,Wing_Of_Butterfly,Butterfly Wing,11,300,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ itemskill "AL_TELEPORT",3; },{},{} Can somebody point me to the right direction. Thank you guys.
  7. 1. True. 2. Everytime you click the screen the keyboard goes up and leaving no space to make the character walk. Character cant walk. 3. Yes no audio.
  8. Hmm this thing is improving from time to time. Now works with ios8 mobile browsers very nice. This robrowser look promising someday. Ill keep a close watch if everything is already good to use. Thank you for this Mr. KeyWorld.
  9. I would like to request if there is a way to put like a "cast time" of 2-3 secs on a butterfly wing before it warps to savepoint. And maybe we can make it cast interuptible, only if possible. Does anyone have an idea on this? Thank you guys!
  10. Use rentitem instead of getitem when giving out items after enchantments. Next problem is how to know current remaining "rent time" of the item when giving them out.
  11. My friend the announcement feature you had put is great: announce "["+strcharinfo(0)+"] has just obtained a ["+getitemname(.BoxItems[ .Random ])+"] from a Custom Box.",0; But it does not announce properly. It gives "null" announcement of the item. No error in map console. Can we fix? I use 3Ceam. Thank you! Oh nevermind I already got it hehe. Thank you Mr. Chaos92!
  12. I have this Vote Points exchanger NPC wherein players talk to NPC to exchange their vote points to get items. The script uses a shop for this. Now my problem is when players are overweight or inventory full the item being bought drops to the ground and is lost by players. The vote points are also deducted. Please help me make this script check if character can be able to carry the item(s) being bought and cancel the transaction if they will be overweight or inventory full after buying it to avoid it being dropped to the ground. Here is the script I use. prt_in,118,37,5 script Vote Shop 868,{ set .@count, query_sql("SELECT `amount` FROM ea_voting WHERE `account_id` = " + getcharid(3), .@VotingPoints); set @VotingPoints, .@VotingPoints; message strcharinfo(0),"You currently have [ "+ @VotingPoints +" ] Vote Points."; message strcharinfo(0),"Vote Points are used to buy from me even if the windows displays 'Z'."; message strcharinfo(0),"You can get Vote Points by Voting from our website "; callshop "Donator_SHOP#03",1; npcshopattach "Donator_SHOP#03"; end; OnBuyItem: for(set @i,0; @i < getarraysize(@bought_nameid); set @i,@i+1) { for(set @j,0; @j < getarraysize(.POD_ITEMS); set @j,@j+2) { if(.POD_ITEMS[@j] == @bought_nameid[@i]) { set @itemcost,(.POD_ITEMS[(@j+1)]*@bought_quantity[@i]); set @totalcost,(@totalcost+@itemcost); break; } } } set .@count, query_sql("SELECT `amount` FROM ea_voting WHERE `account_id` = " + getcharid(3), .@VotingPoints); set @VotingPoints, .@VotingPoints; if(@totalcost > @VotingPoints) { message strcharinfo(0),"You don't have enough Vote Points. Relog to be able to buy again with correct Vote Points."; end; } else { for(set @i,0; @i < getarraysize(@bought_nameid); set @i,@i+1) { getitem @bought_nameid[@i],@bought_quantity[@i]; query_sql "INSERT INTO `votepointlog` VALUES ( NULL,"+getcharid(3)+",'"+ escape_sql(strcharinfo(0)) +"',"+@bought_nameid[@i]+","+@bought_quantity[@i]+",'KAFRAPOINTS',NOW() )"; } set @VotingPoints,@VotingPoints-@totalcost; query_sql "UPDATE ea_voting SET amount = " + @VotingPoints + " WHERE account_id = " + getcharid(3); message strcharinfo(0),"You now have ["+@VotingPoints+"] Vote Points left. Get more Vote Points by Voting from our website "; } set @totalcost,0; deletearray @bought_nameid[0],128; deletearray @bought_quantity[0],128; sleep2 1000; message strcharinfo(0),"Trade Information is Logged for Security Reason(s). No return no exchange."; end; OnInit: waitingroom strnpcinfo(2) + "" + strnpcinfo(1)+"",0; query_sql "CREATE TABLE IF NOT EXISTS `votepointlog` (`id` int(11) NOT NULL auto_increment,`account_id` int(11) NOT NULL default '0',`name` varchar(30) NOT NULL default '',`item` int(11) NOT NULL default '0', `amount` int(11) NOT NULL default '1',`point` varchar(30) NOT NULL default '', `time` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `char_id` (`account_id`)) ENGINE=MyISAM"; npcshopdelitem "Donator_SHOP#03",677; setarray .POD_ITEMS[0],12210,80,12103,80,12214,80; // Input as many items as you want (item::price) set .table, "ea_voting"; for(set .@i,0; .@i < getarraysize(.POD_ITEMS); set .@i,.@i+2) { npcshopadditem "Donator_SHOP#03",.POD_ITEMS[.@i],.POD_ITEMS[(.@i+1)]; } } - shop Donator_SHOP#03 139,677:100 I hope somebody could help me with this. Thank you my friends!
  13. Well I just used a NPC for this. Thanks.
  14. My friend the announcement feature you had put is great: announce "["+strcharinfo(0)+"] has just obtained a ["+getitemname(.BoxItems[ .Random ])+"] from a Custom Box.",0; But it does not announce properly. It gives "null" announcement of the item. No error in map console. Can we fix? I use 3Ceam. Thank you!
  15. Wow you are awesome! I will give this a try soon and let you know. Thank you my friend!
  16. May I request a sql query that would reset all skill points and status points of all Lord Knights (#4008) in the server but still giving them back what should be the set skills points and stat points. Thank you guys!
  17. I need it to be in my itemdb. It will be in a box of which the box will give random items from the list I will have. Is there any other way around this? Thank you my friend. just give any etc items that u didnt use to them to exchange with those items. its simple and easy though I need that the box should give random prizes so it is not always what they expect to get. The box should give items randomly from my list. Another idea is what if I manully put the callfunc("F_Rand" codes in my SRC? Will this do the trick? Thanks.
  18. I tried it but its not working. The "rand" part behaves differently. According to doc.txt:
  19. I need it to be in my itemdb. It will be in a box of which the box will give random items from the list I will have. Is there any other way around this? Thank you my friend.
  20. I am using 3ceam with some rathena modifications.
  21. I think its not working. I used: {getitem callfunc("F_Rand",2202,2217,2231),1; },{},{} exactly the same. I get the errors everytime I click: [03:19:20][Error]: script:callfunc: function not found! [F_Rand] [03:19:20][Debug]: Source (NPC): FAKE_NPC (invisible/not on a map) [03:19:33][Error]: script:callfunc: function not found! [F_Rand] [03:19:33][Debug]: Source (NPC): FAKE_NPC (invisible/not on a map) Btw, I still use 3ceam svn sorry for not making it clear. Thank you again my friend.
×
×
  • Create New...