Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4777
Location: Pensacola, FL, USA

PostPosted: Sat Dec 06, 2003 11:24 pm   

Multiple #SUB on one line.
 
I seem to be having trouble parsing a sub when it appears several times in one line.

#VAR 25 {golvern|veil iron|lor|sephwir|illthorn|urnon}
#TR {({@25})} {#SUB {%1 (+25)}}

My inventory with triggers off looks like this: (forgive the length)

You are wearing a crystal amulet, a twisted rope gold bracelet, a petrified witchwood pipe clenched between his teeth, a tattooed white bunny entangled in a web and beset upon by a giant spider, a speckled teal-crested lizard, some grey wolfskin trousers, some spike-soled sturdy black leather boots with polished veil iron toes, a blood-stained leather belt, a ribbed spider sack, an ancient battle satchel, a slightly malleable eggsack, a veil iron mesh weapons harness, a perfect mithril forging-hammer, a chain mail battle-vest, some dark veil iron plate, a cobweb patched war-torn tabard bearing a silver gryphon on a field of red, a burnished yierka-hide duster, a spiked rolaren defender, an etched mithglin rune, some ornate veil iron gauntlets, a black enameled bracer with a silver gryphon set in a ruby circle, a small metal device, a blood red ruby pendant, a veil iron spider beard clip with tiny ruby eyes, an exquisite veil iron earring of a black widow spider descending from a thread, an intricate chain of interlocking veil iron arachnids, a tiny green glaes spider, a furry brown spider charm, a tiny green glaes spider and a black turban shrouded in layers of gossamer spider-webbing.

But when i turn them on it does this:

You are wearing a crystal amulet, a twisted rope gold bracelet, a petrified witchwood pipe clenched between his teeth, a tattooed white bunny entangled in a web and beset upon by a giant spider, a speckled teal-crested lizard, some grey wolfskin trousers, some spike-soled sturdy black leather boots with polished veil iron (+25) toes, a blood-stained leather belt, a ribbed spider sack, an ancient battle satchel, a slightly malleable eggsack, a veil iron (+25) mesh weapons harness, a perfect mithril forging-hammer, a chain mail battle-vest, some dark veil iron (+25) plate, a cobweb patched war-torn tabard bearing a silver gryphon on a field of red, a burnished yierka-hide duster, a spiked rolaren defender, an etched mithglin rune, some ornate veil iron gauntlets, a black enameled bracer with a silver gryphon set in a ruby circle, a small metal device, a blood reveil iron (+25)ndant, a veil iron spider beard clip with tiny ruby eyes, an exquisite veil iron earring of a black widow spider descending from aveil iron (+25)an intricate chain of interlocking veil iron arachnidveil iron (+25) green glaes spider, a furry brown spider charm, a tiny green glaes spider and a black turban veil iron (+25)in layers of gossamer spider-webbing.

At first it handels it pretty well, but it looks like its starting to lag behind the incoming text from the mud towards the end.
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Sun Dec 07, 2003 9:42 am   
 
might be your computer, Might be slow.
I don't have that problem where it is cutting off words.

However let it be known That #sub has bugs.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4777
Location: Pensacola, FL, USA

PostPosted: Sun Dec 07, 2003 9:53 am   
 
running v6.66, p4, win 2000 pro, 2ghz, 1024 ram
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Sun Dec 07, 2003 10:01 am   
 
I run way less than that and stil don't get your spicific problem.

But again I stress the fact that #sub has bugs.

And it does'nt matter how fast your computer runs it can only do so many tasks at one time inside a program

Asking zmud to do 50 #subs all t once will slow anything down.

So i treally depends on how much is going on at once in your games and howmany tasks are being asked of the program.

Tes yourself, make sure all your characters are off-line
make a new chracter add the sample you put and input the test pattern and see if you get any errors that way.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sun Dec 07, 2003 12:36 pm   
 
Try enclosing the code of that trigger inside a #PRIORITY command.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4777
Location: Pensacola, FL, USA

PostPosted: Sun Dec 07, 2003 9:23 pm   
 
the whole trigger, or just the #SUB within? after trying the later i got this

You are wearing a twisted rope gold bracelet, a tattooed white bunny entangled in a web and beset upon by a giant spider, some grey wolfskin trousers, some spike-soled sturdy black leather boots with polished veil iron (+25) toes, a blood-stained leather belt, a ribbed spider sack, an ancient battle satchel, a slightly malleable eggsack, a #SUB {veil iron (+25)} mesh weapons harness, a perfect mithril forging-hammer, a chain mail battle-vest, some dark #SUB {veil iron (+25)} plate, a cobweb patched war-torn tabard bearing a silver gryphon on a field of red, a burnished yierka-hide duster, a spiked rolaren defender, an etched mithglin rune, some ornate #SUB {veil iron (+25)} gauntlets, a black enameled bracer with a silver gryphon set in a ruby circle, a small metal device, a blood red ruby pendant, a #SUB {veil iron (+25)} spider beard clip with tiny ruby eyes, an exquisite #SUB {veil iron (+25)} earring of a black widow spider descending from a thread, an intricate chain of interlocking #SUB {veil iron (+25)} arachnids, a tiny green glaes spider, a furry brown spider charm, a tiny green glaes spider, a black turban shrouded in layers of gossamer spider-webbing, a crystal amulet and a bluish-black pin.

and this is happening in an empty room no incoming text other then responses from my commands

at least its not lagging behind, but now in inserts the whole #SUB command instead of processing it
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net