Jump to content
  • 0

Question

Posted

Gold night. I see the command @charinfo in some servers.

I need this. I m may pay. If it, please, pm me.

@charinfo:

Show in chat window:

Caracter lvl:175/50

Def:91,6

Aspd: 191,5 <- 1 descimal

Resistences, 

Matck.

Atack

And others caracters bonuses and penalty.

Tks for help me.

 

 

 

4 answers to this question

Recommended Posts

  • 1
Posted

If this works then it just lacks all the bonuses and resistances and things, but that's really something, because there're so many of them

-	script	Char_Info	-1,{

OnCommand:

	if(!.@atcmd_numparameters) {
		message strcharinfo(0),"Usage: @charinfo <player>";
	} else {
		.@player$ = implode(.@atcmd_parameters$," ");
		.@aid = getcharid(3,.@player$);
		.@cid = getcharid(0,.@player$);
		if(isloggedin(.@aid,.@cid)) {
			.@blvl = readparam(BaseLevel,.@cid);
			.@jlvl = readparam(JobLevel,.@cid);
			.@def = readparam(bDef,.@cid);
			.@aspd = readparam(bAspd,.@cid);
			.@matk = readparam(bMatk,.@cid);
			.@atk = readparam(bAtk,.@cid);
			.@hit = readparam(bHit,.@cid);
			.@flee = readparam(bFlee,.@cid);
			message strcharinfo(0),"Character level: "+.@blvl+"/"+.@jlvl;
			message strcharinfo(0),"Def: "+.@def;
			message strcharinfo(0),"ASPD: "+.@aspd;
			message strcharinfo(0),"MATK: "+.@matk;
			message strcharinfo(0),"ATK: "+.@atk;
			message strcharinfo(0),"HIT: "+.@hit;
			message strcharinfo(0),"Flee: "+.@flee;
		} else {
			message strcharinfo(0),"Character not found.";
		}
	}
	end;

OnInit:

	bindatcmd "charinfo","Char_Info::OnCommand",60;
	end;

}

 

  • MVP 1
  • 0
Posted

it was amazing. Thank you very much. I finally got it.
Could you tell me where I find a list of these parameters? From what list did you get the bAspd ... bMatk ???

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...