Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. .....{ bonus bAllStats,-9999; },{ disguise 2247; },{ undisguise; }
  2. Check my topic Script Release > Script Collection > Emistry Script > Refine Function
  3. Skull ID - 7420 and yes you can trade it into another Card if your NPC does so. just check for item 7420 and trade to the Card you want.
  4. per char ,..... if you want per account.. set #lastTimeTalked,gettimetick(2);
  5. you mean block from warping to the map using @warp ? try this ? mapname mapflag nowarpto
  6. if i was right.....then i think those player are using this method to achieve above situation... GM Generate Coupon for Items and give the Code to Players. Players gain items from the NPC by giving the right Code. but then...unfortunately.....they found a way to Duplicate your Items / Coupons... this is the way how they do it.... Give the Correct Code , then get items. before they Close the Message Window .... they ...Relog / ALT + F4 so....after they relog / Alt +F4 ......the Coupon actually is not deleted from the SQL. ....because...the command line that delete the SQL only executed right after they closed the message window of NPC. mes "[^FF7700Coupon Jack^000000]"; mes "You get ^0000FF" + getitemname(@available_item[@i]) + " - " + @available_item[@i] + " ea.^000000"; close2; query_sql "DELETE FROM `coupons` WHERE `code`='"+@my_code$+"'"; getitem @available_item[@i],@available_amount[@i]; end; if you want...you can try it like this...i think it should be able to solve above problems. mes "[^FF7700Coupon Jack^000000]"; mes "You get ^0000FF" + getitemname(@available_item[@i]) + " - " + @available_item[@i] + " ea.^000000"; query_sql "DELETE FROM `coupons` WHERE `code`='"+@my_code$+"'"; getitem @available_item[@i],@available_amount[@i]; close; and....make sure you dont generate alot Coupon with SAME Code. I also monitored my SQL, and it has been deleted right away. In just a few minutes, after that I got reports that players got 400~500 amount. ya...the query will be delete if player click on "Close" button to close the NPC Message. erm..i was refer the close2 command you using. because you run the query deletion line right after.... aw....i just now only saw what tr0n try to tell me ..... >.< you get item only after the query is deleted... >.< swt i missed this...LOL... erm...
  7. 2088 LOL ? count went wrong again ....
  8. if i was right.....then i think those player are using this method to achieve above situation... GM Generate Coupon for Items and give the Code to Players. Players gain items from the NPC by giving the right Code. but then...unfortunately.....they found a way to Duplicate your Items / Coupons... this is the way how they do it.... Give the Correct Code , then get items. before they Close the Message Window .... they ...Relog / ALT + F4 so....after they relog / Alt +F4 ......the Coupon actually is not deleted from the SQL. ....because...the command line that delete the SQL only executed right after they closed the message window of NPC. mes "[^FF7700Coupon Jack^000000]"; mes "You get ^0000FF" + getitemname(@available_item[@i]) + " - " + @available_item[@i] + " ea.^000000"; close2; query_sql "DELETE FROM `coupons` WHERE `code`='"+@my_code$+"'"; getitem @available_item[@i],@available_amount[@i]; end; if you want...you can try it like this...i think it should be able to solve above problems. mes "[^FF7700Coupon Jack^000000]"; mes "You get ^0000FF" + getitemname(@available_item[@i]) + " - " + @available_item[@i] + " ea.^000000"; query_sql "DELETE FROM `coupons` WHERE `code`='"+@my_code$+"'"; getitem @available_item[@i],@available_amount[@i]; close; and....make sure you dont generate alot Coupon with SAME Code.
  9. i dont think this is a good idea...i still thinking this can be bypass using this method Player are started from Novice and they now created a New Guild Player has changed to First Class / Second Class .... then they invited alot other Users from same class into the Guild Player changed to Trans Class....then they invited Trans Class users again Finally they are 3rd Job Class .... they invite 3rd Job Class ... Finally, your guild fully will multiple type of Classes in 1 guild and not just a guild who has Trans or 3rd Job Class only. my opinion..just made a simple script that check for player job class when they loaded at the map if you want, you can check my topic and search for Class Restriction script or if you want a simple short version, search the forum i am sure there is several script of this kind.
  10. i think SGCP got forum ..you can try switch to that CP erm ..another way that i am not really sure..and dunno how to write during the character create a new account ... after the account is created .. copy the new registered Account and Password into your Forum database there...
  11. make sure you put the TAB in the header correct...dont just blindly copy the script inside a codebox / code tag and paste in your server to run it.
  12. change if( rand(100) < 50 ){ into this if( rand(100) < 50 && .@Rune >= 3 ){
  13. if you want the NPC to give refined item or item that has been compunded with card. you need to use getitem2 command *getitem2 <item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>}; *getitem2 "<Item name>",<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>}; This command will give an amount of specified items to the invoking character. If an optional account ID is specified, and the target character is currently online, items will be created in their inventory instead. If they are not online, nothing will happen. It works essentially the same as 'getitem' (it even works for negative ID numbers the same way, which is kinda silly) but is a lot more flexible, since it allows you to give the player an item altered with it's specific properties. Those parameters that are different from 'getitem' are: identify - Whether you want the item to be identified or not, 0 unidentified, 1 identified. refine - For how many pluses will it be refined. It will not let you refine an item higher than +10, if you specify more it'll still be 10. attribute - Whether the item is broken (1) or not (0) and NOT an elemental attribute. card1,2,3,4 - If you want a card compound to it, place the card ID number into the specific card slot. Card ID numbers also found in 'db/item_db.txt' Card1-card4 values are also used to store name information for named items, as well as the elemental property of weapons and armor. You can create a named item in this manner, however, if you just need a named piece of standard equipment, it is much easier to the 'getnameditem' function instead.
  14. well....i was thinking... why not just make a simple warper ?? for @duel ... why are we need to use @duel command when we can just simply make a 1vs1 with a simple map users checking before warp ? for deathmatch why are we need to use @pvpon where the map you request is already a "PVP" Map ?? for GvG just simply put a GvG mapflag on that map will do what you want... for no command usage mapname mapflag nocommand for Potion item_equip.txt it should be working fine...but when thinking of there is alot of Potion .... not really sure there is a good way to handle this. or you use an array to store the potion ID and check before the player get warped. for link ... skill_nocast.txt then add the specific mapflag to the map and add a OnPCLoadMapEvent to remvove Link Buff if there is any.
  15. explain more ? add what forum software into your CP ? what CP ?
  16. edit the monster spawn line.. read here to get know of how it work http://rathena.org/wiki/Permanent_Monster_Spawn
  17. announce "You are now at "+strcharinfo(3)+".",bc_self;
×
×
  • Create New...