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

A few noob questions/issues


tolemi959
 Share

Recommended Posts

Hello,

I am having a few issues. I am using **EO 2.3 - Event**.

–---

**1\. (Solved)** This is how my current shop UI looks like:

![](http://i47.tinypic.com/11hh0f6.png)

But! In my _client\data files\graphics\gui\main_ folder I changed the background color to grey (the same color as the blocks around the icons). But somehow it doesn't work?

–---

**2\. (Unsolved)** Next up we have a healing issue. I want a NPC to heal me. So I set him up correctly (I am 100% sure of this). On the event page I wrote this:

> Restore Player HP

> Restore Player MP

It does shows the healing animation & I think it does actually heal you, BUT it doesn't reflect correctly on the health and mana bars. (Read: Client-sides issue)

–---

**3\. (Unsolved)** So, I used [this](http://www.touchofdeathforums.com/community/index.php?/topic/115191-eo-wasd-movement/#entry703214) WASD tutorial. It worked, but now I also want to change my F1, F2, F3 etc shortcuts to 1, 2, 3 etc. How can I do so?

–--

**4\. (Unsolved)** Whenever I have typed -anything- in the chat, but not hit enter (it's still in the box), I can no longer (auto-)loot. I have this applied, if it's of any help to you guys.

–---

**5\.** **(Unsolved)** I'd also love to know how to change my spawn points (and re-spawn points separate whenever you die).

–---

**6\.** **(Unsolved)** I added a new class to the game. I changed the name & base stats and you can select it when creating a new character. It also has separate skill, which is good. But how can I change the stat scaling and input any other needed information? Whenever I currently try to add a new skill for the new class, I need to set the class requirements to 'warrior'. Otherwise it doesn't work.

–---

**7\.** **(Solved)** Whenever I add a NPC to my list, the Attribute NPC spawn does not update. In fact, I don't think it has ever updated at all. I currently have 1x Stinger, 1x Poison Mushroom & some other NPCs on my list, whilst the spawn shows me 4x Stinger & 1x Poison Mushroom and that's it.

![](http://i46.tinypic.com/f3gfmf.png)

–---

**8\. (Unsolved)** I remember seeing a tutorial on having more skills, different kinds of skills such as roots, buffs, DoTs, HoTs etc, but I can no longer find it. Any working ones for EO 2.3?

–---

**9\. (Unsolved)** Is there any way to gain special admin attributes? Such as walking through solid objects, increased running speed (anything to make mapping/eventing easier).

–---

**10\.** **(Unsolved)** So I an having a new issue. Pretty game breaking. Whenever I try to make a healing spell it's also useable on enemy monsters. In fact, it will even go above their maximum heal. For example, if the monster has 50 health and I heal him trice with my healing ability (which heals for 15 HP) his health bar will disappear and get up to 95 HP. Any solutions to make it non-NPC only?

–---

Will add in more questions if I can't find my answer to it. (The search button isn't working properly and the guides/tutorial index is outdated for the most part)

Thanks!
Link to comment
Share on other sites

1\. I'm not 100% sure as I haven't looked at Eclipse in a while, but I think you need to change the colour in VB6 (it's an object if I remember correctly).

2\. No idea.

3\. I think you just need to change the code for the hotbar where it says something like "vbKeyF1" to whatever the VB6 key code for numbers are. I think it's "vbKey1", but I could be wrong.

As I say, I can't provide you with any specific code because I haven't got Eclipse downloaded currently, but I believe that's the general gist of it. You could have a play around, or wait for someone who could provide more specific instructions. ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)
Link to comment
Share on other sites

1\. So it a color form? Sorry, I am an absolute newb when it comes to VB and I'd love to have some guidance here. I really should stick to the defaults, but I simply don't want to. ![:(](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/sad.png)

2\. N/A.

3\. Ah, yes, but where do I change what? What Module do I need to edit? Also, I tried using [this](http://www.touchofdeathforums.com/community/index.php?/topic/115191-eo-wasd-movement/page__st__60#entry789400) guys method to disable the movement part whenever you are typing, but it doesn't work. I can't move at all.

```

'Move Right

If ChatFocus = False Then

If GetKeyState(vbKeyRight) < 0 Or GetKeyState(vbKeyD) < 0 Then

DirUp = False

DirDown = False

DirLeft = False

DirRight = True

Exit Sub

Else

DirRight = False

End If

End If

If ChatFocus = True Then

If GetKeyState(vbKeyD) < 0 Then

DirUp = False

DirDown = False

DirLeft = False

DirRight = False

End If

End If

```

Etc..

And even worse, whenever I have typed -anything- in the chat, but not hit enter (it's still in the box), I can no longer (auto-)loot. I have [this](http://www.touchofdeathforums.com/community/index.php?/topic/131057-auto-loot-walk-over-item-to-loot/) applied, if it's of any help to you guys. I didn't post these questions in the original topics, because I don't want to necro them.
Link to comment
Share on other sites

Today has been such a perfect day, I downloaded 2.3 just for you to confirm everything! ![^_^](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/happy.png)

**1st Question**

I. Open up Client.vbp (requires VB6).

II. Go to frmMain (frmMain.frm

III. Go to picShopItems PictureBox

IV. Find Background Color, change it to whatever color you want.

V.Go to file and make Eclipse Origins.exe

>! ![](http://sadpanda.us/images/1355986-99NDX0P.jpg)

**Second Question**

I couldn't duplicate this error.

**Third Question**

[http://www.touchofde…ead#entry859431](http://www.touchofdeathforums.com/community/index.php?/topic/119883-eo-20-numeric-keypad-for-hotbar/page__hl__+hotkey%20+instead#entry859431)
Link to comment
Share on other sites

**1.** Found it! The only problem is I can't set it to the exact color I want (due to limited options). But I assume if I change the color code correctly, it's possible? I am talking about this code: &H00000000&

The color I need is R:181, B:181, G:181

**2.** N/A.

**3.**```

If KeyCode = 48 + i Then

```

What do I do with this? As I said, I really have zero clue what I am doing.. Also, when typing in the chat the WASD keys still move you around. Any fix?

**[EDIT:]** I'd also love to know how to change my spawn points (and re-spawn points whenever you die). And I added a new class to the game. Where can I change the stat scaling and input any needed information?
Link to comment
Share on other sites

The hex code for that colour you want is #B5B5B5 - I don't know if VB6 uses hex though.

And for number 3, look at the tutorial posted.. It kinda explains it, doesn't it?

In the code (client side), find:

```
If KeyCode = 48 + i Then
```

KeyCode = 48 is the VB6 keycode for F1.

So that people can use both the F# and the numerical keys, you just replace it with:

```

If KeyCode = 48 + i Then

SendHotbarUse i

ElseIf KeyCode = 96 + i Then

SendHotbarUse i

End If
```
KeyCode = 96 is the code for numerical key 0.

I don't know why, but "+ i" means it'll let you use 1, 2, 3, and so on. ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)

If you want to assign any key, you can find a list on the keycodes here:

[Key Code Constants](http://msdn.microsoft.com/en-us/library/aa243025%28v=vs.60%29.aspx)

I hope that makes sense. ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)
Link to comment
Share on other sites

> Nope, hex codes do not work. And according to the link you posted 112 is the F1 key, if I am correct. I tried looking in the client VB for it (project search), but without results. Searching for "vbKeyF1**"** didn't work either.

Hm.. I'm not entirely sure then..
Link to comment
Share on other sites

> Try modInput for the hotbar thing. And there is a tutorial for that I believe. And why not use the RGB? You should get them from the image file. Use any image editor.

I searched the project for the code. Doesn't work. And I posted the RBG myself. The image in the folder already has been edited, but the problem is the background color on the shop form is black, which is dominant apparently. And I can only change it to the "default" colors, which is why I need a code of some sorts. (&H00000000& = black, ??? = the color I need)
Link to comment
Share on other sites

> Worked. One more issue solved. The code appearently was **&H00B5B5B5&** (181, 181, 181).

Great! ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)

Can you remind us what issues are still left outstanding?
Link to comment
Share on other sites

> Great! ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)
>
> Can you remind us what issues are still left outstanding?

I have all my issues stated in the main post. I have made more RPG type of games, but I never really worked with VB before, hence all the questions. ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)
Link to comment
Share on other sites

So I an having a new issue. Pretty game breaking. Whenever I try to make a healing spell it's also useable on enemy monsters. In fact, it will even go above their maximum heal. For example, if the monster has 50 health and I heal him trice with my healing ability (which heals for 15 HP) his health bar will disappear and get up to 95 HP. Any solutions to make it non-NPC only?
Link to comment
Share on other sites

**2\. (Unsolved)** Next up we have a healing issue. I want a NPC to heal me. So I set him up correctly (I am 100% sure of this). On the event page I wrote this:

> Restore Player HP

> Restore Player MP

It does shows the healing animation & I think it does actually heal you, BUT it doesn't reflect correctly on the health and mana bars. (Read: Client-sides issue)

it probably doesn't send update to players after it restores the hp and mp look for the restore vital event server side and add call UpdatePlayerVitals… might work

-----

**3\. (Unsolved)** So, I used [this](http://www.touchofdeathforums.com/community/index.php?/topic/115191-eo-wasd-movement/#entry703214) WASD tutorial. It worked, but now I also want to change my F1, F2, F3 etc shortcuts to 1, 2, 3 etc. How can I do so?

in key up replace the

'hotbar

For i = 1 To MAX_HOTBAR

If KeyCode = 111 + i Then

SendHotbarUse i

End If

Next

' hotbar

For i = 1 To MAX_HOTBAR

If KeyCode = 48 + i Then

SendHotbarUse i

End If

Next

–--

**4\. (Unsolved)** Whenever I have typed -anything- in the chat, but not hit enter (it's still in the box), I can no longer (auto-)loot. I have this applied, if it's of any help to you guys.

–---

**5\.** **(Unsolved)** I'd also love to know how to change my spawn points (and re-spawn points separate whenever you die).

–---

**6\.** **(Unsolved)** I added a new class to the game. I changed the name & base stats and you can select it when creating a new character. It also has separate skill, which is good. But how can I change the stat scaling and input any other needed information? Whenever I currently try to add a new skill for the new class, I need to set the class requirements to 'warrior'. Otherwise it doesn't work.

–---

**7\.** **(Solved)** Whenever I add a NPC to my list, the Attribute NPC spawn does not update. In fact, I don't think it has ever updated at all. I currently have 1x Stinger, 1x Poison Mushroom & some other NPCs on my list, whilst the spawn shows me 4x Stinger & 1x Poison Mushroom and that's it.

![](http://i46.tinypic.com/f3gfmf.png)

–---

**8\. (Unsolved)** I remember seeing a tutorial on having more skills, different kinds of skills such as roots, buffs, DoTs, HoTs etc, but I can no longer find it. Any working ones for EO 2.3?

–---

**9\. (Unsolved)** Is there any way to gain special admin attributes? Such as walking through solid objects, increased running speed (anything to make mapping/eventing easier).

–---

**10\.** **(Unsolved)** So I an having a new issue. Pretty game breaking. Whenever I try to make a healing spell it's also useable on enemy monsters. In fact, it will even go above their maximum heal. For example, if the monster has 50 health and I heal him trice with my healing ability (which heals for 15 HP) his health bar will disappear and get up to 95 HP. Any solutions to make it non-NPC only?

–---
Link to comment
Share on other sites

**2\. (Unsolved)** Next up we have a healing issue. I want a NPC to heal me. So I set him up correctly (I am 100% sure of this). On the event page I wrote this:

> Restore Player HP

> Restore Player MP

It does shows the healing animation & I think it does actually heal you, BUT it doesn't reflect correctly on the health and mana bars. (Read: Client-sides issue)

it probably doesn't send update to players after it restores the hp and mp look for the restore vital event server side and add call UpdatePlayerVitals… might work

-----

**3\. (Unsolved)** So, I used [this](http://www.touchofdeathforums.com/community/index.php?/topic/115191-eo-wasd-movement/#entry703214) WASD tutorial. It worked, but now I also want to change my F1, F2, F3 etc shortcuts to 1, 2, 3 etc. How can I do so?

in key up replace the

'hotbar

For i = 1 To MAX_HOTBAR

If KeyCode = 111 + i Then

SendHotbarUse i

End If

Next

with

' hotbar

For i = 1 To MAX_HOTBAR

If KeyCode = 48 + i Then

SendHotbarUse i

End If

Next

–---

**5\.** **(Unsolved)** I'd also love to know how to change my spawn points (and re-spawn points separate whenever you die).

in on death server side

With Map(GetPlayerMap(Index))

' to the bootmap if it is set

If .BootMap > 0 Then

PlayerWarp Index, .BootMap, .BootX, .BootY

Else

Call PlayerWarp(Index, START_MAP, START_X, START_Y) < change these > "Call PlayerWarp(Index, newmap, newx, newy)"

End If

End With

also

search for below and change them for spawning

' Default starting location [Server Only]

Public Const START_MAP As Long = 1

Public Const START_X As Byte = 12

Public Const START_Y As Byte = 3

–---

**9\. (Unsolved)** Is there any way to gain special admin attributes? Such as walking through solid objects, increased running speed (anything to make mapping/eventing easier).

in

Function CheckDirection(ByVal Direction As Byte) As Boolean

add

CheckDirection = False

' check directional blocking

If player(myindex).access = 2 '2 minimum

CheckDirection = False

Exit Function

End If

–---

hope i helped
Link to comment
Share on other sites

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...