Jump to content
  • 0

@charinfo


Tassadar

Question


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.02
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/21/16
  • Last Seen:  

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.

 

 

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.02
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/21/16
  • Last Seen:  

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 ???

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

script_constants.hpp below:

	/* parameters */

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.02
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/21/16
  • Last Seen:  

Thank you very much.

 

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...