Jump to content

Cyro

Members
  • Posts

    1138
  • Joined

  • Last visited

  • Days Won

    30

Everything posted by Cyro

  1. check trunk/db/pre-re/skill_require_db.txt Make sure you are using correct date lua for client.
  2. prontera,155,181,5 script viejo 757,{ if( select("Enter Gold Room:Cancel") == 1 ) if( #Daily == gettime(5)|| query_sql("SELECT login.account_id FROM login LEFT JOIN `char` ON login.account_id=`char`.account_id WHERE login.last_ip=(SELECT last_ip FROM login WHERE account_id="+getcharid(3)+") AND `char`.online=1", .@account_id) > 1 ) mes "You cant enter again by today"; else{ set #Daily,gettime(5); addtimer 50000,strnpcinfo(0)+"::OnTimeLimit"; warp "poring_w01",100,100; } close; OnTimeLimit: message strcharinfo(0),"Time's Up."; sleep2 3000; warp "SavePoint",0,0; end; OnInit: while( 1 ){ if( getmapusers("poring_w01") ) makeitem 969,1,"poring_w01",rand(87,119),rand(86,115); sleep 100; } end; } try thus, i didnt tested it but give it a try
  3. Cyro

    NEED SCRIPTS

    all npc's you asking for is in rathena already find rAthena/npc/script_custom.conf uncomment the scripts you want have in server (remove //) and reloadscript in game
  4. Cyro

    healer

    atcommand "@bodystyle 1";
  5. Just place it like all other npc scripts you place
  6. which? its already gold coin shop prontera,162,182,1 itemshop Emperium3 494,7720,714:10
  7. Cyro

    Quest Shop

    using codec box instead quote makes it look clean when you pasting some code regarding shop there is already five shops enabled within the script - shop qshop1 -1,909:-1 - shop qshop2 -1,909:-1 - shop qshop3 -1,909:-1 - shop qshop4 -1,909:-1 - shop qshop5 -1,909:-1 if you want different npc's use this prontera,155,264,4 script Quest Shop#1 909,{ callfunc "qshop2"; } prontera,155,264,4 script Quest Shop#2 909,{ callfunc "qshop3"; } prontera,155,264,4 script Quest Shop#3 909,{ callfunc "qshop4"; }
  8. In conf/battle/misc.conf Change // When players hunt monsters over 20 levels higher, they will receive 15% additional exp., and 25% chance of receiving more items.// There is a nopvp.txt for setting up maps not to have pk on in this mode. Novices cannot be attacked and cannot attack.// Normal pvp counter and rank display are disabled as well.// Note: If pk_mode is set to 2 instead of 1 (yes), players will receive a// manner penalty of 5 each time they kill another player (see manner_system// config to adjust how this will affect players)pk_mode: 0
  9. Cyro

    savepoint

    savepoint glemior,198,281,1,1; change this to savepoint "glemior" ,198,281; this one
  10. there is existing ranking system in fluxcp, you can see ranking based on exp of the player too check it out once
  11. prontera,150,150,0 script Sample 100,{ mes .NPC$; mes "Can exchange your " +getitemname(.ID)+ " for kafra points. Want to exchange?"; next; if (select("Yes:No") - 1) close; mes .NPC$; mes "Okay how many " +getitemname(.ID)+ " will you exchange?"; next; input .@amount; if (.@amount == 0) { mes .NPC$; mes "Cannot trade 0 amount"; close; } mes .NPC$; mes "So you want to exchange " +.@amount+ "x " +getitemname(.ID); next; if (select("Yes:No") - 1) close; mes .NPC$; mes "Let me check if you have that amount of requirements"; next; if (countitem(.ID) < .@amount) { mes .NPC$; mes "Seems like you put an invalid amount"; close; } mes .NPC$; mes "Ohh that's nice here you go!"; delitem .ID,.@amount; set #KAFRAPOINTS,#KAFRAPOINTS+1; announce ""+strcharinfo(0)+" has converted and now have " +#KAFRAPOINTS+ " kafra credit points"; next; mes .NPC$; mes "Success trading"; close; OnInit: set .NPC$,"[ " +strnpcinfo(1)+ " ]"; // NPC Name set .ID,7179; // Requirement end; }
  12. prontera,162,182,1 itemshop Emperium 494,7720,714:10 for gold coin prontera,162,182,1 itemshop Emperium 494,674,714:10 for mythril coin
  13. It might make some effect if 1k players speak to the same npc at a time, Other wise its ok, since all cuttings will be in grf and npc only let them roll one by one
  14. as @Technoken said use code box, as he mentioned its easy to make npc's with diff item id's understand better i am giving some examples prontera,162,182,1 itemshop Emperium 494,512,714:10 in the above shop need 512 as requirement to sell items you can change the item id and make number of shops as u need you can aslo use pointshop,cashshop, as well for your requirement
  15. Cyro

    Old Card Album

    i dont think it would an issue since it is random, i will try to fix rate thing if possible
  16. Cyro

    Old Card Album

    yes, i knew but as i tried in different way using groupid to announce it only announced "NULL" so i just made it, how ever it is random so no issues
  17. just add mote items in itemdb like emistry example givem by emistry in the script
  18. Cyro

    Old Card Album

    function script OCAannounce { .@itemID = callfunc("F_Rand",4001,4002,4003,4004,4005,4006,4008,4009,4010,4011,4012,4013,4014,4015,4016,4017,4019,4021,4022,4023,4024,4025, 4027,4028,4029,4030,4032,4033,4035,4036,4037,4038,4039,4040,4041,4042,4043,4044,4045,4046,4048,4049,4051,4052, 4053,4055,4056,4057,4058,4060,4061,4062,4063,4064,4065,4066,4067,4068,4069,4070,4071,4072,4073,4074,4075,4076, 4077,4078,4079,4080,4081,4082,4083,4084,4085,4086,4087,4088,4089,4090,4091,4093,4094,4095,4096,4097,4098,4099, 4100,4101,4102,4103,4104,4105,4106,4107,4108,4109,4110,4111,4112,4113,4114,4115,4116,4117,4119,4122,4125,4127, 4133,4136,4139,4141,4149,4150,4151,4152,4153,4154,4156,4157,4158,4159,4160,4161,4162,4164,4165,4166,4167,4170, 4172,4173,4175,4176,4177,4178,4180,4181,4182,4184,4185,4186,4187,4188,4189,4190,4191,4192,4193,4194,4195,4196, 4199,4200,4201,4202,4204,4205,4206,4208,4209,4210,4212,4213,4214,4215,4216,4217,4218,4219,4220,4221,4222,4223, 4224,4225,4226,4227,4228,4229,4230,4231,4232,4233,4234,4235,4237,4238,4239,4240,4242,4243,4244,4245,4246,4247, 4248,4249,4251,4252,4253,4255,4256,4257,4258,4259,4260,4261,4262,4264,4265,4267,4268,4269,4270,4271,4272,4273, 4274,4275,4277,4278,4279,4280,4281,4282,4283,4284,4285,4286,4287,4288,4289,4290,4292,4293,4294,4295,4296,4297, 4298,4299,4300,4301,4304,4307,4308,4309,4310,4311,4312,4313,4314,4315,4316,4319,4321,4322,4323,4325,4326,4327, 4328,4329,4331,4332,4333,4334,4335,4336,4337,4338,4339,4340,4341,4343,4344,4345,4346,4347,4348,4349,4350,4351, 4353,4354,4355,4356,4358,4360,4362,4366,4368,4369,4370,4371,4373,4375,4377,4378,4379,4380,4381,4382,4383,4384, 4385,4387,4388,4389,4390,4391,4392,4393,4394,4395,4396,4397,4400,4401,4402,4404,4405,4409,4410,4411,4412,4413, 4414,4415,4416,4417,4418,4420,4421,4422,4423,4424,4426,4427,4428,4429,4431,4432,4433,4434,4435,4436,4437,4438, 4439,4440); getitem .@itemID,1; announce ""+strcharinfo(0)+" has opened an Old Card Album and got "+getitemname(.@itemID)+"",bc_yellow|bc_all; end; } 616,Old_Card_Album,Old Card Album,2,10000,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "OCAannounce"; },{},{}
  19. Cyro

    item add

    you added item description in system/iteminfo.lua? is your sprite id's match with orginal sprite as lub files? the erro message box says you probably put a wrong information on the accessoryid you should check it.
  20. that script do not check vending, try this - script hourlypoints -1,{ //--Start of the Script OnPCLoginEvent: attachnpctimer ""+strcharinfo(0)+""; initnpctimer; end; OnTimer30000: //Check if Vending (normal or @at) if(checkvending() >= 1) { dispbottom "The hourly badge rewards has stopped because you were vending . Please relog if you wish to start again."; stopnpctimer; end; } OnTimer60000: set @minute, @minute + 1; //Check for 1 Minute if(@minute == 60){ set @minute,0; getitem 7859,1; dispbottom "You received 1 "+getitemname( 7859 )+" by staying ingame for 1 hour."; set @consecutive_hour, @consecutive_hour + 1; } //Check for 12 hours consecutive if(@consecutive_hour == 5) { set @consecutive_hour,0; getitem 7859,5; dispbottom "You received 5 "+getitemname( 7859 )+" by staying ingame for consecutive of 5 hours."; } stopnpctimer; initnpctimer; end; } the script i have posted get you item only change 7589 to whatever itemid you want to place
  21. add it as npc script check this link for guide
  22. here is command to check your rok points sec_in02,158,179,4 script pointsCheck 620,{ mes "type @points to check points anywhere"; OnPOINTS: dispbottom "Your total cash points is "+#ROKPOINTS+"."; end; OnInit: bindatcmd "points",strnpcinfo(3)+"::OnPOINTS"; end; }
  23. Cyro

    ROK POINT SHOP

    rok point shop prontera,155,181,5 pointshop rok Point Shop 757,#ROK_POINT,909:1,607:1 cashshop prontera,155,181,5 cashshop cash Point Shop 757,909:1,607:1
×
×
  • Create New...