Jump to content

cmsm94

Members
  • Posts

    170
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by cmsm94

  1. This is not working. I waited for 1 minute. There is a Bug or Error, i not sure i cannot detected it. I dont know is it the time or the script
  2. cmsm94

    Auto start?

    OnMinute00: // meaning always? OnMinute01: // meaning 1 minutes is it? how do u set the minute
  3. Hi all, How do you hmm........ make this auto start every 1 hour. pleeaseeee Do you have to use " OnTimer3600000: " ??? how do u fix that in there Lunette,53,50,5 script Disguise Event 795,{ //--- Basic Script Configuration Options ---// set [email protected]$,"[^0000FFDisguise NPC^000000]"; //<- NPC Name. set [email protected],3; //<- GM Level needed to be considered a GM. //--- The Script ---// if (getgmlevel()>[email protected]){goto GM_Player;} if ([email protected]){end;} mes [email protected]$; mes "Welcome, how may i be of assistance."; menu "Information",iInfo,"Nothing, just passing through.",iNothing; iInfo: next; mes [email protected]$; mes "This event is actually quite simple"; mes "At the start of the event, I will disguise myself"; mes "into a monster randomly. You will then merely have to shout that monsters name outloud."; next; mes "If you get it correct, you get a prize. If not, then keep trying."; mes "Thatis all there is to know about this event."; close; iNothing: close; GM_Player: mes [email protected]$; mes "Please select an Option to modify."; menu "Turn ON/OFF Event",iEvent,"Event Settings",iSettings; iEvent: next; mes [email protected]$; if ([email protected]){mes "The Event is currently: [^0000FFON^000000]"; mes "Would you like to turn it OFF?";} if ([email protected]){mes "The Event is currently: [^FF0000OFF^000000]"; mes "Would you like to turn it ON?";} menu "Yes",iYes,"No",iNothing; iYes: if ([email protected]) {set [email protected],0; set [email protected],0; setnpctimer 0; stopnpctimer; announce "A GM has decided to turn the Disguise Event off. As a result no further prizes will be given.",bc_map | bc_blue; deletepset 1; setnpcdisplay "Disguise Event",795; close;} set [email protected],1; set [email protected],1; setnpctimer 0; initnpctimer; set [email protected],[email protected]+1; announce "The Disguise Event will begin in 3 minutes.",bc_all | bc_blue; announce "Talk to the Disguise Event Warper to join the event!",bc_all | bc_blue; announce "The warper is available in the Event Area.",bc_all | bc_blue; close; iSettings: next; mes [email protected]$; mes "Please select a setting to modify."; menu "Monster Display",iMonster,"Number of Rounds",iRounds,"Prize Settings",iPrize; iMonster: callfunc "Monster_Display"; iRounds: callfunc "Rounds"; iPrize: callfunc "Prize"; OnInit: defpattern 1,"([^:]+):.\\s*OMFGBBQLEETSAUCEGMOCEANRULESHAI!!.*", "iCorrect"; activatepset 1; set [email protected],0; set [email protected],0; set [email protected],0; set $Points,$Points; set [email protected],0; set $Rounds,$Rounds; set $Prize,$Prize; set $PrizeAmt,$PrizeAmt; set $Rule,$Rule; setarray [email protected][0],1038,1039,1046,1059,1086,1087,1112,1115,1147,1150,1157,1159,1190,1251,1252,1272,1312,1373, 1389,1399,1418,1492,1502,1511,1583,1623,1630,1646,1647,1648,1649,1650,1651,1658,1685,1688, 1708,1719,1734,1751,1768,1779,1785,1802,1832,1871,1874,1885,1917,1980,2022,2068,2087,2131, 2156,2165; setarray [email protected][0], 1003,1006,1017,1021,1022,1027,1043,1075,1136,1137,1168,1171,1172,1173,1181,1210,1217,1218, 1222,1223,1224,1225,1226,1227,1228,1233,1284,1407,1411,1414,1495,1501,1900,1996,2000,2001, 2002,2003,2004,2005,2006,2007,2011,2012,2025,2028,2029,2030,2031,2032,2033,2034,2035,2036, 2037,2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2048,2049,2050,2051,2052,2053,2054, 2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2075,2076,2077,2078,2079, 2080,2081,2083,2084,2085,2086,2087,2088,2089,2090,2091,2092,2093,2094,2095,2096,2097,2098, 2099,2100,2101,2012,2103,2104,2105,2106,2107,2108,2109,2110,2111,2112,2113,2114,2115,2116, 2117,2118; setarray [email protected][0],2119,2120,2121,2123,2124,2125,1496; end; /* OnClock0000: OnClock0200: OnClock0400: OnClock0600: OnClock0800: OnClock1000: OnClock1200: OnClock1400: OnClock1600: OnClock1800: OnClock2000: OnClock2200: */ set [email protected],[email protected]+1; set [email protected],1; set [email protected],1; set [email protected],1; announce "The Disguise Event will begin in 3 minutes.",bc_all | bc_blue; announce "Talk to the Disguise Event Warper to join the event!",bc_all | bc_blue; announce "The warper is available in the Event Area.",bc_all | bc_blue; setnpctimer 0; initnpctimer; end; OnTimer10000: if ([email protected]){end;} if ([email protected]){end;} set [email protected],0; goto iDisguise; //donpcevent "DisguiseEvent::OnDisguise"; end; OnTimer30000: if ([email protected]){end;} set [email protected],0; setnpcdisplay "Disguise Event",795; npctalk "You took too long to guess what i was. Please wait 10 seconds while i disguise again."; specialeffect 725; set $MonsterName$,"OMFGBBQLEETSAUCEGMOCEANRULESHAI!!"; deletepset 1; stopnpctimer; setnpctimer 0; initnpctimer; end; OnTimer60000: if ([email protected]!=1){end;} if ([email protected]==1) {announce "The Disguise Event will begin in 2 minutes.",bc_all | bc_blue; announce "Talk to the Disguise Event Warper to join the event!",bc_all | bc_blue; announce "The warper is available in the Event Area.",bc_all | bc_blue; end;} OnTimer120000: if ([email protected]!=1){end;} if ([email protected]==1) {announce "The Disguise Event will begin 1 minute.",bc_all | bc_blue; announce "Talk to the Disguise Event Warper to join the event!",bc_all | bc_blue; announce "The warper is available in the Event Area.",bc_all | bc_blue; end;} OnTimer180000: if ([email protected]!=1){end;} if ([email protected]==1) {announce "The Disguise Event has begun!",bc_all | bc_blue; announce "Talk to the Disguise Event Warper to join the event!",bc_all | bc_blue; announce "The warper is available in the Event Area.",bc_all | bc_blue; set [email protected],0; stopnpctimer; setnpctimer 0; initnpctimer; goto iDisguise; //donpcevent "DisguiseEvent::OnDisguise"; end;} announce "Something went wrong with the Disguise Event.",bc_all | bc_blue; announce "Please notify a GM ASAP. Thank you.",bc_all | bc_blue; end; iDisguise: if ($Rule==1) {set [email protected],0; set [email protected],1000+rand(1,995); for(set [email protected],0; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+1) {if ([email protected][email protected][[email protected]] || [email protected][email protected][[email protected]]) {goto iDisguise;}} if ([email protected][email protected]){goto iDisguise;} set [email protected],[email protected]; set $MonsterName$,getmonsterinfo([email protected],0);} if ($Rule==2) {set [email protected],0; set [email protected],rand(49); set $MonsterName$,getmonsterinfo([email protected][[email protected]],0);} deletepset 1; defpattern 1,"([^:]+):.\\s*"+$MonsterName$+".*", "iCorrect"; activatepset 1; if ($Rule==1){setnpcdisplay "Disguise Event",[email protected];} if ($Rule==2){setnpcdisplay "Disguise Event",[email protected][[email protected]];} set [email protected],1; setnpctimer 0; //Hint //npctalk ""[email protected]+", "+$MonsterName$+""; end; iCorrect: if ([email protected]){dispbottom "Someone has already won this round."; end;} set [email protected],1; set [email protected],[email protected]+1; deletepset 1; defpattern 1,"([^:]+):.*\\sOMFGBBQLEETSAUCEGMOCEANRULESHAI!!.*", "iFailCheater"; activatepset 1; getitem $Prize,$PrizeAmt; announce ""+strcharinfo(0)+" is correct! I was disguised as: "+$MonsterName$+"",bc_map | bc_blue; if ([email protected]>=$Rounds) {setnpcdisplay "Disguise Event",795; set [email protected],0; set [email protected],0; set [email protected],0; setnpctimer 0; stopnpctimer; npctalk "Thank you all for playing. That was the last round of the Disguise Event. Come play again later."; end;} setnpcdisplay "Disguise Event",795; set [email protected],0; setnpctimer 0; end; iFailCheater: end; } //--- The Functions ---// function script Rounds { next; mes "Please Input the number of rounds you want the event to last."; mes "Current Number of Rounds: [^0000FF"+$Rounds+"^000000]"; input [email protected]; set $Rounds,[email protected]; next; mes "The number of rounds has been changed successfully."; mes "Number of Rounds: [^0000FF"+$Rounds+"^000000]"; mes "Come again."; close; } function script Prize { next; mes "Please Input the ItemID of the prize that will be given each round."; mes "Current Items is: [^0000FF"+getitemname($Prize)+"^000000] ItemID - ^0000FF"+$Prize+"^000000"; input [email protected]; if (getitemname([email protected])=="" || getitemname([email protected])=="null") {next; mes "That item does not exist. Please try again."; close;} set $Prize,[email protected]; next; mes "Please Input the Ammount that is to be given."; input [email protected]; if ([email protected]<=0 || [email protected]>=10000) {next; mes "That ammount is invalid. Using default ammount of 1.";} set $PrizeAmt,[email protected]; next; mes "The Prize has been changed successfully."; mes "Prize: [^0000FF"+getitemname($Prize)+"^000000]x(^0000FF"+$PrizeAmt+"^000000)"; close; } function script Monster_Display { setarray [email protected][0],0,1,2; setarray [email protected]$[0],"","Transform as all monsters.","Transform as MvP's only."; next; mes "Please select a Disguise Rule."; mes "Rule 1 - Transform as all monsters."; mes "Rule 2 - Transform as MvP's only."; menu "Rule 1:Rule 2",iRule; iRule: set $Rule,[email protected][@menu]; next; mes "The Disguise Rule, has been changed successfully."; mes "Current Rule: ^0000FF"+$Rule+"^000000 - ^0000FF"[email protected]$[@menu]+"^000000"; close; } Credits to GMocean The strange thing is that this npc isnt starting by its own and there is no script above of this script i dont know whats the problem.
  4. Yeah thank you so much. For clearing that up.
  5. Awesome scripting bro.!!!! hmm where and how can i know about the time? How can i set it? Whats the number ahh T.T forexample u just posted OnTimer1800000: means 30 minutes. Meaning i have to 1800000 + 1800000 = 1 hour? 1 minute how many?
  6. Hi all, pleaseee I would like a announcer to a character. For example, let say i played for 30 minutes the npc will announced to me" i have played 30 minutes and please slow down. We care about your health. " Something like that a simple script. To all Character's, perfer if it works with id or ip. pretty please thank youuu very much.
  7. I dont know will it work or not but how do u excute it in a phpmyadmin? make word.txt and paste that? O.o Sorry with the late reply im not so free
  8. so { callfunc "coinbag",<id>; } the id should be like { callfunc "coinbag",case 0:; }?
  9. I played few game. Their games is very funtionable and very fun because they have a special rebirth system that once you reach max level you are allow to rebirth and there is a limit to rebirth. To rebirth you need probably voting points or donation points, Does anyone know how to do this or make it into fluxCP or a Rebirth NPC that does this with a Item requires or cash points/kafra?
  10. I think I really dont understand what you are trying to tell O.o. From my point of view you said there is 2 choice A is those 1-4 steps, while Choice B is just a script command. If it is a script command i suggest to do that 1 but from what I understand you script only works for 1 bag. This how do you work with this I dont get it sir.
  11. I have notice some of the item for example Immune shield 2168 isnt in my flux cp item database. Why?? and my itemdb2 items are missing from my fluxcp item database how is this so? Could someone delete this, I found out already thank you.
  12. cmsm94

    Refiner

    Simple script you can google for it. Last time i was looking for it found many refiner which is not my type.
  13. Lulu pm me, if you would help me in this i could pay you for this service.
  14. I understand but did you look on those dates? Really need this script. What do you suggest me to do? remake a post identical like this? I would like for example Grade B coin bag only gives B Grade coin thats it. It will random choose the number of coin a player will get when he/she clicks it/open it.
  15. Means if ( ( gettime(3) % 5 ) == 0 ) for 5 hours if ( ( gettime(3) % 12 ) == 0 ) for 12 hours if ( ( gettime(3) % 20 ) == 0 ) 20 hours if ( ( gettime(3) % 3 ) == 0 ) 3 hours am i right?
  16. sir man you rock but how can you change the hours to 1 hours? Remove : if ( ( gettime(3) % 2 ) == 0 ) How do you make it 3 hours then? or event 5 hours . I want to put a rare monster since this wont work for official mvp.
  17. sir man you rock but how can you change the hours to 1 hours?
  18. bumgggggg LuLu I dont get it his script, his script is summoning a dark lord am i right? But i want to use the real tomb when a mvp dies. And when it raise the tomb is gone. Thats all. I think you can guide me just show me asimple 1 i will do the rest.
  19. I think he wants to apply it in all MVP's This is very hard. You have to configure every monster that summons via official script. Add event to each on of them and then trigger the event if the MVP dies/revives. Patskie's scripts works but it will give you an extra Dark Lord at prontera which is not on the official mvp summon script but will have the announce you wanted Patskie ~~ is it possible for the script to follow the official spawn, this might help you. You know everytime a mvp is dead there is a tomb? I think can you help me with that kind? I mean Once the tomb gone it will announced, when the tomb is there(mvp just killed) the name in the tomb shows the killer and it will announce onces the mvp is dead. This dont applied on mini bosses, which i think i have to do it manually can you guide me? Karazu ~~ you are right sir. Lulu ~~ i have seen you have replied me, i saw you help few ppl with the announcing part but can you help me in this also sir? Bump please helpppp ~ for the sake of ragnarok
  20. lol wtf =.= choose other name If it already exist
  21. Pleaseeeeee I want a announcer of a MVP, and miniboss spawn. Let say I kill 1 MVP(Dark Lord), respawn time is 1hour:20 minutes, when it respawn it will announce to all players of the map the mvp is in. Note the announcer is in blue colour. Onces it is dead, then it dead la. But Once it respawn again it will announce Please thank you Oh yeah 1 more, the killer's name of that mvp will be announced. Bump~
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.