Deadly Brothers

Members
  • Content Count

    311
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

  • Days Won

    1

Deadly Brothers last won the day on December 15 2018

Deadly Brothers had the most liked content!

Community Reputation

8 Neutral

1 Follower

About Deadly Brothers

  • Rank
    I Am Deadly

Profile Information

  • Gender
    Male
  • Location
    Morroc

Contact Methods

  • Discord
    deadly#3861

Recent Profile Visitors

2,019 profile views
  1. thank you where is download link for this script editor?
  2. any one this script thank your for sharing this and advice
  3. move mo siya dito sa topic na ito para mabasa ni Anacondaqq https://rathena.org/board/topic/109823-ragnarok-online-complete-offline-server-client-pack-2018-make-your-ro-server-in-less-then-5-minutes/
  4. i think i will try this now i have a error parse_line: expect command, missing function name or calling undeclared func tion
  5. Additionally adds dex based on the refine amount of your Armor+Top Headgear+Shield+Manteau / 6. Making a maximum of 6 dex possible. on here [],[],[]
  6. thank you i will try this later... @HD Scripts thank you very much im done to my problem fixed now god bless...
  7. ok wait here my debug error for this script [Warning]: script:query_sql: Too many columns, discarding last 1 columns. [Debug]: Source (NPC): Donation Code at privyard (142,169) [Warning]: Unexpected type for argument 2. Expected number. [Debug]: Data: variable name='@donation_code$' index=0 [Debug]: Function: getitem Here a script // ===== Donation Npc 1.0 ===================== // // ===== Credits : Jhosef and trOn ============ // // ===== Change Logs ========================== // // ============================================ // // ==== NPC Location ========================== // prontera,147,170,5 script Donation NPC 807,{ // === Configuration ========================== // set .gms_level, 99; set .code_length,10; // Length for the Donation Code set .code_length2,3; // Length for the Validation Code set .donate_item, 7179; // Donation Item set [email protected], 0; // 0 for Item or 1 for Cash Point set [email protected]_name$, "Donation Npc"; setarray .coupon_code$[0],"A","B","C","D","E","F","G","H","I","J","K","L", "M","N","O","P","Q","R","S","T","U","V","W","X", "Y","Z","0","1","2","3","4","5","6","7","8","9"; setarray .validation_code$[0],"A","B","C","D","E","F","G","H","I","J","K","L", "M","N","O","P","Q","R","S","T","U","V","W","X", "Y","Z","0","1","2","3","4","5","6","7","8","9"; // ==== NPC Talk ============================== // if( getgmlevel() >= .gms_level) goto AdminPanel; if( getgmlevel() < .gms_level) goto PlayerPanel; // ==== Don't Edit This ======================= // set [email protected]$,"0"; // ==== Admin Panel =========================== // AdminPanel: mes [email protected]_name$; mes "Welcome " + strcharinfo(0) + "."; next; switch(select("Add Donation Code:Player View:Exit")) { case 1: for(set @i, 0; @i < .code_length; set @i, @i+1) { set @random_char, rand(0,(getarraysize(.coupon_code$)-1)); set @new_donation$, @new_donation$ + .coupon_code$[@random_char]; } for(set @i, 0; @i< .code_length2; set @i, @i+1) { set @random_char, rand(0,(getarraysize(.validation_code$)-1)); set @new_validation$, @new_validation$ + .validation_code$[@random_char]; } mes [email protected]_name$; mes "Enter Item Amount:"; input @donate_amount; next; mes [email protected]_name$; mes "Coupon added."; query_sql "INSERT INTO `donate` (`code`, `item_amount`,`validation_code`,`status`) VALUES ('"[email protected]_donation$+"', "[email protected]_amount+", '"[email protected]_validation$+"' , '"[email protected]$+"')"; set @new_donation$, ""; set @new_validation$, ""; next; mes "This is the list of code logs"; query_sql "SELECT `code` , `item_amount` , `validation_code` , `status` FROM `donate` ORDER BY `code` DESC", [email protected]$, [email protected]$, [email protected]$; if([email protected]) { mes [email protected]$; mes "There are no entrys in the Code List."; close; } else { next; mes [email protected]$; mes "The list will spawn at your main chat box."; dispbottom "Codelist | Amount | Validation"; for(set @ei,0; @ei < getarraysize([email protected]$); set @ei,@ei + 1) { dispbottom ""[email protected]$[@ei]+" | "[email protected]$[@ei]+" | "[email protected]$[@ei]+" "; } } next; close; case 2: goto PlayerPanel; case 3: mes [email protected]_name$; mes "Have a nice day."; close; } // ==== Player Panel ========================== // PlayerPanel: mes [email protected]_name$; mes "Welcome to the Donation System. How can I help you?"; next; switch(Select("View My Donation Code:Enter My Donation Code:Exit")) { case 1: mes [email protected]_name$; mes "Please enter your Validation Code:"; input @my_code$; next; query_sql "SELECT `validation_code` FROM `donate` WHERE `validation_code` = '"[email protected]_code$+"'", @available_code$; next; if(@my_code$ == @available_code$) { query_sql "SELECT `code` FROM `donate` WHERE `validation_code` = '"[email protected]_code$+"'", @available_code2$; mes [email protected]_name$; mes "Your Donation Code is : [^FF7700" + @available_code2$+ "^000000]."; close2; end; } else { mes [email protected]_name$; mes "Your Validation Code is Invalid."; close; } case 2: mes [email protected]_name$; mes "Please enter your Donation Code:"; input @donate_code$; next; query_sql "SELECT `code` FROM `donate` WHERE `code` = '"[email protected]_code$+"'", @donation_code$; query_sql "SELECT `status` FROM `donate` WHERE `code` = '"[email protected]_code$+"'", @donate_status; if(strtoupper(@donate_code$)[email protected]_code$ && @donate_status == 0) { if( .itemORcash == 0) { query_sql "SELECT `item_amount` FROM `donate` WHERE `code` = '"[email protected]_code$+"'", @Donation_Code$; mes [email protected]_name$; mes "You get ^0000FF" + getitemname(.donate_item) + " - " + @Donation_Code$ + " ea.^000000"; query_sql "UPDATE `donate` SET `status`=1 WHERE `code`='"[email protected]_code$+"'"; close2; //query_sql "DELETE FROM `donate` WHERE `code`='"[email protected]_code$+"'"; getitem .donate_item,@Donation_Code$; end; } else { query_sql "SELECT `item_amount` FROM `donate` WHERE `code` = '"[email protected]_code$+"'", @Donation_Code$; mes [email protected]_name$; mes "You get ^0000FF" + @Donation_Code$ + " Cash Point.^000000"; query_sql "UPDATE `donate` SET `status`=1 WHERE `code`='"[email protected]_code$+"'"; close2; //query_sql "DELETE FROM `donate` WHERE `code`='"[email protected]_code$+"'"; set #CASHPOINTS, @Donation_Code$; end; } } else { mes [email protected]_name$; mes "This Donation Code doesn't exist."; close; } case 3: mes [email protected]_name$; mes "Have a nice day."; close; } // ============================================ // OnInit: query_sql "CREATE TABLE IF NOT EXISTS `donate` (`code` TINYTEXT NOT NULL, `item_amount` INT NOT NULL, `validation_code` TEXT NOT NULL, `status` TEXT NOT NULL, INDEX `code` (`code`(32)) ) ENGINE=MyISAM"; query_sql "CREATE TABLE IF NOT EXISTS `donation` (`name` TEXT NOT NULL, `code` TEXT NOT NULL, `item_amount` INT NOT NULL, `validation_code` TEXT NOT NULL, INDEX `code` (`code`(32)) ) ENGINE=MyISAM"; }
  8. like this but i have debug for this script on my server
  9. any one this script thank your for sharing this and advice
  10. what are you using a emulator version this a latest update?