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

Notsu

Members
  • Posts

    75
  • Joined

  • Last visited

    Never

Posts posted by Notsu

  1. Thanks for replies.

    I store names of the guilds in .txt file like account names are stored in eo. To associate player with guild 'im using string variable with name of guild, to check if player is in guild am using byte variable(true/false).

    Features what I'll be adding:

    - guild war system(score counting)

    - join/leave/delete guild

    - change guild leader

    - guild chat

    - player ranks

    and that's all I think…

    I do not know whether it is better to create and load the guild data files or do it by this way(loading from player data).
  2. Hello, I'm making an simple guildsystem for eo, not because I don't like the existing one done by Scott but that have huge options what I don't need.

    So, I'm made it based on player variables, I'm adding data variables like GuildName, InGuild etc. and I'm not sure if it's an good way to make it.

    What did You think about it?
  3. I got same problem as DopeyBiach. I think it's client based. When I left the map and then come back npcs are visible, when I warp from map X to map X(like reload) they are visible.
  4. @Notsu:

    > @jcsnider, I used it with set player variable option and it works fine on Your nightly release.
    > But I prefer DX7 version because of my crashed graphic card and the retro style of game what am working on, I'll try to rip it from 3.0 to my 2.3v but am not very skilled in vb so can I hope You'll help me? / or just explain what part of code You changed in those section.

    For now I tried to make(v2.3) it on one page based on conditional branch and it's works but still I don't know where the problem are based.
    sorry for lang but am writing from phone.
  5. @jcsnider, I used it with set player variable option and it works fine on Your nightly release.
    But I prefer DX7 version because of my crashed graphic card and the retro style of game what am working on, I'll try to rip it from 3.0 to my 2.3v but am not very skilled in vb so can I hope You'll help me? / or just explain what part of code You changed in those section.
  6. My problem is when I try to make an event based on player variables it's not working, always shows the last event page with no include the variables values.
    For example my event looks like this:

    > Page 1:
    > If player variable "1\. Name" is equal to 0 then
    > @>Show text: "exampletext1"
    > @>Set player variable "1\. Name" to 1
    >
    > Page 2:
    > If player variable "1\. Name" is equal to 1 then
    > @>Show text: "exampletext2"

    So it should for first hit(trigger is set to action button) show the "exampletext1", if hitted next time "exampletext2" but for me it showing always the "exampletext2" - the last page of event. When i try to make more pages in every config it still shows the last page(if it's based on player variables).

    I'm doing it on fresh copy downloaded 22.06.12.

    I hope You'll understand me. :)
  7. First: I love this system!
    Second:
    I have an question:
    What part of files I must delete to remove all event data? I know about maps and their "_eventdata" subfiles, the accounts files is needed too?
    simpy: Where are stored the event data?
  8. I observed this problem also when the picScreen was resized. When I log to the game from the client with resized client, npc's walking 1 tile per 3-5secs.
    When I log from the client with original size it's works normally. lol
  9. I got a problem with an GOKILL quest type.

    I have two quests, there are quest with killing other players
    and the second where the player must slay npc's.

    When I kill player it's adding +1 to task count but to all of player quests.

    In Case QUEST_TYPE_GOKILL there are no check like:
    ```
    If TargetIndex = Quest(QuestNum).Task(ActualTask).Resource Then

    ```what is already in GOTRAIN quest type and any other cases.

    I don't have idea what to do with that.
  10. I have the same problem but only when the computer(not server excatly) runs for more time and the temperature is higher than "normal", the npc combat and move system works but slower(?) like npc's hits players more rarely. Admittedly I have computer from the woods…
    Maybe it's problem of our machines not application?
  11. I'm trying to do it by changing draw party health bars code but I don't know what I can replace as partyIndex to get it work for all players not only party members.

    Here's the code of draw party mini hp bars:
    ```
        ' draw party health bars
        If Party.Leader > 0 Then
            For i = 1 To MAX_PARTY_MEMBERS
                partyIndex = Party.Member(i)
                If (partyIndex > 0) And (partyIndex <> MyIndex) And (GetPlayerMap(partyIndex) = GetPlayerMap(MyIndex)) Then
                    ' player exists
                    If GetPlayerVital(partyIndex, Vitals.HP) > 0 And GetPlayerVital(partyIndex, Vitals.HP) < GetPlayerMaxVital(partyIndex, Vitals.HP) Then
                        ' lock to Player
                        tmpX = GetPlayerX(partyIndex) * PIC_X + Player(partyIndex).XOffset + 16 - (sWidth / 2)
                        tmpY = GetPlayerY(partyIndex) * PIC_X + Player(partyIndex).YOffset + 35

                        ' calculate the width to fill
                        barWidth = ((GetPlayerVital(partyIndex, Vitals.HP) / sWidth) / (GetPlayerMaxVital(partyIndex, Vitals.HP) / sWidth)) * sWidth

                        ' draw bar background
                        With sRECT
                            .top = sHeight * 1 ' HP bar background
                            .Left = 0
                            .Right = .Left + sWidth
                            .Bottom = .top + sHeight
                        End With
                        Engine_BltFast ConvertMapX(tmpX), ConvertMapY(tmpY), DDS_Bars, sRECT, DDBLTFAST_WAIT Or DDBLTFAST_SRCCOLORKEY

                        ' draw the bar proper
                        With sRECT
                            .top = 0 ' HP bar
                            .Left = 0
                            .Right = .Left + barWidth
                            .Bottom = .top + sHeight
                        End With
                        Engine_BltFast ConvertMapX(tmpX), ConvertMapY(tmpY), DDS_Bars, sRECT, DDBLTFAST_WAIT Or DDBLTFAST_SRCCOLORKEY
                    End If
                End If
            Next
        End If
    ```
    Thanks for reply.
  12. Hello,
    I want to check how many players are on the map like this:
    if x players on the map then make something
    I have problem because on command GetTotalMapPlayers, there are returning 2 values, before join to map and after.

    How to recieve only one value?
×
×
  • Create New...