Jump to content

ItsFree

Members
  • Posts

    121
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by ItsFree

  1. Hi, i found tis: https://rathena.org/board/topic/87897-homunculus/

    but i still have problems which value should i edit, to increase the Max HP of my homunculus? i mean... at this moment the max lvl is 255 for homunculus but only have around 27~30k of HP, what should i edit to increase that HP, something to... 150~200k ? pls help...

    https://github.com/rathena/rathena/blob/master/db/re/homunculus_db.txt

     

     

     

    6008,6016,Vanilmirth,911,60000,0,1,0,0,700,80,11,11,11,11,11,11,11,30,150,0,7,1,30,1,30,1,30,1,30,1,30,1,30,1200,4800,480,640,10,30,10,30,10,30,20,50,10,50,10,100

    i've that what should i edit? at the begining i've a little guide about that but only tell me what means since 01 ~ 09 :c

    thx for help ^^
     


    could i bump this? c:

  2. Hi, as the title say somebody here can help me, i need a item that works like the halter lead i mean, you click and you mount but your "Mado" (the robot for mechanic) and after click again you dismount, also if each time i use it i lost some zeny like 1,000 zeny

    this is the script of halter lead (at the end.), but i dont know if my requst is possible.

    1.- a consume item like halter lead.

    2.- the consume item set the character if mechanic, to his "mado"
    3.- if click again he "dismount" the mado
    4.- after each click -1,000 zeny
     

    maybe from 1 to 3 would be possible... but i dont know how... but the step 4 i guess wont be possible.
    anyway thx for read and response ^^

     

     

     

     

    { setmounting(); },{},{ if (ismounting()) setmounting(); }

     

    is this ok?

     

    { setmadogear(); atcommand "@zeny -1500"; },{},{ if (ismadogear()) setmoadogear(); }

     

     

  3. Well i have these scripts, the first woks fine no problem i guess... the problem is the second

    
    -	script	Sample	-1,{
    OnNPCKillEvent:
    if( killedrid == 1312 || killedrid == 1751 ){
    	if( killedrid == 1312 ) set .@point,100;
    	if( killedrid == 1751 ) set .@point,100;
    
    	set .@party_id,getcharid(1);
    	if( !.@party_id ){
    		set #MOBPOINTS,#MOBPOINTS + .@point;
    		dispbottom "Gained "+.@point+" Mob Points.";
    
    	}else{
    		getpartymember .@party_id,1;
    		getpartymember .@party_id,2;
    		set .@acc_id, getcharid(3);
    		set .@map$,strcharinfo(3);
    		for( set .@i, 0; .@i < $@partymembercount; set .@i, .@i +1 )
    			if( isloggedin( $@partymemberaid[.@i],$@partymembercid[.@i] ) )
    				if( attachrid( $@partymemberaid[.@i] ) )
    					if( HP && strcharinfo(3) == .@map$ )
    						set .@online_count,.@online_count + 1;
    		
    		for( set .@i, 0; .@i < $@partymembercount; set .@i, .@i +1 )
    			if( isloggedin( $@partymemberaid[.@i],$@partymembercid[.@i] ) )
    				if( attachrid( $@partymemberaid[.@i] ) )
    					if( HP && strcharinfo(3) == .@map$ ){
    						set #MOBPOINTS, #MOBPOINTS + ( .@point / .@online_count );
    						dispbottom "Party Online : "+.@online_count+" - Gained "+( .@point / .@online_count )+" Mob Points.";
    					}
    		attachrid( .@acc_id );
    		dispbottom "All Your party member gained "+( .@point / .@online_count )+" Mob Point/s.";
    	}
    }
    end;
    }
    
    izlude,134,138,4	pointshop	Monster Killing Rewards	667,#MOBPOINTS,14156:50
    
    

    i gonna attach a image that show the problem.... i dont know why but just dont keep/read my points what could i do to solve this?


    bump c:

    post-32373-0-47305600-1447804099_thumb.jpg

  4. the problem is they can't exchange the other's player skulls also their own, they only can the skull with no name i mean the one created just it @item :s i tried with gm account, and 2 users account, others 3~5 players also try it but just can exchange the skull with no name :s atm im trying to find a npc thar exchange those skulls for the skull without name but i can't fiend it yet, anyway if want i can try to paste some screens when i try to exchange the skulls with different names and not happen nothing :/

  5. Hi, as the title said... i was searching for a npc that can do a similar than the juice maker but i can't find anything.... the npc that i want.... is for example....

     

    the npc read how many "jellopy" do you have... then... he erased them and change for "fluff" of the same amount....

     

    i want this script to try to solve a problem i have about the skulls that are drop after kill a character i mean to make all the skulls a same skull and carry alot of em without get the limit of 100 items on inventory, then the characters can trade the skulls for items, so.... anyone here can help me with this script? i mean the one i talk first.... X amon of items for y amount of items.

     

    Thx ^^ :D

  6. Hi.... i've this script

    prontera,139,180,5	script	Skull Points	63,{
    	.@char_id = getcharid(0);
    	.@count = countitem( 7420 ) - countitem2( 7420, 1,0,0, 254, 0, .@char_id, 0 );	// can't exchange his own skull
    
    	mes "Puntos Totales: "+ #skull_points +" Skull points.";
    	if ( .@count == 0 ) close;
    	mes "¿Deseas intercambiar tus Skulls por Skulls Points?";
    	next;
    	if ( select( "~ Yes", "~ No" ) -1 ) end;
    	.@count = countitem( 7420 ) - countitem2( 7420, 1,0,0, 254, 0, .@char_id, 0 );
    	getinventorylist;
    	while( .@i < @inventorylist_count && .@j < .@count ) {
    		if ( @inventorylist_id[.@i] == 7420 && @inventorylist_card3[.@i] != .@char_id ) {
    			delitem2 7420, @inventorylist_amount[.@i],1,0,0, @inventorylist_card1[.@i], 0, @inventorylist_card3[.@i], 0;
    			.@j++;
    		}
    		.@i++;
    	}
    	#skull_points = #skull_points + .@count;
    	mes "Obtuviste "+ .@count +" Skull points. Tienes en total: "+ #skull_points +" Skull points.";
    	close;
    }
    
    

    my problem is... just with some player can exchange their skulls for points... but some players cant.... i dont know why and what should i do to fix this... i was thinking on that line

    countitem2( 7420, 1,0,0, 254, 0, .@char_id, 0 );
    

    but i dont know if is this.... i gonna add some screens about the problem (no RO atm).

     

     

  7. Hi.... i've some time looking for a support i follow all guides but still having problems im added to my client 69 hair styles (male/female) all ok with that i edit conf/client.conf to max 69...i reload and everything but i got some problems with the hair styles that you can see below

     

    here an image

     

    2l8jfh1.jpg

     

     

    that's 24..... so from 1~23 all is ok, then 24~27 that error, from 28~69 always the same hair style i mean this....

    25rld90.jpg

     

  8. Hi, is me again.... requesting if any have an event like this i mean... i saw on other server sometime ago called (DreamerRO) the event i saw was... on hour 00 a treasure chest is summoned (without drops) and when the player kill it he got 500,000,000z and an announce with the winner and where, the treasure chest spawn is on any town.... i found something like this

     

    https://rathena.org/board/topic/83415-tbox-summon/

     

    http://upaste.me/7bf490121e55925

     

    but i want an automatic event, anyone can help me with this? ^^ plz plz plz

  9. Actually i tried adding that script but doesnt work on me :C idk why D: first i try testing just like that post, then i try change to only "killmonster" i mean editing but also nothing happen after reload :c

     

    well.... now im checking and i try without edit that of dynamic mobs let see if that works c:

     

    wow thx works thx thx Capuche-Senpai <3

    • Upvote 1
  10. now i understand thx ^^ solved <3

     

    ok.... i guess i understand.... but im kinda.... slow i guess.... after i tried to test the script dont load... i got this

    poring_w02,177,176,5	pointshop	Mvp Points Trader	112,#monster_points,116,7539:1
    
    

    i guess the structure after <costvariable> confuse me :s

  11. Hi... as the tittle said... i tried with some post i found here but nothing works

     

    i tried with some post with "OnInit" killmonsterall but nothing works... how atm... my problem is... i summon some monsters customs and when i reload they spawn

     

    this is the script i use... is there anyway to they dont summon if someone use @reloadscript? plz i need help with this ._.

    prtg_cas04,272,162,5,1	monster	Treasure Chest	1360,1,28800000,600000,1
    prtg_cas04,272,160,5,1	monster	Treasure Chest	1360,1,28800000,600000,1
    prtg_cas04,270,162,5,1	monster	Treasure Chest	1360,1,28800000,600000,1
    prtg_cas04,270,160,5,1	monster	Treasure Chest	1360,1,28800000,600000,1
    prtg_cas04,270,160,5,1	monster	Treasure Chest	1360,1,28800000,600000,1
    
    // permanent monster
    poring_w02,0,0,0,0	monster	Baphomet	1039,1,7200000,600000,"monster_points::OnMobDead1"
    poring_w02,0,0,0,0	monster	Tao Gunka	1583,1,18000000,600000,"monster_points::OnMobDead2"
    
    gef_fild02,0,0,0,0	boss_monster	Orc Hero	1087,1,86400000,600000,"monster_points::OnMobDead3"
    gef_fild14,0,0,0,0	boss_monster	Orc Hero	1087,1,3600000,600000,"monster_points::OnMobDead4"
    gef_fild10,0,0,0,0	boss_monster	Orc Lord	1190,1,7200000,600000,"monster_points::OnMobDead5"
    xmas_fild01,0,0,0,0	boss_monster	Garm	1252,1,7200000,600000,"monster_points::OnMobDead6"
    mjolnir_04,0,0,0,0	boss_monster	Mistress	1059,1,7200000,600000,"monster_points::OnMobDead7"
    moc_fild22,0,0,0,0	monster	Wounded Satan Morroc	1917,1,43200000,3600000,"monster_points::OnMobDead8"
    moc_fild17,0,0,0,0	boss_monster	Phreeoni	1159,1,7200000,600000,"monster_points::OnMobDead9"
    pay_fild11,0,0,0,0	boss_monster	Eddga	1115,1,7200000,600000,"monster_points::OnMobDead10"
    ra_fild04,0,0,0,0	boss_monster	Atroce	1785,1,18000000,600000,"monster_points::OnMobDead11"
    ra_fild03,0,0,0,0	boss_monster	Atroce	1785,1,10800000,600000,"monster_points::OnMobDead12"
    ra_fild02,0,0,0,0	boss_monster	Atroce	1785,1,14400000,600000,"monster_points::OnMobDead13"
    ve_fild02,120,55,50,50	boss_monster	Atroce	1785,1,21600000,600000,"monster_points::OnMobDead14"
    ve_fild01,0,0,0,0	boss_monster	Atroce	1785,1,10800000,600000,"monster_points::OnMobDead15"
    abbey03,0,0,0,0	boss_monster	Beelzebub	1873,1,43200000,600000,"monster_points::OnMobDead16"
    abbey02,236,78,21,18	boss_monster	Fallen Bishop Hibram	1871,1,7200000,600000,"monster_points::OnMobDead17"
    abyss_03,0,0,0,0	boss_monster	Detardeurus	1719,1,10800000,600000,"monster_points::OnMobDead18"
    ama_dun03,0,0,0,0	boss_monster	Samurai Specter	1492,1,5460000,600000,"monster_points::OnMobDead19"
    anthell02,0,0,0,0	boss_monster	Maya	1147,1,7200000,600000,"monster_points::OnMobDead20"
    ayo_dun02,150,90,15,30	boss_monster	Lady Tanee	1688,1,25200000,600000,"monster_points::OnMobDead21"
    beach_dun,0,0,0,0	boss_monster	Tao Gunka	1583,1,18000000,600000,"monster_points::OnMobDead22"
    ein_dun02,0,0,0,0	boss_monster	RSX-0806	1623,1,7500000,600000,"monster_points::OnMobDead23"
    gef_dun02,0,0,0,0	boss_monster	Doppelganger	1046,1,7200000,600000,"monster_points::OnMobDead24"
    gef_dun01,0,0,0,0	boss_monster	Dracula	1389,1,3600000,600000,"monster_points::OnMobDead25"
    gl_chyard,0,0,0,0	boss_monster	Dark Lord	1272,1,3600000,600000,"monster_points::OnMobDead26"
    gld_dun04,0,0,0,0	boss_monster	Dark Lord	1272,1,28800000,600000,"monster_points::OnMobDead27"
    gld_dun03,0,0,0,0	boss_monster	Maya	1147,1,28800000,600000,"monster_points::OnMobDead28"
    gld_dun02,0,0,0,0	boss_monster	Doppelganger	1046,1,28800000,600000,"monster_points::OnMobDead29"
    gld_dun01,0,0,0,0	boss_monster	Eddga	1115,1,28800000,600000,"monster_points::OnMobDead30"
    gon_dun03,0,0,0,0	boss_monster	Evil Snake Lord	1418,1,5650000,600000,"monster_points::OnMobDead31"
    in_sphinx5,0,0,0,0	boss_monster	Pharaoh	1157,1,3600000,600000,"monster_points::OnMobDead32"
    jupe_core,0,0,0,0	boss_monster	Vesper	1685,1,7200000,600000,"monster_points::OnMobDead33"
    kh_dun02,0,0,0,0	boss_monster	Kiel D-01	1734,1,7200000,3600000,"monster_points::OnMobDead34"
    lhz_dun02,0,0,0,0	boss_monster	Egnigem Cenia	1658,1,7200000,600000,"monster_points::OnMobDead35"
    lou_dun03,0,0,0,0	boss_monster	White Lady	1630,1,7000000,600000,"monster_points::OnMobDead36"
    moc_pryd04,0,0,0,0	boss_monster	Osiris	1038,1,3600000,600000,"monster_points::OnMobDead37"
    moc_pryd06,102,85,1,1	boss_monster	Amon Ra	1511,1,3600000,600000,"monster_points::OnMobDead38"
    odin_tem03,0,0,0,0	boss_monster	Valkyrie Randgris	1751,1,28800000,600000,"monster_points::OnMobDead39"
    pay_dun04,120,115,0,0	boss_monster	Moonlight Flower	1150,1,3600000,600000,"monster_points::OnMobDead40"
    prt_maze03,0,0,0,0	boss_monster	Baphomet	1039,1,7200000,600000,"monster_points::OnMobDead41"
    prt_sewb4,0,0,0,0	boss_monster	Golden Thief Bug	1086,1,3600000,600000,"monster_points::OnMobDead42"
    ra_san05,0,0,0,0	boss_monster	Gloom Under Night	1768,1,18000000,600000,"monster_points::OnMobDead43"
    thor_v03,0,0,0,0	boss_monster	Ifrit	1832,1,39600000,600000,"monster_points::OnMobDead44"
    treasure02,101,151,8,8	boss_monster	Drake	1112,1,7200000,600000,"monster_points::OnMobDead45"
    tur_dun04,99,93,20,20	boss_monster	Turtle General	1312,1,3600000,600000,"monster_points::OnMobDead46"
    xmas_dun02,0,0,0,0	boss_monster	Stormy Knight	1251,1,3600000,600000,"monster_points::OnMobDead47"
    // etc..
    
    -	script	monster_points	-1,{
    OnMobDead1:// bapho
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;// give points to the killer
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";// display the points
    	end;
    OnMobDead2:// tao
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead3:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead4:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead5:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead6:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead7:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead8:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead9:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead10:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead11:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead12:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead13:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead14:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead15:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead16:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead17:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead18:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead19:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead20:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead21:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead22:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead23:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead24:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead25:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead26:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead27:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead28:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead29:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead30:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead31:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead32:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead33:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead34:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead35:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead36:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead37:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead38:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead39:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead40:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead41:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead42:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead43:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead44:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead45:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead46:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    OnMobDead47:// 
    	.@points = 1;
    	#monster_points = #monster_points + .@points ;
    	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
    	end;
    
    }
    // etc..
    

    plz i use atm those scripts.... one for treasure chest on woe... the other one to get mob_points but when i @reloadscript they summon again :C

  12. Hi... i've this script:

    poring_w02,97,202,5	script	Skull Points	63,{
    	.@char_id = getcharid(0);
    	.@count = countitem( 7420 ) - countitem2( 7420, 1,0,0, 254, 0, .@char_id, 0 );	// can't exchange his own skull
    
    	mes "You have "+ .@count +" skull.";
    	if ( .@count == 0 ) close;
    	mes "Exchange your pvp skulls ?";
    	next;
    	if ( select( "~ Yes", "~ No" ) -1 ) end;
    	.@count = countitem( 7420 ) - countitem2( 7420, 1,0,0, 254, 0, .@char_id, 0 );
    	getinventorylist;
    	while( .@i < @inventorylist_count && .@j < .@count ) {
    		if ( @inventorylist_id[.@i] == 7420 && @inventorylist_card3[.@i] != .@char_id ) {
    			delitem2 7420, @inventorylist_amount[.@i],1,0,0, @inventorylist_card1[.@i], 0, @inventorylist_card3[.@i], 0;
    			.@j++;
    		}
    		.@i++;
    	}
    	#skull_points = #skull_points + .@count;
    	mes "You got "+ .@count +" Skull points. Total: "+ #skull_points +" Skull points.";
    	close;
    }
    
    

    works but i tried to use this: http://svn.code.sf.net/p/rathena/svn/trunk/npc/custom/quests/quest_shop.txt

     

    but just i can't.... i tried alot of times changing but i cant :C anyone can help me?

     

    i also tried with this.... but the npc doesnt count me the skull_points and neither show me the items...

    poring_w02,103,203,5	script	Skull Trader	405,{
    	mes .name$;
    	mes "Tenes "+countitem(.slulltcg_item)+" "+getitemname(.skulltcg_item);
    	mes "¿Queres mirar los items?";
    	next;
    	if(select("Si:No") == 2) {
    	close;
    }
    	close2;
    	callshop "SKULLTCG_SHOP",1;
    	npcshopattach "SKULLTCG_SHOP";
    	dispbottom "Tenes "+countitem(.skulltcg_item)+" "+getitemname(.skulltcg_item);
    	end;
    
    OnBuyItem:
    	for(set @i,0; @i < getarraysize(@bought_nameid); set @i,@i+1) {
    	for(set @j,0; @j < getarraysize(.SKULLTCG_ITEMS); set @j,@j+2) {
    	if(.SKULLTCG_ITEMS[@j] == @bought_nameid[@i]) {
    	set @itemcost,(.SKULLTCG_ITEMS[(@j+1)]*@bought_quantity[@i]);
    	set @totalcost,(@totalcost+@itemcost);
    	break;
    }
    }
    }
    	if(@totalcost > countitem(.skulltcg_item)) {
    	dispbottom "No tenes suficientes "+getitemname(.skulltcg_item);
    }
    	else {
    	for(set @i,0; @i < getarraysize(@bought_nameid); set @i,@i+1) {
    	getitem @bought_nameid[@i],@bought_quantity[@i];
    }
    	delitem .skulltcg_item,@totalcost;
    	dispbottom "Gracias por tu compra.";
    	dispbottom "Tenes "+countitem(.skulltcg_item)+" "+getitemname(.skulltcg_item);
    }
    	set @totalcost,0;
    	deletearray @bought_nameid[0],128;
    	deletearray @bought_quantity[0],128;
    	end;
    
    OnInit:
    	npcshopdelitem "SKULLTCG_SHOP",909;                   // Deja esto
    	set .name$,"[Trading Card Game Shop]";
    	set .skulltcg_item,#skull_points;                               // Mete la Id de las TCG Card
    	setarray .SKULLTCG_ITEMS[0],29111,50,29112,50,29113,50,29114,50,29115,50,29188,75,29189,75,12903,1,12904,1,12905,1,12906,1,12907,1,12908,1,7959,2,13607,3,7091,1;       // Aca pones los items que quieras IdItem,Precio
    	for(set .@i,0; .@i < getarraysize(.TCG_ITEMS); set .@i,.@i+2) {
    	npcshopadditem "SKULLTCG_SHOP",.SKULLTCG_ITEMS[.@i],.SKULLTCG_ITEMS[(.@i+1)];
    }
    }
    
    -	shop	SKULLTCG_SHOP	139,909:1
    
    
    

    please help ^^

     

  13. i checked an item and edit Yggdrasil Leaf script to lv 1 to lv 5. after some player use that item... the character crash :s and happen that problem atm i delete the script of that item but... idk why happen that. yep i'll try to back up files keeping an eye of everything changes i did im hope that i can find the problem cuz is so annoying i try delete character and re-create with sql but on another character slot, but still the problem....

  14. Hi, as the title say since i tried to edit something on source and other stuff (reducing star gladistor's feeling skill's damage, max characters per account,etc) some players got some troubles like this... when they log-out and try to choose once again their character that character only that... can login.... i check sql and inventory and everything its ok so they dont lost items, but they just can log :/ i take some screen shots to check the problem plz... i need some help with idk what's the problem...

     

    kLU7JqT.jpg?1

    after i choose the character... i've to wait some time

     

    HXDG5Y2.jpg?1

     

    then finally...

     

    ksSZtMq.jpg?1

    im using rAthena version SVN v.17708.

     

    PD: idk if i a source support or is script support i though this is the correctp lace to post this, if not... plz tell me to move it and place on the correct section.

  15. sobre pasarla a una db no creo tener problema en si, lo unico que desconoceria en si, seria como aplicar la lectura o la forma para checar la MAC de determinado usuario, de hecho anteriormente segun encontre algo similar, pero fue solo 1 post antiguo y no le tome mucha importancia, entonces debe ser via cliente segun mencionas, tienes tu algun patron el cual me puedas aconseguir a seguir, para que trate yo de implementarlo?, es decir la modificacion al cliente para leer la MAC del usuario.

     

    Thx por leer y dar reply ^^ 

  16. Buenas c: posiblemente este poniendo esto en el lado que no es... si es asi decirme donde ponerlo porfa ya que ni en el support de ingles supe donde ponerlo....

     

    [If you only understand english check below]

     

    Tengo un problema... actualmente uso un Rathena  SVN r.17708 tengo problemas con un usuario... posiblemente alguno ya paso por eso... el tipico usuario que no se cansa de cambiar ip y crear cuenta... anteriormente en otro server donde era admin, tenian implementado el ban por MAC Address buscando informacion supe que solo Harmony poseia algo asi, sin embargo leyendo me percate que segun Harmony ya esta algo desactualizado... asi que me duda o pregunta seria si alguno tiene el conocimiento de como implementar esto a mi servidor o bien... alguna manera de conseguir el harmony funcional... del harmony solo me interesa por esto... y me resulta molestozo andar baneado ip a cada rato... me resulta mejor con MAC Address..

     

    Well i've a problem im using atm Rathena SVN r.17708, my problem is with an user that myb you know that exist some people that can reset their IP easily make a new account and keeping doing spam and everything on main town.... some time ago when i was admin of another server there were implemented that "MAC Address ban" so i tried to bought harmony but without an answer from their support.... so.... anyone here know any way to add this system to my server? im really need add this... or anyone here know how can i contact the harmony's owner or something like... well thx for at least read... ^^

     

    Un gusto y gracias c:

×
×
  • Create New...