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

Baron

Members
  • Posts

    694
  • Joined

  • Last visited

    Never

Everything posted by Baron

  1. > What do you mean you missed it? Do you have the same problem in your engine? No no, in the original post end sub is on the end of same line as the channel as a single word at the end. The end sub has to be seperate from the logic the same way you posted your fix. ``` Sub StopSound(soundindex As Long) FSOUND_StopSound Sounds(1).Channel End Sub ```Also, whoever decided dark purple on black was a good colour scheme has holes in their fricken head.
  2. Can't believe i missed that error! I thought you had just cropped out the rest of the routine.
  3. subscript out of range occurs when a value supplied to a function exceeds the limits of its range as declared. Few different methods of approaching a fix. run up the source and stop it like you have attempted to, when it errors hold the mouse over the function and examine each of the variable values to determine which variable has a value that is outside its standard range. My suspicion is that whatever is supplying this sub with index values is supplying more values than there are soundindexs to stop. ``` Sub StopSound(soundindex As Long) FSOUND_StopSound Sounds(soundindex).ChannelEnd Sub ```
  4. *facepalm* Player Facing Direction. *edits above*
  5. Looking to find out if there is anything glaringly stupid I have done with my setup of some sql tables. Comments on extra functionality welcome. The language is not VB6 so please ignore language specific features and focus more on the actual DB design. ``` switch (tableType){ case "Accounts": sql = "CREATE TABLE IF NOT EXISTS Accounts (" + " AccountIndex INTEGER PRIMARY KEY AUTOINCREMENT, " + " AccountName VARCHAR(50), " + " Password VARCHAR(50), " + " Email VARCHAR(50)," + " Registered TIMESTAMP," + " Character1 INTEGER," + " Character2 INTEGER," + " Character3 INTEGER" + ")"; break; case "Characters": sql = "CREATE TABLE IF NOT EXISTS Characters (" + " CharacterIndex INTEGER PRIMARY KEY AUTOINCREMENT, " + " SocketIndex INTEGER," + " CharacterName VARCHAR(50), " + " Prefix VARCHAR(50), " + " Suffix VARCHAR(50)," + " Attributes INTEGER," + " Map INTEGER," + " PosX INTEGER," + " PosY INTEGER," + " Direction INTEGER," + " ContainerIndex INTEGER" + ")"; break; case "Tiles": sql = "CREATE TABLE IF NOT EXISTS Tiles (" + " TileIndex INTEGER PRIMARY KEY, " + " TileAttribute INTEGER, " + " Data1 INTEGER, " + " Data2 INTEGER, " + " Data3 INTEGER, " + " String1 VARCHAR(200), " + " String2 VARCHAR(200), " + " String3 VARCHAR(200), " + " GroundTileSet INTEGER, " + " GroundTileX INTEGER, " + " GroundTileY INTEGER, " + " MaskTileSet INTEGER, " + " MaskTileX INTEGER, " + " MaskTileY INTEGER, " + " Mask2TileSet INTEGER, " + " Mask2TileX INTEGER, " + " Mask2TileY INTEGER, " + " NonTiledObject INTEGER " + ")"; break; case "Events": sql = "CREATE TABLE IF NOT EXISTS Events (" + " EventIndex INTEGER PRIMARY KEY, " + " EventType INTEGER, " + " Data1 INTEGER, " + " Data2 INTEGER, " + " Data3 INTEGER, " + " Data4 INTEGER, " + " Data5 INTEGER, " + " String1 VARCHAR(200), " + " String2 VARCHAR(200), " + " String3 VARCHAR(200), " + " String4 VARCHAR(200), " + " String5 VARCHAR(200) " + ")"; break; case "Containers": sql = "CREATE TABLE IF NOT EXISTS Containers (" + " ContainerIndex INTEGER PRIMARY KEY, " + " ContainerSize INTEGER, " + " Slot1num INTEGER, " + " Slot1qty INTEGER, " + " Slot2num INTEGER, " + " Slot2qty INTEGER, " + " Slot3num INTEGER, " + " Slot3qty INTEGER, " + " Slot4num INTEGER, " + " Slot4qty INTEGER, " + " Slot5num INTEGER, " + " Slot5qty INTEGER, " + " Slot6num INTEGER, " + " Slot6qty INTEGER, " + " Slot7num INTEGER, " + " Slot7qty INTEGER, " + " Slot8num INTEGER, " + " Slot8qty INTEGER, " + " Slot9num INTEGER, " + " Slot9qty INTEGER, " + " Slot10num INTEGER, " + " Slot10qty INTEGER, " + " Slot11num INTEGER, " + " Slot11qty INTEGER, " + " Slot12num INTEGER, " + " Slot12qty INTEGER, " + " Slot13num INTEGER, " + " Slot13qty INTEGER, " + " Slot14num INTEGER, " + " Slot14qty INTEGER, " + " Slot15num INTEGER, " + " Slot15qty INTEGER, " + " Slot16num INTEGER, " + " Slot16qty INTEGER, " + " Slot17num INTEGER, " + " Slot17qty INTEGER, " + " Slot18num INTEGER, " + " Slot18qty INTEGER, " + " Slot19num INTEGER, " + " Slot19qty INTEGER, " + " Slot20num INTEGER, " + " Slot20qty INTEGER " + ")"; break; case "Items": sql = "CREATE TABLE IF NOT EXISTS Items (" + " ItemIndex INTEGER PRIMARY KEY AUTOINCREMENT, " + " ItemType INTEGER, " + " Description VARCHAR(200), " + " Data1 INTEGER, " + " Data2 INTEGER, " + " Data3 INTEGER, " + " String1 VARCHAR(200), " + " String2 VARCHAR(200), " + " String3 VARCHAR(200), " + " InvWidth INTEGER, " + " InvHeight INTEGER, " + " Image INTEGER " + ")"; break; case "Attributes": sql = "CREATE TABLE IF NOT EXISTS Attributes (" + " AttributesIndex INTEGER PRIMARY KEY, " + " Attribute1 INTEGER, " + " Attribute2 INTEGER, " + " Attribute3 INTEGER, " + " Attribute4 INTEGER, " + " Attribute5 INTEGER, " + " Attribute6 INTEGER, " + " Attribute7 INTEGER, " + " Attribute8 INTEGER, " + " Attribute9 INTEGER, " + " Attribute10 INTEGER, " + " Attribute11 INTEGER, " + " Attribute12 INTEGER, " + " Attribute13 INTEGER, " + " Attribute14 INTEGER, " + " Attribute15 INTEGER, " + " Attribute16 INTEGER, " + " Attribute17 INTEGER, " + " Attribute18 INTEGER, " + " Attribute19 INTEGER, " + " Attribute20 INTEGER " + ")"; break; case "Experience": sql = "CREATE TABLE IF NOT EXISTS Experience (" + " ExperienceIndex INTEGER PRIMARY KEY, " + " ToNextLevel INTEGER " + ")"; break; default: log("WARNING: Attempted load / creation of " + tableType + " Table FAILED"); break; } ```
  6. > You're not wrong as I clearly stated this in my post above, lol. But Unity does not start off with networking, no, all has to be programmed. … it does start with a lot of networking support (or did when i was last using it) Even playing singleplayer effectively starts a server and then joins itself. All you need to do is configure the joining setup + UI hooks for the multiplayer side of things.
  7. > I personally prefer PNGGauntlet for image compression. I've seen it halve or better some PNG files in size with no loss of quality. Definitely seeing file size savings with this with no appreciable loss of quality. Good to know about. Thanks.
  8. > Use Unity or Unreal if you want 3-D. I second this response. Probably leaning towards Unity.
  9. Baron

    Animating Panoramas

    > And originally I wanted to simply make it read .gif files; however a programmer recommended against it saying it might slow the system down and that I should make it read 3 different pics after like half a second and loop those pictures > > As with most things it is all about the implementation of the effect. > > > > If you set up a new display buffer behind the map contents that loads an image the width and height of the map then advances to the next image until the end of the image file then loops, can't see you having any issues. It would jsut have to be preloaded with the rest of the assets (if EclipseWhateverVersionThisIs handles the display the same way as historically).
  10. > Exactly what I thought of. T let's see how his goes. If this is bad and/or not efficient then we'll use the points system The systems are almost identical either way. If you are retrieving the points value a player has and granting them as in game spendable or directly granting the item is a nearly identical process. If you want an instant granting of the points to the player maybe you need to be investigating if IP NExus' payment portals support any form of IPN (Instant Payment Notification). You can direct the IPN notifications directly to your server which can handle the response directly when a payment is completed.
  11. Not being an expert on PHP i will be of limited help to you here. Basically you need an online record accessible via some technique in vb6\. A *very* quick google turned up: [http://bytes.com/topic/visual-basic/answers/670211-vb6-load-website-retrieve-data](http://bytes.com/topic/visual-basic/answers/670211-vb6-load-website-retrieve-data) which would give you a technique to experiment with if you could output the data from your payment interface to an accessible online record. Once you have a method of vb6 loading info from your website, you could then make the /command discussed that would retrieve and issue the data. You would also need a system for tracking which retrieved items have been claimed by a player. I would recommend that each purchase is given a transaction ID. ie TRANSACTION - PLAYER - ITEM 1 - Baron - GoldBundle_1000 then serverside you could flag the transaction as claimed by storing data about these transactions somewhere.
  12. I would probably be seeing if it is possible to write a simpler solution that handles it more along the lines of: player logs into the game, types /claim server then communicates with the website to verify purchases hooked to the account, issues the items directly (much easier to do with a logged in player than a logged off player)
  13. try this external link: [not a competing site](http://indiehub.net/topic/279-open-source-flash-eclipse/)
  14. sure, the EE2.7 source i used as the base for the flash engine is floating around somewhere. You can rewrite the whole client in any language you want to….. It will just take time.
  15. was but it is down until i finish the core editors.
  16. There was a recent release of one by myself. [http://www.luckyeddy.com/FE/FE.html](http://www.luckyeddy.com/FE/FE.html) I'm working on finishing the editors to get all the old funcitonality 100% though, so might be worth waiting a little while for a proper release.
  17. Baron

    IDE?

    IDE = Internal/Integrated Development Environment [http://en.wikipedia.org/wiki/Integrated_development_environment](http://en.wikipedia.org/wiki/Integrated_development_environment) it's software you write code inside of (very simplified). The VB6 IDE is an enviornment that you open up visual basic projects in, and program in Visual Basic.
  18. Recently had issues loading my older sources inside the vb6 IDE - mscomctl.ocx throws an error and cannot be found. Apprently others have had this issue surrounding IE 10 and have solved by downgrading to IE 9 but the fix found below works without needing to. came across this knowledgebase article: [http://stackoverflow.com/questions/11982719/vb6-ide-cannot-load-mscomctl-ocx-after-update-kb-2687323/16110165#16110165](http://stackoverflow.com/questions/11982719/vb6-ide-cannot-load-mscomctl-ocx-after-update-kb-2687323/16110165#16110165) New process: > ~ start menu > type "cmd" in run box, right click the result and run as administrator > > ~ cd C:\windows\sysWow64\urttemp > > ~ regtlib msdatsrc.tlb inside that directory from administrator command prompt worked like a charm to fix the vb6 IDE issues. Post above most useful answer in the whole thread for me, other solutions involving versioning and updates did not work for me.
  19. Seeing as the new owners appear to have deleted / alienated most of the member group that actually meant anything to me here in this community, development and availability of this will continue elsewhere.
  20. > Read the first post. He released this because he wasn't going to be working on it any more so he gave it out in case anyone wants to take it and further develop the engine into flash. Pretty much that. If somebody does develop it further I'll happily update the leading post with the newest version if it's stable / solid.
  21. > There are some bugs in client, Baron are you working at this project? You can't have downloaded this version without reading the answer to this question. I dont have much time for this anymore, hence the download so that people have access to the code. Yes there are bugs, yes they can be fixed but dev is going to be slow by me.
  22. > guys with the flash version I not get a connection to the server! pls help me ![:unsure:](http://www.touchofdeathforums.com/community/public/style_emoticons//unsure.png) > > and If I set _global.PUBLISHINGTIME = false; to _global.PUBLISHINGTIME = true; the .swf dont work and its always have black screen! This is because your URL locking is not configured properly. Make sure you have changed it to the domain the file will be hosted on. > MSCOMCTL32.OCX is missing (OS is windows 8, version 3_0_1) Any of the older versions of the eclipse library files will contain this file. > no I want to put the game on my homepage so everybody can play it.So where and how can I make it possible ? Embed it into a page the same way you would with any other flash swf file. If you don't know how to do this, i recommend you go do some reading on our friend www.google.com, there will be the answer easily found.
  23. > its ok I have it working but I have another question. to open admin panel I need to press F1 right why wont it let me ive given my self admin access and it wont Just loading short cuts from my computer. also why cant other people connect By default the debug player which is standalone for testing from the development environment has keyboard shortcuts enabled. To disable them dropdown the menus in the top left and toggle "disable keyboard shortcuts"
  24. I would think you'd want to add some detail on the base, some roots from the floor rising up the side of the tree. Some more shading of the tree based on your tilesets light direction woul;d be good too, the leaves are very same same.
  25. > Great work! ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons//biggrin.png) My question is are there paperdolls in this version or are you adding it later (or at all)? Also when I replace graphics (sprites) I only see them when I run the client locally but still see the old ones when it's up on the web (after I upload the new file of course), is there anything I have to do other than replace the Sprites.png file? > > I'm also looking forward to your edits Ertzel. All the serverside is there to support Paperdolling, clientside yet to be implemented. If you replace the sprites you need to make sure you refresh your page that is hosting the file to force it to redownload the new version instead of the cached .swf, can't think of any other reason itd be doing this if you've uploaded the newer swf with the changed sprite sheet.
×
×
  • Create New...