Jump to content

Yoona

Members
  • Posts

    567
  • Joined

  • Last visited

Posts posted by Yoona

  1. I have something similar I could adapt it to what you're looking for free.

     

    When you say MVP do you really mean MVP? Because it sounds to me like more of an Endless Tower kind of thing.

     

    Yes all MVP.. :) with a time limit inside.

    @Bump Bump!

  2.  

    Change this line

    			val3 = 50*(val1+1); // Damage increase (+50 +50*lv%)
    

    Example:

    			val3 = 20*(val1+1); // Damage increase (+20 +20*lv%)
    

    or

    			val3 = 30*val1; // Damage increase (+30*lv%)
    

     

    thanks! ill try it later.. this will work on pre-renewal right?

  3. Can i request a MVP warper that do this things..

     

    1. he/she can enter once per 24 Hours

    2. It has 30 Levels with different monsters per Level

    3. guild_vs2 will be the map.. 

     

    if its paid its okay.. as long as its working 100%. and pm me..

  4. go to status.c then find SC_EDP then reduce the values

     

    How can i reduce the value for pre renewal?

    		case SC_EDP: <= this should be on pre renewal
    			val2 = val1 + 2; // Chance to Poison enemies. <= i dont know what this means
    #ifndef RENEWAL
    			val3 = 50*(val1+1); // Damage increase (+50 +50*lv%)
    #endif
    			if( sd )// [Ind] - iROwiki says each level increases its duration by 3 seconds
    				tick += pc_checkskill(sd,GC_RESEARCHNEWPOISON)*3000;
    

    any can give me a link for the latest source code for this?

    @bump please!

  5. Yeah, with a simple sql query you can do that.

    Google about UPDATE.

    It would be something like

    UPDATE `inventory` SET `refine` = 0 WHERE `refine` = 10;

    Don't forgot the other tables, like storage, cart_inventory..

     

    Im not that familiar with this.. but to make sure im gonna ask if this is correct..

     

    UPDATE `inventory` SET `refine` = 0 WHERE `refine` = 10; // Check for Inventory

    UPDATE `storage` SET `refine` = 0 WHERE `refine` = 10; // for storage

    UPDATE `cart_inventory` SET `refine` = 0 WHERE `refine` = 10; // cart inventory

    UPDATE `guild_storage` SET `refine` = 0 WHERE `refine` = 10; // cart guild storage

     

    this will re-refine all the +10 items into +0 right?

  6. Make sure that put the ID# and Item name 

     

    here's the example on client side

     

    idnum2itemdesctable.txt  ( this one is for the item description )

    idnum2itemdisplaynametable.txt ( this one is for the item name ex. Valkyrie_Helm )

    idnum2itemresnametable.txt ( this one is for the item sprite )

     

    FIRST THING TO DO IS, UNDERSTAND WHAT YOU ARE DOING.. im also not that good with everything.. but based on my experience you'll understand everything soon..

     

    if your still having problem putting custom items here's a guide http://rathena.org/wiki/Custom_Items

  7. I know how to make connection for 1 login-server 2 char-servers 9with each 1 map-server). but I don't get "how client decide which game (char&map-server) will be connected?", since the clientinfo.xml uses login port only.

     

    Ohh lol, I get what's "Service select" mean now. to be honest, this my first time using 1 login server. /heh

     

    @Akkarin Yes i follow this Guide http://www.eathena.ws/board/index.php?showtopic=279692&view=findpost&p=1532918

     

     

     

    When i run the First Server I can Login but when i start to run the Second Server i cant login on the First Server anymore, instead i can log in on the 2nd Server..

    How do you run the char and map server only for the second server...

    L_SRV=./server1/login-server_sql
    C_SRV1=./server1/char-server_sql
    M_SRV1=./server1/map-server_sql
    C_SRV2=./server2/char-server_sql
    M_SRV2=./server2/map-server_sql
    
    
    check_files() {
       for i in ${L_SRV} ${C_SRV1} ${M_SRV1} ${C_SRV2} ${M_SRV2}
       do
           if [ ! -f ./$i ]; then
               echo "$i does not exist, or can't run."
               echo "Stop. Check your compile."
               exit 1;
           fi
       done
    #    more << EOF
    echo "Check complete."
    echo "Looks good, a nice Athena!"
    #EOF
    }
    'start')
           print_start
           check_files
           exec .{L_SRV}&
           exec .{C_SRV1}&
           exec .{M_SRV1}&
           exec .{C_SRV2}&
           exec .{M_SRV2}&
    'stop')
           killall ${L_SRV} ${C_SRV1} ${M_SRV1} ${C_SRV2} ${M_SRV2}
    
    can someone tell me where can i add this one?

     

     

    it's on function.sh

    once u edit it, when u run runserver-sql.bat, that file will run your 1 login-server, 2 char-servers, & 2 map-server

     

     

    On this part i want to make sure, i should put the directory of where i put the 2nd server files right? and 1 problem about rathena.. if you recompile server 2 ==> Server 1 will be stop same with recompile Server 1 ==> Server 2 stops. please correct me if im wrong.. thanks!

    C_SRV1=./server1/char-server_sql
    M_SRV1=./server1/map-server_sql
    C_SRV2=./server2/char-server_sql
    M_SRV2=./server2/map-server_sql
  8. Welp, I Just can't log into the game, whenever i select a character i receve the message "Rejected from server(3)."

    I`m using the last rathena on the GIT (I just copiled it and configured the conf's) and I'm trying to log with this client (I just changed the clientinfo.xml ) .

    Thank you for your time :)

     

    Did you change your trunk/src/common/mmo.h to the client version you are using?

    #ifndef PACKETVER//#define PACKETVER 20130807
    #define PACKETVER 20120410
    //#define PACKETVER 20100616
  9. Make sure that he/she have all the files needed. to run the server and connect 

     

    like check your clientinfo.xml

     

    and make sure that this line inside the clientinfo.xml is correct ( you must put your LAN IP so others can connect )

          <address>YOUR LAN IP SHOULD BE HERE</address>

    Let me know if this helps :)

  10. script:getarg: no callfunc or callsub!
    

    and the script im using is this

     

    -	shop	Middle_Quest_HG	-1,501:50
    sky_quest,38,46,5	script	Amelia Earhart	569,{
    	set @i,0;
    	mes "[ Amelia Earhart ]";
    	mes "Which item do you wish to obtain?";
    	mes "Select only one.";
    	callshop "Middle_Quest_HG",1;
    	npcshopattach "Middle_Quest_HG";
    	end;
    
    
    OnBuyItem:
    	if(.BuildQuest) {
    		for(set .e,0; !compare(""+getarg(.e+1),"Zeny"); set .e,.e+2) {}
    		npcshopadditem "Middle_Quest_HG",getarg(.e+2),getarg(.e)*compare(""+getarg(.e+1),"SZeny");
    		setarray .Shop[.i],getarg(.e+2);
    		set .i,.i+1;
    		goto Quest_Setup;
    	}
    	if(.Shop[@i]!=@bought_nameid) for(set @i,1; 1; set @i,@i+1) if(.Shop[@i]==@bought_nameid) { set .i,@i; callsub Quest_Setup; }
    	for(set @i,1; !@e; set @i,@i+1) if(.Shop[@i]==@bought_nameid) { set @e,1; set .i,@i; callsub Quest_Setup; }
    	mes "[ Amelia Earhart ]";
    	mes "I require the following:";
    	for(set @i,0; !compare(""+getarg(@i+1),"Zeny"); set @i,@i+2) mes "^FF0000" + ((countitem(getarg(@i))>=getarg(@i+1))? "^00FF00":"") + "" + getarg(@i+1) + " " + getitemname(getarg(@i)) + " [" + countitem(getarg(@i)) + "/" + getarg(@i+1) + "]";
    	if(getarg(@i)) mes "^FF0000" + ((Zeny>=getarg(@i))? "^00FF00":"") + "" + getarg(@i) + " Zeny";
    	mes "^000000In exchange, I will give you:^0000FF";
    	for(set @i,@i+2; getarg(@i+1,0); set @i,@i+2) mes getarg(@i+1) + " " + getitemname(getarg(@i));
    	switch(select("Exchange:" + (((((getiteminfo(@bought_nameid,5) & 1) || (getiteminfo(@bought_nameid,5) & 256) || (getiteminfo(@bought_nameid,5) & 512)) && @equip==0))? "Preview Item":"") + ":No thanks")) {
    		case 1:
    			for(set @i,0; !compare(""+getarg(@i+1),"Zeny"); set @i,@i+2) if(countitem(getarg(@i)) < getarg(@i+1)) {
    				next;
    				mes "You have " + countitem(getarg(@i)) + " " + getitemname(getarg(@i)) + ", while I require " + getarg(@i+1) + ".";
    				mes "Please obtain ^FF0000" + (getarg(@i+1)-countitem(getarg(@i))) + " more " + getitemname(getarg(@i)) + "^000000.";
    				close;
    			}
    			if(Zeny < getarg(@i)) {
    				next;
    				mes "You do not have enough Zeny.";
    				mes "Please obtain ^FF0000" + (getarg(@i)-Zeny) + " more Zeny^000000.";
    				close;
    			}
    			for(set @i,0; !compare(""+getarg(@i+1),"Zeny"); set @i,@i+2) delitem getarg(@i),getarg(@i+1);
    			set Zeny,Zeny-getarg(@i);
    			for(set @i,@i+2; getarg(@i+1,0); set @i,@i+2) getitem getarg(@i),getarg(@i+1);
    			if (compare(""+getarg(@i,0),"announce")) announce strcharinfo(0) + " has just obtained " + getitemname(@bought_nameid) + "!",bc_blue|bc_all;
    			close;
    		case 2:
    			set @bottomview, getlook(3);
    			set @topview, getlook(4);
    			set @midview, getlook(5);
    			addtimer 1000, strnpcinfo(3)+"::On_Leave";
    			set @equip,getiteminfo(@bought_nameid, 5);
    			set @view, getiteminfo(@bought_nameid, 11);
    			if(@equip != -1 && @view > 0) {
    				if(@equip & 1) atcommand "@changelook 3 " + @view;
    				if(@equip & 256) atcommand "@changelook 1 " + @view;
    				if(@equip & 512) atcommand "@changelook 2 " + @view;
    			}
    			next;
    			goto OnBuyItem;
    		case 3:
    			close;
    	}
    On_Leave:
    	atcommand "@changelook 1 " + @topview;
    	atcommand "@changelook 2 " + @midview;
    	atcommand "@changelook 3 " + @bottomview;
    	set @equip,0;
    	set @view,0;
    	set @topview,0;
    	set @midview,0;
    	set @bottomview,0;
    	end;
    OnInit:
        npcshopitem "Middle_Quest_HG",0,0;
        npcshopdelitem "Middle_Quest_HG",0,0;
    	npcshopdelitem "Middle_Quest_HG",501;
    	set .BuildQuest,1;
    	set .i,1;
    Quest_Setup:
    	switch(.i) {
    		default: set .BuildQuest,0; set .e,0; set .i,0; end;
    		case 1: callsub OnBuyItem,7511,1000,7507,200,7111,100,7151,100,1048,200,7312,300,0,"SZeny",25028,1,"announce";
    		case 2: callsub OnBuyItem,996,200,693,100,7265,300,1820,10,992,100,0,"SZeny",25027,1,"announce";
    		case 3: callsub OnBuyItem,7226,200,720,150,7751,200,723,300,1001,100,0,"SZeny",25029,1,"announce";
    		case 4: callsub OnBuyItem,7122,300,7097,250,7120,250,4439,10,0,"SZeny",25030,1,"announce";
    		case 5: callsub OnBuyItem,2327,10,523,200,7448,500,2282,10,714,30,7063,3000,0,"SZeny",25031,1,"announce";
    		case 6: callsub OnBuyItem,7799,1000,7023,30,7798,500,7511,2000,1636,1,0,"SZeny",25032,1,"announce";
    		case 7: callsub OnBuyItem,7157,1000,7266,150,7187,200,5087,10,928,300,7172,100,0,"SZeny",25037,1,"announce";
    		case 8: callsub OnBuyItem,909,1000,7126,1000,7578,10,5045,1,2311,5,0,"SZeny",25038,1,"announce";
    		case 9: callsub OnBuyItem,7257,2000,7023,50,7511,1500,0,"SZeny",25043,1,"announce";
    		case 10: callsub OnBuyItem,1035,500,7567,300,7005,10,930,200,7511,1000,7799,200,0,"SZeny",25044,1,"announce";
    		//case 11: callsub OnBuyItem,7047,250,7211,10,1045,100,7072,500,7207,50,7069,50,0,"SZeny",25027,1,"announce";
    	}
    }
    
     
  11. @AnnieRuru lol thank you, i got a question annie why is that when the A Player Godlike then killed by D Player the size don't change.

     

    forgot because of no time :)

  12. Actually i already tried that. nothing happens but when i ask for a restart on my VPS its running fine. 

     

    * Im running it on this VPS specs

    1-200 Players
    1500MHZ*
    1GB
    1024MB vSwap RAM
    50GB RAID
    1000GB/MONTH
    100Mbit Port Speed
    Free MySQL & phpMyAdmin
    Free Hosting Support
    Free Sub-Domain
    Free Default Flux
    Los Angeles, California
    Network Level
    INSTANT Setup!
×
×
  • Create New...