Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ Running the server
➜ qp as an avatar
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Gorock
(149 posts) Bio
|
| Date
| Sun 18 Sep 2005 12:29 AM (UTC) |
| Message
| yeah i am trying to implement in getting qp after each kill that you get as anavatar and i have been serching yahoo and cool even ask jeeves but i have not been able to find out how to implement it so that avatars get qp instead of exp after each kill that way my qpbuy code will actually be used
thanks in advance | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #1 on Sun 18 Sep 2005 02:02 AM (UTC) |
| Message
| | Get look where the exp gain code is after a kill, and add another function call there to a new function, like gain_qp. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Gorock
(149 posts) Bio
|
| Date
| Reply #2 on Sun 18 Sep 2005 08:03 PM (UTC) |
| Message
| well you have to keep in mind i am fairly new so if there is more to do then add gain_qp then i would like to know :)
| | Top |
|
| Posted by
| Gorock
(149 posts) Bio
|
| Date
| Reply #3 on Mon 19 Sep 2005 05:12 AM (UTC) |
| Message
| i dont even understand what you meant
| | Top |
|
| Posted by
| Gorock
(149 posts) Bio
|
| Date
| Reply #4 on Fri 23 Sep 2005 12:35 AM (UTC) |
| Message
| ok how would i find it i greped for it but did not pull anything up and scince i am new i dont really have a good idea of where to start so anyideas would be nice or point me to somewhere that has a code or something i can just put in
thanks though | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #5 on Fri 23 Sep 2005 12:48 AM (UTC) |
| Message
| | Make a function that gives the character QP. Then have it called from where you want it, such as after a kill. Or you could just increase the QP variable after a kill. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Gorock
(149 posts) Bio
|
| Date
| Reply #6 on Mon 26 Sep 2005 05:37 AM (UTC) |
| Message
| how would i do that i am new to this
| | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #7 on Mon 26 Sep 2005 12:56 PM (UTC) |
| Message
| If you're new, you should look over some sites.
http://www.cprogramming.com/ |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Gorock
(149 posts) Bio
|
| Date
| Reply #8 on Mon 03 Oct 2005 01:58 AM (UTC) |
| Message
| | well i have read a bit in there but i dont seem to know anything that i didn't then | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #9 on Mon 03 Oct 2005 01:41 PM (UTC) |
| Message
| For example, if the variable is called "questp" in pcdata and want to increase it on ch:
|
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Gorock
(149 posts) Bio
|
| Date
| Reply #10 on Mon 03 Oct 2005 04:29 PM (UTC) |
| Message
| | so this would be put in fight.c and i would make it like so that if the character >= 50 gain_qp | | Top |
|
| Posted by
| Gorock
(149 posts) Bio
|
| Date
| Reply #11 on Tue 04 Oct 2005 11:06 AM (UTC) |
| Message
| | ok nevermind guys i got it | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
34,545 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top