Register to post in forums, or Log in to your existing account
 
:
Search found 10 matches for:
Page 1 of 1
Author Message
  Topic: Please Help with capturing data from the prompt and calculating it.
ogbebaba

Replies: 15
Views: 9736

PostForum: CMUD General Discussion   Posted: Tue Dec 29, 2015 11:43 pm   Subject: Please Help with capturing data from the prompt and calculating it.
As for the changing name of faith and tactics... so long as the point pool can be said to have equivalent purposes for you on the backend (mana for your special moves) then you can easily combine them ...
  Topic: Please Help with capturing data from the prompt and calculating it.
ogbebaba

Replies: 15
Views: 9736

PostForum: CMUD General Discussion   Posted: Tue Dec 29, 2015 11:29 pm   Subject: Please Help with capturing data from the prompt and calculating it.
You have to calculate the change with the old value of a given variable, before assigning the new value to it.

In my example I did:

xpChange=(%5-@xp)
xp=%5

Otherwise %5 and @xp have the sam ...
  Topic: Please Help with capturing data from the prompt and calculating it.
ogbebaba

Replies: 15
Views: 9736

PostForum: CMUD General Discussion   Posted: Tue Dec 29, 2015 11:28 pm   Subject: Please Help with capturing data from the prompt and calculating it.
sorry to keep bugging you I don't know if i should ask you this here or make another post.

You answered my other question so well I was hoping you could show me how to make a script to create a ti ...
  Topic: Please Help with capturing data from the prompt and calculating it.
ogbebaba

Replies: 15
Views: 9736

PostForum: CMUD General Discussion   Posted: Tue Dec 29, 2015 10:44 pm   Subject: Please Help with capturing data from the prompt and calculating it.
hmm why not add one for faith so i can track exactly how much faith my spell cost?

#TR {Hp: (%d) Faith: (%d) } {
Chp=%1
hpChange=(%1-@Chp)
Faith=%2
FaithChange=(%2-@Chp)
}

would that wo ...
  Topic: Please Help with capturing data from the prompt and calculating it.
ogbebaba

Replies: 15
Views: 9736

PostForum: CMUD General Discussion   Posted: Tue Dec 29, 2015 10:35 pm   Subject: Please Help with capturing data from the prompt and calculating it.
ok just relized that would try to use the same name for the hp alias the other trigger set up and i put xp in it LOL

so this should be right

#TR {Hp: (%d) Faith: (%d) } {
Chp=%1
hpChange=(%1 ...
  Topic: Please Help with capturing data from the prompt and calculating it.
ogbebaba

Replies: 15
Views: 9736

PostForum: CMUD General Discussion   Posted: Tue Dec 29, 2015 9:29 pm   Subject: Please Help with capturing data from the prompt and calculating it.
I like that trigger so much I was thinking why not make one that tells me how much hp my heal spells restore and how much damage opponent's commands are doing.


my combat monitor looks like this
...
  Topic: Please Help with capturing data from the prompt and calculating it.
ogbebaba

Replies: 15
Views: 9736

PostForum: CMUD General Discussion   Posted: Tue Dec 29, 2015 10:22 am   Subject: Please Help with capturing data from the prompt and calculating it.
OK never mind I figured it out. I added a print @xpChange to screen step to you trigger and it gave me the option to have the trigger fire when I type something so it works perfectly now

Plus now ...
  Topic: Please Help with capturing data from the prompt and calculating it.
ogbebaba

Replies: 15
Views: 9736

PostForum: CMUD General Discussion   Posted: Tue Dec 29, 2015 9:57 am   Subject: Please Help with capturing data from the prompt and calculating it.
OK i figured out what I was doing wrong I got it to work but it seems to only update when the mud pings at least i think that what you call it

Because of the delay I would miss the info i am tryin ...
  Topic: Please Help with capturing data from the prompt and calculating it.
ogbebaba

Replies: 15
Views: 9736

PostForum: CMUD General Discussion   Posted: Tue Dec 29, 2015 9:05 am   Subject: Please Help with capturing data from the prompt and calculating it.
Thank you so much!

The trxp to start and reset and rpxp to show the current value works exactly like i wanted

and the @xpChange is collecting the right data but I'm not shore I under stand how t ...
  Topic: Please Help with capturing data from the prompt and calculating it.
ogbebaba

Replies: 15
Views: 9736

PostForum: CMUD General Discussion   Posted: Tue Dec 29, 2015 1:22 am   Subject: Please Help with capturing data from the prompt and calculating it.
I found a bunch of xp counters but they were way too complicated for me to get them to work with the mud I play.

I was hoping some once could help me write a script to track the amount of xp I get ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net