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

(EO) How to Add Equipment Slots


Murdoc
 Share

Recommended Posts

  • Replies 83
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 weeks later...
Would anyone mind rewriting this tutorial and making it alot cleaner and also for E.O 2.0??  I tried it many times and its really messy seeing as he left out so much and never changed to original post to update the errors and such…
Please and thank you!
Link to comment
Share on other sites

Ctrl - F for an item type like Helm in both the client and server.

Next copy and paste the line with "Helm" in it and change the Helm to Legs.

Rinse and repeat. There you go.
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
got it working figured out that you cant put the new items as anything past the shield if you wana keep the stuff the same in the item editor.  and lastly the name on the list from the item selection menu has to be in the correct order.  this fix my problem.
Link to comment
Share on other sites

@Murdock:

> Add Additional Equipment in Eclipse Origins
> ===============================
>
> This tutorial will demonstrate how to add an additional equipment slot (more may be added).
>
> Client Side
> –---------
> In modGameLogic under ' For the stats label .. add a case:
>
> ```
> Case ITEM_TYPE_LEGWEAR
> .lblItemDescStats.Caption = "Defence: " & Item(itemnum).Data2
>
> ```
>
> i couldnt find " ' for the stats label :/
Link to comment
Share on other sites

Im using EO beta 2, some things didnt show up like in the game logic, the stuff to edit wasnt in there, in server or client… BUT my problem is i got every part to work except the items being equipable... im not too worried about it showing up in equipment slots... in fact i MAY remove the view for equipment slot if that wont ruin anything but i REALLY need help making my new slots equipable. Im making a zelda mmo just for me and its not really anything im tryna make big for everyone to use(at least not for a long time) but i added these slots ] Fairy,Masks,Boots,Horse,CLeft,CDown,CRight,Hair,And eyes[ they all show up every part works so far(not overlapping other item types or anything) they just WONT equip and it makes me mad >_<
Link to comment
Share on other sites

  • 4 weeks later...
~~Now I'm getting errors when trying to connect with server. It's "out of range" error and I don't know what I did wrong ;< Is it able to define the amount of charaters slots somewhere? Like max_item_types = 12? Tried to connect with two clients, mine and the basic eclipse origins and every time the same error occurs.

It happens when trying to make a new character/login to server~~

Everything works now ;) Just deleted the old engine and added those to new one. The error was probably with class configs but not so sure about it.
Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
I have a questions for the people that have done this in 2.0\. I sorta jumped in this head first & added 16 Eq slots instead of the regular 4\.

I have accessory slots. My Equipment Emerations look like this:
```
Public Enum Equipment
    Dress = 1
    Helmet
    Hair
    Acc1
    Weapon
    Armor
    Shield
    Acc2
    Fill1
    Legs
    Fill2
    Acc3
    Fill3
    Boots
    Fill4
    Acc4
    ' Make sure Equipment_Count is below everything else
    Equipment_Count
End Enum
```
I did it this way because I believe it dictates what order the items are displayed on the Character window and I plan on allowing multiple accessories & the fillers are for future addition.

My questions is about the accessories. Do I have to add a ITEM_TYPE for each Accessory slot, or is there a more efficient way to have multiple slots able to handle the same type item?
Link to comment
Share on other sites

I'v got problem in here. Server side

```
    ' Send welcome messages
    Call SendWelcome(Index)

    ' Send Resource cache
    For i = 0 To ResourceCache(GetPlayerMap(Index)).Resource_Count
        SendResourceCacheTo Index, i
    Next

```

p.s. Ohh fixed, just need to delete character and start from new, doesnt appear this error anymore. ^^
Link to comment
Share on other sites

@Domino_:

> I'v got problem in here. Server side
>
> ```
>     ' Send welcome messages
>     Call SendWelcome(Index)
>
>     ' Send Resource cache
>     For i = 0 To ResourceCache(GetPlayerMap(Index)).Resource_Count
>         SendResourceCacheTo Index, i
>     Next
>
> ```

Whats the problem?
Link to comment
Share on other sites

@Erwin:

> Whats the problem?

When I login with account it show's in server side that error Runetime "9"
I'm using EO 2.0 and everyithing is set in both sides client and server…

p.s. is in EO possible to change max admor/equipable things? xD
Link to comment
Share on other sites

@Domino_:

> When I login with account it show's in server side that error Runetime "9"
> I'm using EO 2.0 and everyithing is set in both sides client and server…
>
> p.s. is in EO possible to change max admor/equipable things? xD

Debug it in VB6 IDE and give me the line he's highlighting.
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...