Help creating my own server.

Requests for assistance and other HOWTOs.

Moderator: Board moderators

JoeK
Luser
Posts: 12
Joined: Sun Apr 10, 2005 1:38 am

Post by JoeK »

I'm not sure?

How do I check? And is this good or bad?

Also, when I create a room that has random treasure (such as for a quest) but I want it to be there each time a new quester enters the room, should I make the room reset each time no one is there? Is there another way? And how would I do it?

Sorry for asking so many questions but I've got to learn somehow =P
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

If you want your map to be always available, you probably want to use a really short reset time. Beware, though, this means a player can enter it, loot, exit, reenter and do that for a loooong time :)

For saving items, you have 2 solutions:
* use the 'unique' flag on some floor tiles. Their content will be saved between map resets, so you can leave items there. Useful for maps where many players can come
* use a unique map. For that, check the 'unique map' option on the exit leading to the map. This will make a map only the player can enter - no one else can enter. This unique map will not reset, ie its contents are preserved between map resets.

As for nothing saved, how did you shutdown the server? Did you just kill it? Did you use the DM command 'shutdown'? I think in some circumstances, and under Windows, thinks like hitting ctrl-c make server can shutdown without saving anything.
So either use the DM command 'shutdown' to close server, use the 'reset .' command to force the map save, or wait for map timeout.
JoeK
Luser
Posts: 12
Joined: Sun Apr 10, 2005 1:38 am

Post by JoeK »

I just hit the x, which was probably it. I don't like using DM mode because I like to play along with the other people and if I use DM mode it says that I cannot save my character because I "cheated". -.-

So that solves the saving problem I guess, I can make a new character and use that for DM purposes.

As for having a short reset time, do I open map properties, check Fixed Reset and then set the Reset Timeout to a small number? And is Reset Timeout in minutes?

About players coming in and relooting, they need an item to get past the door. So it's alright.
Leaf
Forum Aficionado
Posts: 2002
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

JoeK wrote:I just hit the x, which was probably it. I don't like using DM mode because I like to play along with the other people and if I use DM mode it says that I cannot save my character because I "cheated". -.-
Oh yeah.. the command to leave DM mode

'nodm

Then you'll be able to save and logout.
JoeK
Luser
Posts: 12
Joined: Sun Apr 10, 2005 1:38 am

Post by JoeK »

No I did that, and it said in the upper right "The DM has left us" then I went to a bed to reality and hit the apply key and it told me I couldn't leave cause I cheated -.-
techolous
Regular
Posts: 77
Joined: Thu Jun 17, 2004 2:41 am
Location: Eastern Coast of the United States

Post by techolous »

To leave dm mode type 'nodm', should get rid of the 'cheated' message.

AFAIK, for the reset time:
  • Fixed Reset means that the reset time will be based off of the time the map loaded, not when the last on the map has left

    the reset time is how long after the event setup with 'fixed reset' will happen (about 2 hours by default)

    NOTE: The map will not reset while a player is on it
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

type nowiz and nodm.
Then kill a monster to ensure youy have some regular xp.
lordyoukai.DA
My wraith is cooler than your dragon.
JoeK
Luser
Posts: 12
Joined: Sun Apr 10, 2005 1:38 am

Post by JoeK »

It still doesn't work bort. I become DM, then I type in nowiz, it says DM has left us. Then I type in nodm and it says invalid command (cause apparently I am not a DM any longer). Then I go kill something and gain some exp. When I press apply on a bed to reality it says "Since you have cheated you can't save". Also, techolous, I didn't understand a thing you said about the fixed reset, can someone please dumb that down a bit? I've only been using this editor for a week and I have little understanding of it as of yet.
techolous
Regular
Posts: 77
Joined: Thu Jun 17, 2004 2:41 am
Location: Eastern Coast of the United States

Post by techolous »

JoeK wrote:It still doesn't work bort. I become DM, then I type in nowiz, it says DM has left us. Then I type in nodm and it says invalid command (cause apparently I am not a DM any longer).
'nowiz' and 'nodm' do the same thing
JoeK wrote: Then I go kill something and gain some exp. When I press apply on a bed to reality it says "Since you have cheated you can't save".
No idea ...
JoeK wrote:Also, techolous, I didn't understand a thing you said about the fixed reset, can someone please dumb that down a bit? I've only been using this editor for a week and I have little understanding of it as of yet.
First a map can not reset (in a clean way, the dm command is an exception) when a player is on it.

Reset time is the amount of time in ticks (think turns) until the map resets.
However when someone is on the map the 'reset time' resets, and starts counting down again after the last person on that map leaves.

Fixed Reset changes that so that the time until the map resets doesn't 'reset' when someone enters the map. This allows high traffic areas to reset occasionaly, where someone walks through the map every minute or so.
JoeK
Luser
Posts: 12
Joined: Sun Apr 10, 2005 1:38 am

Post by JoeK »

Alright thanks, I'll just use another character for my dm.

I do have another question though, is it possible to make items? My friend and I were thinking of making the bows into guns or something like that, so he made some guns in paint with the same format and size (32x32 .png). I changed the gun's file name to kahr.base.111 and the script/thing is as follows:

Object kahr_p45
name Kahr P45
race arrows
type
nrof 1
material 16
face kahr.111
color_fg silver
dam 30
weight 8000
value 5000
sp 40
no_strength 0
editable 1024
attacktype 1
name_pl Kahr_P45’s
client_type 151
body_arm -1
skill missile weapons
end

Please don't tell me, "Oh well the face is different than the gun's file name because you left out the '.base'," please go and LOOK at the bows and other items, they do the same thing.

The problem is this: When I open the java editor, and I go to where my item was located, the picture of the gun doesn't come up, it's just the question mark things.

All help is appreciated on this one, thanks.
Post Reply