Jump to content

Nero

Members
  • Posts

    194
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Nero

  1. Example I want to get item to one npc and it will require 1 hr again to get or talk to him. (Timer will count even you log out) Thanks!!
  2. Hello how can i properly remove a costume equipment via sql? example i want to properly remove the costume archangel wing ( 20500) Ive used : DELETE FROM `inventory ` WHERE nameid='20500' AND equip='8192; But when i login i can see that the archangel wing(20500) is gone in the equip but the sprite view is still there. Is there anyway to remove also the sprite view upon deleting the item in sql? or is there any scripts that can be done via onlogin to automatically check and remove the player's costume garment sprite view before entering the game? Thanks in advance!
  3. Example: during woe. I would like to record all the break announcement that can be seen on an npc. Npc will show: [NPCname] Kriemhild castle has been conquered by playername1 of the guildname1. close;
  4. I have this problem in players name not showing on item Situation: (MAP: ALBERTA) if Player 1 use @produce bow and Vend it, Play 2 will only see nameless bow If player 2 bought the bow and warp to other place (EXAMPLE : PRONTERA) he will now see the name of the bow.
  5. Im having error in this one [Error]: script error in file 'npc/rage/koe.txt' line 158 column 39 parse_callfunc: expected ')' to close argument list 155: if ( isloggedin( $@guildmemberaid[.@i],$@guildmembercid[.@i] ) ) { 156: if ( $@guildmemberaid[.@i] == .@master_id ) { 157: while ( .@x < .@item_master_size ) { * 158: if(!checkvending(strcharinfo(0,$@guildmembercid[.@i]))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 159: getitem .@item_master[.@x],.@item_master[.@x+1],$@guildmemberaid[.@i]; 160: .@x += 2; 161: } if(!checkvending(strcharinfo(0,$@guildmembercid
  6. - script guild_vs1s2 -1,{ OnAgitEnd: callsub( L_reward,0, "guild_vs1" ); end; OnAgitEnd2: callsub( L_reward,1, "guild_vs1" ); end; L_reward: .@type = getarg( 0,0 ); .@map$ = getarg( 1,"" ); if ( .@type == 0) { // woe fe setarray .@item_master, 30206,2; setarray .@item_member, 30206,1; } else { // woe se setarray .@item_master, 30206,2; setarray .@item_member, 30206,1; } .@item_master_size = getarraysize( .@item_master ) - 1; .@item_member_size = getarraysize( .@item_member ) - 1; if ( .@map$ != "" ) { .@gid = getcastledata( .@map$,1 ); if ( .@gid > 0 ) { getguildmember .@gid,1; getguildmember .@gid,2; .@master_id = getcharid( 3, getguildmaster( .@gid ) ); while ( .@i < $@guildmembercount ) { .@x = 0; if ( isloggedin( $@guildmemberaid[.@i],$@guildmembercid[.@i] ) ) { if ( $@guildmemberaid[.@i] == .@master_id ) { while ( .@x < .@item_master_size ) { getitem .@item_master[.@x],.@item_master[.@x+1],$@guildmemberaid[.@i]; .@x += 2; } } else { while ( .@x < .@item_member_size ) { if ( CheckVending() ){ end; } getitem .@item_member[.@x],.@item_member[.@x+1],$@guildmemberaid[.@i]; .@x += 2; } } } .@i++; } } } return; } Still not getting anything.
  7. Hmm i got some problem. No error on script but members doesnt receive the reward. even if the player is not in vend/autotrade
  8. How can i restrict them from getting reward in this script: - script guild_vs1s2 -1,{ OnAgitEnd: callsub( L_reward,0, "guild_vs1" ); end; OnAgitEnd2: callsub( L_reward,1, "guild_vs1" ); end; L_reward: .@type = getarg( 0,0 ); .@map$ = getarg( 1,"" ); if ( .@type == 0) { // woe fe setarray .@item_master, 30206,2; setarray .@item_member, 30206,1; } else { // woe se setarray .@item_master, 30206,2; setarray .@item_member, 30206,1; } .@item_master_size = getarraysize( .@item_master ) - 1; .@item_member_size = getarraysize( .@item_member ) - 1; if ( .@map$ != "" ) { .@gid = getcastledata( .@map$,1 ); if ( .@gid > 0 ) { getguildmember .@gid,1; getguildmember .@gid,2; .@master_id = getcharid( 3, getguildmaster( .@gid ) ); while ( .@i < $@guildmembercount ) { .@x = 0; if ( isloggedin( $@guildmemberaid[.@i],$@guildmembercid[.@i] ) ) { if ( $@guildmemberaid[.@i] == .@master_id ) { while ( .@x < .@item_master_size ) { getitem .@item_master[.@x],.@item_master[.@x+1],$@guildmemberaid[.@i]; .@x += 2; } } else { while ( .@x < .@item_member_size ) { getitem .@item_member[.@x],.@item_member[.@x+1],$@guildmemberaid[.@i]; .@x += 2; } } } .@i++; } } } return; } Where to put this one if( ( checkvending() == 2 && !.autotrade ) ?
  9. Thanks for your answer. But i really need to know what is the problem. Yes upgrading or changing the client itself will probably fix the problem thats why I stated all the possible error i found.
  10. Hello I dont know if you are aware of this problem. Situation: Rudra bow = no arrow animation. Class num = 77 upon checking only on weapontable.lub class num 73 to 76 will show the arrow animation from any bow sprites. so reverting WEAPONTYPE_Hunter_Bow = 76, WEAPONTYPE_Bow_Of_Rudra = 77, [Weapon_IDs.WEAPONTYPE_Hunter_Bow] = "_1718", changed to 1720 [Weapon_IDs.WEAPONTYPE_Bow_Of_Rudra] = "_1720", then using class num 76 to rudra bow- Will now show the arrow animation/attack therefore sprite of rudra bow is not the reason. probably client is only accepting bow animation between WEAPONTYPE_CrossBow = 73, WEAPONTYPE_Arbalest = 74, WEAPONTYPE_Kakkung = 75, WEAPONTYPE_Hunter_Bow = 76, any one here can tell me how may i fix the problem? Thank you in advance.
  11. Hello everyone i would like to request this one. If map is in pvp = every warp there will be a self announce info. Example at pay_fild08 is in pvp on. if you teleport on that area, you will see a broadcast to self with the "The map is currently in PVP mode so be ready!"; Thank you everyone and Godbless!
  12. Hello. Im using 20141020 client. I dont know if you are aware of this problem. Situation: Rudra bow = no arrow animation. Class num = 77 upon checking only on weapontable.lub class num 73 to 76 will show the arrow animation from any bow sprites. so reverting WEAPONTYPE_Hunter_Bow = 76, WEAPONTYPE_Bow_Of_Rudra = 77, [Weapon_IDs.WEAPONTYPE_Hunter_Bow] = "_1718", changed to 1720 [Weapon_IDs.WEAPONTYPE_Bow_Of_Rudra] = "_1720", then using class num 76 to rudra bow- Will now show the arrow animation/attack therefore sprite of rudra bow is not the reason. probably client is only accepting bow animation between WEAPONTYPE_CrossBow = 73, WEAPONTYPE_Arbalest = 74, WEAPONTYPE_Kakkung = 75, WEAPONTYPE_Hunter_Bow = 76, any one here can tell me how may i fix the problem? Thank you in advance.
  13. Hello everyone. How can i remove the animation asura. The punch floor of character?
  14. How to change the battle ground emblem of the tiger and falcon i think on the upper right side of the client? is it possible or only in client diff?
  15. Hello may i request example if eddga is dead then pvp off in pay_fild11 else pvp on
  16. Hello where can i find some voting site source code Like this one topragnarok.com Is there any release for it's php or html code? Note: I am not advertising any website.
  17. Hello Anacondaqq thank you very much but the area codes are not working. Players can get the item even though they are too far or in another map. Also may i ask what do you mean by " but this command can be very abused by cheaters, for example by very big party "
  18. This is the code - script mvprewarders -1,{ OnNPCKillEvent: if ( getmonsterinfo( killedrid, MOB_MVPEXP ) && rand(100) < 100 ) { if ( getcharid(1) ) { getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { // what happens if someone in the party member is offline =/ .@partymemberaid[.@c] = $@partymemberaid[.@i]; .@c++; } } getitem 30022, 1, .@partymemberaid[ rand( .@c ) ]; announce "Party ["+ strcharinfo(1) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" and a Random Party Member Got 1 MVP TOKEN at "+ strcharinfo(3),0,0x00FF00; } else { getitem 30022, 1; announce "Player ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" and Got 1 MVP TOKEN at "+ strcharinfo(3),0,0x00FF00; } } end; } The problem is how can i make all party member to get the reward instead of random party member? Also only party member in the area will be valid to get the reward.
×
×
  • Create New...