Into The Underworld - MP RPG!

Discussion of all aspects of multiplayer development: unit balancing, map development, server development, and so forth.

Moderators: Forum Moderators, Developers

User avatar
Mica
Posts: 577
Joined: December 4th, 2007, 5:18 pm

Re: Into The Underworld - New MP RPG!

Post by Mica » October 5th, 2008, 7:30 pm

You have to have everyone pick up that special plant [including gregor] by capturing villages. THEN they have to die.
Mica says one who cheats, cheats himself.

You are an Elvish Shyde - Beautiful, natural, and helpful, though sometimes under-appreciated.

User avatar
woodmouse
Posts: 1435
Joined: August 9th, 2008, 6:26 pm
Location: Finland
Contact:

Re: Into The Underworld - New MP RPG!

Post by woodmouse » October 6th, 2008, 2:22 pm

Yes, I did that. I mean, it's weird, but Gregor did appear in the black place, but he wasn't able to move... :? Well, I think it was a bug or something (I mean, a one-time bug that something caused... (I'm not sure, though.))
Check out my sprites!

User avatar
Mica
Posts: 577
Joined: December 4th, 2007, 5:18 pm

Re: Into The Underworld - New MP RPG!

Post by Mica » October 6th, 2008, 7:31 pm

Hm, it worked for me when I played.

Are you sure you were using the most recent version?

And if you were, do you think there would be any way of duplicating the bug?
Mica says one who cheats, cheats himself.

You are an Elvish Shyde - Beautiful, natural, and helpful, though sometimes under-appreciated.

User avatar
Mica
Posts: 577
Joined: December 4th, 2007, 5:18 pm

Re: Into The Underworld - New MP RPG!

Post by Mica » October 13th, 2008, 6:27 am

Woodmouse?

Also, I am accepting any ideas for the storyline / balance / features. I'm really not sure exactly what to do with this, but I know there's much to be done. So, anyone got any ideas?
Mica says one who cheats, cheats himself.

You are an Elvish Shyde - Beautiful, natural, and helpful, though sometimes under-appreciated.

User avatar
woodmouse
Posts: 1435
Joined: August 9th, 2008, 6:26 pm
Location: Finland
Contact:

Re: Into The Underworld - New MP RPG!

Post by woodmouse » October 13th, 2008, 3:41 pm

I didn't have newest version, I think. I downloaded it again and it worked.
Check out my sprites!

User avatar
Mica
Posts: 577
Joined: December 4th, 2007, 5:18 pm

Re: Into The Underworld - New MP RPG!

Post by Mica » October 13th, 2008, 4:37 pm

Alright, glad that's settled then.
Mica says one who cheats, cheats himself.

You are an Elvish Shyde - Beautiful, natural, and helpful, though sometimes under-appreciated.

User avatar
zookeeper
WML Wizard
Posts: 9739
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: Into The Underworld - New MP RPG!

Post by zookeeper » November 8th, 2008, 7:37 pm

Quite near the beginning:

1. I had a ranger. Who kept saying he can't read the tracks as he isn't a ranger.

2. There was this dwarf standing there with some staff next to him. Everything suggests I should be taking that staff. But nothing happens no matter who steps on it. Is it worth continuing playing if it doesn't work?

3. I couldn't undo after stepping on some random hex of ice, stranding me on a bad spot.

:annoyed:

User avatar
Mica
Posts: 577
Joined: December 4th, 2007, 5:18 pm

Re: Into The Underworld - New MP RPG!

Post by Mica » November 11th, 2008, 4:36 am

1. Thanks, I'll look into it. Can you tell me what race he was?

2. I'm pretty sure you should be fine to continue, but can you give me the hex number or at least the kind of terrain it was on?

3. Was that because the ice broke? It's supposed to happen, though I'm not a huge fan of it. If not, are you sure you didn't uncover new fog or lose sight of an old hex you could see?
Mica says one who cheats, cheats himself.

You are an Elvish Shyde - Beautiful, natural, and helpful, though sometimes under-appreciated.

User avatar
zookeeper
WML Wizard
Posts: 9739
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: Into The Underworld - New MP RPG!

Post by zookeeper » November 11th, 2008, 5:53 am

Mica wrote:1. Thanks, I'll look into it. Can you tell me what race he was?
Human/outlaw lvl3 ranger. There's a simple type=Huntsman,Elvish Avenger in the code which needs to be added to. Would be nice to be able to undo if your unit can't read the tracks at all, too.
Mica wrote:2. I'm pretty sure you should be fine to continue, but can you give me the hex number or at least the kind of terrain it was on?
The dwarf was on 5,2 I think, and the staff just south of him in 5,3. Moving anywhere in that area with anyone didn't do a thing.
Mica wrote:3. Was that because the ice broke? It's supposed to happen, though I'm not a huge fan of it. If not, are you sure you didn't uncover new fog or lose sight of an old hex you could see?
It was because of the ice breaking thing. Of course, you can't make the move undoable when the ice doesn't break, because the RNG's on the different clients could go out of sync then.

I think a better way of simulating ice breaking would be the method used in DiD's (1.5.x) "Beginning of the Revenge", where an ice hex goes "weak" when someone starts their turn on it, and a weakened ice hex in turn breaks if someone starts their turn on it. That way although you remove the random element on moveto, you still force the players not to linger on the ice, but to try to get off it quickly.

User avatar
Sapient
Inactive Developer
Posts: 4452
Joined: November 26th, 2005, 7:41 am
Contact:

Re: Into The Underworld - New MP RPG!

Post by Sapient » November 11th, 2008, 10:45 pm

zookeeper wrote:
Mica wrote:3. Was that because the ice broke? It's supposed to happen, though I'm not a huge fan of it. If not, are you sure you didn't uncover new fog or lose sight of an old hex you could see?
It was because of the ice breaking thing. Of course, you can't make the move undoable when the ice doesn't break, because the RNG's on the different clients could go out of sync then.
It can be done. You just need to determine in advance which hexes will break (for example every side turn), and then store that information in a variable. Then you can use a [event][filter][filter_location]find_in="trap_hexes" to filter the event, and you won't even have to worry about [allow_undo].
http://www.wesnoth.org/wiki/User:Sapient... "Looks like your skills saved us again. Uh, well at least, they saved Soarin's apple pie."

User avatar
zookeeper
WML Wizard
Posts: 9739
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: Into The Underworld - New MP RPG!

Post by zookeeper » November 12th, 2008, 5:04 am

Sapient wrote:
zookeeper wrote: It was because of the ice breaking thing. Of course, you can't make the move undoable when the ice doesn't break, because the RNG's on the different clients could go out of sync then.
It can be done. You just need to determine in advance which hexes will break (for example every side turn), and then store that information in a variable. Then you can use a [event][filter][filter_location]find_in="trap_hexes" to filter the event, and you won't even have to worry about [allow_undo].
True enough.

User avatar
Mica
Posts: 577
Joined: December 4th, 2007, 5:18 pm

Re: Into The Underworld - New MP RPG!

Post by Mica » November 14th, 2008, 12:44 am

Thanks for the ideas guys, I appreciate it. I'll try to whip something up soon.
Mica says one who cheats, cheats himself.

You are an Elvish Shyde - Beautiful, natural, and helpful, though sometimes under-appreciated.

User avatar
Mica
Posts: 577
Joined: December 4th, 2007, 5:18 pm

Re: Into The Underworld - New MP RPG!

Post by Mica » November 16th, 2008, 5:22 am

Here's what is there:

Code: Select all

    [event]
        name=moveto
        [filter]
            side=1,2,3,4
            [filter_location]
                [filter]
                    side=1,2,3,4
                [/filter]
                terrain=Ai
            [/filter_location]
        [/filter]

        [message]
            speaker=narrator
            message= _ "The ice cracks beneath your feet. You fall into the icy water, chilled to the bone."
        [/message]

        {MODIFY_TERRAIN Ww $x1 $y1}
        {BOB_REDRAW}
        {BOB_SOUND club.wav}
        {BOB_SOUND water-blast.wav}
        {ITU_MODIFY_CHARACTER hitpoints add -3 3 {COLOR_HARM}}
    [/event]

    # Stepping on ice thereafter

    [event]
        name=moveto
        first_time_only=no
        [filter]
            side=1,2,3,4
            [filter_location]
                terrain=Ai
            [/filter_location]
        [/filter]

        {RANDOM 1..4}

        [if]
            {BOB_CONDITION random numerical_equals 1}
            [then]
                {MODIFY_TERRAIN Ww $x1 $y1}
                {BOB_REDRAW}
                {BOB_SOUND club.wav}
                {BOB_SOUND water-blast.wav}
                {ITU_MODIFY_CHARACTER hitpoints add -3 3 {COLOR_HARM}}
            [/then]
        [/if]

        {CLEAR_VARIABLE random}
    [/event]
Mica says one who cheats, cheats himself.

You are an Elvish Shyde - Beautiful, natural, and helpful, though sometimes under-appreciated.

User avatar
Sapient
Inactive Developer
Posts: 4452
Joined: November 26th, 2005, 7:41 am
Contact:

Re: Into The Underworld - New MP RPG!

Post by Sapient » November 16th, 2008, 5:38 am

Try this

Code: Select all

[event]
 name=side turn
 first_time_only=no
 {CLEAR_VARIABLE trap_hexes}
 [store_locations]
  terrain=Ai
  variable=ice_hexes
 [/store_locations]
 {FOREACH ice_hexes i}
  {RANDOM 1..4}
  [if]
   {BOB_CONDITION random numerical_equals 1}
   [then]
    [store_locations]
     find_in=ice_hexes[$i]
     [or]
      find_in=trap_hexes
     [/or]
     variable=trap_hexes
    [/store_locations]
   [/then]
  [/if]
 {NEXT i}
 {CLEAR_VARIABLE ice_hexes}
[/event]

    [event]
        name=moveto
        [filter]
            side=1,2,3,4
            [filter_location]
                [filter]
                    side=1,2,3,4
                [/filter]
                terrain=Ai
            [/filter_location]
        [/filter]

        [message]
            speaker=narrator
            message= _ "The ice cracks beneath your feet. You fall into the icy water, chilled to the bone."
        [/message]

        {MODIFY_TERRAIN Ww $x1 $y1}
        {BOB_REDRAW}
        {BOB_SOUND club.wav}
        {BOB_SOUND water-blast.wav}
        {ITU_MODIFY_CHARACTER hitpoints add -3 3 {COLOR_HARM}}

    # Stepping on ice thereafter

      [event] 
        name=moveto
        first_time_only=no
        [filter]
            side=1,2,3,4
            [filter_location]
                terrain=Ai
                find_in=trap_hexes
                [or]
                    terrain=Ww
                [/or]
            [/filter_location]
        [/filter]

                {MODIFY_TERRAIN Ww $x1 $y1}
                {BOB_REDRAW}
                {BOB_SOUND club.wav}
                {BOB_SOUND water-blast.wav}
                {ITU_MODIFY_CHARACTER hitpoints add -3 3 {COLOR_HARM}}
    [/event]
  [/event]

http://www.wesnoth.org/wiki/User:Sapient... "Looks like your skills saved us again. Uh, well at least, they saved Soarin's apple pie."

User avatar
Mica
Posts: 577
Joined: December 4th, 2007, 5:18 pm

Re: Into The Underworld - New MP RPG!

Post by Mica » November 16th, 2008, 6:19 am

Zookeeper, I don't know why it wasn't working [the item at 5,3]. I know the frost bow works, and the code for that is identical to the ice rod, the only differences being the attack info. Do you know why it didn't work?

Also, I added the unit types Ranger and Elvish Sharpshooter, as well as their level 2 forms, and also set allow_undo if you aren't a ranger.
Mica says one who cheats, cheats himself.

You are an Elvish Shyde - Beautiful, natural, and helpful, though sometimes under-appreciated.

Post Reply