Jump to content
  • 0

R>MOD Freebies that can choose STR/INT/DEX type etc


chromus28

Question


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

hi guys does anyone have a freebies npc that player can choose str/dex/agi/vit/luk/int type?? please anyone??

 

 

 

 

or this

 

 a freebies npc that player can choose str/dex/agi/vit/luk/int type + Instant job level once per account only


Anyone?? T_T
Link to comment
Share on other sites

16 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  


prontera,150,150,0 script Freebies 100,{

if ( #claimed ) end;

mes "Choose your type";

next;

switch( select( "Strength:Agility:Vitality:Intelligence:Dexterity:Luck" ) ) {

case 1: //getitem <item id>,<amount>

//getitem <item id>,<amount>

//...

break;

case 2: //getitem <item id>,<amount>

//getitem <item id>,<amount>

//...

break;

case 3: //getitem <item id>,<amount>

//getitem <item id>,<amount>

//...

break;

case 4: //getitem <item id>,<amount>

//getitem <item id>,<amount>

//...

break;

case 5: //getitem <item id>,<amount>

//getitem <item id>,<amount>

//...

break;

case 6: //getitem <item id>,<amount>

//getitem <item id>,<amount>

//...

break;

default: break;

}

mes "Good luck!";

set #claimed, 1;

close;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

prontera,150,150,0	script	Freebies	100,{
	if ( #claimed ) end;
	mes "Choose your type";
	next;
	switch( select( "Strength:Agility:Vitality:Intelligence:Dexterity:Luck" ) ) {
		case 1: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		case 2: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		case 3: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		case 4: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		case 5: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		case 6: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		default: break;
	}
	mes "Good luck!";
	set #claimed, 1;
	close;
}

wow thanks!!

btw is it possible if this script with instant job level once per account?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

BaseLevel = 255;
JobLevel = 120;

Change value to your max level/job

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

BaseLevel = 255;
JobLevel = 120;
Change value to your max level/job

what i mean is the script that u gave it to me will be going to have an instant job level script with it too.. coz i found some script freebies npc that they will give u the freebies first then the npc will ask u if what job what u want and you can be instant level once

but you cannot choose freebies

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

prontera,150,150,0	script	Freebies	100,{
	if ( #claimed ) end;
	mes "Choose your type";
	next;
	switch( select( "Strength:Agility:Vitality:Intelligence:Dexterity:Luck" ) ) {
		case 1: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		case 2: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		case 3: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		case 4: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		case 5: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		case 6: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		default: break;
	}
	mes "Good luck!";
	set #claimed, 1;
	close;
}

Sir patskie the npc didnt give anything when i click it?

 

i made it like this

prontera,150,150,0	script	Freebies	100,{
	if ( #claimed ) end;
	mes "Choose your type";
	next;
	switch( select( "Strength:Agility:Vitality:Intelligence:Dexterity:Luck" ) ) {
		case 1: //getitem 7227,1,607,10
				//getitem <item id>,<amount>
				//...
				break;
		case 2: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		case 3: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		case 4: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		case 5: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		case 6: //getitem <item id>,<amount>
				//getitem <item id>,<amount>
				//...
				break;
		default: break;
	}
	mes "Good luck!";
	set #claimed, 1;
	close;
}

but nothing happen.. no error though...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

hehehe you have to delete this // 

that means inside the script that you are commenting something, so it wont take effect on the whole script doc.

hmm there is another problem, you didn't add at the end of getitem

for what i know, means the end of a stament to execute 

so at the end, it would be like this the first case 1

		case 1:         
		getitem 7227,1; //lol
		getitem 607,10; //rmemeber to end with a ;
				//this is a comment
				break; //try the other ones by yourself o;!

i almost forgot

after putting this in a line of script //

from that start of // untile the end, it wont take effect on the script doc

 

you can also use this /*  and */ 

that means that this will start a comment /* and this will the end of the comments */

 

so you don't have to // a lot of line sin the script

 

even you can use it in the line to specify a part of the script to dont take effect

 

here is an example

2006,G_Staff_Of_Light,Staff Of Light,4,20,,1900,80,,1,0,0x00810204,7,2,34,4,60,1,23,{ /* bonus bMatk,150; */ bonus bAtkEle,Ele_Holy; bonus bInt,6; },{},{}

that whole line will work except the bonus bMatk,150; because is inside the /* */ (:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

hehehe you have to delete this //

that means inside the script that you are commenting something, so it wont take effect on the whole script doc.

hmm there is another problem, you didn't add ; at the end of getitem

; for what i know, means the end of a stament to execute

so at the end, it would be like this the first case 1

		case 1:         
		getitem 7227,1; //lol
		getitem 607,10; //rmemeber to end with a ;
				//this is a comment
				break; //try the other ones by yourself o;!
i almost forgot

after putting this in a line of script //

from that start of // untile the end, it wont take effect on the script doc

you can also use this /* and */

that means that this will start a comment /* and this will the end of the comments */

so you don't have to // a lot of line sin the script

even you can use it in the line to specify a part of the script to dont take effect

here is an example

2006,G_Staff_Of_Light,Staff Of Light,4,20,,1900,80,,1,0,0x00810204,7,2,34,4,60,1,23,{ /* bonus bMatk,150; */ bonus bAtkEle,Ele_Holy; bonus bInt,6; },{},{}
that whole line will work except the bonus bMatk,150; because is inside the /* */ (:

Thanks :) sorry newbie here

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

meh don't worry, noone was born knowing things, except chuck norris lol well that's a different story

 

if you get any errors please let us know so we may help you, also please tell us the error i the console if any ;D!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

meh don't worry, noone was born knowing things, except chuck norris lol well that's a different story

if you get any errors please let us know so we may help you, also please tell us the error i the console if any ;D!

Thanks KidO!

meh don't worry, noone was born knowing things, except chuck norris lol well that's a different story

if you get any errors please let us know so we may help you, also please tell us the error i the console if any ;D!

I will try it now

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

yup np, you can look at my freebie npc (i didn't made it, credfits to the author lol) so you can take it as base

 

don't copy it because i have custom ids there so, you better just take a look at it (:

novice,52,46,5	script	Tairyu WP	123,{
    query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`= '" + getcharid(3) + "'", .@lip$);
    mes "Hola, bienvenida o bienvenido a Tairyu Ro.";
    mes "Yo te dare un pack de bienvenida segun el Stat que gustes, selecciona el mas indicado para el Job que seras.";
    mes "Disfruta del servidor, vota por nosotros cada 12 horas e invita amigos  diviertete mucho!";

    if(!#Freebie && ( getd("$" + .@lip$ + "_ASD") == 0 )) {
        mes "Selecciona un Job:";
        next;
        switch(select("VIT:INT:DEX:LUK:STR:AGI:Super Novice:Taekwon:Ninja:Gunslinger")) {
            case 1:
                getitem 13945,1; //VIT
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 2:
                getitem 13946,1; //INT
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 3:
                getitem 13948,1; //DEX
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;
                
            case 4:
                getitem 13947,1; //LUK
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;
            
            case 5:
                getitem 13949,1; //STR
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;
            
            case 6:
                getitem 13950,1; //AGI
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 7:
                getitem 27171,1; //SN
                getitem 27172,1; //SN
                getitem 27029,1; //SN
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 8:
                getitem 5122,1; //helm
                getitem 1564,1; //weapon
                getitem 1602,1; //weapon
                getitem 2104,1; //shield
                getitem 2536,1; //manteau
                getitem 2406,1; //shoes
                getitem 13949,1; //STR
                getitem 20100,1; //Item for Taekwon
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 9:
                getitem 2285,1; //helm
                getitem 2353,1; //shield
                getitem 13011,1; //weapon
                getitem 13302,1; //weapon
                getitem 2120,1; //shield
                getitem 2517,1; //manteau
                getitem 2418,1; //shoes
                getitem 2627,1; //acces
                getitem 13946,1; //INT
                getitem 20100,1; //Item for Ninja
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 10:
                getitem 2353,1; //Armor
                getitem 2406,1; //Shoes
                getitem 2536,1; //Manteau
                getitem 2728,1; //Accessory 1
                getitem 2783,1; //Accessory 2
                getitem 13948,1; //DEX
                getitem 20100,1; //Item for Gunslinger
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;
                
            }
            set #Freebie, 1;
            setd "$" + .@lip$ + "_ASD", getd("$" + .@lip$ + "_ASD") + 1;
            close;
    }
    OnInit:
    waitingroom "Pack de Bienvenida",0;
    end;
}

it's in spanish lol so don't mind

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

yup np, you can look at my freebie npc (i didn't made it, credfits to the author lol) so you can take it as base

don't copy it because i have custom ids there so, you better just take a look at it (:

novice,52,46,5	script	Tairyu WP	123,{
    query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`= '" + getcharid(3) + "'", .@lip$);
    mes "Hola, bienvenida o bienvenido a Tairyu Ro.";
    mes "Yo te dare un pack de bienvenida segun el Stat que gustes, selecciona el mas indicado para el Job que seras.";
    mes "Disfruta del servidor, vota por nosotros cada 12 horas e invita amigos  diviertete mucho!";

    if(!#Freebie && ( getd("$" + .@lip$ + "_ASD") == 0 )) {
        mes "Selecciona un Job:";
        next;
        switch(select("VIT:INT:DEX:LUK:STR:AGI:Super Novice:Taekwon:Ninja:Gunslinger")) {
            case 1:
                getitem 13945,1; //VIT
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 2:
                getitem 13946,1; //INT
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 3:
                getitem 13948,1; //DEX
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;
                
            case 4:
                getitem 13947,1; //LUK
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;
            
            case 5:
                getitem 13949,1; //STR
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;
            
            case 6:
                getitem 13950,1; //AGI
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 7:
                getitem 27171,1; //SN
                getitem 27172,1; //SN
                getitem 27029,1; //SN
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 8:
                getitem 5122,1; //helm
                getitem 1564,1; //weapon
                getitem 1602,1; //weapon
                getitem 2104,1; //shield
                getitem 2536,1; //manteau
                getitem 2406,1; //shoes
                getitem 13949,1; //STR
                getitem 20100,1; //Item for Taekwon
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 9:
                getitem 2285,1; //helm
                getitem 2353,1; //shield
                getitem 13011,1; //weapon
                getitem 13302,1; //weapon
                getitem 2120,1; //shield
                getitem 2517,1; //manteau
                getitem 2418,1; //shoes
                getitem 2627,1; //acces
                getitem 13946,1; //INT
                getitem 20100,1; //Item for Ninja
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 10:
                getitem 2353,1; //Armor
                getitem 2406,1; //Shoes
                getitem 2536,1; //Manteau
                getitem 2728,1; //Accessory 1
                getitem 2783,1; //Accessory 2
                getitem 13948,1; //DEX
                getitem 20100,1; //Item for Gunslinger
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;
                
            }
            set #Freebie, 1;
            setd "$" + .@lip$ + "_ASD", getd("$" + .@lip$ + "_ASD") + 1;
            close;
    }
    OnInit:
    waitingroom "Pack de Bienvenida",0;
    end;
}
it's in spanish lol so don't mind

wow thanks hahaha i love u !!!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

cool xD report errors if any ok (:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

cool xD report errors if any ok (:

sir is this a IP bound?? i want an account bound only not ip bound

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

the script i gave yes, it is bound, the one that patskie said is not o:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

the script i gave yes, it is bound, the one that patskie said is not o:

Oh ok :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

there, jsut change the ids as you wish, it should work, account based

novice,52,46,5	script	Tairyu WP	123,{
    mes "Hola, bienvenida o bienvenido a Tairyu Ro.";
    mes "Yo te dare un pack de bienvenida segun el Stat que gustes, selecciona el mas indicado para el Job que seras.";
    mes "Disfruta del servidor, vota por nosotros cada 12 horas e invita amigos  diviertete mucho!";

    if(!#Freebie && ( getd("$" + .@lip$ + "_ASD") == 0 )) {
        mes "Selecciona un Job:";
        next;
        switch(select("VIT:INT:DEX:LUK:STR:AGI:Super Novice:Taekwon:Ninja:Gunslinger")) {
            case 1:
                getitem 13945,1; //VIT
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 2:
                getitem 13946,1; //INT
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 3:
                getitem 13948,1; //DEX
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;
                
            case 4:
                getitem 13947,1; //LUK
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;
            
            case 5:
                getitem 13949,1; //STR
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;
            
            case 6:
                getitem 13950,1; //AGI
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 7:
                getitem 27171,1; //SN
                getitem 27172,1; //SN
                getitem 27029,1; //SN
                getitem 20100,1; //Welcome Pack
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 8:
                getitem 5122,1; //helm
                getitem 1564,1; //weapon
                getitem 1602,1; //weapon
                getitem 2104,1; //shield
                getitem 2536,1; //manteau
                getitem 2406,1; //shoes
                getitem 13949,1; //STR
                getitem 20100,1; //Item for Taekwon
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 9:
                getitem 2285,1; //helm
                getitem 2353,1; //shield
                getitem 13011,1; //weapon
                getitem 13302,1; //weapon
                getitem 2120,1; //shield
                getitem 2517,1; //manteau
                getitem 2418,1; //shoes
                getitem 2627,1; //acces
                getitem 13946,1; //INT
                getitem 20100,1; //Item for Ninja
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;

            case 10:
                getitem 2353,1; //Armor
                getitem 2406,1; //Shoes
                getitem 2536,1; //Manteau
                getitem 2728,1; //Accessory 1
                getitem 2783,1; //Accessory 2
                getitem 13948,1; //DEX
                getitem 20100,1; //Item for Gunslinger
		  getitem 14545,3; //Manual Exp 300%
		  getitem 4142,1; //Doppel card
                break;
                
            }
            set #Freebie, 1;
            close;
    }
    OnInit:
    waitingroom "Welcome Packs",0;
    end;
}

i want yo to learn so you wont depend in others D:! i actually do xD but not for the simpliest tasks o;

 

also remember to change maps D:!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...