Jump to content

Boy

Members
  • Posts

    134
  • Joined

  • Last visited

Posts posted by Boy

  1. Hi there shogs...I tried already this script but it doesn't read the IP of the player its just reading the account..Can you please give me some Scripts that it can read the IP? and it can read if they have a guild or not..thanks

    Hi all

     

    Any solution about this script? I got a same problem.

  2. Hi rAthena

     

    I need help have anyone know how to make source like this if GM Group ID level 4 use @spawn monster treasure box and he kill using @killmonster or normal kill no item drop by GM.

     

    Thanks.

  3. @Emistry

     

    Hi

     

    Thanks for reply..the script should be like this right?

     

    //        //=====//     /==/     /==/          /==/      
    //       //     //     /==/     /==/  /=/     /==/         
    //      //=====//              /==/  /=/             /==============/     /========/   /==//===/    /==/     /==/
    //     //=//////    /==/      /==//=/       /==/    /==/==/==/==/==/     /     /  /   /==/         /==/     /==/
    //    // ==        /==/      /==//=/       /==/    /==/  /==/  /==/     ======/  /   /==/         /==/     /==/
    //   //   ==      /==/      /==/  /=/     /==/    /==/  /==/  /==/     / /===/  /   /==/         /==/     /==/
    //  //     ==    /==/      /==/   /=/    /==/    /==/  /==/  /==/     / /===/  /   /==/         /==/=====/==/
    // //       ==  /==/      /==/    /=/   /==/    /==/  /==/  /==/     /========/   /==/         /==///////==/
    // ================ rAthena Script ====================================================================
    //=== Made by Rikimaru
    //==================== Information ====================================================================
    //==== A Mini Dice Event Script
    //================= Version : =========================================================================
    //=== V 1.1   Fixed a typo in the Script [ Rikimaru ]
    //=== V 1.0   Finished Scripting the Daily Reward Script [ Rikimaru ]
    //============== Credits : ============================================================================
    //=== Credits to Rikimaru for the Daily Reward Script
    //=== rAthena Profile Link : http://rathena.org/board/user/434-rikimaru/
    //=====================================================================================================
    //*************************************************************************
    prontera,181,163,5	script	Mini Dice	872,{
    //============================== Settings ============================================
    set .@dicename$,"[ Dice Master ]";
    set .cost,"1000000";//CHANGE THIS TO YOUR ZENY COST AMOUNT
    set .rewardid,14232;//CHANGE THIS TO YOUR REWARDID
    set @rewamount,3;//CHANGE THIS TO YOUR REWARD AMOUNT
    //========================= End of Settings ==========================================
    OnMenu:
    mes .@dicename$;
    mes "Hello " + strcharinfo(0) + " ,do";
    mes "you want to play a round of dice?";
    mes "if you want to play you need to ";
    mes "pay 1.000.000 Zenny every Round.";
    switch(select("Yes,sure!:No,I'm unlucky!")) {
    	case 1:
    	mes .@dicename$;
    	if(Zeny < .cost) goto l_nozeny;
    	set Zeny, Zeny - .cost;
    	mes "Okay we'll start...";
    	set $@ran, rand(1,6);
    	if ($@ran == 6) set .@dice1$,"6";
    	if ($@ran == 5) set .@dice1$,"5";
    	if ($@ran == 4) set .@dice1$,"4";
    	if ($@ran == 3) set .@dice1$,"3";
    	if ($@ran == 2) set .@dice1$,"2";
    	if ($@ran == 1) set .@dice1$,"1";
    	set $@ran2, rand(1,6);
    	if ($@ran2 == 6) set .@dice2$,"6";
    	if ($@ran2 == 5) set .@dice2$,"5";
    	if ($@ran2 == 4) set .@dice2$,"4";
    	if ($@ran2 == 3) set .@dice2$,"3";
    	if ($@ran2 == 2) set .@dice2$,"2";
    	if ($@ran2 == 1) set .@dice2$,"1";
    	next;
    	mes .@dicename$;
    	mes "Okay I've got a " + .@dice1$ + ",";
    	mes "You've got a " + .@dice2$+ " !";
    	next;
    	if(.@dice1$ > .@dice2$) goto l_loose;
    	if(.@dice1$ < .@dice2$) goto l_win;
    	if(.@dice1$ == .@dice2$) goto l_draw;
    	close;
    	case 2:
    	mes .@dicename$;
    	mes "Okay bye!";
    	close;
    	}
    	l_nozeny:
    	mes .@dicename$;
    	mes "Sorry you need more Zenny!";
    	close;
    	l_loose:
    	mes .@dicename$;
    	mes "Haha,sorry you lost.";
    	goto OnMenu;
    	close;
    	l_draw:
    	mes .@dicename$;
    	mes "Draw,let's play again!";
    	goto OnMenu;
    	close;
    	l_win:
    	goto OnPrize;
    	OnPrize:
    	mes .@dicename$;
    	mes "Congratulations! You have won...";
    	mes "Take this as a Prize!";
    	next;
    	mes .@dicename$;
    	getitem .rewardid,@rewamount;
    	mes "Goodbye!";
    	close;
    OnMinute00:  // show npc every hours for 30 minutes.
        hideoffnpc strnpcinfo(0);
        sleep ( 30 * 60000 );  // how long it last.
        hideonnpc strnpcinfo(0);
        end;
    }
    

    Thanks.

  4. Hi rAthena

     

    I need help. How to edit this script make every 1 hour and if 10 time win will get grand prize.

     

    // = Script made by RIKIMARU on rathena.org
    // = Profile Link :
    // = http://rathena.org/board/user/434-rikimaru/
    // = ENJOY THIS SCRIPT!
    //===================================================================================
    //        //=====//     /==/     /==/          /==/      
    //       //     //     /==/     /==/  /=/     /==/         
    //      //=====//              /==/  /=/             /==============/     /========/   /==//===/    /==/     /==/
    //     //=//////    /==/      /==//=/       /==/    /==/==/==/==/==/     /     /  /   /==/         /==/     /==/
    //    // ==        /==/      /==//=/       /==/    /==/  /==/  /==/     ======/  /   /==/         /==/     /==/
    //   //   ==      /==/      /==/  /=/     /==/    /==/  /==/  /==/     / /===/  /   /==/         /==/     /==/
    //  //     ==    /==/      /==/   /=/    /==/    /==/  /==/  /==/     / /===/  /   /==/         /==/=====/==/
    // //       ==  /==/      /==/    /=/   /==/    /==/  /==/  /==/     /========/   /==/         /==///////==/
    // ================ rAthena Script ==================================================
    // ============== Information =======================================================
    // = Rock,Paper,Scissors Game
    // = Made by :
    // = Rikimaru
    //===== Current Version: =============================================== 
    //= 1.0
    //===== Compatible With: =============================================== 
    //= any rAthena SVN
    //===== Description: =================================================== 
    //= Rock,Paper,Scissors game with a chance of 10 Prizes
    //===== Additional Comments: =========================================== 
    //= 1.0 Finished Scripting the NPC [Rikimaru]
    //====================================================================== 
    //= DO NOT REMOVE MY CREDITS AND CLAIM MY WORK AS YOURS 
    //======================================================================
    prontera,192,154,3	script	Rock,Paper,Scissors	100,{
    // ================ Settings ==================================
    set .@n$,"^0000FF[ Rock,Paper,Scissors ]^000000";
    set .cost,1000;
    set .@player1$,"Rock";
    set .@player2$,"Paper";
    set .@player3$,"Scissors";
    // ============== End of Settings =============================
    OnMenu:
    mes .@n$;
    mes "Hello,do you want to play";
    mes "some Rounds of Rock,Paper,";
    mes "Scissors?It just costs "+.cost+" Zenny.";
    next;
    switch(select("Yes:Cancel")) {
    	case 1:
    	mes .@n$;
    	if(Zeny < .cost) goto l_nozeny;
    	set Zeny, Zeny - .cost;
    	mes "Okay,get ready.";
    	set $@ran, rand(1,3);
    	if ($@ran == 3) set .@npcpick$,"Rock";
    	if ($@ran == 2) set .@npcpick$,"Paper";
    	if ($@ran == 1) set .@npcpick$,"Scissors";
    	next;
    	mes .@n$;
    	mes "What do you want to use?";
    	next;
    	switch(select("Rock:Paper:Scissors")) {
    		case 1:
    		mes .@n$;
    		mes "Okay you've picked Rock";
    		mes "and I've picked "+.@npcpick$+"!";
    		next;
    		if(.@npcpick$ == .@player3$) goto l_win;
    		if(.@npcpick$ == .@player2$) goto l_loose;
    		if(.@npcpick$ == .@player1$) goto l_draw;
    		close;
    		case 2:
    		mes .@n$;
    		mes "Okay you've picked Paper";
    		mes "and I've picked "+.@npcpick$+"!";
    		next;
    		if(.@npcpick$ == .@player3$) goto l_loose;
    		if(.@npcpick$ == .@player2$) goto l_draw;
    		if(.@npcpick$ == .@player1$) goto l_win;
    		close;
    		case 3:
    		mes .@n$;
    		mes "Okay you've picked Scissors";
    		mes "and I've picked "+.@npcpick$+"!";
    		next;
    		if(.@npcpick$ == .@player3$) goto l_draw;
    		if(.@npcpick$ == .@player2$) goto l_win;
    		if(.@npcpick$ == .@player1$) goto l_loose;
    		close;
    		}
    	case 2:
    	close;
    	}
    	l_win:
    	mes .@n$;
    	mes "Congrats you won!";
    	set $@ran2, rand(1,10);
    	if ($@ran2 == 10) set @prize,7451 ;
    	if ($@ran2 == 9) set @prize,12103;
    	if ($@ran2 == 8) set @prize,969;
    	if ($@ran2 == 7) set @prize,4001;
    	if ($@ran2 == 6) set @prize,909;
    	if ($@ran2 == 5) set @prize,501;
    	if ($@ran2 == 4) set @prize,502;
    	if ($@ran2 == 3) set @prize,503;
    	if ($@ran2 == 2) set @prize,504;
    	if ($@ran2 == 1) set @prize,505;
    	set $@ran3, rand(1,3);
    	if ($@ran3 == 3) set @amount,5;
    	if ($@ran3 == 2) set @amount,3;
    	if ($@ran3 == 1) set @amount,1;
    	next;
    	mes .@n$;
    	mes "Take this Prize!";
    	getitem @prize,@amount;
    	goto OnMenu;
    	close;
    	l_loose:
    	mes .@n$;
    	mes "You lost!Let's play another round!";
    	goto OnMenu;
    	close;
    	l_draw:
    	mes .@n$;
    	mes "This was a draw,you'll get your money back!";
    	mes "but let's play another Round!";
    	set Zeny, Zeny + .cost;
    	goto OnMenu;
    	l_nozeny:
    	mes "Hey,are you kidding me?You need more Money!";
    	close;
    } 

    Thanks.

     

     

  5. Hi rAthena

     

    Anyone can help me to edit this dice script. How to make this event every 1 hour.

     

    //        //=====//     /==/     /==/          /==/      
    //       //     //     /==/     /==/  /=/     /==/         
    //      //=====//              /==/  /=/             /==============/     /========/   /==//===/    /==/     /==/
    //     //=//////    /==/      /==//=/       /==/    /==/==/==/==/==/     /     /  /   /==/         /==/     /==/
    //    // ==        /==/      /==//=/       /==/    /==/  /==/  /==/     ======/  /   /==/         /==/     /==/
    //   //   ==      /==/      /==/  /=/     /==/    /==/  /==/  /==/     / /===/  /   /==/         /==/     /==/
    //  //     ==    /==/      /==/   /=/    /==/    /==/  /==/  /==/     / /===/  /   /==/         /==/=====/==/
    // //       ==  /==/      /==/    /=/   /==/    /==/  /==/  /==/     /========/   /==/         /==///////==/
    // ================ rAthena Script ====================================================================
    //=== Made by Rikimaru
    //==================== Information ====================================================================
    //==== A Mini Dice Event Script
    //================= Version : =========================================================================
    //=== V 1.1   Fixed a typo in the Script [ Rikimaru ]
    //=== V 1.0   Finished Scripting the Daily Reward Script [ Rikimaru ]
    //============== Credits : ============================================================================
    //=== Credits to Rikimaru for the Daily Reward Script
    //=== rAthena Profile Link : http://rathena.org/board/user/434-rikimaru/
    //=====================================================================================================
    //*************************************************************************
    prontera,181,163,5	script	Mini Dice	872,{
    //============================== Settings ============================================
    set .@dicename$,"[ Dice Master ]";
    set .cost,"1000000";//CHANGE THIS TO YOUR ZENY COST AMOUNT
    set .rewardid,14232;//CHANGE THIS TO YOUR REWARDID
    set @rewamount,3;//CHANGE THIS TO YOUR REWARD AMOUNT
    //========================= End of Settings ==========================================
    OnMenu:
    mes .@dicename$;
    mes "Hello " + strcharinfo(0) + " ,do";
    mes "you want to play a round of dice?";
    mes "if you want to play you need to ";
    mes "pay 1.000.000 Zenny every Round.";
    switch(select("Yes,sure!:No,I'm unlucky!")) {
    	case 1:
    	mes .@dicename$;
    	if(Zeny < .cost) goto l_nozeny;
    	set Zeny, Zeny - .cost;
    	mes "Okay we'll start...";
    	set $@ran, rand(1,6);
    	if ($@ran == 6) set .@dice1$,"6";
    	if ($@ran == 5) set .@dice1$,"5";
    	if ($@ran == 4) set .@dice1$,"4";
    	if ($@ran == 3) set .@dice1$,"3";
    	if ($@ran == 2) set .@dice1$,"2";
    	if ($@ran == 1) set .@dice1$,"1";
    	set $@ran2, rand(1,6);
    	if ($@ran2 == 6) set .@dice2$,"6";
    	if ($@ran2 == 5) set .@dice2$,"5";
    	if ($@ran2 == 4) set .@dice2$,"4";
    	if ($@ran2 == 3) set .@dice2$,"3";
    	if ($@ran2 == 2) set .@dice2$,"2";
    	if ($@ran2 == 1) set .@dice2$,"1";
    	next;
    	mes .@dicename$;
    	mes "Okay I've got a " + .@dice1$ + ",";
    	mes "You've got a " + .@dice2$+ " !";
    	next;
    	if(.@dice1$ > .@dice2$) goto l_loose;
    	if(.@dice1$ < .@dice2$) goto l_win;
    	if(.@dice1$ == .@dice2$) goto l_draw;
    	close;
    	case 2:
    	mes .@dicename$;
    	mes "Okay bye!";
    	close;
    	}
    	l_nozeny:
    	mes .@dicename$;
    	mes "Sorry you need more Zenny!";
    	close;
    	l_loose:
    	mes .@dicename$;
    	mes "Haha,sorry you lost.";
    	goto OnMenu;
    	close;
    	l_draw:
    	mes .@dicename$;
    	mes "Draw,let's play again!";
    	goto OnMenu;
    	close;
    	l_win:
    	goto OnPrize;
    	OnPrize:
    	mes .@dicename$;
    	mes "Congratulations! You have won...";
    	mes "Take this as a Prize!";
    	next;
    	mes .@dicename$;
    	getitem .rewardid,@rewamount;
    	mes "Goodbye!";
    	close;
    }
    

     

    Thanks.

  6. @Skorm

     

    Still same got same problem with this mob. i disable this mob skill.

     

    // Old Glast Heim (currently placeholders)
    //2464,MG Zombie@AL_HEAL,idle,28,10,10000,0,5000,yes,self,always,0,,,,,,,26
    //2464,MG Zombie@NPC_UNDEADATTACK,chase,347,10,8000,1000,5000,yes,target,always,0,,,,,,,
    //2465,MG Wraith@NPC_ENERGYDRAIN,attack,200,1,500,0,5000,yes,target,always,0,,,,,,,
    //2466,MG Ghoul@NPC_UNDEADATTACK,chase,347,10,8000,1000,5000,yes,target,always,0,,,,,,,
    //2467,MG Arclouse@NPC_GROUNDATTACK,attack,185,10,2000,0,5000,yes,target,always,0,,,,,,,
    //2468,MG Raydric@BS_MAXIMIZE,attack,114,5,500,1000,5000,no,self,always,0,,,,,,,
    //2468,MG Raydric@BS_MAXIMIZE,chase,114,5,500,1000,5000,no,self,always,0,,,,,,,
    //2468,MG Raydric@NPC_EMOTION,chase,197,1,2000,0,5000,yes,self,always,0,0,,,,,,
    //2468,MG Raydric@SM_MAGNUM,attack,7,9,500,500,5000,no,self,always,0,,,,,,6,
    //2468,MG Raydric@CR_AUTOGUARD,chase,249,2,2000,0,300000,yes,self,longrangeattacked,,,,,,,,
    //2468,MG Raydric@CR_AUTOGUARD,attack,249,2,500,0,300000,yes,self,always,0,,,,,,,
    //2469,MG Raydric Archer@AC_CHARGEARROW,attack,148,1,500,0,5000,yes,target,always,0,,,,,,9,
    //2469,MG Raydric Archer@NPC_DARKNESSATTACK,attack,190,10,500,500,5000,no,target,always,0,,,,,,9,
    //2469,MG Raydric Archer@CR_AUTOGUARD,attack,249,2,500,0,300000,yes,self,always,0,,,,,,,
    //2470,MG Knight of Abyss@AC_CHARGEARROW,chase,148,1,500,0,5000,yes,target,always,0,,,,,,,
    //2470,MG Knight of Abyss@KN_BRANDISHSPEAR,attack,57,20,500,1000,5000,no,target,always,0,,,,,,9,
    //2470,MG Knight of Abyss@NPC_DARKNESSATTACK,attack,190,5,500,500,5000,no,target,always,0,,,,,,9,
    //2470,MG Knight of Abyss@CR_AUTOGUARD,chase,249,10,2000,0,300000,yes,self,longrangeattacked,,,,,,,,
    //2470,MG Knight of Abyss@CR_AUTOGUARD,attack,249,10,500,0,300000,yes,self,always,0,,,,,,,
    //2472,MG Bloody Knight@KN_BRANDISHSPEAR,attack,57,5,500,1000,5000,no,target,always,0,,,,,,9,
    //2472,MG Bloody Knight@NPC_CHANGEFIRE,attack,164,1,10000,2000,600000,no,self,myhpltmaxrate,20,,,,,,,
    //2472,MG Bloody Knight@NPC_DARKNESSATTACK,attack,190,2,500,500,5000,no,target,always,0,,,,,,9,
    //2472,MG Bloody Knight@CR_SHIELDCHARGE,attack,250,5,500,0,5000,yes,target,always,0,,,,,,9,
    //2472,MG Bloody Knight@WZ_METEOR,attack,83,5,2000,0,5000,no,target,myhpltmaxrate,20,,,,,,,
    //2472,MG Bloody Knight@WZ_METEOR,chase,83,5,2000,0,5000,no,target,myhpltmaxrate,20,,,,,,,
    //2472,MG Bloody Knight@NPC_WEAPONBRAKER,attack,343,5,500,0,30000,yes,target,always,0,,,,,,,
    //2475,MG_CORRUPTION_ROOT@NPC_HELLJUDGEMENT,idle,662,10,10000,4000,100,no,self,always,0,,,,,,36,
    //2475,MG_CORRUPTION_ROOT@NPC_HELLJUDGEMENT,attack,662,10,10000,1000,10000,no,self,always,0,,,,,,36,
    //2475,MG_CORRUPTION_ROOT@NPC_DARKSTRIKE,attack,340,10,2000,0,5000,yes,target,always,0,,,,,,,
    //2475,MG_CORRUPTION_ROOT@NPC_SILENCEATTACK,attack,178,10,2000,0,5000,no,target,always,0,,,,,,,
    //2475,MG_CORRUPTION_ROOT@NPC_PETRIFYATTACK,attack,180,5,500,500,5000,no,target,always,0,,,,,,3,
    //2475,MG_CORRUPTION_ROOT@NPC_TALK,idle,682,10,10000,0,60000,no,self,myhpltmaxrate,100,,,,,,,41
    //2476,MG_AMDARAIS@NPC_DRAGONFEAR,chase,659,5,10000,0,30000,no,self,always,0,,,,,,6,
    //2476,MG_AMDARAIS@NPC_DRAGONFEAR,attack,659,5,2000,1000,20000,no,self,myhpltmaxrate,80,,,,,,32,
    //2476,MG_AMDARAIS@NPC_CRITICALSLASH,attack,170,1,500,500,5000,no,target,always,0,,,,,,,
    //2476,MG_AMDARAIS@NPC_FIREBREATH,attack,654,5,500,800,5000,no,target,always,0,,,,,,32,
    //2476,MG_AMDARAIS@NPC_DARKBREATH,attack,202,5,500,800,5000,no,target,always,0,,,,,,36,
    //2476,MG_AMDARAIS@NPC_WEAPONBRAKER,attack,343,10,500,0,30000,yes,target,always,0,,,,,,,
    //2476,MG_AMDARAIS@MG_FIREBALL,chase,17,20,5000,500,1000,no,target,always,0,,,,,,,
    //2476,MG_AMDARAIS@NPC_TALK,idle,682,10,10000,0,60000,no,self,myhpltmaxrate,100,,,,,,,42
    
  7. Thanks guys, that all sorted but now im having an issue with my custom maps.

    Its not letting me warp to them and this is the info from putty.

     

    [Error]: buildin_warp: moving player 'Panny' to "coliseum",0,0 failed.

    I have added my maps to the map_index.txt in the db folder and also the maps_athena.conf in the conf folder.

    Any suggestions?

    Doesn't it read from map_cache.dat anymore? i have a custom Prontera City that's not letting me walk in certain places , normally i just update the map_cache.dat file and it works fine.

    NEVER MIND, FIGURED IT OUT :)

    Im having a few other problems now, how do i fix these?

    >

    [Error]: itemdb_read_combos: line 24 of "db/pre-re/item_combo_db.txt" contains unknown item ID 18539, skipping.

    [Error]: itemdb_read_combos: line 32 of "db/pre-re/item_combo_db.txt" contains unknown item ID 18539, skipping.

    [Error]: itemdb_read_combos: line 51 of "db/pre-re/item_combo_db.txt" contains unknown item ID 18656, skipping.

    [Error]: itemdb_read_combos: line 52 of "db/pre-re/item_combo_db.txt" contains unknown item ID 18656, skipping.

    [Error]: itemdb_read_combos: line 53 of "db/pre-re/item_combo_db.txt" contains unknown item ID 18539, skipping.

    [Error]: itemdb_read_combos: line 157 of "db/pre-re/item_combo_db.txt" contains unknown item ID 18656, skipping.

    [Error]: itemdb_read_combos: line 158 of "db/pre-re/item_combo_db.txt" contains unknown item ID 18656, skipping.

    [Error]: itemdb_read_combos: line 160 of "db/pre-re/item_combo_db.txt" contains unknown item ID 5358, skipping.

    [Error]: itemdb_read_combos: line 161 of "db/pre-re/item_combo_db.txt" contains unknown item ID 5401, skipping.

    [Error]: itemdb_read_combos: line 164 of "db/pre-re/item_combo_db.txt" contains unknown item ID 18539, skipping.

    [Error]: mob_parse_row_mobskilldb: Non existant Mob id 2042

    [Error]: mob_parse_row_mobskilldb: Non existant Mob id 2043

    [Error]: mob_parse_row_mobskilldb: Non existant Mob id 2044

    [Error]: mob_parse_row_mobskilldb: Non existant Mob id 2045

    [Error]: mob_parse_row_mobskilldb: Non existant Mob id 2046

     

     

    Hi guys how to fix the red line. i using svn r16928. Please assist me

×
×
  • Create New...