Map Database  •  FAQ  •  RSS  •  Login

Multiplayer-mission

<<

Merchator

Sword Fighter

Posts: 336

Joined: 27 Dec 2006, 23:00

Location: Germany

Post 13 Feb 2008, 16:43

Multiplayer-mission

Hey eveyone!
I made a multiplayer mission, and it works so far, but
I only see the starting spot and my troups....and the objects. The landscape is still dark and cannot be explored.
Anyone know, how I could fix this?
Thanks a lot!
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 13 Feb 2008, 17:27

Hi Merchator,

I had already read on the German forum that you were making a multiplayer mission, and I was anxious if you could make it work, because I have made one myself and I couldn't. :?
There must be some things we do not know... yet, I hope.
<<

Merchator

Sword Fighter

Posts: 336

Joined: 27 Dec 2006, 23:00

Location: Germany

Post 13 Feb 2008, 17:51

Hm, thats bad, of course :(
Maybe we can find the reason for this.
Because EVERYTHING is working ... except this black landscape.
We'll see :(
<<

ironsceptre

Woodcutter

Posts: 19

Joined: 27 Dec 2007, 23:00

Website: http://ironlancer.freeforums.org

Location: In a van down by the River

Post 13 Feb 2008, 20:05

Hi Merchator,

I had already read on the German forum that you were making a multiplayer mission, and I was anxious if you could make it work, because I have made one myself and I couldn't. :?
There must be some things we do not know... yet, I hope.
This is the problem I had that I was talking about in the other thread. I may have forgotten to mention that it was also for a multiplayer mission....this explains much.
<<

Merchator

Sword Fighter

Posts: 336

Joined: 27 Dec 2006, 23:00

Location: Germany

Post 13 Feb 2008, 20:19

Hm, what a crap :?
I tired out to Clear Up as much as possible, but it still dont work :(
And there is no difference between my map and the original ones.
<<

Litude

User avatar

King Karolus

Posts: 1233

Joined: 01 May 2006, 22:00

Website: http://www.knightsandmerchants.net

Location: Finland

Post 14 Feb 2008, 21:45

I wonder if they have some additional check the prevent cheating in multiplayer. As to check whether they are modified or not... Should try taking a look someday :P
<<

Merchator

Sword Fighter

Posts: 336

Joined: 27 Dec 2006, 23:00

Location: Germany

Post 15 Feb 2008, 13:21

HEy, guys!
I've found out a way to solve this problem (tough it's a little bit odd).
Just put in for EACH player in the script
  Code:
!CLEAR_UP 255[/quote] Then the whole map is explored at the beginning. That's not that good, of course. But you see everything! And you can't walk over mountains anymore :wink:
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 15 Feb 2008, 17:10

Ok, that's good news, now we now at least it has something to do with !CLEAR_UP! Lewin and me had already expected that though, but I couldn't fix it. I will have a shot at it in the future. :)
<<

ironsceptre

Woodcutter

Posts: 19

Joined: 27 Dec 2007, 23:00

Website: http://ironlancer.freeforums.org

Location: In a van down by the River

Post 15 Feb 2008, 20:33

Indeed yes. What a find. Somebody give that man an Ada-boy!
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 16 Feb 2008, 03:54

Great news!

Well done Merchator! :D This will be much help for seeing what's happening when making normal missions. I will need to include a way to do this in my editor... shouldn't be too hard. I think I should release a screenshot soon, although not much has changed. I've been a bit lazy recently, not programming as much as before. :wink:
@Dark Lord: If you find out a way to make it work (without the whole map being revealed) then please tell us.
@Litude: How long will it be until the next update? Well done with the ELP 4 BTW.
Lewin.
<<

Merchator

Sword Fighter

Posts: 336

Joined: 27 Dec 2006, 23:00

Location: Germany

Post 16 Feb 2008, 09:18

