Jump to content

dikapramantya

Members
  • Posts

    216
  • Joined

  • Last visited

Posts posted by dikapramantya

  1. //PremiumNPC IDRO Version
    //Made by Dhika Pramantya
    
    -	shop	Premium Item	-1,17229:35000,12591:35000,12274:25000,12275:25000
    
    -	script	PremiumFUNC	-1,{
    
    mes "[Premium Agent]";
    mes "Hallo.";
    mes "Hanya untuk pemain yang menggunakan Premium Service,";
    mes "Kami menawarkan beberapa layanan.";
    mes "Saya akan periksa";
    mes "Jika kamu adalah pemain yang menggunakan Premium Service.";
    next;
    if(vip_status(1) < 1) goto l_raktjatdjelata;
    else if(vip_status(1) > 0) goto l_premium;
    
    l_raktjatdjelata:
    mes "[Premium Agent]";
    mes "Kamu tidak bisa mendapatkan";
    mes "premium service.";
    mes "datang lagi setelah";
    mes "mendapatkan premium account.";
    end;
    
    l_premium:
    mes "[Premium Agent]";
    mes "Kamu adalah orang yang tepat";
    mes "Premium accountmu Expired : "+vip_status(2);	//Checking Expired Time VIP Account
    next;
    mes "[Premium Agent]";
    mes "Untuk mendapat layanan ini.";
    mes "Silahkan periksa layanan";
    mes "Yang kamu mau";
    next;
    menu
    	"Membeli barang.",buyitem,
    	"Dapatkan Special Buff.",buffp,
    	"Batal",-;
    mes "[Premium Agent]";
    mes "Kapan saja kamu membutuhkan layanan,";
    mes "kamu dapat datang kembali.";
    end;
    
    buyitem:
    close2;
    callshop "Premium Item",1;
    end;
    
    buffp:
    specialeffect2 EF_HEAL2;
    percentheal 100,100;
    sc_start SC_FOOD_STR_CASH,1800000,3;
    	sc_start SC_FOOD_AGI_CASH,1800000,3;
    	sc_start SC_FOOD_VIT_CASH,1800000,3;
    	sc_start SC_FOOD_INT_CASH,1800000,3;
    	sc_start SC_FOOD_DEX_CASH,1800000,3;
    	sc_start SC_FOOD_LUK_CASH,1800000,3;
    mes "[Premium Agent]";
    mes "saya harap buff ini";
    mes "berguna untukmu.";
    end;
    
    }

     

    Hello this is my Own Premium / VIP Script for Player who want get special buff / check time left.

    Its a basic from Official Gravindo / Indonesia Ragnarok Online.

    So maybe anyone help to make it if vip_status(2) = expired , its make user disconnect / change account group_id to Normal user  ??

    if work i will add the credit in the script to you :D 

  2. Hello Rathena.

    I want to ask ...
    When i tried use VIP System, is WORK all. Thanks :D.
    But i have a problem when user VIP Account is Finish/Expired. User not auto back to Normal Account (Need Disconnect to Back Premium Account.)

    So, my question is, how to make User back to Normal Account automatic after VIP Account Period is Finish / Expired ??

     

    Example to explain:

    59299f7f6f749_screenUnofficialRO021.thumb.jpg.4305e268b0517e09eb3100303521b5aa.jpg

     

    So account in the picture is Expired in 22:33...
    But when server time is 22:35, The account is Still VIP Mode and can Use Premium Agent NPC (NPC Special only can access by VIP Account).
    Need make user disconnect to make account normal again.

  3. Hello @Stolao ..

    I've try your last rev script Daily Login .

    This is my started config.

     

    	// Basic Settings
    	//   1: Item | 2: Points | 4: Exp  
    	//   8: Gain Buffs Every X Consecutive Days logged in
    	//   16: Show Cutins | 32: Bound Items
    	//   64: No Rewards ffor Autotraders
    	//   128: Show Next Day Cutin
    	//     (a bit value, e.g. 3 = Items & Points from Multi)
    	.Mode = 1|16|64;
    
    	// Number of times same IP can recive rewards
    	//   0 = unlimited
    	.IPCheck = 0;
    
    	// Number of times same Computer (MacAdress) can recive rewards
    	//   0 = unlimited
    	.MacCheck = 1;
    
    	// Item Binding Mode
    	//	 Bound_Account : Account Bound item
    	//	 Bound_Guild   : Guild Bound item
    	//	 Bound_Party   : Party Bound item
    	//	 Bound_Char    : Character Bound item
    	.Bound_Mode = Bound_Account;
    	
    	// To disable the command '@loginreward' comment the next lines
    	// * Needs extra commands for typos
    	bindatcmd("relog",strnpcinfo(3)+"::OnLoginCmnd",0,99);
    	bindatcmd("collectreward",strnpcinfo(3)+"::OnLoginCmnd",0,99);
    	bindatcmd("dailyreward",strnpcinfo(3)+"::OnLoginCmnd",0,99);
    	bindatcmd("collectdaily",strnpcinfo(3)+"::OnLoginCmnd",0,99);
    	bindatcmd("nextreward",strnpcinfo(3)+"::OnNextCmnd",0,99);
    
    	// GM Command to fix the negative time till reward issue
    	// #fixreward <playername>
    	// * Needs extra commands for typos
    	bindatcmd("fixreward",strnpcinfo(3)+"::OnFixCmnd",99,99);
    
    	// Minimum minutes between collecting daily reward
    	//   Day: 22*60 - 24*60
    	//   Week: 10080
    	.MinWait = 1320;
    
    	// Minutes before losing the consecutive reward
    	//   Day: 48*60 - 50*60
    	//   Week: 20160
    	.MaxWait = 3000;
    
    	// What to do upon reaching last day defined
    	//   [0] Repeat last day
    	//   [1] Restart at 1
    	.Reset = 1;
    
    	// Number of mins after logging before collecting prize
    	.Rest = 10;

     

    But when i login in game. "This script is say, Reward are limited to 1 per computer sorry" .

    Whats wrong with my script / config ?

    Note :
    - Its my first login so its not Second ID to try login .
    - When i test use command @dailyreward, etc its say same "This script is say, Reward are limited to 1 per computer sorry" .

    Please see my attachment for more details.

     

    dailyloginconf1.thumb.jpg.2dd1c4dedf3656ab3a8453262ba37b20.jpg

     

    dailyloginconf2.thumb.jpg.475d1e4279ab9d6e951423db603363b7.jpg

     

     

    SSdailylogin.thumb.jpg.498553a184d358ccbf0e47025b3a0e60.jpg

  4. Hello, sorry from my newbie question.
    I still dont understand about how to set starting item in char.conf.

     

    I've set to new player get 1x Neuralizer, 2 Battle Manual, 1 Knife, 1 Cotton Shirt.
    But player only get 1x Neuralizer and in chat box showing text "Unknown item has taken off".

    Please give me example when i want to set starting item : 1x Neuralizer, 2 Battle Manual, 1 Knife, 1 Cotton Shirt.
    Whats the right format in char.conf?

    Please see my attachment for more details.

     

    charconfstartingitem.thumb.jpg.812b72f24434b0e2f9ffc3ddc8a70873.jpg

     

     

    SSawalstartingitem.thumb.jpg.e697e34e125e54279f1aa3405ec03e87.jpg

  5. Hey rathena.

    i want to make some script like this illustration :

     

    Player a last login is 1 june 2016

    player a can claim special reward from comeback is real npc because lastlogin player a is 1 june 2016

     

    so i want to make some npc can read sql at table 'login' column lastlogin , who was a last login is 1 june 2016 or less (31 may 2016 , and previous) can claim special reward from comeback is real npc.

     

    anyone have suggestion?

  6. Hello, i want to ask,

    i've try install flux cp in local host and succcess.

     

    but after it i try register ID and security code not summon,

    anyone can help me

    In top have this error : 
    
    
    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor in F:\xampp\htdocs\flux\lib\markdown\markdown.php on line 200
    
    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; MarkdownExtra_Parser has a deprecated constructor in F:\xampp\htdocs\flux\lib\markdown\markdown.php on line 1640
×
×
  • Create New...