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

Zeno

Members
  • Posts

    289
  • Joined

  • Last visited

    Never

Everything posted by Zeno

  1. Zeno

    Source for this ?

    Just look for and remove this from modGameLogic's Sub UpdateDescWindow ``` 'no DescWindow for currency If Trim$(Item(itemnum).Type) = 7 Then Exit Sub End If ```
  2. You can not alter any Eclipse above 4.0 as they are closed source. You can either learn to use VB6.0 and make the edits you want on custom versions of Eclipse, or, pick a different custom version.
  3. The easiest way to do this is just to use the existing chatbox. GMs could change the message, which would be sent out every five or ten minutes to every player. This way, you don't have to worry about creating any infrastructure, maybe just a timer. Sending packets works on a send/handle system. Before sending, a packet is compiled starting with the packet's name (a string enumerated as a constant in modEnumerations) followed by any other information in the packet. All Send subs work this way. Then on the other end (client-side if sent from server, or vice versa), that number is read from the packet and then the rest of the packet sent to the appropriate handle sub, based on the address in modHandleData sub InitMessages(). Then the handle sub uses any remaining packet information to carry out the operation. It sounds a bit complicated, but once you get the hang of it, it becomes very simple and easy to use. For what you're looking to do here, the message of the day (MotD) packets would make a good example to look to. You could also just use an included MotD function. Although that text is usually sent only on logging in and when changed, it sounds like it would fit your bill.
  4. I'm looking at your source right now. I'd say your problem is in the way you've handled logins. modHandleData sub HandleLogin is triggered when a player first logs into their accounts. This happens before a character has been selected. Remove the banking and skills procedures. You'll also have to move your daily reward. Since no player has been chosen yet, at this point nothing can happen that involves a chosen player. A good place to put those procedures is HandleRequestUseChar in modHandleData. The banking procedures are already there, you just have to add Call CheckSkills(index) and your daily reward system.
  5. > I noticed this too, but I didn't see where it would cause an error or any problems. > > Could it cause any problems if left undone? If so, what? In certain engines you can get RTE9\. Usually there is an IsPlaying(index) check to stop a sub if the player is offline.
  6. PD? D? :S Actually, having taken a closer look, I don't think that's your issue. Saving and loading in EFF copies arrays, so there shouldn't be any mistakes there. Sorry about that. It's very hard to say with little information. This error could happen in your player(index).char was declared from 1 to 3 and tempplayer(index).curchar returns a value of 0 (or >3). I don't see any line where you have something like this: ``` TempPlayer(index).CurChar = Buffer.ReadByte ``` Without something like that, the value would be 0, which would give you this error.
  7. If you're using an engine which already includes DX8, you can get the same effect by rendering an image (with any buttons, text, etc. you would need) after the top map layer.
  8. Zeno

    Currency label

    You can try searching the source within VB6 using the name of that label. You should be able to find where the caption of the label is set. Use the code below to give you an idea of what to look for. I cannot help much since I do not know where the values for your Dilac or Arena are stored, but I'd imagine something like so: ``` NAME-OF-LABEL.Caption = Player(Index).Dilac & "D" NAME-OF-LABEL.Caption = Player(Index).Arena & "AT" ```
  9. Zeno

    Render Night

    Make sure you have correctly placed the night tiles graphics in your client's folder. Also be sure that you have put the correct rendering sub and placed the call for it in the right spot in Render_Graphics. By the way, since The Final Frontier uses DX8, tiles are a poor approach to dimming the map at night-time. Try to find more about basic alpha blending both in these forums and outside them.
  10. That just copies the value of the variables into a buffer - this also needs a value to be set. What you need is the buffer _reading_ chunk for skills when a character is loading (which was probably included in the tutorial). There should be values set for the array on character creation as well.
  11. > The problem is that, when I run the game with VB, I get no error :S > > (Iam his partner project work) C++ and Visual Basic are completely different programming languages. You cannot use one's program for the other. This is why it works when you open it in VB (the language it is written in) and not when he opens it in C++ (mismatched language). * * * > You need the Visual Basic IDE, not the Visual C++ IDE. > > Get the Visual Basic 6 IDE and run the client from within. When the error comes press the debug button. A line of code will be highlighted. Paste that code here. You should then be able to follow along with other bug reporters on this same issue.
  12. If you have not made any edits to the source code, you could try deleting your server\data files\maps folder. Do a quick check if this is a common error in the thread where you got the engine. If you have made edits to the program, the issue is likely within those changes.
  13. I agree with Dr. House and recommend port forwarding. It's neither difficult nor much of a security risk. The need to install Hamachi is a turn-off for many players.
  14. Zeno

    Tileset problems

    > I looked around on the forums and some one told the person that the transparency is the first pixel used but the first color I used was black and it still didn't work. These problems come up a lot! For anyone who stumbles here with a similar problem, the first pixel usually sets the transparency colour for bitmap images, but the alpha layer is used for PNGs.
  15. Hello, and welcome to the forums. Your English is really good, but you may want to better use paragraphs. Both of these things can only be changed in a closed-source engine and will require use of Visual Basic 6.0\. The first is easy. The second is more difficult. In many engines, you can change the points on level up by editing this line in modPlayer sub CheckPlayerLevelUp: ``` Call SetPlayerPOINTS(index, GetPlayerPOINTS(index) + 3) ``` Not all engines will use those exact words, but the code will be a similar line in a similar place. The mouse attacking is much more difficult, and I doubt you'll find anyone who will tell your exactly how to do it. You can start thinking about how you might be able to do it by looking at [this tutorial](http://www.eclipseorigins.com/community/index.php?/topic/122426-mouse-movement-v2/?hl=mouse) and [this tutorial](http://www.eclipseorigins.com/community/index.php?/topic/132500-eo-simple-learning-a-better-character-movement-system/?hl=%2Bmouse+%2Battack) which involve mouse functions.
  16. Zeno

    Server issues

    If the problem is connecting from a non-local IP address and not another machine, it is likely a problem with your router. You mentioned opening ports - did you also do this on your router or only on your computer's firewall?
  17. Try [this one](http://www.eclipseorigins.com/community/index.php?/topic/121640-eo-20fixed-multiple-item-drops-and-percentile-chances/). You might want to read the whole thread. A long tutorial thread often means bug reports, so you should check if the first post has been updated with the fixes.
  18. Not sure if you're still looking for support on this. The latest version of Eclipse Origins is new; bugs persist. If this is for a school assignment, save yourself the trouble and just switch to another engine. It's much faster and more reliable than debugging. Switching shouldn't be a big deal on a small mapping assignment. [EclipseVB](http://www.eclipseorigins.com/community/index.php?/topic/133477-evb-eclipse-visual-basic/) is a very stable engine, as is [Eclipse 3.0](http://www.eclipseorigins.com/community/index.php?/topic/127309-eclipse-nightly-releases-24-30/).
  19. First you need to have administrative access. With your server booted up, connect with your client and create an account. Log in with a new character. Then on the server interface, in the tab of the players online, right click your character and add administrative access. Now back in the client, there are two ways to bring up the map editor. * The most direct is to type "/mapeditor" or "/editmap" (it depends which version) into the chatbox by pressing enter, typing the text, and pressing enter again. * You can also press insert to bring up the admin panel with buttons to all editors. Once in the map editor, press insert again to get rid of the admin panel, which would otherwise cover a lot of the map. By default, the ground layer and top left tile are selected. You can select which layer with the buttons. You can select which tile by clicking it in the tileset. By default, the layers, from closest to furthest (or top to bottom), are Fringe, Mask, and Ground. Depending on your engine, you might find layers like roof or fringe2 (above fringe), or Mask2 (above mask). The fill button will fill your selected layer with the selected tile. The clear button will remove all tiles in the selected layer. Once you're in the map editor, you might find it much more intuitive than this explanation.
  20. Have you named them correctly? Eclipse will load graphics starting with 1.png, then 2.png, 3.png, … and stop until it reaches the highest number. If there is a number missing in the chain, or if a tileset's name contains letters, it will not load.
  21. > I add this in EFF and :S i have a problem with NPC D:!, when i spawn a NPC in a map! the fps drop to 22 - 32 :(!. I have something similar to this in my EFF source with ten extra layers instead of one. After months I have yet to see any performance drop. The code in this tutorial looks well-done to me with no inefficient loops, although I've never used it myself. This feature may have instigated poor performance, but is probably not the cause. Your problem is probably with another tutorial you've added.
  22. You're doing very well. People don't bob from breathing. People bob from heaving like after running a marathon or in the middle of martial combat. Bobbing is a convention is some games to make sprites look more dynamic. The characters must bend their knees. The tree looks like a graffiti'd atomic bomb. Go outside and look at some trees today. It will help a lot. Try fading the dark top of the lower layers out more. That's the shadow from the upper layers. I assume this is an evergreen, since I've never seen a deciduous layered like that. Typically pine needles are darker or slightly blue, except for young trees. Grass looks good. Have you tried it on a full map? I like the low detail, but it might look really plain in a large swatch.
  23. > Those will be replaced soon enough, those belong to Robin's old game - Naruto Realm. They're really old and bad. > We've got an illustrator doing newer ones for us :) > > Thank you! Good call. Those ninjas took a ton of acid. Forums look great. I especially like the board bars (not sure what to call them - the orange patterned rectangles with announcements, general, and community). Solid layout, chatbox support… kudos. Lol @ whoever voted "No _and ban my account now"_
  24. To be honest, if this is just for an assignment I think it would be faster (maybe less stressful too) to just try your maps with another engine (I recommend EVB or Eclipse The Final Frontier as they tend to be stable). If it doesn't work, start your maps over. It's still quicker than fiddling with a programming language with which you're struggling. Redoing your maps could lead you to make slight improvements as well, improving your mark. If the Eclipse engine was assigned, is anyone else having trouble with this? Maybe your instructor won't even care. I can't see you being tested on how well the engine was programmed so much as general design and aesthetics.
  25. This looks really cool. I think a lot of what you're looking for you can find through a web search, in particular the physics and 3d tile map editor. You could use a lot of the Eclipse code if you go through and add a 3rd dimension analogues to a lot of the procedures and certain variables.
×
×
  • Create New...