You have known this command before?
I just saw it when I was making my multiplayer missions (and looked for the commands in other missions).
It's good, if it would help.
LOL, I always used !CLEAR_UP <X> <Y> <RADIUS> to see whats happening in my missions, but now I can use !CLEAR_UP <255>.
What a find, right? 8)

@lewin: I found out this command, no offence :wink:

If it hadn't been know before, of course...

I'll release my multiplayer mission soon. Map is nice, so far, tough a little bit unfair at some points. It's just bad that I have to use this !CLEAR_UP <255> command, so you see everything...that isn't good, if you don't want that :D
<<

Danjb

Sword Fighter

Posts: 288

Joined: 14 May 2007, 22:00

Post 20 Feb 2008, 22:33

Hey... Err, I was told to check out this thread because apparently no-one had managed to make a multiplayer mission that worked but I pulled it off (check out the "Getting into Editing" thread).

But I'm guessing you got it working..?

In any case, I figure I may as well pose my question here, which is: is there a way to get AI working in multiplayer missions?

Cheers,

- Danjb
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 21 Feb 2008, 21:24

No, only if we use !CLEAR_UP 255.
Can you upload the map and script for us so we might be able to see our mistakes? Thank you. :)
<<

Danjb

Sword Fighter

Posts: 288

Joined: 14 May 2007, 22:00

Post 21 Feb 2008, 23:29

I just used level 7 for the map, and just edited the code for level 7 to make it multiplayer:

======================================

======================================

======================================

!SET_MULTIPLAYER
!SET_MAP "data\mission\SMaps\save07.map"
!SET_MAX_PLAYER 2

!DISTRIBUTE_MULTIPLAYER_POSITIONS

!SET_CURR_PLAYER 0

!IF VALID_PLAYER

!CENTER_SCREEN 107 102
!CLEAR_UP 107 102 15
!CLEAR_UP 111 78 10
!CLEAR_UP 105 81 10
!CLEAR_UP 117 96 10
!CLEAR_UP 117 96 10
!CLEAR_UP 113 52 20
!CLEAR_UP 120 69 10
!CLEAR_UP 84 53 15
!CLEAR_UP 100 54 20
!CLEAR_UP 67 38 10
!CLEAR_UP 72 43 10
!CLEAR_UP 80 76 10
!CLEAR_UP 92 77 10
!CLEAR_UP 61 76 7
!CLEAR_UP 68 76 7

!SET_ALLIANCE 1 1

!SET_HOUSE 4 105 81
!SET_HOUSE 4 111 78
!SET_HOUSE 11 107 102
!SET_STREET 106 103
!SET_STREET 107 103
!SET_STREET 109 103
!SET_STREET 108 103
!SET_STREET 109 102
!SET_STREET 110 101
!SET_STREET 110 102
!SET_STREET 111 101
!SET_STREET 114 99
!SET_STREET 114 100
!SET_STREET 113 100
!SET_STREET 112 100
!SET_STREET 112 101
!SET_STREET 105 82
!SET_STREET 106 82
!SET_STREET 107 82
!SET_STREET 108 82
!SET_STREET 109 82
!SET_STREET 110 81
!SET_STREET 110 82
!SET_STREET 111 81
!SET_STREET 111 79
!SET_STREET 111 80
!SET_STREET 111 82
!SET_STREET 105 103
!SET_STREET 108 102
!SET_STREET 108 101
!SET_STREET 108 100
!SET_STREET 108 99
!SET_STREET 108 97
!SET_STREET 108 98
!SET_STREET 108 96
!SET_STREET 108 95
!SET_STREET 108 94
!SET_STREET 109 93
!SET_STREET 109 92
!SET_STREET 109 91
!SET_STREET 109 90
!SET_STREET 109 89
!SET_STREET 108 93
!SET_STREET 109 88
!SET_STREET 109 87
!SET_STREET 109 86
!SET_STREET 109 85
!SET_STREET 109 84
!SET_STREET 109 83
!SET_STREET 110 83
!SET_HOUSE 27 112 100
!SET_STREET 109 101
!SET_STREET 109 100
!SET_STREET 113 101
!SET_STREET 114 101
!SET_STREET 110 100
!SET_STREET 109 99
!SET_STREET 110 99
!SET_STREET 111 100
!SET_STREET 111 99
!SET_STREET 112 100
!SET_STREET 113 100
!SET_STREET 113 99
!SET_STREET 112 99
!SET_STREET 109 98
!SET_STREET 110 98
!SET_STREET 109 97
!SET_STREET 107 102
!SET_STREET 107 101
!SET_STREET 107 100
!SET_STREET 106 102
!SET_STREET 106 101
!SET_STREET 105 102
!SET_HOUSE 11 61 76
!SET_STREET 59 77
!SET_STREET 61 77
!SET_STREET 60 77
!SET_STREET 59 76
!SET_STREET 61 76

