|
Goosie Newbie
Joined: 18 Jan 2007 Posts: 3
|
Posted: Thu Jan 18, 2007 9:16 pm
Zmud quickly crashes! Help! |
I keep having zmud just crash out, no freezing, when I am curing afflictions given to my character. I really don't know why it would do this, as I've used the same general coding for other systems I've made and they dont do it. Perhaps more memory? But I went to task manager and set priority to highest.
Here's a copy of code to some of the things I've seen it do it around. It doesnt seem static to any one thing, though. Sometimes its cured the very thing it crashed on before, and sometimes not. It'll also cure several affs before crashing at times, too.
aliases -
addremedy -
#IF %ismember( 00_chervil, @Curing/Mechanics/Remedy/RemedyList) {delremedy 00_chervil}
Curing/Mechanics/Remedy/RemedyList=%additem( %1, @Curing/Mechanics/Remedy/RemedyList)
#IF (@Display=1) {#win Status RemedyList: Added %1.}
checkremedy -
#var RemedyList {%sort( @Curing/Mechanics/Remedy/RemedyList)}
#IF %ismember( 02_anorexia, @Curing/Mechanics/Remedy/RemedyList) {#IF %ismember( 01_stupidity, @Curing/Mechanics/Remedy/RemedyList) {addremedy 00a_anorexia}}
#IF (@Sleep=1 OR @Stun=1 OR @Aeon=1) {} {#if (@Curing/Mechanics/Remedy/RemedyList=%null) {} {#IF (@Curing/Mechanics/Remedy/Consuming=0) {%item( @Curing/Mechanics/Remedy/RemedyList, 1)} {}}}
delremedy -
#IF %ismember( %1, @Curing/Mechanics/Remedy/RemedyList) {
Curing/Mechanics/Remedy/RemedyList=%delitem( %1, @Curing/Mechanics/Remedy/RemedyList)
#UNTRIGGER RBReset
#IF (@Display=1) {#win Status RemedyList: Deleted %1.}
}
#IF (@Aeon=0) {inr all herb}
43_slicedgut -
ema
ema -
#T+ "Curing|Mechanics|Remedy|Consumption|Marjoram"
eat marjoram
Consuming=0.5
Triggers:
your gut, which opens -
#IF %ismember( 43_slicedgut, @RemedyList) {} {
#co whitesmoke
addremedy 43_slicedgut
}
Okay, 43_slicedgut is just numbered so I can have the aliases sort them to what I wnat cured. It executes ema, which eats the marjoram and opens the class folder with the correct curing responses. The trigger, which starts the whole process, is enclosed in a folder that opens up when I am hit with any weapon. The weapon gives me the trigger line.
I am lost! |
|
|
|
Goosie Newbie
Joined: 18 Jan 2007 Posts: 3
|
Posted: Thu Jan 18, 2007 9:27 pm |
Okay, more:
triggers:
(\a+) wildly jabs .* at you -
#T+ Curing|Venoms
#T+ Curing|Slashing
#IF %pos( @TwohandedWeapons, %1) {AttackedBy=twohandedweapon} {AttackedBy=onehandedweapon}
This one opens the folder that has the trigger to set off the slicedgut alias.
^(\d+)h, (\d+)m, (\d+)e, (\d+)p, (\d+)en (.*)- -
#IF (%1=@MaxHealth AND %2=@MaxMana) {
#IF %ismember( 27_reckless, @Curing/Mechanics/Remedy/RemedyList) {} {
#cw cadetblue
addremedy 27_reckless
}
}
CheckAct
CheckWrithe
CheckRemedy
CheckDrink
CheckSalve
This trigger closes the folder and starts to check for any cures. It is set to initiate on prompt. |
|
|
|
Goosie Newbie
Joined: 18 Jan 2007 Posts: 3
|
Posted: Fri Jan 19, 2007 4:07 am |
I totally found it! I had an alias within the marjoram one called eat. It would check to see if I already had a marjoram herb in my inv, and if so it would just eat it, and if not it would take one out and the neat. The thing is it was called eat, eat was the command, and I forgot to put ~ before eat marjoram when it had one out already. I'd end up eating the one I had out already, then it would endlessly loop and crash zmud, I imagine that is purposeful.
|
|
|
|
|
|
|
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
|
|