Hi, Sorry for my bad english >.> ok, here I go….
I want to create a Castle in my game, but, when a Guild Reach the last level of the castle and one of the members of the guild talk with an Npcs or something a Global Msg appears saying e.j: “Lost Legacy has conquer the north Castle” and every member of the guild recive an item… And… OMG e.e XD a Picture or frm wich says… the current conquer of the castle e.e
I know this is too much… But… can anybody help me? T.T
I’m Using Eclipse Final Frontier
I Edited the code of Party Only Map:
http://www.eclipseorigins.com/community/index.php?/topic/128919-party-only-maps/?hl=+party%20+only
Server Side
U add this in ModPlayer/Sub PlayerWarp
Below
’ Save old map to send erase player data to
OldMap = GetPlayerMap(index)
add
'Check if the map is a castle
If Map(mapnum).Moral = MAP_MORAL_GUILD_MAP And GetPlayerAccess(index) = 0 Then
If Player(index).GuildFileId = 0 Then
Call PlayerMsg(index, “U need to be part of a clan for enter”, Red)
With Map(GetPlayerMap(index))
’ to the bootmap if it is set
If .BootMap > 0 Then
PlayerWarp index, .BootMap, .BootX, .BootY
Else
PlayerWarp index, START_MAP, START_X, START_Y
End If
End With
Exit SubEnd If
End If
Now in modConstats and find
Public Const MAP_MORAL_SAFE As Byte = 1
After that add:
Public Const MAP_MORAL_GUILD_MAP As Byte = 2
And that´s the only thing I´ve done for this system u.u