Tassadar Posted November 28, 2018 Posted November 28, 2018 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. Quote
1 n0tttt Posted November 30, 2018 Posted November 30, 2018 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; } 1 Quote
0 Tassadar Posted November 30, 2018 Author Posted November 30, 2018 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 ??? Quote
0 n0tttt Posted November 30, 2018 Posted November 30, 2018 script_constants.hpp below: /* parameters */ Quote
Question
Tassadar
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.