!ADD_WARE 1 60 // Steine
!ADD_WARE 2 50 // Bretter
!ADD_WARE 7 70 // Truhe
!ADD_WARE 8 80 // Wein
!ADD_WARE 10 60 // Brot
!ADD_WARE 13 30 // Wurst

!ADD_WARE_TO_SECOND 3 50 // Eisen
!ADD_WARE_TO_SECOND 5 100 // Kohle
!ADD_WARE_TO_SECOND 12 20 // Leder
!ADD_WARE_TO_SECOND 16 10 // Holzschield
!ADD_WARE_TO_SECOND 20 10 // Axt
!ADD_WARE_TO_SECOND 24 10 // Langbogen

!SET_UNIT_BY_STOCK 9 // setze bauarbeiter
!SET_UNIT_BY_STOCK 9 // setze bauarbeiter
!SET_UNIT_BY_STOCK 9 // setze bauarbeiter
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT 2 109 98
!SET_UNIT 2 111 79

!SET_GROUP 17 104 95 7 4 12 // bogensch?tzen
!SET_GROUP 21 114 106 5 4 12 // sp?her
!SET_GROUP 15 95 107 6 4 12 // axtk?mpfer
SEND_GROUP 88 47 4

ATTACK_POSITION 90 75

!ENDIF

!IF VALID_PLAYER

!SET_CURR_PLAYER 1

!CENTER_SCREEN 107 102
!CLEAR_UP 107 102 15
!CLEAR_UP 111 78 10
!CLEAR_UP 105 81 10
!CLEAR_UP 117 96 10
!CLEAR_UP 117 96 10
!CLEAR_UP 113 52 20
!CLEAR_UP 120 69 10
!CLEAR_UP 84 53 15
!CLEAR_UP 100 54 20
!CLEAR_UP 67 38 10
!CLEAR_UP 72 43 10
!CLEAR_UP 80 76 10
!CLEAR_UP 92 77 10
!CLEAR_UP 61 76 7
!CLEAR_UP 68 76 7

!SET_ALLIANCE 0 1

