Jump to content

Rikimaru

Members
  • Posts

    658
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Rikimaru

  1. So you want the NPC to have a function,that only Admins can use the NPC,put in a Player Name or Account ID,to give it an GM Account,or did I get something wrong?
  2. Do it as I said above,you'll just have to edit the Mapnames.
  3. Yes,it's maxed at I think +20?
  4. Facebook Scripting or Spriting?
  5. High Rate Server One Piece or Bleach?
  6. Hmm...I'm not sure about that,but it's something with the source,too,but I don't know where to change that. Sorry.
  7. Maybe like this : prontera,160,192,5 script PVP Warper 730,{ mes "[ ^0065DFPVP Warper^000000 ]"; mes "Welcome To PVP Warper"; mes "I Can Help You Warp To PVP Room"; mes "This NPC Just For While PVP Room Only"; next; mes "[ ^0065DFPVP Warper^000000 ]"; mes "You Ready For Warper PVP Room?"; switch(select("PvP Room 1:PvP Room 2:PvP Room 3:PvP Room 4:No")) { case 1: set zz_point,zz_point+1; set my_point,zz_point; announce ""+ strcharinfo(0) +" Has Entered The PVP Room.." + zz_point + " Times ",bc_all; //announce and end warp "pvp_y_8-2" ,0,0; close; end; case 2: set zz_point,zz_point+1; set my_point,zz_point; announce ""+ strcharinfo(0) +" Has Entered The PVP Room.." + zz_point + " Times ",bc_all; //announce and end warp "YOURPVPROOM 2" ,0,0; close; end; case 3: set zz_point,zz_point+1; set my_point,zz_point; announce ""+ strcharinfo(0) +" Has Entered The PVP Room.." + zz_point + " Times ",bc_all; //announce and end warp "YOURPVPROOM 3" ,0,0; close; end; case 4: set zz_point,zz_point+1; set my_point,zz_point; announce ""+ strcharinfo(0) +" Has Entered The PVP Room.." + zz_point + " Times ",bc_all; //announce and end warp "YOURPVPROOM 4" ,0,0; close; end; case 5: close; } OnInit: waitingroom "Pvp Room",0,0; end; } pvp_y_8-2 mapflag nosave pvp_y_8-2 mapflag nowarp pvp_y_8-2 mapflag nowarpto pvp_y_8-2 mapflag noteleport pvp_y_8-2 mapflag noreturn
  8. I don't know if this works,but this should be the item script of bloody branch if you don't want anyone to be able to use bloody branch except normal players or Admins. if(getgroupid() >=1 && <=98) { end; } monster "this",-1,-1,"--ja--",-3,1,""; BUT I said,I'm not sure if this works.
  9. MAPNAME,XXX,YYY,Z<tab>script<tab>Mithril Exchanger<tab>NID,{ set .@n$,"^0000FF[ YOUR NPC NAME ]^000000";// CHANGE THE NPC NAME AND THE NPC HEADER! set .MithID,XXX;// CHANGE THE XXX TO YOUR MITHRIL ID set .CoupID,XXX;// CHANGE THE XXX TO YOUR COUPON ID mes .@n$; mes "Hello,I can exchange your"; mes "Mithril to Coupons!"; mes "5 Mithril are worth 1 Coupon."; next; mes .@n$; mes "How many Coupons do you want to get?"; next; input .@coupons; if(.@coupons==0) close; if(countitem(.MithID) < .@coupons*5) goto l_nomith; mes .@n$; mes "Okay,wait let me exchange them..."; next; mes .@n$; mes "Rustle...Rustle..."; delitem .MithID,.@coupons*5; getitem .CoupID,.@coupons; next; mes .@n$; mes "Thank you for the Mithril,have fun with the Coupons!"; close; l_nomith: mes "Sorry,but you don't have got enough MIthril in your inventory!"; close; } You mean somehting like the one I posted?
  10. It's not the database,which you need to change for theese types,you'll also have to change a few parts of the Source,as example for the Asura Strike Skill you'll have to change the Source to change it to that mechanics. You could read guides on the wiki,like How to add custom skills,and then you'll see , which files you have to edit to add a skill,and with that you can check which documents you have to edit,to change a skills mechanics. http://rathena.org/wiki/Custom_skills Good Luck!
  11. So it's fixed for you now?
  12. Are you using rAthena? Then you'll have to make it with the getgroupid() command,else you'll have to do it with the getgmlvl() command in the effect script.
  13. So you didn't get an error in your Mapserver,but the card is still not equipable on the flu mask? Why don't you try to check if you're editing the correct folder : /db/pre-re or /db/re
  14. prontera,164,163,4<tab>script<tab>Event Coin Changer<tab>733,{ mes "[Event Coins Changer]"; mes "Hi ^ff8000"+strcharinfo(0)+"^000000, I can exchange your coins to higher coins."; mes "^C0C0C05 Bronze Coin = 1 Silver Coin^000000"; mes "^C9AE5D5 Silver Coin = 1 Gold Coin^000000"; mes "^8B65085 Gold Coin = 1 Platinum Coin^000000"; mes "What would you like to do?"; next; switch(select("Bronze Coin to Silver Coin","Silver Coin to Gold Coin","Gold Coin to Platinum Coin:Platinum Coin to Gold Coin:Gold Coin to Silver Coin:Silver Coin to Bronze Coin")) { case 1: mes "How many you want to exchange?"; next; input .@count; if (.@count == 0) close; // optional: if player enter 0 script will terminate if (countitem(673) < .@count*5) goto L_NE; delitem 673,.@count*5; getitem 675,.@count; close; case 2: mes "How many you want to exchange?"; next; input .@count; if (.@count == 0) close; // optional: if player enter 0 script will terminate if (countitem(675) < .@count*5) goto L_NE; delitem 675,.@count*5; getitem 671,.@count; close; case 3: mes "How many you want to exchange?"; next; input .@count; if (.@count == 0) close; // optional: if player enter 0 script will terminate if (countitem(671) < .@count*5) goto L_NE; delitem 671,.@count*5; getitem 677,.@count; close; case 4: mes "How many Coins do you want to exchange?"; next; input .@count; if (.@count == 0) close; // optional: if player enter 0 script will terminate if (countitem(677) < .@count) goto L_NE; delitem 677,.@count; getitem 671,.@count*5; close; case 5: mes "How many Coins do you want to exchange?"; next; input .@count; if (.@count == 0) close; // optional: if player enter 0 script will terminate if (countitem(671) < .@count) goto L_NE; delitem 671,.@count; getitem 675,.@count*5; close; case 6: mes "How many Coins do you want to exchange?"; next; input .@count; if (.@count == 0) close; // optional: if player enter 0 script will terminate if (countitem(675) < .@count) goto L_NE; delitem 675,.@count; getitem 673,.@count*5; close; } L_NE: mes "You don't have enough of this coin."; close; } Try this,I changed it for you.
  15. NPC Header,{ mes "[NPC NAME]"; mes "Exchanging "+countitem(909)+" Jellopies into "+countitem(909)+" Fluffs."; getitem 914,countitem(909); delitem 909,countitem(909); close; }
  16. Anyways awesome Job Yommy! I really like your programm,since I need it to get the official dialogue of kRO/iRO NPC's. Thank you for releasing it. Also to the others : It's not NPC stealing,it's just showing the sent packets by the Server to the client,and this is shown on his programm. You can just get the official NPC dialogue for this.
  17. Hmm...Does your Mapserver give you any errors?
  18. You can check if you fully changed your Job if you put Skills into the Hotkeys and if you are still able to use them,then you didn't change your Job. The changebase script command just changes your Sprite Appearance and Job Name,if you check your character selection,then you'll still be the normal job,which you were before wearing a suit with the changebase command.
  19. Hmm...Your VotePoints have to be saved in another SQL table on your control pannel. So the NPC has to connect to that table and get the amount of the vote points,but if your MapServer doesn't give you any errors,then it's hard to find what's wrong with that script.
  20. Please give us more information about what features you want to have in that script,else a lot of scripters won't be able to script it for you because of missing information. Thank you!
  21. The SQL Query could look like this : //Beginning of the Script : set @accids$,getcharid(3); //Script //SQL Query : query_sql "UPDATE `login` SET group_id='YOURGROUPIDHERE' WHERE `account_id`='" + escape_sql(@accids$) + "'";
  22. You'll just have to use the getitem2 command : Just read the info about getitem2 on the wiki
  23. Jman's right,they can't arrest your friend because of that,but they can still sue your friend.
×
×
  • Create New...