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

Ruins of Hell

  • Posts

  • Joined

  • Last visited


Everything posted by Ruins of Hell

  1. Ruins of Hell

    Map size

    Change: ``` Public Const MAX_MAPX As Byte = 14 Public Const MAX_MAPY As Byte = 11 ```
  2. > how do i set the rectangles visibility to false? ``` component.Visible = False ```
  3. 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/).
  4. Make sure gold is item 1.
  5. Ruins of Hell

    New Site

    > not sure if its an issue but tab doesnt work to format text in quick reply > > firefox 14.0.1 I don't think that's an issue, that's the case with most systems.
  6. 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.
  7. 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.
  8. > 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) ```
  9. 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.
  10. 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.
  11. modConstants in the source code (client / server-side) has most of the things you'd find in data.ini, and a little more.
  12. 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//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.
  13. > 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.
  14. > 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) ```
  15. First, turn off the server. Then, delete all the maps, events, NPCs, (everything in the data files folder). Then start up the server again.
  16. > 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).
  17. > 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//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.
  18. > 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).
  19. > 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.
  20. > 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.
  21. > How do i bump the thread without double posting? :| Cant seem to find delete post button :/ You're not supposed to bump threads unless 1 day has passed (3 is best). For spell damage, check out Sub CastSpell. Especially important is this line: ``` Vital = Spell(spellnum).Vital ``` index is the caster's index. Also see: Case SPELL_TYPE_DAMAGEHP, where it decides whether the target is a player or NPC, and work from there to change the vital. To add categories, check out how the existing things are saved, used, sent, and displayed in the spell editor. This may sound like a lot, but if you just choose one thing to copy (like the Vital, for example) you can figure it out. Of course, you are free to post if you need more help.
  22. This topic isn't a debate field, and it's not here so you can argue about the legality of it. * Making a game, using other copyrighted material, is illegal no matter whether or not you give credit. The exception is if you receive permission/a license from the author. * It is possible, however unlikely, that you will receive a cease-and-desist, which means you must shut down your game. * If you do not shut down your game, the original author has the right to pursue legal action. This does not mean they will or must. I'll lock this topic now as this is devolving into a flamewar instead of a civil discussion. If you wish, you can make a debate post about the likelihood of receiving a cease-and-desist and being sued.
  23. > Did you actually register the ocx or just place it in the folder? This error has to do with VB6 SP6, not with .DLL registration. > Getting this error when trying to open it in vb6 > > ``` > > Line 2967: Class MSComctlLib.TabStrip of control tabCommands was not a loaded control class. > > Line 3047: Class MSComctlLib.TabStrip of control tabPages was not a loaded control class. > > ``` > > I tried adding MSCOMCTL.OCX to both folder and system32\. none solved it. Download VB6 SP6, run it as an administrator with compatibility for XP SP3\. Then, redownload Eclipse's source code.
  24. Make sure you install VB6 SP6, and then redownload Eclipse's source. It might not fix all the errors, but I'm pretty sure it will fix the first two.
  • Create New...