!SET_HOUSE 11 124 53
!SET_HOUSE 8 116 57
!SET_STREET 115 58
!SET_STREET 116 58
!SET_STREET 117 58
!SET_STREET 118 58
!SET_STREET 118 57
!SET_HOUSE 28 121 57
!SET_STREET 122 54
!SET_STREET 123 54
!SET_STREET 119 58
!SET_STREET 120 58
!SET_FIELD 116 59
!SET_FIELD 117 59
!SET_FIELD 118 59
!SET_FIELD 114 59
!SET_FIELD 115 59
!SET_FIELD 114 60
!SET_FIELD 115 60
!SET_FIELD 116 60
!SET_FIELD 118 60
!SET_FIELD 117 60
!SET_STREET 121 58
!SET_STREET 122 58
!SET_STREET 123 57
!SET_STREET 123 56
!SET_STREET 123 55
!SET_STREET 119 57
!SET_STREET 123 58
!SET_WINEFIELD 121 59
!SET_WINEFIELD 122 59
!SET_WINEFIELD 123 59
!SET_WINEFIELD 122 60
!SET_WINEFIELD 123 60
!SET_WINEFIELD 124 60
!SET_WINEFIELD 124 59
!SET_WINEFIELD 124 58
!SET_FIELD 114 58
!SET_FIELD 113 58
!SET_FIELD 113 59
!SET_HOUSE 22 118 53
!SET_STREET 118 56
!SET_STREET 118 55
!SET_STREET 118 54
!SET_HOUSE 22 111 48
!SET_STREET 111 49
!SET_STREET 112 49
!SET_STREET 113 49
!SET_STREET 114 49
!SET_STREET 114 50
!SET_STREET 115 50
!SET_STREET 115 51
!SET_STREET 116 51
!SET_STREET 116 53
!SET_STREET 116 54
!SET_STREET 117 54
!SET_STREET 116 52
!SET_HOUSE 7 116 49
!SET_STREET 116 50
!SET_STREET 117 50
!SET_HOUSE 21 100 42
!SET_HOUSE 0 110 43
!SET_HOUSE 19 105 45
!SET_STREET 104 46
!SET_STREET 105 46
!SET_STREET 106 46
!SET_STREET 108 46
!SET_STREET 107 46
!SET_STREET 103 46
!SET_STREET 102 46
!SET_STREET 100 43
!SET_STREET 101 44
!SET_STREET 101 45
!SET_STREET 100 44
!SET_STREET 102 45
!SET_STREET 107 45
!SET_STREET 108 45
!SET_STREET 108 44
!SET_STREET 109 44
!SET_STREET 109 46
!SET_STREET 110 46
!SET_STREET 112 46
!SET_STREET 113 46
!SET_STREET 113 47
!SET_STREET 113 48
!SET_STREET 111 46
!SET_HOUSE 8 121 42
!SET_HOUSE 27 116 44
!SET_STREET 115 45
!SET_STREET 114 45
!SET_STREET 114 46
!SET_STREET 115 46
!SET_STREET 116 46
!SET_STREET 117 46
!SET_STREET 116 45
!SET_STREET 117 45
!SET_STREET 118 46
!SET_STREET 118 45
!SET_STREET 97 43
!SET_STREET 96 42
!SET_STREET 98 43
!SET_STREET 99 43
!SET_HOUSE 16 122 49
!SET_STREET 97 42
!SET_STREET 117 51
!SET_STREET 118 50
!SET_STREET 119 50
!SET_STREET 121 50
!SET_STREET 122 50
!SET_STREET 120 50
!SET_WINEFIELD 124 57
!SET_WINEFIELD 124 56
!SET_STREET 121 54
!SET_STREET 121 52
!SET_STREET 121 53
!SET_STREET 121 51
!SET_STREET 120 55
!SET_STREET 119 54
!SET_STREET 120 53
!SET_STREET 120 51
!SET_STREET 120 52
!SET_STREET 118 51
!SET_STREET 119 51
!SET_STREET 118 44
!SET_STREET 118 43
!SET_STREET 119 43
!SET_STREET 120 43
!SET_STREET 118 47
!SET_STREET 118 48
!SET_STREET 118 49
!SET_FIELD 119 44
!SET_FIELD 120 44
!SET_FIELD 121 44
!SET_FIELD 121 43
!SET_FIELD 122 43
!SET_FIELD 123 43
!SET_FIELD 122 44
!SET_FIELD 123 44
!SET_FIELD 124 44
!SET_FIELD 124 43
!SET_FIELD 124 41
!SET_FIELD 123 42
!SET_FIELD 123 41
!SET_FIELD 124 42
!SET_WINEFIELD 125 57
!SET_WINEFIELD 125 58
!SET_WINEFIELD 125 59
!SET_WINEFIELD 125 56
!SET_WINEFIELD 125 60
!SET_WINEFIELD 123 61
!SET_WINEFIELD 124 61
!SET_HOUSE 13 105 41
!SET_STREET 101 43
!SET_STREET 102 44
!SET_STREET 102 43
!SET_STREET 102 42
!SET_STREET 103 42
!SET_STREET 104 42
!SET_STREET 95 42
!SET_STREET 123 50
!SET_STREET 119 49
!SET_STREET 119 48
!SET_STREET 119 47
!SET_STREET 119 46
!SET_STREET 122 55
!SET_STREET 119 55
!SET_STREET 121 55
!SET_STREET 120 54
!SET_STREET 107 44
!SET_STREET 107 43
!SET_STREET 106 43
!SET_STREET 105 42
!SET_STREET 106 42
!SET_HOUSE 19 109 40
!SET_HOUSE 19 95 40
!SET_STREET 94 41
!SET_STREET 95 41
!SET_STREET 106 41
!SET_STREET 107 41
!SET_STREET 108 41
!SET_STREET 107 42
!SET_HOUSE 10 92 44
!SET_HOUSE_DAMAGE 250
!SET_STREET 91 45
!SET_STREET 92 45
!SET_STREET 94 45
!SET_STREET 93 45
!SET_STREET 94 44
!SET_STREET 95 44
!SET_STREET 95 43
!SET_STREET 96 43
!SET_HOUSE 2 103 48
!SET_HOUSE_DAMAGE 350
!SET_HOUSE 12 109 52
!SET_HOUSE_DAMAGE 455
!SET_STREET 109 53
!SET_STREET 111 53
!SET_STREET 110 53
!SET_STREET 111 52
!SET_STREET 111 51
!SET_STREET 111 50
!SET_STREET 112 50
!SET_HOUSE 0 111 58
!SET_HOUSE_DAMAGE 350
!SET_HOUSE 17 114 52
!SET_HOUSE_DAMAGE 250
!SET_HOUSE 9 99 46
!SET_HOUSE_DAMAGE 250

