Gmcp, is this a Cmud or Gmcp issue
at present im using GMCP to capture stuff like Recon/focus/tree/eating etc so is this just me or a whole GMCP issue?
H:5834 (100) M:6139 (95)
touch tree
Your tree tattoo tingles slightly.
H:5834 (100) M:6139 (95)
reconstitute
You have recovered equilibrium.
H:5834 (100) M:6139 (95)
outc bladder_slice
eat bladder_slice
You may consume another curative.
... Is it suppose to send GMCP before I even get the line that I can eat/recon/tree again?
Last Night I had full health/mana and went hunting, the First creature I hit, and this happens (my system became physic)
H:5834 (100) M:6405 (100) E:94% W:67% B:100 S:100 Xp:0.57% [csdb eb] Ess:100
stick analeptic
outc kidney_slice
eat kidney_slice
A darkling swings an obscured black limb towards you, and its shadowy mass impacts with your chest, knocking the wind from you and sending rivulets of cold through your blood. (lost)
Health Lost: 597, asphyxiation.
Health Lost: 387, cold.
Stinking sewer. (Ruins of Farsai.)
You see exits leading north and southwest.
H:4850 (83) M:6405 (100) E:94% W:67% B:100 S:100 Xp:0.57% [csdb eb] Ess:100(southwest)
Any input would be good on this as if thats true means I got to redo all my coding so I stop spamming! This is currently on Cmud..
0
Comments
i only get this issue with my gmcp system... not with my normal variable system
Anyone else have any input on this? Or the @Admin who works with Gmcp/Coding Aetolia?
Granted that might be too much to ask but is it normal for GMCP to be sent before I get the balance back?
I can post a better log if needs be?
so, nothing fires unless I get a prompt..
the trigger/gmcp im using is something like this
Char\.Vitals
#local $localvitals;$localvitals=%json(%0)
#if (%iskey($localvitals, prone)) {vitals.prone = $localvitals.prone} {vitals.prone = 0}
#if (%iskey($localvitals, balance)) {vitals.bal = $localvitals.balance} {vitals.bal = 0}
#if (%iskey($localvitals, equilibrium)) {vitals.eq = $localvitals.equilibrium} {vitals.eq = 0}
#if (%iskey($localvitals, bleeding)) {vitals.bleed = $localvitals.bleeding} {vitals.bleed = 0}
#if (%iskey($localvitals, herb)) {vitals.herb = $localvitals.herb} {vitals.herb = 0}
#if (%iskey($localvitals, salve)) {vitals.salve = $localvitals.salve} {vitals.salve = 0}
#if (%iskey($localvitals, pipe)) {vitals.pipe = $localvitals.pipe} {vitals.pipe = 0}
#if (%iskey($localvitals, focus)) {vitals.focus = $localvitals.focus} {vitals.focus = 0}
#if (%iskey($localvitals, tree)) {vitals.tree = $localvitals.tree} {vitals.tree = 0}
#if (%iskey($localvitals, renew)) {vitals.renew = $localvitals.renew} {vitals.renew = 0}
#if (%iskey($localvitals, cloak)) {vitals.cloak = $localvitals.cloak} {vitals.cloak = 0}
#if (%iskey($localvitals, fangbarrier)) {vitals.fangbarrier = $localvitals.fangbarrier} {vitals.fangbarrier = 0}
#if (%iskey($localvitals, deaf)) {vitals.deaf = $localvitals.deaf} {vitals.deaf = 0}
#if (%iskey($localvitals, blind)) {vitals.blind = $localvitals.blind} {vitals.blind = 0}
#if (%iskey($localvitals, moss)) {vitals.moss = $localvitals.moss} {vitals.moss = 0}
#math vitals.hp %gmcp.char.vitals.hp
#math vitals.maxhp %gmcp.char.vitals.maxhp
#math vitals.mp %gmcp.char.vitals.mp
#math vitals.maxmp %gmcp.char.vitals.maxmp
#var vitals.currenthp (@vitals.hp*100/@vitals.maxhp)
#var vitals.currentmp (@vitals.mp*100/@vitals.maxmp)
#var vitals.soullost %gmcp.Char.Vitals.soul
and @vitals.tree etc is what I use in a curebalance which goes into my prompt
prompt /
outc castorite_slice
eat castorite_slice (this sets caneat = 1)
You may consume another curative. (sets caneat = 0)
outc castorite_slice
eat castorite_slice (since I didn't eat gmcp is still saying I can eat so my caneat check reset to say it can eat also.. )
prompt /
Thanks for the help tho @Lin,
Does anyone know a way around this? or do I have to go back to using vairables?
outc bladder_slice
eat bladder_slice
Sets Caneat to 1 ...
You may consume another curative.
sets caneat to 0
H:5834 (100) M:6405 (100) E:100% W:99% B:98 S:100 Xp:1.18% [csdb -b] Ess:outc bladder_slice
eat bladder_slice
sets caneat to 1
My code is
#if (@vitals.herb = 1 and @caneat = 0) {eat slice}
since GMCP isn't set to herb = 0 on the first outc as its all sent before a prompt... it still eats as caneat gets reset to 0..
its a silly thing just wondering how do other people do this? as only way I can think of is deleting the caneat from the You can eat again line...
Amelas thanks, Seems deleting the caneat from the you can eat again line, seems to have fixed the spam error..
(Edit) don't drink and post.