Author |
Message |
Topic: advantages of lua? |
adamandkate
Replies: 11
Views: 16426
|
Forum: CMUD General Discussion Posted: Mon Nov 21, 2011 10:01 am Subject: advantages of lua? |
I guess i wont bother then, im just trying to find ways to increase the speed of my scripts.
thanks for everyones comments |
Topic: advantages of lua? |
adamandkate
Replies: 11
Views: 16426
|
Forum: CMUD General Discussion Posted: Sun Nov 20, 2011 10:42 pm Subject: advantages of lua? |
What about speed? I've been using mudlet that seems a lot faster. Ŵould cmud be faster if I used lua? |
Topic: advantages of lua? |
adamandkate
Replies: 11
Views: 16426
|
Forum: CMUD General Discussion Posted: Sun Nov 20, 2011 1:40 pm Subject: advantages of lua? |
Anyone able to tell me is there any advantages in using lua over zscript and should i start to learn it and convert my system over?
thanks |
Topic: [Solved] char.vitals.hp inside an @var |
adamandkate
Replies: 12
Views: 19020
|
Forum: CMUD General Discussion Posted: Tue Nov 15, 2011 4:06 pm Subject: [Solved] char.vitals.hp inside an @var |
while were on the topic. is that percent variable correct? it seems to report 100 as the answer regardless of the variables |
Topic: [Solved] char.vitals.hp inside an @var |
adamandkate
Replies: 12
Views: 19020
|
Forum: CMUD General Discussion Posted: Tue Nov 15, 2011 3:50 pm Subject: [Solved] char.vitals.hp inside an @var |
ooooh whoops. thanks!
all working good now. appreciate the help |
Topic: [Solved] char.vitals.hp inside an @var |
adamandkate
Replies: 12
Views: 19020
|
Forum: CMUD General Discussion Posted: Tue Nov 15, 2011 11:36 am Subject: [Solved] char.vitals.hp inside an @var |
heres the full code. still cant quite get it to work
#var health {%gmcp.Char.Vitals.hp}
#var maxhealth {%gmcp.Char.Vitals.maxhp}
#math percenthealth 100*@health/(@maxhealth)
#if ((@canoverdrive) a ... |
Topic: [Solved] char.vitals.hp inside an @var |
adamandkate
Replies: 12
Views: 19020
|
Forum: CMUD General Discussion Posted: Mon Nov 14, 2011 9:42 pm Subject: [Solved] char.vitals.hp inside an @var |
#var health %gmcp.Char.Vitals.hp
#if ((@first) and (@second > 100) and (@health < 1550)) {
do this
}
In this situation the gmcp sets the variable to @health = 1900 but it still fires ... |
Topic: Share your CMUD story! |
adamandkate
Replies: 6
Views: 31354
|
Forum: CMUD General Discussion Posted: Thu Nov 10, 2011 3:31 pm Subject: Share your CMUD story! |
I have a great story about how CMUD changed my life.
I work for an organisation that conducts research in the field of physical anommaly. My job was to input 4 8 15 16 23 42 into a terminal every 1 ... |
Topic: How to set vnum from prompt? |
adamandkate
Replies: 2
Views: 6776
|
Forum: CMUD General Discussion Posted: Thu Nov 10, 2011 1:49 pm Subject: How to set vnum from prompt? |
that works great. thanks for that |
Topic: How to set vnum from prompt? |
adamandkate
Replies: 2
Views: 6776
|
Forum: CMUD General Discussion Posted: Thu Nov 10, 2011 8:15 am Subject: How to set vnum from prompt? |
Hi guys. Im trying to set the room vnum using the gmcp id. im doing the following but its not setting anything...
#call %roomvnum(,%gmcp.room.info.num)
any advice would be appreciated.
thanks ... |
Topic: gmcp in mudkemia |
adamandkate
Replies: 2
Views: 5018
|
Forum: CMUD General Discussion Posted: Wed Nov 09, 2011 10:14 pm Subject: gmcp in mudkemia |
hi. im trying to work out how to map better using gmcp. is there a way to do this using gmcp. my main issue is that when i enter a room from swimming it doesnt create exits. i have to swim, then hit t ... |
Topic: shortcut for 'find location on mud' |
adamandkate
Replies: 3
Views: 6209
|
Forum: CMUD General Discussion Posted: Tue Nov 08, 2011 7:05 am Subject: shortcut for 'find location on mud' |
ahh well that just sucks. |
Topic: Mid-Year Letter |
adamandkate
Replies: 18
Views: 52331
|
Forum: CMUD General Discussion Posted: Mon Nov 07, 2011 4:14 pm Subject: Mid-Year Letter |
That being said, I don't believe Zugg would purposely delay a release in order to cash in on expired licenses. Nevertheless, it may be an unfortunately bi-product of having priorities elsewhere.
... |
Topic: shortcut for 'find location on mud' |
adamandkate
Replies: 3
Views: 6209
|
Forum: CMUD General Discussion Posted: Mon Nov 07, 2011 12:39 pm Subject: shortcut for 'find location on mud' |
anyone know if theres a way to call this mapper function (find location on mud) from an alias so that i dont have to go through the menus every time?
also, when i go to list objects in room and go ... |
Topic: Can an expert look at my work and see if i can improve it? THANKS! :) |
adamandkate
Replies: 9
Views: 14429
|
Forum: CMUD General Discussion Posted: Fri Jun 10, 2011 5:17 am Subject: Can an expert look at my work and see if i can improve it? THANKS! :) |
thanks for your post
thats basically how i do it now. except all the afflictions are inside a single @var and i use ismember.
anyone got any other ideas to speed things up? im going through my t ... |
Topic: Can an expert look at my work and see if i can improve it? THANKS! :) |
adamandkate
Replies: 9
Views: 14429
|
Forum: CMUD General Discussion Posted: Thu Jun 09, 2011 7:04 pm Subject: Can an expert look at my work and see if i can improve it? THANKS! :) |
ok, i think i need to study this more. i dont understand how this is any better or different to just putting an alias in the prompt trigger, which contains the code. an event just seems to be the same ... |
Topic: Can an expert look at my work and see if i can improve it? THANKS! :) |
adamandkate
Replies: 9
Views: 14429
|
Forum: CMUD General Discussion Posted: Thu Jun 09, 2011 5:32 am Subject: Can an expert look at my work and see if i can improve it? THANKS! :) |
hmmm, im not sure i get what you mean (sorry for my ignorance). Not used event for anything other the connect commands etc.
So would I put in my prompt #raiseevent onPrompt, then for each trigger i ... |
Topic: Can an expert look at my work and see if i can improve it? THANKS! :) |
adamandkate
Replies: 9
Views: 14429
|
Forum: CMUD General Discussion Posted: Mon Jun 06, 2011 2:40 pm Subject: Can an expert look at my work and see if i can improve it? THANKS! :) |
first big change that will hopefully be better. changed the bottom code to use #switch
#switch ((@canteatathillias = 0) AND (%ismember( "RARM", @myafflictions)) ... |
Topic: Can an expert look at my work and see if i can improve it? THANKS! :) |
adamandkate
Replies: 9
Views: 14429
|
Forum: CMUD General Discussion Posted: Mon Jun 06, 2011 1:23 pm Subject: Can an expert look at my work and see if i can improve it? THANKS! :) |
Ok, Im rewriting my whole system. This thing is HUGE. And I doubt its the fastest way it could be. This is how it works...
I have a prompt trigger that runs on every prompt.. which calls an alias t ... |
Topic: Improving speed, Would using ^ and $ help? |
adamandkate
Replies: 1
Views: 4492
|
Forum: CMUD General Discussion Posted: Tue May 11, 2010 10:07 am Subject: Improving speed, Would using ^ and $ help? |
Ive been working for a while to improve the speed of my system. I got some improvements a while ago by disabling unwanted triggers, but i was no wondering would adding ^ and $ to my triggers where pos ... |
Topic: Possible new changes to low-level data routines in CMUD |
adamandkate
Replies: 20
Views: 22694
|
Forum: CMUD Beta Forum Posted: Mon May 03, 2010 6:09 pm Subject: Possible new changes to low-level data routines in CMUD |
this does concern me for those of us with huge numbers of scripts. My combat system is enormous and written over a period of about 4 years now. Maybe even longer, and I dont have the time to make the ... |
Topic: making a milliseccond timer. any ideas where to start? |
adamandkate
Replies: 4
Views: 7306
|
Forum: CMUD General Discussion Posted: Sun Apr 11, 2010 6:09 am Subject: making a milliseccond timer. any ideas where to start? |
thats great thanks guys. i went with zuggs option as it was the simplist i think. working well so far |
Topic: making a milliseccond timer. any ideas where to start? |
adamandkate
Replies: 4
Views: 7306
|
Forum: CMUD General Discussion Posted: Wed Apr 07, 2010 11:13 pm Subject: making a milliseccond timer. any ideas where to start? |
hey. im trying to make a timer in millisecconds.. first alias set it to zero and start the timer. secconds alias that halts the timer and display how many secconds and milisecconds it took. i was goin ... |
Topic: speed and improving speed |
adamandkate
Replies: 10
Views: 12106
|
Forum: CMUD General Discussion Posted: Mon Mar 22, 2010 10:18 pm Subject: speed and improving speed |
when looking at the debugger are the numbers to the left the time it takes to execute? i thought cmud could multithread...so it wouldnt be as much of an issue? |
Topic: speed and improving speed |
adamandkate
Replies: 10
Views: 12106
|
Forum: CMUD General Discussion Posted: Mon Mar 22, 2010 9:02 am Subject: speed and improving speed |
ok, im starting to see a noteable speed increase now. thanks for that to you both! any further ideas? ive disabled almost asmuch as I can and ive added #send/#sendraw to my alias where possible |
|