Jump to content

stydianx

Members
  • Posts

    390
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by stydianx

  1. im sorry but... this is the only thing i can do. 

     

    Edit: I dont know the one for the skill points :(

     

    EmperiumRO,111,111,4	script	Dayum	121,{
    	mes "[Stat Point Seller]";
    	mes "Hey! i sell Stat Points! 300.000 zeny for 3 Stat point.";
    	mes "How many Stat Points do you want to buy?";
    	switch(select("3 Stat Point for 300.000z","10 Stat Points for 3,000.000z","20 Stat Points for 6,000,000z","30 Stat Points for 9,000,000z")) {
    		case 1:
    			mes "[Stat Point Seller]";
    			mes "This will cost you 300,000 zeny. Is this ok?";
    			next;
    			if (select("Yes:No") == 2) close;
    			mes "[Stat Point Seller]";
    			if (Zeny < 300000) {
    				mes "You do not have enough zeny!";
    				close;
    			}
    			set StatusPoint,StatusPoint + 1;
    			set Zeny,Zeny - 300000;
    			mes "Thank you for your purchase.";
    			close;
    		
    		case 2:
    			mes "[Stat Point Seller]";
    			mes "This will cost you 3.000.000 zeny. Is this ok?";
    			next;
    			if (select("Yes:No") == 2) close;
    			mes "[Stat Point Seller]";
    			if (Zeny < 3000000) {
    				mes "You do not have enough zeny!";
    				close;
    			}
    			set StatusPoint,StatusPoint + 10;
    			set Zeny,Zeny - 3000000;
    			mes "Thank you for your purchase.";
    			close;
    
    		case 3:
    			mes "[Stat Point Seller]";
    			mes "This will cost you 6.000.000 zeny. Is this ok?";
    			next;
    			if (select("Yes:No") == 2) close;
    			mes "[Stat Point Seller]";
    			if (Zeny < 6000000) {
    				mes "You do not have enough zeny!";
    				close;			}
    			set StatusPoint,StatusPoint + 20;
    			set Zeny,Zeny - 6000000;
    			mes "Thank you for your purchase.";
    			close;
    
    		case 4:
    			mes "[Stat Point Seller]";
    			mes "This will cost you 9.000.000 zeny. Is this ok?";
    			next;
    			if (select("Yes:No") == 2) close;
    			mes "[Stat Point Seller]";
    			if (Zeny < 9000000) {
    				mes "You do not have enough zeny!";
    				close;			}
    			set StatusPoint,StatusPoint + 30;
    			set Zeny,Zeny - 9000000;
    			mes "Thank you for your purchase.";
    			close;
    
    
    	}
    }
    
    • Love 1
  2. -	script	welcome_on_my_map	-1,{
    OnPCLoadMapEvent:
    	.@map$ = strcharinfo(3);
    	while( .@i < .size_specialmap && .@map$ != .special_map$[.@i] ) .@i++;
    	if ( .@i == .size_specialmap || #variable_firstmap & ( 1 << .@i ) ) end;
    	query_sql "select max(`value`) from global_reg_value where `str` = '#variable_firstmap' and `account_id` in ( select `account_id` from `login` where `last_ip` = ( select `last_ip` from `login` where `account_id` = "+ getcharid(3) +" ) )", .@tmp;// null convert to 0 by serv
    	if ( .@tmp & ( 1 << .@i ) == 0 ) {
    getitem 607,100;
    		#variable_firstmap = #variable_firstmap | ( 1 << .@i );
    		query_sql "insert into global_reg_value (`char_id`, `str`, `value`, `type`, `account_id`) select 0, '#variable_firstmap', '"+ #variable_firstmap +"', 2, `account_id` from `login` where `account_id` in ( select `account_id` from `login` where `last_ip` = ( select `last_ip` from `login` where `account_id` = "+ getcharid(3) +" ) ) on duplicate key update value = '"+ #variable_firstmap +"'";
    		getexp .base_exp_gained[.@i], .job_exp_gained[.@i];// base exp, job exp gained
    		dispbottom "You got "+ .base_exp_gained[.@i] +" base exp and "+ .job_exp_gained[.@i] +" job exp.";
    	}
    	end;
    Oninit:// setting
    	setarray .special_map$, "payon","geffen";// your map exp reward
    	setarray .base_exp_gained, 100, 100;// base exp given by map (payon, geffen..)
    	setarray .job_exp_gained, 100, 100;// job exp given by map (payon, geffen..)
    
    // others
    	.size_specialmap = getarraysize( .special_map$ );
    	while( .@i < .size_specialmap ) {
    		setmapflag .special_map$[.@i], mf_loadevent;
    		.@i++;
    	}
    }
    

     

     

    did i do this right?

  3. Hi there my friend, long time no chat!
    I would like to make a request for the Monster Hunter Event you made. Its cool i love it! but Instead of Once a day, can you make it twice a day, and include a GM control panel? so whenever a GM wants to activate it, he will just go there and activate the Event. also! enable a party mode!

    so in single mode, it will start with 1 monster then, 2 then 3 and so on,

    in party mode, the number of monster will depend on the number of party members.

    for example:

     

    2 players in a party, event will summon 2 monsters at round 1, then 4 then 6, and so on.

    3 players in a party. event will summon 3 monsters at round 1, then 6 then 9, and so on.

    4 players in a party. (well you get the point) 4,8,12 and so on..

     

    max players should be at 8.

    minimum level should be lvl 50.


    thanks  :)

  4. How do i modify the ASPD for a single job?

     

    for example, i want to change the ASPD of Royal Guard, cause its too slow, i want his attack speed to be +2 above all the others.

    is this possible?

     

    if yes, how can i do it?

     

    if no, is there any other way to increase the over all attackspeed of all jobs?

     

    thanks guys  /lv

  5. Basically you did everything wrong /omg
     
     
    Char_athena

     

    / Server Communication username and password.

    userid: s1 (This should be you userid on your SQL)
    passwd: p1 (This should be your passwd on your SQL)

     

    // Server name, use alternative character such as ASCII 160 for spaces.

    // NOTE: Do not use spaces or any of these characters which are not allowed in 

    //       Windows filenames \/:*?"<>|

    //       ... or else guild emblems won't work client-side!

    server_name: rAthena

     

    // Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)

    wisp_server_name: Server

     

    // Login Server IP

    // The character server connects to the login server using this IP address.

    // NOTE: This is useful when you are running behind a firewall or are on

    // a machine with multiple interfaces.

    login_ip: myro.zapto.org (IP isn't a website, put your IP here)

     

    // The character server listens on the interface with this IP address.

    // NOTE: This allows you to run multiple servers on multiple interfaces

    // while using the same ports for each server.

    //bind_ip: myro.zapto.org

     

    // Login Server Port

    login_port: 6900

     

    // Character Server IP

    // The IP address which clients will use to connect.

    // Set this to what your server's public IP address is.

    char_ip: asylumro.zapto.org (IP isn't a website, put your IP here)

     

    // Character Server Port

    char_port: 6121

     

    map_athena

     


    // Character Server IP

    // The map server connects to the character server using this IP address.

    // NOTE: This is useful when you are running behind a firewall or are on

    // a machine with multiple interfaces.

    char_ip: myro.zapto.org (IP isn't a website, put your IP here)

    // The map server listens on the interface with this IP address.

    // NOTE: This allows you to run multiple servers on multiple interfaces
    // while using the same ports for each server.

    //bind_ip: asylumro.zapto.org

     

    // Character Server Port

    char_port: 6121

     

    // Map Server IP

    // The IP address which clients will use to connect.

    // Set this to what your server's public IP address is.

    map_ip: asylumro.zapto.org (IP isn't a website, put your IP here)
     
     
    make sure your ports are open.
    follow Sharpiniero's video guide.
  6. try it :) this is the 1st time i saw that but mine works fine. lol

    ok i tried and now i have npc's on the castles, before castles was empty of npc but emperium still not showing, T.T omg i want woe.

     

    are you sure you set the WoE times?

  7. go to your PhpAdmin, then go to your Main_db (the sql db of your server) go to char then delete "ALL" characters that belongs to the account.

    then go to login (can also be found on Main_db) then look for the account you want to delete, when you see it, hit "delete".

     

    done.

     

    NOTE: A character is tied to a number i.e:

     

    Main_db > char

    2000097 username password F [email protected] groupid

     

    Main_db > login

     

    char_id 2000097 char_num charactername class baselevel

  8. // --------------------------------------------------------------
    // -                         Guild Wars                         -
    // --------------------------------------------------------------
    
    // ----------------------- War of Emperium ----------------------
    // - Guild WoE time settings
    npc: npc/guild/agit_controller.txt 
    // - Guild NPC Template file
    npc: npc/guild/agit_main.txt
    // - Al De Baran
    npc: npc/guild/aldeg_cas01.txt
    npc: npc/guild/aldeg_cas02.txt
    npc: npc/guild/aldeg_cas03.txt
    npc: npc/guild/aldeg_cas04.txt
    npc: npc/guild/aldeg_cas05.txt
    // - Geffen
    npc: npc/guild/gefg_cas01.txt
    npc: npc/guild/gefg_cas02.txt
    npc: npc/guild/gefg_cas03.txt
    npc: npc/guild/gefg_cas04.txt
    npc: npc/guild/gefg_cas05.txt
    // - Payon
    npc: npc/guild/payg_cas01.txt
    npc: npc/guild/payg_cas02.txt
    npc: npc/guild/payg_cas03.txt
    npc: npc/guild/payg_cas04.txt
    npc: npc/guild/payg_cas05.txt
    // - Prontera
    npc: npc/guild/prtg_cas01.txt
    npc: npc/guild/prtg_cas02.txt
    npc: npc/guild/prtg_cas03.txt
    npc: npc/guild/prtg_cas04.txt
    npc: npc/guild/prtg_cas05.txt
    // - Treasure Room Protection
    //npc: npc/guild/trs_rp.txt
    
    // --------------- War of Emperium Second Edition ---------------
    // - WoE SE time settings
    npc: npc/guild2/agit_start_se.txt
    // - Guild NPC Template file
    npc: npc/guild2/agit_main_se.txt
    // - Town Flags
    npc: npc/guild2/guild_flags.txt
    // - Arunafeltz
    npc: npc/guild2/arug_cas01.txt
    npc: npc/guild2/arug_cas02.txt
    npc: npc/guild2/arug_cas03.txt
    npc: npc/guild2/arug_cas04.txt
    npc: npc/guild2/arug_cas05.txt
    // - Schwaltzvalt
    npc: npc/guild2/schg_cas01.txt
    npc: npc/guild2/schg_cas02.txt
    npc: npc/guild2/schg_cas03.txt
    npc: npc/guild2/schg_cas04.txt
    npc: npc/guild2/schg_cas05.txt
    

    You should not edit any of these.

    then use eupy's woe-controller.

     

    that should work fine.

  9. try this

    got 6 overstats = ban

    any stats over = announce

    - script Sample -1,{
    OnPCLoginEvent:
    for( set .@i,13; .@i <=18; set .@i,.@i + 1 )
    if( readparam(.@i) > 255 )
      set .@OverStat,.@OverStat + 1;
    if( .@OverStat >= 6 ){
    mes "You have Over Stats...Cheating..will be blocked.";
    sleep2 5000;
    atcommand "@block "+strcharinfo(0);
    }else if( .@OverStat ){
    announce "OMG.."+strcharinfo(0)+" have overstats....",0;
    }
    end;
    }
    


    any stats over = ban

    - script Sample -1,{
    OnPCLoginEvent:
    for( set .@i,13; .@i <=18; set .@i,.@i + 1 )
    if( readparam(.@i) > 255 )
      set .@OverStat,.@OverStat + 1;
    if( .@OverStat ){
    mes "You have Over Stats...Cheating..will be blocked.";
    sleep2 5000;
    atcommand "@block "+strcharinfo(0);
    }
    end;
    }
    

     

    if my maximum parameters is 125, i change this line right?:

     

    if( readparam(.@i) > 255 )
     
×
×
  • Create New...