Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

NiceLoki

Members
  • Posts

    25
  • Joined

  • Last visited

    Never

Posts posted by NiceLoki

  1. Hi…. well.... I want to move Stat buttons on EFF.... but, the code for rendering stats is:

    ```

    If GetPlayerPOINTS(MyIndex) > 0 Then
    ' draw the buttons
    For buttonnum = 16 To 20
    x = GUIWindow(GUI_CHARACTER).x + Buttons(buttonnum).x
    y = GUIWindow(GUI_CHARACTER).y + Buttons(buttonnum).y
    Width = Buttons(buttonnum).Width
    Height = Buttons(buttonnum).Height
    ' render accept button
    If Buttons(buttonnum).state = 2 Then
    ' we're clicked boyo
    Width = Buttons(buttonnum).Width
    Height = Buttons(buttonnum).Height
    'EngineRenderRectangle Tex_Buttons_c(Buttons(buttonnum).PicNum), x, y, 0, 0, width, height, width, height, width, height
    RenderTexture Tex_Buttons_c(Buttons(buttonnum).PicNum), x, y, 0, 0, Width, Height, Width, Height
    ElseIf (GlobalX >= x And GlobalX <= x + Buttons(buttonnum).Width) And (GlobalY >= y And GlobalY <= y + Buttons(buttonnum).Height) Then
    ' we're hoverin'
    'EngineRenderRectangle Tex_Buttons_h(Buttons(buttonnum).PicNum), x, y, 0, 0, width, height, width, height, width, height
    RenderTexture Tex_Buttons_h(Buttons(buttonnum).PicNum), x, y, 0, 0, Width, Height, Width, Height
    ' play sound if needed
    If Not lastButtonSound = buttonnum Then
    PlaySound Sound_ButtonHover, -1, -1
    lastButtonSound = buttonnum
    End If
    Else
    ' we're normal
    'EngineRenderRectangle Tex_Buttons(Buttons(buttonnum).PicNum), x, y, 0, 0, width, height, width, height, width, height
    RenderTexture Tex_Buttons(Buttons(buttonnum).PicNum), x, y, 0, 0, Width, Height, Width, Height
    ' reset sound if needed
    If lastButtonSound = buttonnum Then lastButtonSound = 0
    End If
    Next
    End If

    ' draw the equipment
    DrawEquipment
    End Sub

    ```
    What do i have to edit for moving it? thanks X_X this is DX8 btw
  2. Works! Thanks!!!!! *-* U´re my hero! 

    > Go to sub GameLoop, below this line : If Options.Debug = 1 Then On Error GoTo errorhandler, put this:
    >
    > ```
    > If GetPlayerLevel ( Index ) <= 10 then
    > frmGuide.Visible = True
    > frmGuide.SetFocus
    > End if
    >
    > ```
    > :3!
  3. > look for modInput. there should be a sub there for all of the commands, go from there

    Nope, Read again…. I already put the comand "/guide", now I want the guide to show up when a player less than level 10 login...
  4. Hí! In my game I put a little guide wich how up when u write "/guide" but, I want it to show up when the player level is under 10 I know this is de code:

    ```
    If GetPlayerLevel ( Index ) <= 10 then
    frmGuide.Visible = True
    else
    End if

    ```
    But I don´t know where I have to put it so it turn into visible when the player log in the game…. Can anyone help me? xD thanks! :3
  5. > You could add a variable to the Map rec called CapturedBy or something like that. Then, if you have a conversation system, make an event triggered by the conversation that changes the map variable CapturedBy. Then, make a packet that sends and updates this information to the rest of the players online. Rather simple.

    That´s the part I have no Idea how to do T.T
  6. > What kind of systems do you have to hook into for this?

    Didn´t understand what u mean D: I just want to Put a map moral  "Guild Map" or "Castle" so… just guilds can be on it, but this is the easy part, I´m doing it editing the "Only party map" code... ... the difficult its: Making A npc or something who can make your guild the "conquer of the castle" and a global mensage says : "Guild name Has conquer Castle name" and a reward for all the guilds members... 

    (Sorry, My english suks t.t)
  7. 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](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 Sub
    >
    > End 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
  8. Hi everybody… as u know.. some people has lag when their changing maps and it is like charging... but your character stay just like frozen... so.. I would like that instead of stayin like that put an image.... I think that´s all XD hope u got it...

    Can anybody help me to do this?

    Sorry for my english.... Is not my native languaje... and kind of sucks XD ;D
  9. > quest and guild system ? where? what version ? i didn't seem to find a guild or quest system on the latest version  (v0.12)

    Exactly XD in Developer Edition Closed source has Guilds… and a lot of nice stuffs...
  10. > There is no big difference, also hes updating the open source project.
    > ![](http://eatenbrain.com/filehost/files/13104bddd59cf0385e8fd06ed09dbdf1.png)
    >
    > So this will be better than that whos not open source, actually there is quest system and…. different look, thats it. Ohh yea smtn about lights too :D

    And a Guild system XD and Nice interface… and.... XD Its better... more tools from server side... xD


  11. > What do you mean with that, it is open source…

    Nope… look this is the one wich include the source: 
    ![](http://eatenbrain.com/filehost/files/6b21bc6dcbfc886dc2b47af0d93ea866.png)

    and this is the one wich not t.t 

    ![](http://eatenbrain.com/filehost/files/9c049b24ad55476b7a70e01495a72c1b.png)

    Am i wrong? D:
  12. Hi, I´ve a problem with the guild system on Eclipse Event System X_X

    If i write in my client : /guild create it says that I have to use a this command /guild create (name) when use It the client close off and give me this error ; Run-time error ´380´ guild System. when I try to get into the account again give me the same error…. other users can see me before the game close off.. and I have the guild allready created but... doesn´t allow me to get into the game....

    XD Sorry.. my english sucks ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Hope u can help me.... ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)
×
×
  • Create New...