Jump to content

Scylla

Members
  • Posts

    374
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by Scylla

  1. Hi

     

    I would need someones help to get a custom map loaded into my VPS. Been trying so many ways and nothing seems to be working..

    attachicon.gifaegir-creations_small-city_fixed.rar

     

    My client do not have a data folder but instead all the map files fall under a single GRF names as v_update.grf

    attachicon.gifvup.PNG

     

    Also which is the correct map_cache.txt  i should edit.. I have few versions here

     

    /root/trunk/db/import/map_cache.dat

    /root/trunk/db/re/map_cache.dat

    /root/trunk/db/pre-re

     

    Also, how to I get these files to my clients via neoncube? Could someone please assist as I have tried all the methods and non is working. 

    attachicon.gifpa.PNG

     

    For the correct map_cache, it depends what type of server you have, if it's re then edit the one inside re folder and the same if you're on pre-re

  2. Try this:

    
    prontera,155,181,5	script	Farm Zone	757,{
    function	RandomizeItem;
    
    while( 1 ){
    mes "How can i help you ?";
    switch( select( "Information:Farm Items" )){
    Case 1:
    	mes "This is a Farm Zone.";
    	mes "You are able to Hunt Monster inside this Room.";
    	mes "Every Monster will award you random items.";
    	next;
    	mes "But there is some Condition..";
    	mes "You can only go in ^FF0000once every "+.RoomCleanMin+" minutes for 1 times.^000000";
    	mes "And Maximum of ^FF0000"+.MaxPlayers+" Players per "+.RoomCleanMin+" Minutes.^000000";
    	mes "Maximum Hunting Limit ^FF0000"+.MaxItemLimit+"^000000";
    	next;
    	mes "There will be a ^FF0000Room Cleaning^000000 from time to time...";
    	mes "All players will be kicked out, it is your bad luck if you meet this.";
    	mes "Delay will still apply even though you just go in for 1 Seconds..";
    	next;
    	break;
    
    Case 2:
    
    	if( #HuntRoomDelay > gettimetick(2) ){
    		set .last,#HuntRoomDelay - gettimetick(2);
    		set .@min,  .last % ( 24 * 3600 ) % 3600 / (60);
    		mes "Wait for ^FF0000"+.@min+" Minutes^000000.";
    		close;
    	}else if( getarraysize( .Hunter ) >= .MaxPlayers ){
    		mes "Currently the Room is Full. Please try again later.";
    		close;
    	}else if( BaseJob == Job_Assassin){
    		warp .Map$,0,0;
    		set .Hunter[getarraysize( .Hunter )],strcharinfo(0);
    		set #HuntRoomDelay,gettimetick(2) + ( .DelayMin * 60 );
    		set #FarmHunt,0;
    		end;
    	} else {
    	mes "You're not an assassin";
    	close;
    	}
    	}
    }
    
    OnInit:
    // Maximum Player can join per X Minutes.
    set .MaxPlayers,5;
    // Adding X Minutes of Delay before can go in again.
    set .DelayMin,15;
    // Maximum Hunt Limit per round inside the Zone.
    set .MaxItemLimit,200;
    // Map that will be used in thos Zone.
    set .Map$,"guild_vs5";
    // Clear Map Every X Minutes.
    set .RoomCleanMin,15;
    // Mapflag Initialization
    setmapflag .Map$,mf_nogo;
    setmapflag .Map$,mf_nomobloot;
    setmapflag .Map$,mf_nomvploot;
    setmapflag .Map$,mf_nowarpto;
    setmapflag .Map$,mf_nochat;
    setmapflag .Map$,mf_novending;
    setmapflag .Map$,mf_nocommand,60;
    setmapflag .Map$,mf_nogo;
    setmapflag .Map$,mf_nojobexp;
    setmapflag .Map$,mf_nobaseexp;
    
    while( 1 ){
    	killmonster .Map$,"All";
    	mapwarp .Map$,"prontera",155,181;
    	monster .Map$,0,0,"[ Farm Zone ] Resident",-1,80,strnpcinfo(0)+"::OnNormalKill";
    	monster .Map$,0,0,"[ Farm Zone ] Guardian",-3,5,strnpcinfo(0)+"::OnBossKill";
    	deletearray .Hunter,getarraysize( .Hunter );
    	announce "[ Farm Zone ] : Farming Zone has been Cleaned up, another 5 Players may go in now.",bc_blue;
    	sleep ( .RoomCleanMin * 60000 );
    	mapannounce .Map$,"[ Farm Zone ] : Room Clean Up now...All Users will be warped Out.",0;
    	killmonster .Map$,"All";
    	sleep 3000;
    	}
    end;
    
    OnNormalKill:
    RandomizeItem( 0,rand(1,5) );
    monster .Map$,0,0,"--ja--",-1,1,strnpcinfo(0)+"::OnNormalKill";
    end;
    
    OnBossKill:
    RandomizeItem( 1,rand(1,3) );
    monster .Map$,0,0,"--ja--",-3,1,strnpcinfo(0)+"::OnBossKill";
    end;
    
    // Function that used to Generate Random Items
    
    function	RandomizeItem	{
    set #FarmHunt,#FarmHunt + getarg(1);
    
    // Normal Monster in Zone Drops Lists
    if( getarg(0) == 0 ) setarray .ItemList[0],13989,14232,13517,7139,12033,12016,14534;
    // Normal Boss in Zone Drops Lists
    if( getarg(0) == 1 ) setarray .ItemList[0],14536,12912,12267,12266,14601,13830,13831,13832,13833;
    
    for( set .@i,1; .@i <= getarg(1); set .@i,.@i + 1 ){
    	getitem .ItemList[ rand( getarraysize( .ItemList ) ) ],1;
    	}
    deletearray .ItemList,getarraysize( .ItemList );
    dispbottom "[ Farm Zone ] : Farmed "+#FarmHunt+" / "+.MaxItemLimit+" Items";
    if( #FarmHunt >= .MaxItemLimit ){
    	message strcharinfo(0),"Limit Reach , you may join again later.";
    	sleep2 2000;
    	warp "prontera",155,181;
    	}
    return;
    }
    	
    }
    
  3. Hi,

     

    I have tried creating a multiple map and char server with single login server and it was successful. Somehow after creating account#2 and removing it because it was just for testing purposes its not removed in the server selection.

     

    See attached

     

    12507260_1027663907276779_77867227121716

     

    After creating such multiple map and char. I just want them to be removed in the current setup but can't seem to remove it.

     

    How to do it?

     

    Just want to retain Iris only.

     

    Regards!

     

    I think it's on your clientinfo.xml

  4.  

    Hello good evening
     
    first of all I have read many guides and there is no way I can connect my client with his emulator
     
    with an image here 
     
    2llje4i.jpg
     
     
     
    the same will put everything to my client change date 2012-04-10
    #ifndef PACKETVER
    	#define PACKETVER 20120410
    	//#define PACKETVER   20130724
    #endif
    
    
    enum { // packet DB
    	MIN_PACKET_DB  = 0x0064,
    	MAX_PACKET_DB  = 0xf00,
    	MAX_PACKET_VER = 30,
    	MAX_PACKET_POS = 20,
    
    
    /// Comment to disable the official packet obfuscation support.
    /// When enabled, make sure there is value for 'packet_keys' of used packet version or
    /// defined 'packet_keys_use' in db/[import/]packet_db.txt.
    /// This requires PACKETVER 2011-08-17 or newer.
    //#define PACKET_OBFUSCATION
    
    
    //packet_db_ver: 29
    packet_db_ver: default
    packet_keys_use: default
    
    
    // default value: 0x7FFFFFFF			(all clients/versions [5;39])
    packet_ver_flag: 0x00200000
    
    
    <?xml version="1.0" encoding="euc-kr" ?>
    <clientinfo>
    <servicetype>korea</servicetype>
    <servertype>sakray</servertype>
       <connection>
          <display>Ragnarok</display>
          <balloon>ZestiriaRO</balloon>
          <desc>15k15k15k</desc>
          <address>IP</address>
          <port>6900</port>
          <version>30</version>
          <langtype>1</langtype>
          <registrationweb></registrationweb>
            <aid>
                <admin>2000000</admin>
    			<admin>2000001</admin>
    			<admin>2000002</admin>
    			<admin>2000003</admin>
    			<admin>2000004</admin>
    			<admin>2000005</admin>
            </aid>
            <loading>
                <image>loadingscreen01.jpg</image>
            </loading>
       </connection>
    </clientinfo>
    
    

    I did not put the ip that use a VPS

    since I'm not using the option // #define PACKET_OBFUSCATION this may be the problem

    if anyone can help to correct this serious problem of great help and please do know that all these steps were my big mistakes

    if there is a guide please be great if I could give the.

     

     

    1. Make packet_db_ver into 30 on your packet_db.txt

     

    2. If #1 didn't work, open NEMO and apply the diff, Disable Packet Encryption.

  5.  

    1. You can do the same as the freebies NPC

     

    I wanted to have a menu where i can manage the items to send..

    Freebie npc is once per account only.. Im gonna use this script as Donation Redeemer where they can redeem pods that corresponds to their donate..

     

     

    So something like this:

     

    https://rathena.org/board/topic/65345-event-prize-giver-npc/

     

    http://pastebin.com/raw/wTG07rbs (Credits to Euphy)

  6. double check the contents inside these files. make sure the format / data is correct

     

    I actually don't have any idea should be the correct formats.

     

    I guess i should download the latest kRO client datas first

     

    EDIT: Solved, downloaded latest kRO client in here

  7. Yep that's what i'm going to do, but the problem is that I have 3 different kind of treasure box :P. One for prontera, one for payon and one for anurafeltz !

     

    But i'll try this, anyway thanks a lot for your answer :)

     

    I see, lol

     

    Anyway good luck! No problem.

  8. else if (strnpcinfo(2) == "prtg_cas01") { 
    set .@treasurebox,1326;
    setarray .@treasurex[0],201,202,202,201,199,200,201,202,203,204,204,204,204,204,204,203,202,201,200,199,199,199,199,199;
    setarray .@treasurey[0],228,228,227,227,230,230,230,230,230,230,229,228,227,226,225,225,225,225,225,225,226,227,228,229;

    This is what I have in agit_main.txt. I searched for 1355 and 1354 and found nothing (maybe I already removed them when I was setting the treasure box). 

    Is it wrong ? 

     

    Thanks a lot for your answer

     

     

    Oh, i have no idea then lol but if i may suggest,

     

    What about just edit their drops directly on mob_db.txt? Just make a copy of of their line below them and comment out the original line, that'll serve as your back up.

    • Upvote 1
  9. So I'm trying to make this client work but everytime i open it there's this 2 lub errors that occur:

     

    1st one:

    8yLEtGX.jpg

     

    After that, this one:

    r3R2iqc.jpg

     

     

    Stuffs that I've done:

     

    - Obtained the lua / lub files from dastgir's translation project here

    - Hexed the client using NEMO with its recommended patches

     

    What could be the problem?

  10. HI! I have multiple requests...... I hope you can help me out..

     

    1) I'm having a hard time finding a script where an admin will give an item(s) to a specific player through a NPC.. There is a menu where i can enter the Item IDs..  Like for example i wanted to give Player 1  Proof of Donation, Variant Shoes and Box of Berries.. Player 1 will talk to that  NPC and claim the items all together.. Player 1 should enter his exact name to claim the items.. Somewhat Donation Claim.. 

     

    2) Can someone modify this.. Freebie NPC where players will get 9 Mithril Coins and 50 Box of Berries then they will get a random costume item. Example costume item id are #20159 / #20160 / #20161 / #19661    ... They will only get 1 Costume RANDOMLY.

     

    Here is the script:

    valkyrie,53,80,4	script	Newbies Npc	894,{
    
    if(##freebie == 1) goto L_1;
    
    mes "^C45AEC** Freebie **^000000";
    mes "Hello ^008080"+strcharinfo(0)+"^000000!!";
    next;
    mes "^C45AEC** Freebie **^000000";
    mes "Welcome to Ragnarok Online";
    next;
    getitem 674,9;
    getitem 14232,50;
    getitem 19661,1;
    
    
    emotion e_thx;
    set ##freebie,1;
    //warp "valkyrie",48,76;
    close;
    
    L_1:
    mes "You had already received before the gift.";
    emotion e_bzz;
    close;
    
    OnInit:
           waitingroom "FREEBIES!!!",0;
        end;
    }

    3) How to make this in English? Im using RO Client 2010-07-30

     

                                                        2q9h27m.jpg

     

     

    THANKS IN ADVANCE..  /kis2:wub: 

     

    1. You can do the same as the freebies NPC

     

    2. Try this one:

    valkyrie,53,80,4	script	Newbies Npc	894,{
    
    setarray .@item_id, 20159,20160,20161,19661;
    if(##freebie == 1) goto L_1;
    
    mes "^C45AEC** Freebie **^000000";
    mes "Hello ^008080"+strcharinfo(0)+"^000000!!";
    next;
    mes "^C45AEC** Freebie **^000000";
    mes "Welcome to Ragnarok Online";
    next;
    getitem 674,9;
    getitem 14232,50;
    getitem .@item_id[rand(getarraysize(.@item_id))], 1;
    
    
    emotion e_thx;
    set ##freebie,1;
    //warp "valkyrie",48,76;
    close;
    
    L_1:
    mes "You had already received before the gift.";
    emotion e_bzz;
    close;
    
    OnInit:
           waitingroom "FREEBIES!!!",0;
        end;
    }
    
    

    3. I think you could just rename them

  11.  

    Hi
     
    So, I changed the drop of the treasure chest who normally spawns in Kriemhild in mob_db. (I verified that this was the good one in agit_main).
     
    Things i don't understand is, why, when the 4 treasure chest spawn, they do drop the new custom item I added, but they also drop elunium and dead branch (even though there's no elunium nor deadbranch in their drop in mob_db). Is it just a normal feature of ragnarok (like, treasure chest would always drop db and elunium in pre renewal), or did I do something wrong ?
    1326,TREASURE_BOX3,Treasure Chest,Treasure Chest,99,0,0,0,0,0,0,0,0,0,0,0,0,0,999,0,0,0,0,0,20,0x120,0,0,0,0,0,0,0,0,0,0,0,12103,500,7539,500,7875,500,13610,300,13611,200,14533,200,6071,100,7830,100,7372,30,0,0
    Here is the custom treasure box i'm talking about in case you need it. As you can see, there's no elunium nor dead branch.
     
    Thanks for your insight

     

     

    Maybe you forgot to edit / remove the other treasure box spawn, there's actually 2 of 'em

     

    2 of this:

    http://ratemyserver.net/index.php?page=mob_db&mob_id=1354

     

    And 2 of this:

    http://ratemyserver.net/index.php?page=mob_db&mob_id=1355

    • Upvote 1
  12. Hello.

     

    I'm not sure where to post this topic, because I'm not sure where this problem comes from.

    I've downloaded the latest rAthena version and I've set up everything.

    Sometimes, when I'm playing and I use the @item command I get disconnected and can't login again (I've to restart the whole server).

    It's not an item, because I've tried to summon the same items different times and sometimes I can and other times I get disconnected.

    It doesn't show any error in the log, char and map serv.

    What's this problem? How can I fix it?

    Thanks!

     

    Maybe there's something to do with your packets and client.

     

    EDIT: And what client date you're using atm?

  13. My players complain that when using +10 stat foods and player dies, the player had to reconnnect first before being able to re-use stat foods again.

     

    Anybody know a fix for this in SRC so that there is no need to reconnect to be able to use foods again after death.

     

    I use: [info]: SVN Revision: '14712'

     

     

    Thank you guys.

     

    You might be using cash foods, try this out.

     

    conf/battle/items.conf

     

    Find:

    // How much time must pass between cash food uses? Default: 60000 (1 min)
    cashfood_use_interval: 60000
    

    Then replace:

    // How much time must pass between cash food uses? Default: 60000 (1 min)
    cashfood_use_interval: 0
    
    • Upvote 1
  14. Hello, I would like to make pneuma last a specific number of hits instead of "X" seconds. How can I do that? Any suggestion?

    Thank you in advance

     

    Try this one:

     

    in src/map/skill.c

    Find:

    	case MG_SAFETYWALL:
    #ifdef RENEWAL
    		val2 = status_get_max_hp(src) * 3;
    #else
    		val2 = skill_lv+1;
    #endif
    		break;
    

    Then just add that case AL_PNEUMA line i wrote below the first break so it'll be like this:

    	case MG_SAFETYWALL:
    #ifdef RENEWAL
    		val2 = status_get_max_hp(src) * 3;
    #else
    		val2 = skill_lv+1;
    #endif
    		break;
    	case AL_PNEUMA:
    		val2 = skill_lv;
    		break;

    Then recompile.

     

    Always remember to make a back up of your skill.c first before doing the process.

     

    EDIT: And uh i haven't tested this yet so i dunno if It'll work out well.

  15.  

    // = Script made by RIKIMARU on rathena.org
    // = Profile Link :
    // = http://rathena.org/board/user/434-rikimaru/
    // = ENJOY THIS SCRIPT!
    //===================================================================================
    //        //=====//     /==/     /==/          /==/      
    //       //     //     /==/     /==/  /=/     /==/         
    //      //=====//              /==/  /=/             /==============/     /========/   /==//===/    /==/     /==/
    //     //=//////    /==/      /==//=/       /==/    /==/==/==/==/==/     /     /  /   /==/         /==/     /==/
    //    // ==        /==/      /==//=/       /==/    /==/  /==/  /==/     ======/  /   /==/         /==/     /==/
    //   //   ==      /==/      /==/  /=/     /==/    /==/  /==/  /==/     / /===/  /   /==/         /==/     /==/
    //  //     ==    /==/      /==/   /=/    /==/    /==/  /==/  /==/     / /===/  /   /==/         /==/=====/==/
    // //       ==  /==/      /==/    /=/   /==/    /==/  /==/  /==/     /========/   /==/         /==///////==/
    // ================ rAthena Script ==================================================
    // ============== Information =======================================================
    // = MVP Arena + MVP Arena Warper
    // = Made by :
    // = Rikimaru
    //===== Current Version: ===================================================
    //= 1.3
    //===== Compatible With: ===================================================
    //= rAthena Revision 15908 or Higher <--------------- IMPORTANT
    //===== Description: =======================================================
    //= MVP Arena + Warper with the newest MVP's added to the Script
    //= LHZ MVP's have a higher cost than normal MVP's,remember that.
    //===== Additional Comments: ===============================================
    //= 1.0 Finished the Script [Rikimaru]
    //= 1.1 Shorted by llchrisll
    //= 1.2 Added new MVP'S like Boitata and the new LHZ MVP's [Rikimaru]
    //= 1.3 fixed a little Bug in the arrays,which was caused by me. [Rikimaru]
    //=========================================================================
    //= DO NOT REMOVE MY AND CHRIS CREDITS AND CLAIM OUR WORK AS YOURS 
    //=========================================================================
    quiz_02,335,85,5	script	MVP Warper	402,{
    // ================== Settings ============================================
    set .@n$,"^0000FF[ MVP Warper ]^000000";
    // ============= End of Settings ==========================================
    mes .@n$;
    mes "I can warp you to the MVP Room,do you want to go there?";
    next;
    switch(select("Yes!:No!")) {
    case 1:
    mes .@n$;
    mes "Okay I'm going to warp you.";
    warp "guild_vs1",50,50;
    close;
    case 2:
    mes .@n$;
    mes "Okay bye!";
    close;
    }
    }
    //========================= First Script End =============//
    //================== MVP Summoner ========================//
    guild_vs1,50,57,5	script	MVP Summoner	790,{
    set .@nsummon$,"^0000FF[ MVP Summoner ]^000000";
    mes .@nsummon$;
    mes "Hello,I'm able to spawn MVP's.";
    mes "Which MVP do you want me to spawn?";
    mes "1 MVP costs "+.zeny[1]+" Zeny";
    mes "LHZ MVPs and Thanatos have a";
    mes "cost of "+.zeny[2]+" Zeny.";
    next;
    set .@m,select(.smenu$) - 1;
    mes .@nsummon$;
    mes "Okay let me check if you have enough Zeny.";
    if( Zeny < .zeny[.mobze[.@m]] ) {
    	mes "You don't have enough money";
    	close;
    } else {
    	close2;
    	set Zeny, Zeny - .zeny[.mobze[.@m]];
    	atcommand "@spawn "+.mobid[.@m] + " "+.mobam[.@m];
    	npctalk "[ MVP Summoner]: "+getmonsterinfo(.mobid[.@m],0) +" Spawned!";
    	end;
    }
    OnInit:
    setarray .zeny[1],20000000,30000000; // 50m,250m Zeny
    // Mob IDs
    setarray .mobid[0],1511,1647,1785,1630,1039,1874,2068,1272,1719,1046,1389,1112,1115,1418,1871,1252,1768,1086,1885,1649,1651,1832,1492,1734,1251,1779,1688,1646,1373,1147,1059,1150,1087,1190,1038,1157,1159,1623,1650,1583,1708,1312,1751,1648,1658,2236,2238,2240,2241,2156,2235,2237,2087,2239;
    // Mob Spawn Amount
    setarray .mobam[0],1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;
    // Price: Entry as Index from .zeny
    // 1 = .zeny[1] - 2 = .zeny[2]
    setarray .mobze[0],1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,2,1,2,1,1,1,2,2,2,2,2,2,1,2,2,1,2;
    set .smenu$,"";
    for( set .@s,0; .@s < getarraysize(.mobid); set .@s,.@s + 1) {
    	// Skips an Monster if it does not exist in the db
    	if(getmonsterinfo(.mobid[.@s],0) == "" || getmonsterinfo(.mobid[.@s],0) == "null") continue;
    	// else adding it to the menu
    	set .smenu$,.smenu$ + "- "+getmonsterinfo(.mobid[.@s],0) + ( (.mobid[.@s+1] == 0)?"":":");
    }
    end;
    }
    guild_vs1,31,68,5	duplicate(MVP Summoner)	MVP Summoner#1	790
    guild_vs1,31,31,5	duplicate(MVP Summoner)	MVP Summoner#2	790
    guild_vs1,68,31,5	duplicate(MVP Summoner)	MVP Summoner#3	790
    guild_vs1,68,68,5	duplicate(MVP Summoner)	MVP Summoner#4	790
    
    guild_vs1,49,91,5	script	HomeTown	837,{
    	OnInit:
    	warp "prontera",154,183;
    	end;
    
    }
    
    guild_vs1,8,49,5	script	HomeTown	837,{
    	OnInit:
    	warp "prontera",154,183;
    	end;
    
    }
    
    guild_vs1,49,8,5	script	HomeTown	837,{
    	OnInit:
    	warp "prontera",154,183;
    	end;
    
    }
    
    guild_vs1,91,50,5	script	HomeTown	837,{
    	OnInit:
    	warp "prontera",154,183;
    	end;
    
    }
    
    
    

    i try this code .. but in the room , i can hit another player 

    please help me .. i don't know to use mapflag

     

    i don't want to hit another player

     

    thank you

     

     

    in npc/mapflag/gvg.txt

     

    Find:

    // GvG Arenas =============
    guild_vs1	mapflag	gvg
    

    Then make it like this:

    // GvG Arenas =============
    //guild_vs1	mapflag	gvg
    

    Then restart server. (I don't know if @reloadscript works)

    • Upvote 1
  16. Hello

    I'm currently using 2015 client and server version of kRO. i need a simple script or how to tutorial to change the script mentioned above.

     

    the current script i have @item <item id> <quantity>

    E.g: @item ahura_mazda 1

     

    nah the underscore "_" between name is very disturbing me. How can i change it without "_" to be @item <item name/id> <quantity>

    E.g: @item ahura mazda 1

     

    No need to created the script, just tell me how to do it, that will be pleased me and i can learn how to scripting too.

    Anyways i wanna say thanks.

     

     

     

    Ps. Sorry for bad english. I'm Indonesian.

     

    I don't know if this'll work but try putting " on the item name.

     

    Example:

     

    @item "Ahura Mazda" 1

    • Upvote 1
×
×
  • Create New...