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

elementaldisaster

Members
  • Posts

    154
  • Joined

  • Last visited

    Never

Posts posted by elementaldisaster

  1. I don't know if I've misunderstood, but I'm confused, either way.

    The code makes the button disappear, but at the same time you want it to change the caption to 'Show GUI'. I tested and this simply removes gui (along with the button) and then you have to re-client to get it back.

    I remade this using a much more cluttered method (that works for me), which is also customized to hide certain GUI, but more can be added easily.

    ```

    Private Sub imgHideBar_Click()

    If Not picHotbar.Visible Then

    ' show hotkey bar

    picHotbar.Visible = True

    Else

    picHotbar.Visible = False

    End If

    If Not coinbox.Visible Then

    ' show coinbox

    coinbox.Visible = True

    Else

    coinbox.Visible = False

    End If

    End Sub

    ```

    *code is simply to show an example, it won't work unless you modify it to co-operate with your buttons and your GUI parts.
  2. I think this concept is good for helping our community grow. If we can get new users to understand and be interested in the engine to begin with then we will keep more of them around.

    Personally I think it's not so much of a _lazy_ idea. It's an idea which can take eclipse to the next step.
  3. ~~compiled server:

    map.Description = _**txtDescription**_.text

    Txtdescription got marked~~

    edit: firgured it out, thanks for the help, gonna try sort out the display now ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)
  4. A page, just like inventory for example, with the description text inside.

    Thanks by the way, really helpful ![^_^](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/happy.png)
  5. Hey!

    I'm working on a pirate game project, which is based in an archipelago with many islands.

    I would however like to add some kind of "island description" for each island. Example:

    In map properties there is a large text box where you can enter this description, along with some basic info about the island. Each island is made using one map. On the sidebar there will be a button which will display the islands info.

    I think this feature should be fairly easy to create, but honestly I'm not the best with source codes, so if anyone could help point me in the right direction that would be great! ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)

    I hope you understand what I mean, it's not easy to explain ^^

    Really appreciate all replies and thanks for reading ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)
  6. > ```
    > If GetPlayerBounty(victim) > 0 Then
    >
    > 'Give the reward
    >
    > Call GiveInvItem(attacker, 1, GetPlayerBounty(victim))
    >
    > 'Send the messages
    >
    > Call PlayerMsg(attacker, "You have received: " & GetPlayerBounty(victim) & " dollars for killing " & GetPlayerName(victim), BrightGreen)
    >
    > Call GlobalMsg(GetPlayerName(victim) & " has been slain by " & GetPlayerName(attacker) & " and has collected the " & GetPlayerBounty(victim) & " dollar bounty on his/her head", BrightGreen)
    >
    > 'Set the bounty to 0
    >
    > Call SetPlayerBounty(victim, 0)
    >
    > End If
    > ```
    >
    > ```
    > Call GiveInvItem(attacker, 1, GetPlayerBounty(victim))
    > ```
    >
    > attacker variable not defined

    Still not defined…
  7. Very nice engine ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)

    Only problem I'm having is I can't compile for some reason ^.^

    EDIT: Found the problem, for anyone else unsure, go to frmMenu and right click the user agreement, click properties and update the destination of the rtf file its grabbing.
  8. > hey eragon2589 i downloaded your dragon eclipse and i have one problem when i open my client i cant see the screen where my char runs and walks in map that place so how do i fix that

    You have enabled Debug, without that enabled you would only get as far as "Loading Interface" and then would be given an Automation Error.

    I've got the same problem…
  9. > I was wondering how do to fix this error?
    >
    > ![](http://i44.servimg.com/u/f44/15/74/63/00/img_0710.jpg)
    >
    > I already installed and reinstalled the library files, but did not work

    I second that, coming back to eclipse and I can't work it out, Library files installed (multiple times) and still same error when starting client (stops at 'Loading Interface')

    EDIT:

    Debugged, this is what highlighted: ![](http://www.freemmorpgmaker.com/files/imagehost/pics/a63340c513385859cd4184878c03bd05.png)

    That full piece of highlighted code is:

    ```

    Set Direct3D_Device = Direct3D.CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, frmMain.picScreen.hWnd, D3DCREATE_MIXED_VERTEXPROCESSING, Direct3D_Window)

    ```

    EDIT2

    Ok, so after about an hour of looking around like a fool i realized i needed Jcs runtimes, still doesn't work however.
  10. I've added all the code, all looks fine, but obviously its not…
    The system works fine, until someone tries to accept a guild invite, it simply says "No one from this guild is online any more, please ask for a new invite." I'm sure I've missed something, seeing as it's working fine for everyone else.
    So please, can anyone tell me what it might be that is causing the problem. I can describe better/send my source if required.
  11. You can make it possible with some changes, where and what exactly I'm not 100% sure, but from a couple of days trying to work out VB6 i feel the chance is strong that some (if not all) changes need to be made in ModDD7.
  12. @Gʍ3иদɐ∟|n:

    > Use localhost for your server's ip in your client.

    @Bonk:

    > And try using 127.0.0.1 in the client config (:

    It can be good to read the previous posts before posting…
  13. Hey I'm trying to add a currency which can be used at arenas and other PvP areas which is distributed through killing players.

    In server ModCombat under PlayerAttackPlayer sub i added           

    ```
    Call GiveInvItem(Index, 50, attacker)
    ```
    right under
    ```
    Call PlayerMsg(attacker, "You received no exp.", BrightBlue)
    ```Upon compiling i get "Compile Error: Variable not defined" and "Index" is highlighted.

    Before someone comes and start calling me a brainless fuck, i just want to say that this is my first attempt at writing a code without a tutorial, and i got what i have already through sifting through the source and trying to find something similar.

    Also, I'm posting this to learn, if you simply correct me and do not educate me as to why it wasn't right then I'm not learning anything, am I?

    All help is appreciated, as long as its actually help.
  14. @Matlock:

    > Just a little update. Since releasing 1.5 I have noticed a couple bugs while using it for production. I'm going to fix them up and release version 1.6 sometime later today.

    changed your mind or what? O.o
  15. @GoldSide:

    > how if we make a button and the button can enter items into the bank? is there a script

    I think what your trying to say is "I would like to make a button which empties my inventory into the bank."
×
×
  • Create New...