!ADD_WARE 0 60 // Baumest?mme
!ADD_WARE 2 50 // Bretter
!ADD_WARE 2 10 // Bretter
!ADD_WARE 7 10 // Truhe
!ADD_WARE 8 80 // Wein
!ADD_WARE 9 10 // Korn
!ADD_WARE 10 70 // Brot
!ADD_WARE 11 10 // Mehl
!ADD_WARE 13 40 // Wurst

!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT_BY_STOCK 0 // setze einheit
!SET_UNIT 4 115 58
!SET_UNIT 4 122 57
!SET_UNIT 4 120 43
!SET_UNIT 5 109 44
!SET_UNIT 5 104 46
!SET_UNIT 6 118 54
!SET_UNIT 6 117 50
!SET_UNIT 6 111 49
!SET_UNIT 3 123 50

!SET_GROUP 14 90 50 6 5 20 // Miliz
!SET_GROUP 14 94 59 5 5 20 // Miliz
!SET_GROUP 14 96 49 5 3 9 // Miliz
!SEND_GROUP 70 58 6
!SET_GROUP 14 100 58 6 4 12 // Miliz
!SEND_GROUP 70 58 6

!ENDIF

!SET_CURR_PLAYER 2
!ENABLE_PLAYER 2
!SET_AI_PLAYER
!SET_AI_START_POSITION 126 53
!SET_GROUP 14 126 53 4 1 1 // Miliz

======================================

======================================

======================================

The last 5 lines crash the game but the rest seems to be fine... Ideally the AI would exist and both humans players would be allied against them.
<<

Merchator

Sword Fighter

Posts: 336

Joined: 27 Dec 2006, 23:00

Location: Germany

Post 22 Feb 2008, 14:00

Hm, so I think, that the map is the problem.
Maybe it has one command with "Multiplayer" etc.
Thanks :wink:

BTW:
You don't use !IF_MEDIUM_WARES or !IF_MANY_WARES?

Return to “Map Design”

Who is online

Users browsing this forum: No registered users and 25 guests