Ruins of Hell
-
Posts
6715 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Calendar
Posts posted by Ruins of Hell
-
-
-
> how do i set the rectangles visibility to false?
```
component.Visible = False
``` -
Try follow [this guide](http://www.touchofdeathforums.com/community/index.php?/page/index.html/wiki.html/_/visual-basic-6/installing-vb6-r6), and you might also want to read [this similar topic](http://www.touchofdeathforums.com/community/index.php?/topic/128718-eclipse-event-system-runtime-error-5-help/).
-
-
-
Check Public Sub CheckInputKeys() client-side.
```
If GetKeyState(vbKeyControl) < 0 Then
```
[(List here.)](http://msdn.microsoft.com/en-us/library/0z084th3%28v=vs.80%29.aspx)
Also change:
```
If GetAsyncKeyState(VK_CONTROL) >= 0 Then ControlDown = False
```
[(List here.)](http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731%28v=vs.85%29.aspx)
Note that if it is a printable key (a, b, c, d, etc.), you'll have to implement a click-to-type system. -
Ban system doesn't work, you should probably [open an issue](http://www.touchofdeathforums.com/community/index.php?/tracker/project-1-eclipse-event-system/) in the [tracker](http://www.touchofdeathforums.com/community/index.php?/tracker/project-1-eclipse-event-system/) for it.
-
> You use visual basic 6 - However, I am confused as to where to make the changes exactly,
>
> I have nightly (dragon eclipse) release and things are alittle bit different on mine, can't find "ondeath", even
>
> when searching the whole project.
Sub OnDeath in modPlayer.bas server-side.
Here's how you can do it for all maps:
```
Call PlayerWarp(index, START_MAP, START_X, START_Y)
```
to:
```
' Map #3, X 5, Y 7.
Call PlayerWarp(index, 3, 5, 7)
``` -
There are some specialized functions for that (GetPlayerClass, GetPlayerLevel, GetPlayerSprite). Find (modDatabase):
```
' **********************
' ** Player functions **
' **********************
```
for a list.
Aside from that, you can do Player(index)., where variable is any variable under PlayerRec. -
For the name, go to config.ini in client\data files, and change Game_Name. For the icon, go to the form in VB6 and change the Icon.
-
-
You could just check for overflow, here's a quick example function. Note that it only works for a, b > 0, and integer a and b.
It wouldn't let you go over 2 billion, but it will prevent the wrapping to negative numbers.
```
' Returns 0, if there is no overflow, or the overflow, if one exists. '
Function AddCheckOverflow(ByVal a As Currency, ByVal b As Currency) As Long ' Currency is 8 bytes, as opposed to Long's 4 bytes. ''
If a + b > MAX_LONG Then
AddCheckOverflow = CLng((a - MAX_LONG) + ![B)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/cool.png)
Else
AddCheckOverflow = 0
End If
End Function
```
You could then put the overflow in another stack, and then add on to the other stack (note that you should edit the inventory system to merge stacks when possible).
Some other options:
* Add to the packet engine to allow Currency (~1015 gold)
* Put the overflow in other stacks.
* Add a new system (like 1,000,000 gold -> 1 billagold; 1,000,000 billagold -> 1 quadgold) to allow a maximum of ~1027 gold, more than you'll ever need. -
> And where might SaveMap be? I deleted 2.3 map data that I had placed in 3.0\. Still RTE 9
Sub SaveMap server-side. Use Control + F -> Current Project to find it. -
> Quest(questnum).QuestlvlLimit = txtBox.Text
Very close, except you can't directly assign a string to an integer, but you can use the Val function instead.
```
Quest(questnum).QuestlvlLimit = Val(txtBox.Text)
``` -
First, turn off the server. Then, delete all the maps, events, NPCs, (everything in the data files folder). Then start up the server again.
-
Topic split at the owner's request.
-
The fix is entirely client side.
-
> If I put armour graphics what graphics folder would it be in so when my character equips it it appears on his sprite ingame?
Read [this guide](http://www.touchofdeathforums.com/community/index.php?/page/index.html/wiki.html/_/eclipse-origins/tutorials-1344890800/addingediting-graphics-r4). -
> That's kind of the point, though. (Not to cause flamewars, I mean to have TLDR rating.)
Understood, but the rating is done by a regular user, and is as good as any other rating. In addition, the whole rating will (obviously) be a topic of much debate by users who feel it is an unfair assessment of their game.
The community rating, being a function about how the community feels about it, is OK. But an individual rating which receives MORE weight than any other rating is a terrible idea and bound to cause arguments. -
> Soul don't help if you don't know the answer ;D
Didn't I mention that? ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)
> **(Also, see Options.Website server-side.)**
But to clarify for future readers: Options.Website is used when the client is not up-to-date. It wasn't strictly in the original question, but I thought it was needed. The GAME_WEBSITE constant is the one that shows when the server is down. -
I would recommend you remove the "TLDR rating". It seems like a huge potential for flamewars and fights.
-
> Would I have to download/purchase VB6?
Most things with Eclipse require VB6, except for the event system, which provides limited functionality but it useful for smaller tasks (such as the ones you would usually used scripting for). -
> What is wrong with you, there is nothing bad with what he done… that is to make people read, so the ones that wont will post that they have errors and will be answer with "Read" so they will learn... this is his way to make them learn why spoilering it?
Although I understand both points of this argument, you cannot force crzy to remove the code blocks from his post and we will not take action to do so.
On a personal note, I don't believe this is the best way to make people read tutorials, especially since the syntax highlighter defeats your point. Maybe add comments explaining your code, or do a line-by-line explanation instead of a single code block. -
> Eh heh… How do you add [Resolved] tag and lock?
Edit > Use Full Editor > Add 'Resolved' to tags > Check 'Use first tag as title' > Save. You can't lock though, but I'll do it for you.
Different paperdoll depending on direction?
in Source
Posted