Jump to content

caspa

Members
  • Posts

    499
  • Joined

  • Last visited

Everything posted by caspa

  1. can i request an npc that when you talk to it. it'll list all the player in your guild. and if no one is in your guild it'll say. "you don't have guild members" or if you don't have a guild it'll say "you don't have a guild" anyway, after it lists all your guild members it gives you the option of warping to where they are. after you select the guild member you wan't to see. if the character is offline it the npc say he is offline otherwise if hes online you warp to his location. ohh.. and it'll also tell you if your guild member is currently on another of their characters (in the same account of course)
  2. can i request for an npc that exchange skull into skull points then i can use the skull points into a skull shop but not just a skull shop npc its a skull shop that has the same function as a dynamic npc which gives you the option of letting you "try" on the headgear or view the headgear.
  3. can i request an npc that when a person is 5 - 10 cell away from him and say the word 'heal' the npc will heal him?
  4. hello, can somebody help me on this script. i need the script to only accept me.. i mean it'll only accept the account i'm using right now like for example im using the account -->> user123 and pass123 if i enter the user1234 and pass1234 which exist it'll tell me that you are currently logged in as "user123" please provide the info for this account only to logged-in. mes "[ In-Game Control Panel ]"; mes " "; mes "^0000ff*Enter Your Username*^000000"; input .@userid$; mes "^0000ff*Enter Your Password*^000000"; input .@user_pass$; query_sql "SELECT account_id FROM login WHERE userid='"+escape_sql(.@userid$)+"' AND user_pass='"+escape_sql(.@user_pass $)+"'", .@account_id; if (.@account_id) { next; mes "[ In-Game Control Panel ]"; mes " "; mes "^ff0000*You are now logged-In*^000000"; next; } else { next; mes "[ In-Game Control Panel ]"; mes "^ff0000ERROR^000000 :"; mes "- Invalid Username/Password."; mes "- Account Does Not Exist."; close; } BUMP........
  5. Hello i would like to know how to ignore the GM Name from this script.. i mean that, if your gm level is above 40 you will not be put on the online list. Here's the script : query_sql "SELECT `account_id` FROM `char` WHERE `online` = 1 ORDER BY `name` DESC LIMIT 128", .@account_id; set .@self,getcharid(3); //mes "x. Name ( Base/Job ) - Class [Map]"; for( set .@i,0; .@i < getarraysize( .@account_id ); set .@i,.@i+1 ) if( attachrid( .@account_id[ .@i ] ) ) { set .@name$,rid2name( .@account_id[ .@i ] ); set .@base,BaseLevel; set .@jobl,JobLevel; set .@jname$,jobname( Class ); set .@map$,strcharinfo(3); attachrid( .@self ); mes ""+( .@i+1 ) +". ^777777"+.@name$ +" ^FF0000("+ .@base +"/"+ .@jobl +")^000000 - ^777777"+ .@jname$ +" ^0000ff["+ .@map$ +"]^000000"; } close; BUMP? BUMP!
  6. what about the switch class boss em? is there a way you cAn implement the extra skill points i bought from the skill point sell into switching? this is your switch class script from long ago mes "[ Job Support ]"; mes "Please select what job."; next; setarray .JobLists[0],4008,4009,4010,4011,4012,4013,4015,4016,4017,4018,4019,( Sex )?"4020":"4021"; for( set .@i,0; .@i < getarraysize( .JobLists ); set .@i,.@i + 1 ){ set .@Menu$,.@Menu$ + (( Class != .JobLists[.@i] )?jobname( .JobLists[.@i] ):"")+":"; } set .@i,select( .@Menu$ ) - 1; jobchange .JobLists[.@i]; resetskill; set JobLevel,70; set SkillPoint,127; mes "[ Job Support ]"; set Zeny,zeny-3000000; mes "You switch into a ^FF0000"+jobname( Class )+"^000000 Class."; } close;
  7. Thank you for fast reply but that's not what i'm looking for.
  8. can i request an npc that has this type of function : menu "Buy / Sell Skill Point" - "Switch Class" - "Reset Skill" buy skill points - 1m per 1 skill points sell skill points - 100k per 1 skill points switch class - #1 only trans and expanded job can use this one ( LK, Stalk, HP, HW, Ninja, Star Glad, Soul Linker, Gunslinger and Supernovice and ETC. ) -->> no taekwon/2nd class/1st class/novice #2 if you bought 10 extra skill points from the 1st option. you get it when you switch class. like for example : LK(127 skill points = default ) + bought 10 extra skill points -->> switching to gunslinger. after the switch i get the default skill points for the gunslinger which is 78 and my extra 10 skill points so that makes a total of 88. now if during on my gunslinger time i decided to sell my 5 skill points. when i switch to stalker i would get the 127 default skill points + the 5 skill points. reset skill - if i reset my skill i need to still have the extra skill points i bought. =3
  9. i don't know how to properly do it... here's my script zhakastia,92,56,4 script Guild Manager 81,{ set .item1, 714; // Item ID 1 set .item2, 677; // Item ID 2 set .itemreq1, 9; // Ammount of item number 1 (9 since an emp is also consumed naturally upon guild creation) set .itemreq2, 10; // Ammount of item number 2 set .name$, "[^FF0000Guild Manager^000000]"; mes .name$; mes "Hello there "+strcharinfo(0)+"."; mes "I can help you form a guild or disband your current one."; menu "Sign-up for Guild Creation.",L_create,"Disband Guild.",L_disband,"Any requirements?",L_req,"No thanks.",L_cya; L_create: if(getpartyleader(getcharid(1)) == strcharinfo(0)) && (getcharid(2) == 0) { goto L_approve; } else { goto L_inguild; end; } L_approve: next; mes .name$; mes "Alright, I need you to tell me the name you want for your guild."; sleep2 1500; input @gcreatenm$; mes "Are you sure that's what you want?"; switch(select("Yes:No")) { case1: if ( query_sql ( "SELECT `name` FROM `guild` WHERE `name` = '"+escape_sql( @gcreatenm$ )+"'" ) ){ mes .name$; mes "'^ff0000"+@gcreatenm$+"^000000' has already been used."; mes "Please try another one."; next; goto L_create; end; } if(countitem(.item1) < .itemreq1) && (countitem(.item2) < .itemreq2) { goto L_nope; end; } mes .name$; mes "Alright then let's try this..."; atcommand "@guild "+@gcreatenm$; next; if(getcharid(2) == 0) { mes "Woops, seems like that guild already exists...try another name."; goto L_create; end; } announce strcharinfo(0)+" has created "+strcharinfo(2)+" Guild!",0; mes .name$; mes "Congrats."; delitem .item1, .itemreq1; delitem .item2, .itemreq2; close; end; case2: goto L_create; end; } L_disband: if(getcharid(2) == 0) { goto L_noguild; end; } if(getguildmaster(getcharid(2)) == strcharinfo(0)) { next; mes .name$; mes "Type this:"; mes "/breakguild ''"+strcharinfo(2)+"''"; close; end; } else { mes .name$; mes "You're not the guild leader."; close; end; } L_req: next; mes .name$; mes "You'll need "+.itemreq1+" pieces of "+getitemname(.item1)+" and "+.itemreq2+" pieces of "+getitemname(.item2)+"."; close; end; L_nope: next; mes .name$; mes "Bring me the items first!"; close; L_inguild: next; mes .name$; mes "You're either already in a guild or you're not the party leader!"; close; L_noguild: next; mes .name$; mes "You're not even in a guild!"; close; L_cya: next; mes .name$; mes "Next time then!"; close; }
  10. i got error on this part.
  11. caspa

    party related

    Hey thank you for helping me, the script works fine however i just have 1 problem with it... it keeps saying 0 instead of name like 0 does not have tcg card, 0 is below 99 and so on..... also on the zeny part...... its reading mine not my partner. BUMP! BUMP! BUMP! BUMP!
  12. can i request a script that is something like this.... setarray .reqid[1],7776,14232,7179,7539; setarray .reqat[1],(2,5),(3,6),(50,100),(79,128); getitem .reqid,reqat; mes " 'name-of-player' has acquired 'how-many-did-he-get-even-though-its-random'x 'what-item-did-he-get' "; mes "congrats";
  13. can i request for a script that function like this ~ it check if you have a party ~ it check if theres only 2 person in the party if there is 3 it says "your party must consist of 2 people only" ~ it check if the 2 player on the party is both online if the other 1 is offline it would say " "name of the offline" is currently offline " ~ it check if the 2 player on the party is female and male if the both player are female or male it says " your partner must be "if the person talking to the npc is female" - male / "if the person talking to the npc is male" - female ~ it check if both player on the party is level 99 if either one of them is below 99 it say " "name of the player" is below 99" ~ it check if both player has the TCG card if the other one does not have it say " "name of the player" doesn't have TCG Card" ~ it check if both player has 10 million zeny if the either of the player does not have enough zeny it say " "name of the player" only has " current zeny " he need "how many zeny is still needed" then after all of that is checked... the npc would warp both the player to guild dungeon "gld_dun01" then the npc must delete 10 tcg card from both the player and the 10 million zeny.............. BUMP
  14. mes "Card removal cost 200,000 zeny."; mes " "; mes " "; mes "Continue?"; next; switch(select("Yes:No")) { case 1: setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3"; set .@menu$,""; for( set .@i,1; .@i <= 10; set .@i,.@i+1 ) { if( getequipisequiped(.@i) ) set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; set .@menu$, .@menu$ + ":"; } //====================================================// // set .@part,select(.@menu$); // // if ( getequipisequiped(.@part) ){ // // mes "[ Ultimate Kafra ]"; // // mes "You're not wearing anything..."; // // close; // //====================================================// } if(getequipcardcnt(.@part) == 0) { mes "[ Ultimate Kafra ]"; mes "There is no card on this item...."; close; } set .@cardcount,getequipcardcnt(.@part); if (!checkweight(1202,(.@cardcount+1))) { mes "I'm sorry, but you're carrying too much stuff."; mes "Please free some weight..."; close; } the part where it's circled is not working can anybody help please...
  15. if( getcharid(1) ) { getpartymember( getcharid(1),2 ); getpartymember( getcharid(1),1 ); //------------------------- i want to set it up like this -->> setarray .@item, "2374", "2375", "2433", "2537", "5808"; //------------------------- set .@map_killer$,strcharinfo(3); set .@chance,rand(10); for( set .@i,0; .@i<$@partymembercount; set .@i,.@i+1 ) if( isloggedin( $@partymemberaid[ .@i ],$@partymembercid[ .@i ] ) ) if( !getmapxy( .@map$, .@x, .@y, 0, rid2name( $@partymemberaid[ .@i ] ) ) && .@map$ == .@map_killer$ ) { //---------------------------------------------------- so it wouldn't look like this -->> //getitem 2374,1, $@partymemberaid[ .@i ]; //getitem 2375,1, $@partymemberaid[ .@i ]; //getitem 2433,1, $@partymemberaid[ .@i ]; //getitem 2537,1, $@partymemberaid[ .@i ]; //getitem 5808,1, $@partymemberaid[ .@i ]; //---------------------------------------------------- //--------------------------------------------------- and so it would look like this -->> getitem .@item,1, $@partymemberaid[ .@i ]; //--------------------------------------------------- if( !.@chance ) getitem 4001, 1, $@partymemberaid[ .@i ]; } } end; }
  16. holy.... F*** who ever did that scripts made a serious commitment 99% RO 1% Social Life hahahaha!!
  17. how to make this into account based? not by character based? mes "[ Reward Manager ]"; if( Daily_Reward>gettimetick(2) ){ set .@Time, Daily_Reward-gettimetick(2); set .@SecondLeft,( .@Time % 60 ); set .@MinuteLeft,( .@Time / 60 % 60 ); set .@HourLeft,( .@Time / ( 60 * 60 ) % 24 ); set .@DayLeft,( .@Time / ( 24 * 60 * 60 ) ); set .@TimeLeft$,(( .@DayLeft )?.@DayLeft+" Day ":"" ) + (( .@HourLeft )?.@HourLeft+" hours ":"" ) + (( .@MinuteLeft )?.@MinuteLeft+" minutes ":"" ) + (( .@SecondLeft )?.@SecondLeft+" seconds":"" ); mes "I'm sorry, but you have already received the ^009900Daily Rewards^000000."; mes "Please comeback later."; mes " "; mes "^ff0000Next Reward^000000 :"; mes "^0000ff"+.@TimeLeft$+""; close; } mes " "; mes "~ ^009900Daily Rewards Acquired^000000"; mes " "; mes "^ff0000Received Items^000000 :"; getitem 7539,100; getitem 7227,100; mes "• 100x Poring Coin"; mes "• 100x TCG Card"; set Daily_Reward,gettimetick(2)+43200; next; mes "[ Reward Manager ]"; mes "Please talk to me again in the next ^ff000012 Hours^000000."; close;
  18. i believe this can't be done.... but you can just modify... like if i'm talking to the npc right now the other players can't talk to the npc unless i finish talking to the npc!!
  19. oh.... so that's why!! THX!!
×
×
  • Create New...