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

Peaverin

Members
  • Posts

    155
  • Joined

  • Last visited

    Never

Posts posted by Peaverin

  1. If you look at the server source, you'll notice that this is the default damage formula:

    ```
    0.085 * 5 * GetPlayerStat(index, Strength) * Item(WeaponNum).Data2 + (GetPlayerLevel(index) * 0.2)
    ```
    Or the same as:

    ```
    (0,425 * Str * Weapon Damage) + (Lvl / 5)
    ```
    Then, it's randomized and it's set random from 50% to 100% of the damage calculated before (I don't remember exactly if it was 50-100% as I've modified my code).

    Maybe you're wearing a 0 damage weapon as I don't see anything more that could be wrong.
  2. I think that buy to play is the best option for players because that guarantees you that the game will most likely have a good quality and support but you're not "forced" to pay every month. I bought GW2 back in 2013 and I think it's one of the best deals I've done. I play maybe just once a month but when I play it I still have fun with the game, and I'm not forced to pay in order to get the best items. Also, in my opinion nowadays there are very few MMOs that can be really called "free to play", as most of them are either "play a lot and don't have real life to win" or "pay to win".
  3. > It has no quest system also does it support DX8 (PNG GUI)

    Quest system's going to be added eventually and yes, it's made in DX8.

    You can take a look here to see what's going to be added:

    [http://www.eclipseorigins.com/community/index.php?/topic/136612-roadmap/](http://www.eclipseorigins.com/community/index.php?/topic/136612-roadmap/)
  4. I've tested the game for a while and it looks pretty good, congratulations! The only "bug" I've found (and maybe it's not a bug) are some black lines that appear on screen while I walk, although I can live with them:

    [http://i.imgur.com/g44n08j.jpg](http://i.imgur.com/g44n08j.jpg)
  5. Using Client **1.2.6.1** and Server **1.2.6.2 :**

    The movement speed is handled client-side so it is very easy to hack (changing MOVING_WALKING and MOVING_RUNNING constants). I've got a source code from a Zelda Mmorpg with Eclipse which has an efficient anti-hack speed system (speed is handled server-side). Maybe you want to take a look at it:

    [http://www.mediafire.com/download/68257d9031e0976/Source.zip](http://www.mediafire.com/download/68257d9031e0976/Source.zip)
  6. > Private Sub CheatCheck_Timer()
    >     If SpeedHack + 6000 < GetTickCount Then
    >      'do kicking stuff here dont forget to log this
    >     End If
    >     SpeedHack = GetTickCount
    > End Sub
    >
    > Timers are affected by speed hacks, gettickcount is not, Basically, If 6 seconds goes by faster than 5 seconds, you know it Is a speed hack.
    >
    > Have a timer on the client interval 5000 with the above code, adjust it to suit your needs and it works.
    >
    > This is my old anti speedhack, So feel free to make any adjustments.

    Thank you, I'll add this into my game. 

    But I still wonder if players can hack the speed not by speeding up the whole client, but by using some tool like Cheat Engine to change the Players Movement Speed (since it's a constant stored client side).
  7. Hi, I just want to be able to change the npcs/players movement speed, but I don't know in which lines of code I can do that. I suppose it has to be both client and server side, but I have no clue on how to edit it. I've checked the Sub ProcessPlayerMovement(ByVal Index As Long) in Client, but I'm a little confused with this… Is the movement handled client-side?

    Edit: Ok, I changed moventspeed Client-side and yes, the movement speed is handled client-side. This means that it's possible to hack the movement speed... does anyone know how to protect users from hacking the movement speed?
  8. As Xelander said, you should contact your internet provider and tell them to open the 7001 port. However they might ask you more questions and you might have to do some configs in your computer. I've always done it this way:

    1st: Go to your internet conexion config. Then go to properties and in Protocol 4 (TCP/IPV4) click on properties:

    Set the IP as 192.168.1.__ (after the 1\. put any number, but remember it).

    Then  put 255.255.255.0 as mask and 192.168.1.1 as default gateway.

    Then you're forced to choose your own DNS server. I use google's one: 8.8.8.8 and 8.8.8.4

    After that, click accept and you're done with that part.

    2nd: Now you have to open the ports you want (in this case 7001). For this, you'll have to enter your router's configuration. As my internet provider doesn't let me enter router's config directly, I have to call them and ask them to open the ports. They'll ask you which port you want to open and which IP. As IP you'll have to say/choose the one you entered before (192.168.1.__).

    3rd: You're done. Now your friends should be able to enter your game by putting your external IP adress (180.251.166.179) and 7001 as Port. You'll be able to enter by putting localhost.
  9. Hi all. I'm kinda new in Eclipse. Although I've been registered for a long time I've never presented myself but I've always wanted to do it so here it is. Well, I created this account a long time ago but I was a kid that had no idea on programming or on doing anything so I just used to log in from time to time and see what was going on. To be honest I started to want to come back the moment I saw Eclipse IV was no more the main engine so I could start developing my own game with an open-source supported engine (Worlds). Actually, I'm still a kid (17) but I think now I'm more capable of doing more things by myself and talking better in English (since I'm from Spain my english isn't perfect at all but at least you can understand what I'm writing). I only know how to script with HTML, CSS and Javascript (I'm starting an HTML5 game using html5 canvas element), but I'm able of doing little edits to the game I'm creating with Eclipse Worlds. I'm from Barcelona, and I play basketball in a team there. I also like playing the guitar (acoustic and electric), and as you can notice in my profile picture, Naruto is one of the series I like the most.

    Well I hope I'm good with the community and I'll try to help as much as I can (although I'm a noob in all envolving games development or Eclipse).
  10. Ok, so I've been looking at some japanese pages, and I think I've found enough free-to-use tilesets. You can take a look here if you want some free tiles:

    [http://yms.main.jp/](http://yms.main.jp/)

    The page also links to other pages where you can find more graphics. 

    I think you can mark the post as solved now, thanks.
  11. > * **I** guesses it will be somewhere in server code modCombat, modPlayer or gameHandleData but I don't see this.

    Well, in fact, it actually is in modCombat, in the first function Function GetPlayerMaxVital. The script is configurated in a way that the user's hp depends on the combat tree.

    If you want to change the part that has to do with the the, in Case HP, replace the formulas with the ones that you want. If you want to change the lvl part, change ((GetPlayerLevel(index) / 2) to  ((GetPlayerLevel(index) * 40).
  12. > The eula in the graphic pack says it can be used in any engine.
    >
    >  
    >
    > Also the creator of the graphics advertised on the site:
    >
    > [http://www.eclipseorigins.com/community/index.php?/topic/133778-rpg-resources-for-sale/?hl=%2Bhigh+%2Bfantasy](http://www.eclipseorigins.com/community/index.php?/topic/133778-rpg-resources-for-sale/?hl=%2Bhigh+%2Bfantasy)

    Oh, sorry, then it's me the one that understood it wrong. Then I might considering buying that pack. Sorry for saying you're wrong, and thanks for the explanation!
  13. Thanks for the info Seth, I was wondering if someone knows where to obtain more of those tilesets, since I lack a lot of them, and it seems that the fsm page is down…

    > The High Fantasy Graphic packs can be used outside rpgmaker, and one can usually get them on sale from steam or the site.

    @[member="Dungeon Master"]: Thanks for the answer, but I think you're wrong. If you look at rpg maker page, you'll find non-rpgmaker usable tilesets here: [http://www.rpgmakerweb.com/products/non-rm](http://www.rpgmakerweb.com/products/non-rm) and only-rpgmaker tilesets here: http://www.rpgmakerweb.com/products/graphics (I read that on their forums). As you can see, the High Fantasy Graphics are listed in rpg maker tilesets. It's a pity, since I was thinking about buying that pack until I found out it's only for rpg maker.
  14. Hi, I'd like to know if someone knows a good source of graphics not created by Enterbrain. I heard that using rpg maker graphics outside rpg maker is illegal. 

    Does anyone know a page where I can found nice non-rpgmaker graphics? 

    I'm looking mostly for tilesets and characters, as well as animations.
  15. Add this:

    ```
     If (cmbType.ListIndex = ITEM_TYPE_CSCRIPT) Then
            fraCScript.Visible = True
        Else
            fraCScript.Visible = False
        End If
    ```

    ->In Public Sub ItemEditorInit() before End With, add:

    ```
           'custom script
                    If (frmEditor_Item.cmbType.ListIndex = ITEM_TYPE_CSCRIPT) Then
                frmEditor_Item.fraCScript.Visible = True
                frmEditor_Item.scrlCScript.Value = .CScriptNumber

            Else
                frmEditor_Item.fraCScript.Visible = False
            End If

    ```

    ->In Private Function generateItemsForTab. After this:

    ```
           Case ITEM_TYPE_RECIPE
                ret = populateSpecificType(tempItems, ITEM_TYPE_RECIPE)
    ```

    Copy this:

    ```
                       Case ITEM_TYPE_CSCRIPT
                ret = populateSpecificType(tempItems, ITEM_TYPE_CSCRIPT)
    ```

    We're done with client now.

    3rd: Server Side

    Now, in Server, in Public Sub Useitem, before End Select, copy this:

    ```
    'Custom Script
                Case ITEM_TYPE_CSCRIPT
                'get the item script number
                n = Item(ItemNum).CScriptNumber
               Call CustomScript(index, n)
               Call TakeInvSlot(index, InvNum, 1)
    ```

    Note: If you want the item to be reusable, delete this line:

    ```
    Call TakeInvSlot(index, InvNum, 1)
    ```

    Using Custom Scripts

    This is an example of custom scripts, in mod CustomScripts in Server:

    ```

    Public Sub CustomScript(index As Long, caseID As Long)
    Dim n As Byte
        Select Case caseID
        Case "0"
        PlayerMsg index, "You just activated custom script " & caseID & ". It works hell yea.", BrightRed
        Case "1"
        n = Random(0, 20)
        If (n < 1) Then
        Call GiveInvItem(index, 10, 1, 110, 3, True)
        PlayerMsg index, "You've obtained the Eclipse Sword!", Magenta
        ElseIf (n < 5) Then
        Call GiveInvItem(index, 3, 1, 110, 3, True)
        PlayerMsg index, "You've obtained a diamond!", White
        Else
        Call GiveInvItem(index, 1, 20, -1, 3, True)
        PlayerMsg index, "You obtain 20 gold!", Black
        End If

            Case Else
                PlayerMsg index, "You just activated custom script " & caseID & ". This script is not yet programmed.", BrightRed
        End Select
    End Sub
    ```

    So if Custom Script Number is 0, it'll say "You just activated custom script 0\. It works hell yea." And if Custom Script Number is 1, it'll give you a random item with 5% chances to obtain the Eclipse Sword, 20%chances to obtain a diamond and 75% to obtain 20 gold. Custom Scripts can be used for many things, it just depends on your imagination, so having the option to call a custom script with an item is pretty good. If you have any problem, please report it, although I might not be able to solve it if it's something dificult, to be honest i don't really know anything about vb6, I just looked at the code in order to work out how to do little edits.
  16. Hi, I though it was already possible to call a custom script with an Item in E.Worlds, but it isn't, so there's a tutorial for those who want to do it. It is very basic but some people may need it:

    1st: Both Client and Server side

    >! ->In modConstants, after the last item constant, you put:
    >! ```
    Public Const ITEM_TYPE_CSCRIPT As Byte = 10
    ```
    In my case is ten because the last item constant I had was 9, but you'll have to put the next to the last number. This will set a new item type.
    >!  
    >!  
    >! ->In modTypes, in Public Type ItemRec, add this before the End Type:
    >! ```
    CScriptNumber As Byte
    ```
    This will create a new property for items, that indicates the Custom Script number.
    >! Note: If you want to have more than 255 Custom Scripts (I doubt that), set it As Long instead of As Byte.

    2nd: Client Side

    >! In Frm Editor_Item:
    >! ->Create a new frame, named fraCScript. Inside this frame create a new label named lblCScript (its caption should be Custom Script: 1). Also, create a scrollbar named scrlCScript. Set the scrollbar max to 255 if you set the CScriptNumber as Byte before, or set it at more if you set it at As Long. This way, you won't be able to exced 255 and won't cause any bug. Double click the scrollbar and paste this code:
    >! ```
    Private Sub scrlCScript_Change()
        If EditorIndex < 1 Or EditorIndex > MAX_ITEMS Then Exit Sub

        ' If debug mode, handle error then exit out
        If App.LogMode = 1 And Options.Debug = 1 Then On Error GoTo ErrorHandler

        lblCScript.Caption = "Custom Script: " & scrlCScript.Value
        Item(EditorIndex).CScriptNumber = scrlCScript.Value
        Exit Sub

    ' Error handler
    ErrorHandler:
        HandleError "scrlCScript_Change", "frmEditor_Item", Err.Number, Err.Description, Err.Source, Err.HelpContext
        Err.Clear
    End Sub
    ```
    ->Then, in Private Sub cmbType_Click() after this:
    >! ```
      If (frmEditor_Item.cmbType.ListIndex = ITEM_TYPE_RECIPE) Then
            fraRecipe.Visible = True
        Else
            fraRecipe.Visible = False
        End If
    ```
    Add this:
    >! ```
    >! If (cmbType.ListIndex = ITEM_TYPE_CSCRIPT) Then
            fraCScript.Visible = True
        Else
            fraCScript.Visible = False
        End If
    ```
    ->In Public Sub ItemEditorInit() before End With, add:
    >! ```
    >!  'custom script
                    If (frmEditor_Item.cmbType.ListIndex = ITEM_TYPE_CSCRIPT) Then
                frmEditor_Item.fraCScript.Visible = True
                frmEditor_Item.scrlCScript.Value = .CScriptNumber

            Else
                frmEditor_Item.fraCScript.Visible = False
            End If
    >! ```
    >!   ->In Private Function generateItemsForTab. After this: 
    ```
    >! Case ITEM_TYPE_RECIPE
                ret = populateSpecificType(tempItems, ITEM_TYPE_RECIPE)
    ```
    Copy this:
    >! ```
    >! Case ITEM_TYPE_CSCRIPT
                ret = populateSpecificType(tempItems, ITEM_TYPE_CSCRIPT)
    ```
    We're done with client now.

    3rd: Server Side

    Now, in Server, in Public Sub Useitem, before End Select, copy this:

    ```

    'Custom Script
                Case ITEM_TYPE_CSCRIPT
                'get the item script number
                n = Item(ItemNum).CScriptNumber
               Call CustomScript(index, n)
               Call TakeInvSlot(index, InvNum, 1) Call SendInventoryUpdate(Index, invNum)
    ```

    Note: If you want the item to be reusable, delete this line:

    ```

    Call TakeInvSlot(index, InvNum, 1)
    ```

    Using Custom Scripts

    This is an example of custom scripts, in mod CustomScripts in Server:

    ```

    Public Sub CustomScript(index As Long, caseID As Long)
    Dim n As Byte
        Select Case caseID
        Case "0"
        PlayerMsg index, "You just activated custom script " & caseID & ". It works hell yea.", BrightRed
        Case "1"
        n = Random(0, 20)
        If (n < 1) Then
        Call GiveInvItem(index, 10, 1, 110, 3, True)
        PlayerMsg index, "You've obtained the Eclipse Sword!", Magenta
        ElseIf (n < 5) Then
        Call GiveInvItem(index, 3, 1, 110, 3, True)
        PlayerMsg index, "You've obtained a diamond!", White
        Else
        Call GiveInvItem(index, 1, 20, -1, 3, True)
        PlayerMsg index, "You obtain 20 gold!", Black
        End If

            Case Else
                PlayerMsg index, "You just activated custom script " & caseID & ". This script is not yet programmed.", BrightRed
        End Select
    End Sub
    ```

    So if Custom Script Number is 0, it'll say "You just activated custom script 0\. It works hell yea." And if Custom Script Number is 1, it'll give you a random item with 5% chances to obtain the Eclipse Sword, 20%chances to obtain a diamond and 75% to obtain 20 gold. Custom Scripts can be used for many things, it just depends on your imagination, so having the option to call a custom script with an item is pretty good. If you have any problem, please report it, although I might not be able to solve it if it's something dificult, to be honest i don't really know anything about vb6, I just looked at the code in order to work out how to do little edits.

    Enjoy and report any bug if found!
  17. The Has Item(In Inventory) Condition for a page of the event to be shown doesn't work. The same for the Has Item conditional in event commands.

    Also, if you set "Title" as the type for an item, it doesn't let you choose which title you want the item to give (it always shows title nº1).

    As Sephirot does, I also think that things such as Required stats or damage,etc. should appear in items and spells descriptions. I'm not saying I can't do it by myself but it'd help all of Eclipse World's users that can't use VB6.

    Edit: forgot to mention i'm using 1.2.6.1 and 1.2.6.2
  18. When you log in, your hp and mp bars show this (100/100 and 100/100 even if you actually don't have 100/100hp nor 100/100mp).

    ![](http://i.imgur.com/v37YpAk.png)

    And if you try to use a spell that cost mp, the message: "Not enough mana to cast…" will appear. Your real hp will appear when, for example you got hit by an NPC, or you increase your endurance a little bit. And your real mana won't be shown until you increase some intelligence. Maybe it hasn't nothing to do with sendvitals, but the bug is there.
×
×
  • Create New...