Jump to content

GM Takumirai

Members
  • Posts

    592
  • Joined

  • Last visited

Everything posted by GM Takumirai

  1. - this is already been answered here's the step open ra/db/item_db2.txt make a new item - 25500,Custom_Box,Custom Box,2,10000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem groupranditem(IG_whatever),1; },{},{} next step is open ra/db/const.txt Find IG_Advanced_Weapons_Box 61 below add this IG_whatever 63 //IG_whatever must be same in the item_db2.txt script command next step open ra/db/item_group_db.txt import: db/item_whatever.txt - put this next step make a new script named item_whatever.txt - place this in ra/db/ next step open item_whatever.txt - in ra/db/item_whatever.txt //Explanation 63 - is the number you input in const.txt // - 1111 - this is the itemID // - 9 - this is the rate 63,1111,9 63,<Item ID>,<Rate> next step open ra/src/map/itemdb.h find this part #define MAX_ITEMGROUP #62 the number is 62 where in const.txt the max group number is 62 - but you add another item group.. - just add + 1 in 62 so make it #define MAX_ITEMGROUP #63 Viola you are done~
  2. use goddameit refiner change the ingredients needs
  3. there's 60 sec in 1 min.. theres 60min in 24hr or 1 day
  4. - thanks Judas appreciate your response.. - working now i manually did what you said the upgrade_svn16517.sql - i thought if i recompile it - it will automatically go or install in my sql - Judas just wondering when are you going to release a complete client + data + lua english = free.. [if not possible] - im still hoping for it.. thanks a lot judas..
  5. - Emistry is this fix already? - because the last time i download this player can state 123456789101112131415 - if they type like this the npc will recognize one of that number as correct..
  6. yeah i compile the sql files... is that the problem??.. - darn i forgot to backup.. - any solution please help judas.. please i need help anybody? - when i also @item some item then when i relog or character select the item is gone.. - what did i do wrong? i just update my revision to the latest?.. i compile also
  7. wait let me check the mmo.h maybe the reason is the packet and client .. thanks i will try changing it Emistry - hope you will wait #define PACKETVER 20111116 - i used my packet what else is the problem? to this occur the problem http://trac.rathena.org/changeset/16518/rathena
  8. After Updating my server to the latest revision - when i login my character - Inventory is gone - Equipment is gone - But you can see your character with head gear but when you view it its gone ~ - what is the reason behind this?.. - darn i forgot to backup my server files.. - please help badly
  9. what line? because the emulator can say what line is getting error?
  10. try this if(gettimetick(2) - helped1 < (60 * 60 * 72)) { http://rathena.org/wiki/Gettimetick - is the script work?
  11. //===== rAthena Script ======================================= //= Custom Revival Quest //===== By: ================================================== //= GM Takumira - please don't remove. //============================================================ // Reward ID / Amount Initiating ( Check db/Item_db.txt || db/Item_db2.txt ) setarray .Reward[0], 607,10, // Reward 1 + Amount 608,5, // Reward 2 + Amount 501,3, // etc...... 512,1; // Last Reward 1 ( Max. ~64 Items ) set .@npcname$,"^0000FF[ Takumirai ]^000000"; guild_vs5,39,51,5 script Dead Takumirai 849,{ if(gettimetick(2) - helped1 < (60 * 60 * 20)) { mes .@npcname$; mes "........"; mes "There's a Note in his arm!"; next; mes "[Note:]"; mes "You must wait"; mes "Until 20 Hours are over!"; close; } mes "Legendary Takumirai is lying on the floor."; mes "....."; next; mes "there was a Note in his chest."; mes "Here is the list to Revive this Legendary Man."; next; mes "^cc000015x Poison Bottle"; mes "150x Poison Spores"; mes "50x Green Herbs"; mes "and 20x Karvodailnirol.^000000"; next; switch(select("-Cancel:-Yes, Lets Give it")) { case 1: close; } case 2: if (countitem(678) < 15 || countitem(7033) < 150 || countitem(511) < 50 || countitem(972) < 20){ mes "You haven't all the Items."; mes "Here is the list from the Note again."; next; mes "^cc000015x Poison Bottle"; mes "150x Poison Spores"; mes "50x Green Herbs"; mes "and 20x Karvodailnirol.^000000"; close; } else { mes .@npcname$; mes "Ok thanks for the items."; delitem 678, 15; // Poison Bottle delitem 7033, 150; // Poison Spore delitem 511, 50; // Green Herb delitem 972, 20; // Karvodailnirol next; mes .@npcname$; mes "....."; mes "Something is happening"; next; mes "....."; next; mes .@npcname$; mes "Who dares awake me.."; setnpcdisplay("Dead Takumirai",980); sleep2 5000; next; mes .@npcname$; mes "Arrrgggg.."; next; mes "My body is transforming to monster again.."; setnpcdisplay("Dead Takumirai",999); mes .@npcname$; mes "You will die for this.."; killmonsterall "guild_vs5"; donpcevent "Room of Life::OnEnable"; end; // Room of Life // ====================================== guild_vs5,1,1,0 script Room of Life 66,{ OnEnable: enablenpc "Room of Life"; set .MyMobs,10; monster "guild_vs5",47,75,"Ancient Mimic",1699,5,"Room of Life::OnMyMobDead"; monster "guild_vs5",47,44,"Anubis",1098,5,"Room of Life::OnMyMobDead"; end; OnDisable: killmonsterall "guild_vs5"; disablenpc "Room of Life"; end; OnMyMobDead: set .MyMobs,.MyMobs-1; if (.MyMobs < 1) { mapannounce "guild_vs5",strcharinfo(0)+" has succeeded in eliminating the monsters.",bc_map; sleep2 3000; mapannounce "guild_vs5",strcharinfo(0)+" Legendary Dead Takumirai Again Sleeping.",bc_map; donpcevent "Room of Life::OnDisable"; set BaseExp,+160000; set JobExp,+100000; set helped1,gettimetick(2); setnpcdisplay("Dead Takumirai",849); warp "prontera",120,110; for( set .@a,0; .@a < getarraysize( .Reward ); set .@a,.@a + 2 ){ getitem .Reward[.@a],.Reward[.@a+1], $@partymemberaid[.@i]; } dispbottom "Gained those items as Reward for Finishing Stage Game"; warp "prontera",120,110; } end; } donpcevent "Room of Life::OnDisable"; - forgot to put this
  12. http://pastebin.com/UU3u0ZX3 - report if theres a bug so we can fix it..
  13. - you can remove the SQL part please go to this section if you want to request regarding script http://rathena.org/board/forum/25-scripting/
  14. hope if lilith will be back he will update this ~ - just tell here the explanation of error or bugs or crash.. for easily fix..
  15. - ask this in script section - what do you mean? if you want an Event Ticket Rewarder http://rathena.org/board/topic/60513-event-ticket-rewarder-php-log-viewer-anti-gm-corruption/ - just change the Event Ticket ID Reward on your choice - if you mean is freebies NPC http://rathena.org/board/topic/66606-patulong-guys/page__hl__freebies
  16. @Jhosef open your woe-controller script look for this change the 14001 to yggbox ID or tcg card.. and change 1 to the number you want to be given or how many to be given.
  17. - waiting for the release .. any progress bar? like this hehehe [x][x][x][x][x][x][x][x][x][x][x][x]
  18. check that part.. - we can't check the problem if you wont post your actual script - but the error state that the problem is in the part of set .lvltokill, 0;
  19. - as what Emistry told you make a new file in npc/custom/restrictedjob.txt put this // -------- BitMasks -------- // 1 - Normal jobs, // 2 - Adv jobs. // 4 - Baby jobs, // 8 - Normal 3rd jobs. // 16 - Adv. 3rd jobs. // 32 - Baby 3rd jobs. // 64 - Certain Jobs ( Specific ) // ----- Mode Example : ( Blocked Class ) ------ // 63 - All Class that has been defined // 64 - Only the Specific Job you defined // 7 - Normal + Advanced + Baby Jobs // 56 - Normal 3rd + Advanced 3rd + Baby 3rd Jobs // Just add in the Value for the Bitmask. // Aware of the Usage of Certain Jobs. // --- If you using Bitmask Above , aware of the Limit Reach. ( ~128 Total Class ) // --- If your Bitmask = ( 63 + 64 ) , Your "Certain Jobs" have only about 20 Slots. // --- Anyway, i dont think you will do so since Bitmask 63 will block most of the Class already. // * Common Sense : Make sure the Array ".@Restrict" didnt exceed limit of 128 element. - script ClassRestriction -1,{ function RestrictJob; OnPCLoadMapEvent: if( getgmlevel() < .LowGMLvl ) for( set .@i,0; .@i < getarraysize( .Map$ ); set .@i,.@i + 2 ) if( strcharinfo(3) == .Map$[.@i] ) RestrictJob( atoi( .Map$[.@i+1] ) ); end; function RestrictJob { // Normal Jobs if( getarg(0) & 1 ) setarray .@Restrict[getarraysize(.@Restrict)],0,1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,20,23,24,25,4046,4047,4049; // Adv Jobs if( getarg(0) & 2 ) setarray .@Restrict[getarraysize(.@Restrict)],4001,4002,4003,4004,4005,4006,4007,4008,4009,4010,4011,4012,4013,4015,4016,4017,4018,4019,4020,4021; // Baby Jobs if( getarg(0) & 4 ) setarray .@Restrict[getarraysize(.@Restrict)],4023,4024,4025,4026,4027,4028,4029,4030,4031,4032,4033,4034,4035,4037,4038,4039,4040,4041,4042,4043,4045; // Normal 3rd Jobs if( getarg(0) & 8 ) setarray .@Restrict[getarraysize(.@Restrict)],4054,5055,4056,4057,4058,4059,4066,4067,4068,4069,4070,4071,4072; // Adv 3rd Jobs if( getarg(0) & 16 ) setarray .@Restrict[getarraysize(.@Restrict)],4060,4061,4062,4063,4064,4065,4073,4074,4075,4076,4077,4078,4079; // Baby 3rd Jobs if( getarg(0) & 32 ) setarray .@Restrict[getarraysize(.@Restrict)],4096,4097,4098,4099,4100,4101,4102,4103,4104,4105,4106,4107,4108; // Certain Jobs ( Specific Your Own Class Restriction ) if( getarg(0) & 64 ) setarray .@Restrict[getarraysize(.@Restrict)],4046,4002,4004,4013,4011; for( set .@i,0; .@i < getarraysize(.@Restrict); set .@i,.@i + 1 ) if( Class == .@Restrict[.@i] ){ mes "[ ^FF0000Job Restriction System^000000 ]"; mes "^0000FFMap^000000 : ^FF0000"+strcharinfo(3)+"^000000"; mes "^FFFFFF________________________________^000000"; if( getarg(0) & 1 ) mes " -- ^0000FFNormal Jobs^000000"; if( getarg(0) & 2 ) mes " -- ^0000FFAdvanced Jobs^000000"; if( getarg(0) & 4 ) mes " -- ^0000FFNormal Baby Jobs^000000"; if( getarg(0) & 8 ) mes " -- ^0000FFNormal Third Jobs^000000"; if( getarg(0) & 16 ) mes " -- ^0000FFAdvanced Third Jobs^000000"; if( getarg(0) & 32 ) mes " -- ^0000FFBaby Third Jobs^000000"; if( getarg(0) & 64 ) for( set .@i,0; .@i < getarraysize(.@Restrict); set .@i,.@i + 1 ) mes " -- ^0000FF"+jobname( .@Restrict[.@i] )+"^000000"; mes "^FFFFFF________________________________^000000"; mes "You will be warped out within "+.Sec+" Seconds."; sleep2 ( .Sec * 1000 ); warp "prontera",155,181; } return; } OnInit: // Wait X Seconds before warped out. set .Sec,5; // Lowest GM Level to Bypass set .LowGMLvl,80; setarray .Map$, // <Mapname>,<Mode>.... ( Mode = Bitwise Value ) Max of ~64 Map Settings. "prtg_cas01","7", "prtg_cas02","56", // Assign a LoadEvent Mapflag to each map you listed. for( set .map,0; .map < getarraysize( .Map$ ); set .map,.map + 2 ) setmapflag .Map$[.map],mf_loadevent; end; } - the in scripts_custom.conf add this line npc: npc/custom/restrictedjob.txt
  20. @topic starter read the description of the script.. - what official server you play? - because in kRO or iRO you need to put first the great baphomet in the sealed shrine before you can hit the baphomet, - you can never hit the baphomet if you will not activate the sealed... - you can locate many sealed area in the quest map.. - i think this is the renewal update of the great baphomet.
  21. - there was no error in map server - the script is running well, and hide also , but the script is still working because of this // Clear Map Every X Minutes. set .RoomCleanMin,15; - even if the npc is already hide or not in the schedule... i put the script here
  22. @emistry i follow your guide on the time it will respawn, - i put the npc and i put the additional code on top of the script - the problem is the npc is not hidden , and he is seen by players but its not clickable - and one more the schedule is monday 4pm lately when the time is 4:00pm or 16:00 the NPC doesn't start and still not clickable.
  23. @ Emistry - its not working Emistry - maybe i put the script in wrong place - i put it in the first part of the script.
  24. - oh i misread it thanks idk if my script Onpclogin will work can you check it Euphy...
×
×
  • Create New...