Jump to content

kn16

Members
  • Posts

    28
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by kn16

  1.  

    ah Finally a creative use of NPCs & Sprites :)

    Excellent work  /gawi

    true.. .it look much lively using custom sprite xD

     

     

    previously I just did it using mob sprite ... >.<    it look suck ...

     

     

    @Topic Starter

    So you roughly created 800+ sprites?

    consider there exists 400+ monster cards

    1 for card background, 1 for monster card displays

     

    @Emistry Nope i only created 1 for the back of the card and make it animated, then i create approximately another 160 monster front cards with the point number on the right corner categorizing by how strong the monsters are. Cos i only need some amount for the matching mini-game of around 40-50 cards mixing in strength

     

     

    Hey that sounds even cooler  :D

     

    I'd love to work on the script if you need any help ^^

     

    Can't wait to see it completed !

    @kuro if you wanna test it, i'll put dropbox link on the topic in about half an hour after i finish drying my clothes (just finished washing), though it's still in early process as you can c in youtube i've only tested how well the script do about shuffling and picking, and the file i posted on thai forum include only 24 10 point cards sprites for testing with the scripts and the example text file for copying and paste to lub files (jobname and npcidentity), you need to change npc.h as well cos i use npcid 10114-10139 for this script.

     

    ps1. about the shuffling algorithm, i created it myself, it might not be so good.

    ps2. don't really wanna put it here after i test uploading my last script here and it took almost a month for someone to approve my script, sorry, feel like to complain, therefore every scripts of mine are still on the thai forum...

  2. Thank you everyone

     

    Really nice man, keep it up /no1

    With a little map for this minigame it would be perfect /ok

    Hi kuro

    Actually i intend to make the mini game inspired by manga toriko, see it here http://www.mangareader.net/toriko/164

    Roughly,there're 2 players and each take turn picking cards, if the card match, one can choose to fight the monster from the card and get the points or pass it, the game is decided by points.

     

    Another idea is to have players get some items or coupons to get the chance to draw the cards and get cash from the cards, there're 10 point cards to 250 point cards..

     

    there're also hit and miss card same as in the manga...

  3. I also posted 2 files but I'm not in a hurry I just wonder if I forgot something or if they're just busy.

    Also one of them is available in this topic since it was a request but I don't know if I have the right to do that.

     

    Anyway please keep me informed.

     At first i didn't think at all about what Annie said...

    but it seems true,because of many things, il semble que ra soit le passé, et pourquoi on se déplacera pas vers her?

  4. i tried uploading my FREE script using cutin in the script download section since almost 3 weeks ago.

    I really wonder why my script didn't get any approval to be made public, and no warning no notification no reason, it's just there but with only few people able to see it (which i assume it should be moderator) and it's still invisible to members.

    Or do i have to upload my other scripts with paid price for selling to others who might wanna use or see my scripts to get approval?

     

    I don't know who is responsible for this script approval thing, but 3 weeks, it's just too ridiculous, don't you think?

  5.  

    what if you put comma after "kh_dun02"

     

    i think you should use the first script you already had, but look at this line

    bindatcmd "killboss", strnpcinfo(3) +"::OnKillBoss", 99, 99;
    

    Look at rathena wiki syntax

        bindatcmd "command","<NPC object name>::<event label>"{,<atcommand level>,<charcommand level>}; 
    

    at the end of the line 99,99 means that this command will be lv99 atcommand and it's authorized for character or gm grouplv99,

    So from what i saw in the script, you just need to change only atcommand level and charcommand level then it'll be fine.

    the 1st code error is nothing happen.. cant use @killboss command.

     

    put comma after "kh_dun02" and on this line

    sleep .delay;
    
    //change it to
    
    sleep2 .delay;
    

    it works for me

    can u gv me full code.. i try it but noting happen.

    
    -	script	killboss	-1,{
    
    	OnInit:
    		// Desired maps to clear
    		setarray .map$[0],	"abbey02",	// Fallen Bishop Hibram
    							"abbey03",	// Beelzebub
    							"abyss_03",	// Detale
    							"ama_dun03",	// Samurai Specter
    							"anthell02",	// Maya
    							"ayo_dun02",	// Lady Tanee
    							"beach_dun",	// Tao Gunka
    							"ein_dun02",	// RSX-0806
    							"gef_dun01",	// Dracula
    							"gef_dun02",	// Doppelganger
    							"gef_fild02",	// Orc Hero
    							"gef_fild10",	// Orc Lord
    							"gef_fild14",	// Orc Hero
    							"gl_chyard",	// Dark Lord
    							"gld_dun01",	// Eddga
    							"gld_dun02",	// Doppelganger
    							"gld_dun03",	// Maya
    							"gld_dun04",	// Dark Lord
    							"gon_dun03",	// Evil Snake Lord
    							// "ice_dun03",	// Ktullanux
    							"in_sphinx5",	// Pharaoh
    							"jupe_core",	// Vesper
    							"kh_dun02",	// Kiel D-01
    							"lhz_dun02",	// Egnigem Cenia
    							// "lhz_dun03",	// Assassin Cross Eremes, High Priest Margaretha, High Wizard Kathryne, Lord Knight Seyren, Sniper Cecil, Whitesmith Howard
    							"lou_dun03",	// White Lady
    							"mjolnir_04",	// Mistress
    							"moc_fild17",	// Phreeoni
    							"moc_pryd04",	// Osiris
    							"moc_pryd06",	// Amon Ra
    							"mosk_dun03",	// Zmey Gorynych
    							// "niflheim",	// Lord of Death
    							"odin_tem03",	// Valkyrie Randgris
    							"pay_dun04",	// Moonlight Flower
    							"pay_fild11",	// Eddga
    							"prt_maze03",	// Baphomet
    							"prt_sewb4",	// Golden Thief Bug
    							"ra_fild02",	// Atroce
    							"ra_fild03",	// Atroce
    							"ra_fild04",	// Atroce
    							"ra_san05",	// Gloom Under Night
    							"thor_v03",	// Ifrit
    							"treasure02",	// Drake
    							"tur_dun04",	// Turtle General
    							"ve_fild01",	// Atroce
    							"ve_fild02",	// Atroce
    							"xmas_dun02",	// Stormy Knight
    							"xmas_fild01";	// Garm
    							
    		// Execution offset (in ms) to reduce server load
    		.delay = 50;
    		
    		// Create atcommand @killboss
    		bindatcmd "killboss", strnpcinfo(3) +"::OnKillBoss", 99, 99;
    		end;
    
    	OnKillBoss:
    		// Loop through all maps
    		for (.@i = 0; .@i < getarraysize(.map$); .@i++) {
    			// Kill all monsters on current map
    			killmonsterall .map$[.@i];
    			
    			// Slow down script execution (reduces load)
    			sleep2 .delay;
    		}
    	
    		message strcharinfo(0), .@i +" boss maps have been cleared.";
    		end;
    	
    }
    

     

     

    this is my present code after editing your code

    -	script	killboss	-1,{
    
    	OnInit:
    		// Desired maps to clear
    		setarray .map$[0],	"abbey02",	// Fallen Bishop Hibram
    							"abbey03",	// Beelzebub
    							"abyss_03",	// Detale
    							"ama_dun03",	// Samurai Specter
    							"anthell02",	// Maya
    							"ayo_dun02",	// Lady Tanee
    							"beach_dun",	// Tao Gunka
    							"ein_dun02",	// RSX-0806
    							"gef_dun01",	// Dracula
    							"gef_dun02",	// Doppelganger
    							"gef_fild02",	// Orc Hero
    							"gef_fild10",	// Orc Lord
    							"gef_fild14",	// Orc Hero
    							"gl_chyard",	// Dark Lord
    							"gld_dun01",	// Eddga
    							"gld_dun02",	// Doppelganger
    							"gld_dun03",	// Maya
    							"gld_dun04",	// Dark Lord
    							"gon_dun03",	// Evil Snake Lord
    							// "ice_dun03",	// Ktullanux
    							"in_sphinx5",	// Pharaoh
    							"jupe_core",	// Vesper
    							"kh_dun02",	// Kiel D-01
    							"lhz_dun02",	// Egnigem Cenia
    							// "lhz_dun03",	// Assassin Cross Eremes, High Priest Margaretha, High Wizard Kathryne, Lord Knight Seyren, Sniper Cecil, Whitesmith Howard
    							"lou_dun03",	// White Lady
    							"mjolnir_04",	// Mistress
    							"moc_fild17",	// Phreeoni
    							"moc_pryd04",	// Osiris
    							"moc_pryd06",	// Amon Ra
    							"mosk_dun03",	// Zmey Gorynych
    							// "niflheim",	// Lord of Death
    							"odin_tem03",	// Valkyrie Randgris
    							"pay_dun04",	// Moonlight Flower
    							"pay_fild11",	// Eddga
    							"prt_maze03",	// Baphomet
    							"prt_sewb4",	// Golden Thief Bug
    							"ra_fild02",	// Atroce
    							"ra_fild03",	// Atroce
    							"ra_fild04",	// Atroce
    							"ra_san05",	// Gloom Under Night
    							"thor_v03",	// Ifrit
    							"treasure02",	// Drake
    							"tur_dun04",	// Turtle General
    							"ve_fild01",	// Atroce
    							"ve_fild02",	// Atroce
    							"xmas_dun02",	// Stormy Knight
    							"xmas_fild01";	// Garm
    							
    		// Execution offset (in ms) to reduce server load
    		.delay = 50;
    		
    		// Create atcommand @killboss
    		bindatcmd "killboss", strnpcinfo(3) +"::OnKillBoss", 99, 99;
    		end;
    
    	OnKillBoss:
    		// Loop through all maps
    		for (.@i = 0; .@i < getarraysize(.map$); .@i++) {
    			// Kill all monsters on current map
    			killmonsterall .map$[.@i];
    			
    			// Slow down script execution (reduces load)
    			sleep2 .delay;
    		}
    		
    		message strcharinfo(0), "at last"+.@i +" boss maps have been cleared.";
    		end;
    	
    }
    
  6. what if you put comma after "kh_dun02"


     

    i think you should use the first script you already had, but look at this line

    bindatcmd "killboss", strnpcinfo(3) +"::OnKillBoss", 99, 99;
    

    Look at rathena wiki syntax

        bindatcmd "command","<NPC object name>::<event label>"{,<atcommand level>,<charcommand level>}; 
    

    at the end of the line 99,99 means that this command will be lv99 atcommand and it's authorized for character or gm grouplv99,

    So from what i saw in the script, you just need to change only atcommand level and charcommand level then it'll be fine.

    the 1st code error is nothing happen.. cant use @killboss command.

     

    put comma after "kh_dun02" and on this line

    sleep .delay;
    
    //change it to
    
    sleep2 .delay;
    

    it works for me

  7. Try this, in this part

     for( set .@party,0; .@party < 2; set .@party,.@party + 1 ){
                                getpartymember .Team[.@party],1;
                                for( set .@i,0; .@i < .No; set .@i,.@i + 1 )
                                    warpchar .Map$,0,0,$@partymembercid[.@i];
     }
    

    change to this and change x,y coordinate of the 2 lines in there for team 1 and team 2

     for( set .@party,0; .@party < 2; set .@party,.@party + 1 ){
                                getpartymember .Team[.@party],1;
                                for( set .@i,0; .@i < .No; set .@i,.@i + 1 )
                                    if(.@party==0){warpchar .Map$,0,0,$@partymembercid[.@i]; //change 0,0 to x,y location
                                    }else{warpchar .Map$,0,0,$@partymembercid[.@i];}    //change 0,0 to x,y location
     }
    

    then this

    }
    end;
    }
    

    change to this

    }
    setcell .Map$,x1,y1,x2,y2,cell_walkable,0;  // replace x,y to cover first team starting point
    setcell .Map$,x1,y1,x2,y2,cell_walkable,0;  // replace x,y to cover second team starting point
    mapannounce .Map$,"Get Ready",0;
    sleep2 1000;
    mapannounce .Map$,"3",0;
    sleep2 1000;
    mapannounce .Map$,"2",0;
    sleep2 1000;
    mapannounce .Map$,"1",0;
    sleep2 1000;
    setcell .Map$,x1,y1,x2,y2,cell_walkable,1;  // replace x,y to cover first team starting point
    setcell .Map$,x1,y1,x2,y2,cell_walkable,1;  // replace x,y to cover second team starting point
    end;
    }
    
  8. First, this should be in script support, the next time you post this kind of topic, put it there

    or maybe i'm wrong, i'm used to the forum i always use, there is no script request there...

    To set separate reward, look here

    OnInit:
    	setarray .Castles$[0],
    		"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05",
    		"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05",
    		"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05",
    		"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05",
    		"arug_cas01","arug_cas02","arug_cas03","arug_cas04","arug_cas05",
    		"schg_cas01","schg_cas02","schg_cas03","schg_cas04","schg_cas05";
    

    add this on the next line and keep end; at the bottom, also change all castle maps in quotes to your item ids as i put 7227 there without quote.

    setarray .Rewards[0],
    		7227,"prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05",
    		"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05",
    		"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05",
    		"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05",
    		"arug_cas01","arug_cas02","arug_cas03","arug_cas04","arug_cas05",
    		"schg_cas01","schg_cas02","schg_cas03","schg_cas04","schg_cas05";
    

    then at this line

    getitem 7227,50;  //Set your prize here!
    
    //change it to
    
    getitem .Rewards[.@i],50;
    
    • Upvote 1
  9. i think you should use the first script you already had, but look at this line

    bindatcmd "killboss", strnpcinfo(3) +"::OnKillBoss", 99, 99;
    

    Look at rathena wiki syntax

        bindatcmd "command","<NPC object name>::<event label>"{,<atcommand level>,<charcommand level>}; 
    

    at the end of the line 99,99 means that this command will be lv99 atcommand and it's authorized for character or gm grouplv99,

    So from what i saw in the script, you just need to change only atcommand level and charcommand level then it'll be fine.

  10. you just have to change variable config at the bottom of the code

    First part :

    if(@consecutive_hour == 3) { //change 3 to 6
    

    Second part :

    OnInit:
        set .timer, 1000*60*60; //Timer in milliseconds.   change to 1000*60*10 or 1000*600
        set .cpoint_amt, 50; //Points gained for consecutive time online. change 50 to 4
        set .point_amt, 10; //Normal points gained.            change 10 to 1
        set .delay, 1000; //Delay for idle re-check check.
        set .dlimit, 60*5; //Stop points if afk greater then in seconds.
    }
    

    you also gotta change the display message for players

    And thank you, i'll post this script on the forum i use

×
×
  • Create New...