Jump to content
  • 0

Requesting Command


Limestone

Question


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

i would like to request a command "@checkpoints"

this command will check how many points in your account like Cash points, Event Points, Vote Points. thank you

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

anyway..you can do it in a very easy way now without any src mod....

- script Sample -1,{
OnInit:
bindatcmd("checkpoints","Sample::OnAtcommand");
end;
OnAtcommand:
dispbottom "Cash Point : "+#CASHPOINTS+" Points.";
dispbottom "Event Point : "+#EVENTPOINTS+" Points.";
dispbottom "Vote Point : "+#VOTEPOINTS+" Points.";
end;
}

make sure you are using the latest rAthena....

otherwise you have to diff the bindatcmd command at your own.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  07/03/12
  • Last Seen:  

anyway..you can do it in a very easy way now without any src mod....

- script Sample -1,{
OnInit:
bindatcmd("checkpoints","Sample::OnAtcommand");
end;
OnAtcommand:
dispbottom "Cash Point : "+#CASHPOINTS+" Points.";
dispbottom "Event Point : "+#EVENTPOINTS+" Points.";
dispbottom "Vote Point : "+#VOTEPOINTS+" Points.";
end;
}

make sure you are using the latest rAthena....

otherwise you have to diff the bindatcmd command at your own.

how to use this??

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

i would like to request a command "@checkpoints"
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

I think he means what to do with it.

anyway here's what you do.

1. save it as <name>.txt inside
/rAthena/trunk/npc/custom
2. edit scripts_custom.conf and add
npc: npc/custom/<name>.txt
3. run your server, no need to recompile.
4. try the command.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  07/03/12
  • Last Seen:  

im using 3ceam..

i can use this script?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  292
  • Reputation:   17
  • Joined:  12/12/11
  • Last Seen:  

im using 3ceam..

i can use this script?

Nope, this is still not supported on 3ceam..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  07/03/12
  • Last Seen:  

got other script that support 3Ceam?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

you can try apply this diff if you want..

http://trac.rathena.org/changeset/16471/rathena

not really sure this is compatible with 3ceam or not...

make sure you backup before apply...

if this cant work...try the original file post by ToastOfDoom in eA there...

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