Jump to content

bartoaldo

Members
  • Posts

    27
  • Joined

  • Last visited

Posts posted by bartoaldo

  1. hello... would you like some help how do i limit dmg crit

     

    in the past I used the flag.cri... but today it doesn't have that

    example

            if(flag.cri == 1 && wd.damage > 32767)
                wd.damage = 32767;
            if(flag.cri == 1 && wd.damage2 > 32767)
                wd.damage2 = 32767;

     

  2. Hello all beauty ... well I came here because I saw something very interesting on the website of pservero that I found very cool and I tried to add in my emulator but I had a problem that in the emulator has no command to execute this "vending_add" ... ai Was that it was search and I found something similar or even time is '-' more I had problem with a line "pc_payzeny (sd, (int) zeny);"
      I would very much like someone to help.

     

    https://pservero.com/selling-refined-item-by-npc-as-vending-list/

     

    prontera,147,155,5    script    Special Store     4_F_KAFRA4,{
     vending_open    strnpcinfo(0);
     end;
    
     OnInit:
     vending_add 608,300000;
     vending_add 607,700000;
     vending_add 2104,20000000,9,0,4058;
     vending_add 2104,50000000,10,0,4058;
     vending_add 2404,50000000,8,0,4097;
     vending_add 2404,70000000,9,0,4097;
     vending_add 1208,150000000,10,0,4035,4094,4094,4094;
     vending_add 1208,150000000,10,0,4035,4094,4094,4094;
     vending_add 13412,600000000,7,0,4281,4281,4281;
     vending_add 13413,700000000,7,0,4281,4281,4281;
     vending_add 13414,999000000,9,0,4281,4281,4281;
     end;
    }

     

  3. hello I wanted to see if someone can help me create a pvp script ... because I'll use to go only up to 10 kil ...

     

    yes I kill gain "set @ kill, kill @ + 1," KILL MAXIMO and up to 10

     

    yes I die I pardon "set @ kill, @ kill - 1;" MINIMUM AND 0

     

    yes someone can help thanks

  4. hello all right with you ... hehe

     

    Well I'm trying to create a new command "@armor ghost str wind"

    however I'm in trouble I do not know how to make him use + 2 variable type

     



    @armor ghost = STATS Ghostring CARD
    @armor ghost str = STATS Ghostring CARD + STATS STR
    @armor ghost str wind = STATS Ghostring CARD + STATS STR + Endow WIND


     

    TYPE THAT BUT CAN NOT CREATE THESE CONTROL TYPE.

     

    ON SOMEONE I KNOW THANK

  5. speaks guys ... I would like some help from you about this my new command that I am creating @armor ... to wanting when I use command "@armor Ghostring" he can give the status of armor.

     

    -	script	atcmd_armor#main	-1,{
    OnInit:
    	bindatcmd "armor", "atcmd_armor#main::OnStart";
    	end;
    
    
    L_Help:
    	dispbottom "Build it's:";
    	dispbottom "Available Stats: Ghostring, Holy";
    	return;
    
    
    OnStart:
    	
    	if (!getarraysize(.@atcmd_parameters$)) {
    		callsub L_Help;
    		end;
    	}
    	
    	.@command$ = strtolower(.@atcmd_parameters$[0]);
    	if (.@command$ == "ghostring") {
    		dispbottom "Build it's: Ghostring";
    		unequip EQI_ARMOR;
    		equip 15008;
    		if(isequipped(15008)) { bonus bDefEle,Ele_Ghost; bonus bHPrecovRate,-25; bonus bStr,55; bonus bVit,24; bonus bDex,15; bonus bLuk,15; bonus bInt,20; }
    		
    		end;
    		
    	} else if (.@command$ == "holy") {
    		dispbottom "Build it's: Holy";
    		unequip EQI_ARMOR;
    		equip 15008;
    		end;
    	}
    }
    
  6. Eai blz... mano eu to tendo um pequeno problema em script que to tentando desenvolvendo mais agora que cheguei na parte do comando changelook  não to consigo fazer ele efetuar certo sim quem poder min dizer como posso fazer pra ele ir blz da ajuda ai :D

    -	script	atcmd_pset#main	-1,{
    OnInit:
    	bindatcmd "pset", "atcmd_pset#main::OnStart";
    	setarray .PSET_Color$[0],"0xA0522D","0x4169E1","0x696969","0x808000","0x483D8B","0xFFA500","0x9ACD32","0x4169E1","0xDDA0DD";
    	end;
    
    
    L_Help:
    	message strcharinfo(0), "Use @pset comand to edit your pset build or to change the color. For example: @pset str - @pset red";
    	message strcharinfo(0), "Available builds: str-dex-int";
    	message strcharinfo(0), "Available colors: black - white - gold - rainbow - blue - lpurple - dpurple - red - green - lblue - cyan - pink";
    	return;
    	
    OnStart:
    	
    	if (!getarraysize(.@atcmd_parameters$)) {
    		message strcharinfo(0), "Invalid syntax.";
    		callsub L_Help;
    		end;
    	}
    
    	.@command$ = strtolower(.@atcmd_parameters$[0]);
    
    	if (.@command$ == "white") {
    		message strcharinfo(0), "Perfect White Set.";
    		atcommand "@changelook 3 29003";
    		atcommand "@changelook 4 29004";
    		atcommand "@changelook 5 29005";
    		end;
    	} else if (.@command$ == "blue") {
    		message strcharinfo(0), "Perfect Blue Set.";
    		end;
    	}
    }
    
    

    Agradeço desde já :D


    resolvido já :P

  7. 
    

    d:\projeto mixrag\rathena\src\map\clif.c(16135): warning C4047: 'function' : 'npc_data *' differs in levels of indirection from 'int'd:\projeto mixrag\rathena\src\map\clif.c(16135): warning C4024: 'clif_cashshop_ack' : different types for formal and actual parameter 2

    d:\projeto mixrag\rathena\src\map\clif.c(16135): error C2198: 'clif_cashshop_ack' : too few arguments for call

    d:\projeto mixrag\rathena\src\map\clif.c(16136): error C2065: 'fail' : undeclared identifier

     

     

     

    Usando hexed 20100730

    deu esse erro quando foi compilar
  8. alguem pode min ajudar com esse erro?

    d:\projeto mixrag\rathena\src\map\clif.c(16135): warning C4047: 'function' : 'npc_data *' differs in levels of indirection from 'int'
    d:\projeto mixrag\rathena\src\map\clif.c(16135): warning C4024: 'clif_cashshop_ack' : different types for formal and actual parameter 2
    d:\projeto mixrag\rathena\src\map\clif.c(16135): error C2198: 'clif_cashshop_ack' : too few arguments for call
    d:\projeto mixrag\rathena\src\map\clif.c(16136): error C2065: 'fail' : undeclared identifier
    
  9. ola galera estou com uma dificuldade de arruma os mapas campal 

     

    map: bat_a03
    map: bat_a04
    map: bat_a05
    map: bat_b03
    map: bat_b04
    map: bat_b05
    map: schg_cas06
    map: schg_cas07
    map: schg_cas08
    map: arug_cas06
    map: arug_cas07
    map: arug_cas08
    map: rush_cas01
    map: rush_cas02
    map: rush_cas03
    map: rush_cas04
    map: bat_c03
    map: bat_c04
    map: bat_c05
    map: bat_c06
    map: bat_c07
    map: bat_c08
    map: region_8

     

    sim alguém tiver agradeço muito biggrin.png

×
×
  • Create New...