Jump to content

balanar12321

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by balanar12321

  1. can someone help me about this Powerball Lottery? When npc already draw the numbers, the players can still buy another ticket and claim again the reward, they already know the draw cards and they can buy again and claim rewards multiply times. The new Ticket bought is still affected in the latest drawn, instead in the next drawn .... and also the Old Ticket wont reset after the Draw Time https://upaste.me/2b3d54189ff35a911
  2. How to add guild member limit in a map example: kriemhild, only 15 guild members per guilds are allowed, if the 16th guild members will go to kriemhild, he will warpout.
  3. https://upaste.me/aae1533814572094f how to make this a gm Switch, and add a Start Event? and when the event start, when the players click this npc, they will warp to the event room
  4. how to make, instead of inserting names, after a gm insert how many members each party and how many party can join, an NPC will enable, and a partyleader will register to that npc, if the party is composed of how many members input by a gm will be registered and should stay on the map, then if all parties registered they will warp to event map, and it will automatically start the event PartyVsParty.txt
  5. if( query_sql( "SELECT `account_id` FROM `char` WHERE `guild_id`='"+$koegid+"' AND `online`= 1 ",.@AID ) ) for( set .@i,0; .@i < getarraysize( .@AID ); set .@i,.@i + 1 ){ getitem 600,1,.@AID[.@i]; getitem 601,1,.@AID[.@i]; getitem 602,1,.@AID[.@i]; } end; CAN SOMEONE make this IP base reward, 1 reward per 1 IP.. thanks
  6. Can anyone have script NPC Reward / Auto Reward that give 1 reward per IP in same guild,, everytime an event ends?
  7. if ($eventgid) { .@aid = getcharid(3, getguildmaster($eventgid)); if (.@aid && isloggedin(.@aid)) { getitem 1080, 10, .@aid; } }how to make this every guild member instead of guild master only, to recieve prizes at the end of the event
  8. i just want to make it IP Based to avoid abuse of prize every event if ($eventgid) { .@aid = getcharid(3, getguildmaster($eventgid)); if (.@aid && isloggedin(.@aid)) { getitem 1080, 10, .@aid; } } how to make this every guild member instead of guild master only, to recieve prizes at the end of the event
  9. //Event Reward prontera,196,173 script Reward 99,{ mes "[You Win]"; close2; warp "Save",0,0; if ( getcharid(2) == $eventgid ) getitem 969, 1; } How can i make this NPC Event Reward Giver to make it IP base?
  10. After I Break the Emp,, the Emperium did not summon again, Also the KOE Duration
  11. Can help me make this events scripts to choose events prize instead of putting id# and amount? ex: when gm starts the event, he choose what's the prize instead of inserting id# and amount @AnnieRuru cluckers.txt disguise.txt
  12. yes im using the cluckers in event npc custom, can help me how to edit the prize list? i just want to add choices in the prize list instead of inserting id# and amount of prizes, example. when gm start the event, the gm will choose event prizes in the list instead of inserting id#item and amount
  13. //===== Hercules Script ======================================= //= Cluck! Cluck! Boom! //===== By: ================================================== //= Keale //===== Current Version: ===================================== //= 1.2a //===== Description: ========================================= //= Click the chicken and try retrieve the item at a low //= chance. If you fail he will nuke, freeze, stone, //= stun, or make you fall asleep. //= The prize is configurable and triggered by the NPC. //===== Additional Comments: ================================= //= 1.0 First release. //= 1.1 Using 'switch rand' instead. //= 1.2 Cleaned and standardized. [Euphy] //= 1.2a Switched 'atcommand' to 'unitskilluseid'. //============================================================ payon,160,226,4 script Cluckers 4_NFCOCK,{ set .@GMAccess,80; // GM level required to access NPC if (.startcluck) { specialeffect(EF_HIT3, AREA, playerattached()); switch(rand(15)) { case 0: npctalk "CLUUUUUUCK!!!"; unitskilluseid getcharid(CHAR_ID_ACCOUNT),"NPC_SELFDESTRUCTION",1; emotion 23; break; case 1: npctalk "Cluuuuuck!~"; break; case 2: unitskilluseid getcharid(CHAR_ID_ACCOUNT),"NPC_SELFDESTRUCTION",1; break; case 3: sc_start SC_FREEZE,1000,0; break; case 4: npctalk "CLUUUUUUUUUCK!!!"; unitskilluseid getcharid(CHAR_ID_ACCOUNT),"NPC_SELFDESTRUCTION",1; emotion 23; break; case 5: sc_start SC_SLEEP,1000,0; break; case 6: sc_start SC_STONE,1000,0; emotion 29; break; case 7: npctalk "CLUUUUUUCK!!!"; unitskilluseid getcharid(CHAR_ID_ACCOUNT),"NPC_SELFDESTRUCTION",1; emotion 23; break; case 8: npctalk "Cluck! CLUUUCK!!"; unitskilluseid getcharid(CHAR_ID_ACCOUNT),"NPC_SELFDESTRUCTION",1; emotion 23; break; case 9: sc_start SC_STUN,1000,0; break; case 10: sc_start SC_SLEEP,1000,0; emotion 29; break; case 11: npctalk "Cluck! Cluck!"; break; case 12: sc_start SC_STUN,1000,0; break; case 13: unitskilluseid getcharid(CHAR_ID_ACCOUNT),"NPC_SELFDESTRUCTION",1; break; default: if (rand(50) < 4) { npctalk "WOOF!..........."; specialeffect(EF_SPHERE, AREA, playerattached()); announce "[Cluck! Cluck! Boom!] " + strcharinfo(PC_NAME) + " squeezed out the prize! Well done!",0; getitem $cluck_item_id,$cluck_item_amount; set .startcluck,0; } else { npctalk "Cluck! CLUUUCK!!"; unitskilluseid getcharid(CHAR_ID_ACCOUNT),"NPC_SELFDESTRUCTION",1; } break; } end; } mes "[Cluckers]"; if (getgmlevel() >= .@GMAccess) { mes "Cluck cluck! Cluuuuuck? ^FF0000~Hi GM " + strcharinfo(PC_NAME) + ", Wanna play today?~^000000"; mes "Cluck cluck... CLUCK! ^FF0000~Just tell me what to do!~^000000"; next; while(1) switch(select("Start Event", "Check Prize", "Set Prize", "Not today Cluckers")) { case 1: mes "[Cluckers]"; mes "CLUCK! ^FF0000~Sure thing!~^000000"; emotion 33; close2; announce "[Cluck! Cluck! Boom!] is about to start in Prontera!",bc_blue; initnpctimer; end; case 2: mes "[Cluckers]"; mes "Cluck, cluck cluck... Cluck! ^FF0000~The current prize is^000000 ^008000"+ $cluck_item_amount +" "+ getitemname($cluck_item_id) +".^000000"; next; break; case 3: mes "[Cluckers]"; mes "Cluck cluck? Cluck??? ^FF0000~What should the prize for winning be? Please input the ID.~^000000"; input($cluck_item_id, 0); next; mes "[Cluckers]"; mes "Cluck? cluuuck? ^FF0000~How many if this item should I give away?~^000000"; input($cluck_item_amount, 0); next; mes "[Cluckers]"; mes "Cluck cluck..? Cluck. ^FF0000~So, the prize is^000000 ^008000"+ $cluck_item_amount +" "+ getitemname($cluck_item_id) +"^000000? ^FF0000Great.~^000000"; emotion 33; next; break; case 4: mes "[Cluckers]"; mes "Cluck cluck cluck..."; close; } } mes "Cluck cluck! Cluuuuuck?"; mes "Cluck...."; close; OnTimer10000: announce "Please hurry behind the fountain if you want to play with the crazy chicken!",bc_blue; end; OnTimer20000: announce "Cluckers has eaten one of my items! I'm too scared to retrieve it!",bc_blue; end; OnTimer30000: announce "Click the insane chicken and try squeeze out the item, if you're lucky you'll win! Are you ready?",bc_blue; end; OnTimer40000: announce "GO! Click the chicken to get the prize!",bc_blue; stopnpctimer; if (!$cluck_item_id) set $cluck_item_id,512; if (!$cluck_item_amount) set $cluck_item_amount,1; set .startcluck,1; end; } cluckers.txt
  14. Hi, anyone has an Event Npc that choose what to reward instead of Inserting the id# and amount? or someone teach me the script of adding reward in Events/Npc Events, like: GM will chose either in this item (apple,jellopy,bottle) and amount (1,5,7) to auto give to the winner after the event done,? #sorry cant explain well, still hope someone understand
  15. Can you guys please help me on this script set $rand, rand(14232),(7227);getitem $rand,1; i want the prize of each correct answer in disguise event in random either of the 2 items Thx and More Power
×
×
  • Create New...