Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Lua
➜ Item database with variables
Item database with variables
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Errigour
USA (32 posts) Bio
|
Date
| Wed 31 Jul 2013 06:48 AM (UTC) |
Message
| I want make a variable called swords that I can store each chunk of data that the mush client triggers to. The thing is basically the trigger is "You become more knowledgeable about *." and I want to store the star to the variable swords if the name of the object isn't already stored to the variable swords. If anyone can help me or show me a better way of creating a item database please let me know. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Wed 31 Jul 2013 08:04 AM (UTC) |
Message
| |
Posted by
| Errigour
USA (32 posts) Bio
|
Date
| Reply #2 on Wed 31 Jul 2013 10:35 PM (UTC) |
Message
| That just brought me to the lua forum. | Top |
|
Posted by
| Errigour
USA (32 posts) Bio
|
Date
| Reply #3 on Wed 31 Jul 2013 10:36 PM (UTC) |
Message
| Oh wait I see it sorry thanks Ill read it. | Top |
|
Posted by
| Errigour
USA (32 posts) Bio
|
Date
| Reply #4 on Thu 01 Aug 2013 05:41 AM (UTC) |
Message
| Is there a way for me to speed up the sends and receives that mush client controls. It seems that the program lags preventing me from playing the mud the way it can be played. Is that a mush client thing or my os or something that causes lag? | Top |
|
Posted by
| Fiendish
USA (2,534 posts) Bio
Global Moderator |
Date
| Reply #5 on Thu 01 Aug 2013 02:17 PM (UTC) Amended on Thu 01 Aug 2013 02:20 PM (UTC) by Fiendish
|
Message
| Give more details.
Aardwolf steps at 8Hz and MUSHclient works just fine there.
Quote: Is that a mush client thing or my os or something that causes lag?
How are we supposed to know? MUSHclient works perfectly well for us and you've given no information. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Errigour
USA (32 posts) Bio
|
Date
| Reply #6 on Thu 01 Aug 2013 03:12 PM (UTC) |
Message
| I don't know many details about it I just know its been really responsive before and most of the times it isn't. Also thanks for mushclient Nick! | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #7 on Fri 02 Aug 2013 08:21 AM (UTC) Amended on Mon 25 Nov 2013 08:23 PM (UTC) by Nick Gammon
|
Message
|
Errigour said:
Is there a way for me to speed up the sends and receives that mush client controls. It seems that the program lags preventing me from playing the mud the way it can be played. Is that a mush client thing or my os or something that causes lag?
MUSHclient is supposed to be fast, and various tests show it is.
This video for example shows the client reacting quickly to lots of message, fast enough to update on-screen maps, play music, and generally be very responsive:
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Errigour
USA (32 posts) Bio
|
Date
| Reply #8 on Fri 02 Aug 2013 10:58 PM (UTC) |
Message
| How do I do that with a script file? I made this lua file but when I load it I cant use the function in it with triggers. I want to make a script file that will respond to cose to thirteen maybe twenty lines of data sent to it and write the data to a file when I use the function store(). Is there any way you can help me with that I haven't ever made a lua file and put it to use yet. | Top |
|
Posted by
| Errigour
USA (32 posts) Bio
|
Date
| Reply #9 on Sat 03 Aug 2013 01:13 AM (UTC) |
Message
| Hey I hope I haven't offended anyone here, and also I want to make sure that you guys know I am not a bot or anything I actually mud you can come chat on necromium.com port 4000 mud
or go to necromium.com and click play now, I would like a team mate in the game ill help with your levels and what not it isn't that hard its actually a very fun mud. You guys have been great maybe you could tell me how to view all the posts I have posted, if you can't maybe I can make this my suggestion without offending anyone. Thanks very much for taking the time to read this. | Top |
|
Posted by
| Errigour
USA (32 posts) Bio
|
Date
| Reply #10 on Sat 03 Aug 2013 02:12 AM (UTC) Amended on Sat 03 Aug 2013 02:13 AM (UTC) by Errigour
|
Message
|
Here's an example of the identify object that I want to store. The top line has stars in it and that's because that stuff changes and I don't know exactly how they will appear and they appear with more then one line so its difficult to know exactly what to expect for me. I am making a guidw for my game and I would prefer to identify an object and the object be in my database if the name
You become more knowledgeable about *,
was checked if it exists, I might be able to do figure out how to do that on my own but I don;t know how to make a trigger with a lua script file that will handle that, in fact I don't know how to make the trigger at all. Its a pretty strait forward game and I am making a pretty strait forward game guide for it.
You become more knowledgeable about blood soaked armor, carved of granite.
Object from zone: The Caverns of Flame.
Object Attributes: ANTI-MAGE, ANTI-THIEF, rare
Weight: 21.6 lbs Value: 1,200 coins
It can be worn on your body.
This object is looking slightly worn.
You must be at least level 20 to equip this item.
This item will increase your defense by +8.1%.
This weapon has damage dice of '12D3'. Average damage: 24.0
It also absorbs 2 damage from your opponent's attack.
This object will *.
This object will affect you by *.
Object from zone: The Caverns of Flame.
Object Attributes: ANTI-MAGE, ANTI-THIEF, rare
Weight: 21.6 lbs Value: 1,200 coins
It can be worn on your body.
This object is looking slightly worn.
You must be at least level 20 to equip this item.
This item will increase your defense by +8.1%.
This weapon has damage dice of '12D3'. Average damage: 24.0
It also absorbs 2 damage from your opponent's attack.
This object will INCREASE your level of strength by 1,
INCREASE your level of constitution by 1,
RAISE your ATTACK by 9.0%,
RAISE your DAMROLL by 5.0.
This object will affect you by waterwalk.
I basically want to check the output I know it ends with a line that ends in a period that starts with "This object will affect you by" and I dont know if anything else may appear but I can handle that if some how I can check starting from the line "You become more knowledgeable about" and ending in the line "This object will affect you by*.". Is tehre a way I can make a trigger that will do that?
| Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
31,451 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top